survey-creator-react 1.9.2-beta.1 → 1.9.3-beta.1

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,11 +1,11 @@
1
1
  /*!
2
- * SurveyJS Creator React v1.9.2-beta.1
2
+ * SurveyJS Creator React v1.9.3-beta.1
3
3
  * (c) 2015-2021 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
6
6
  */
7
7
  /*!
8
- * SurveyJS Creator v1.9.2-beta.1
8
+ * SurveyJS Creator v1.9.3-beta.1
9
9
  * (c) 2015-2021 Devsoft Baltic OÜ - http://surveyjs.io/
10
10
  * Github: https://github.com/surveyjs/survey-creator
11
11
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -626,6 +626,9 @@ svc-tab-test {
626
626
  .st-table__cell:first-child span {
627
627
  padding-left: calc(3 * var(--base-unit, 8px)); }
628
628
 
629
+ .st-panel-indent .st-table__cell:first-child span {
630
+ padding-left: calc(6 * var(--base-unit, 8px)); }
631
+
629
632
  .st-table {
630
633
  width: 100%;
631
634
  table-layout: fixed;
@@ -777,9 +780,10 @@ svc-tab-test {
777
780
  flex-direction: column;
778
781
  display: flex;
779
782
  align-items: center;
780
- justify-content: center; }
783
+ position: absolute;
784
+ top: 35%; }
781
785
  .svc-logic-tab__content.svc-logic-tab__empty .svc-logic-tab__content-action {
782
- width: calc(40 * var(--base-unit, 8px));
786
+ width: calc(33 * var(--base-unit, 8px));
783
787
  margin-top: calc(4 * var(--base-unit, 8px)); }
784
788
 
785
789
  .svc-logic-tab__content .svc-logic-tab__content-action {
@@ -1602,7 +1606,8 @@ svc-page {
1602
1606
  position: absolute;
1603
1607
  display: none;
1604
1608
  top: calc(1 * var(--base-unit, 8px));
1605
- right: 0; }
1609
+ right: 0;
1610
+ z-index: 1; }
1606
1611
  .svc-page__content-actions .sv-action-bar {
1607
1612
  padding: 0 calc(1 * var(--base-unit, 8px)); }
1608
1613
  .svc-page__content-actions .sv-action-bar .sv-action-bar-item {
@@ -1869,12 +1874,12 @@ svc-question {
1869
1874
  width: calc(3 * var(--base-unit, 8px));
1870
1875
  height: calc(3 * var(--base-unit, 8px)); }
1871
1876
 
1872
- .svc-question__content--drag-over-inside .svc-panel__placeholder,
1873
- .svc-hovered > .svc-question__content--drag-over-inside .svc-panel__placeholder {
1877
+ .svc-question__content--drag-over-inside .svc-panel__placeholder_frame,
1878
+ .svc-hovered > .svc-question__content--drag-over-inside .svc-panel__placeholder_frame {
1874
1879
  outline: 2px solid var(--primary, #19b394);
1875
1880
  background: var(--primary-light, rgba(25, 179, 148, 0.1)); }
1876
- .svc-question__content--drag-over-inside .svc-panel__placeholder > .svc-question__content-actions,
1877
- .svc-hovered > .svc-question__content--drag-over-inside .svc-panel__placeholder > .svc-question__content-actions {
1881
+ .svc-question__content--drag-over-inside .svc-panel__placeholder_frame > .svc-question__content-actions,
1882
+ .svc-hovered > .svc-question__content--drag-over-inside .svc-panel__placeholder_frame > .svc-question__content-actions {
1878
1883
  display: block; }
1879
1884
 
1880
1885
  .svc-question__content--drag-over-left:before {
@@ -1941,7 +1946,8 @@ svc-question .sv-action-bar,
1941
1946
  visibility: visible; }
1942
1947
 
1943
1948
  .svc-question__content.svc-question__content--selected > .svc-question__drag-area {
1944
- visibility: visible; }
1949
+ visibility: visible;
1950
+ z-index: 1; }
1945
1951
 
1946
1952
  .svc-question__drag-area {
1947
1953
  position: absolute;
@@ -2337,15 +2343,15 @@ sv-svg-icon.svc-item-value-controls__button {
2337
2343
 
2338
2344
  .svc-image-item-value-wrapper {
2339
2345
  display: inline-block;
2340
- position: relative;
2341
- padding-top: 10px; }
2346
+ position: relative; }
2342
2347
 
2343
2348
  .svc-image-item-value--new {
2344
2349
  display: none;
2345
2350
  height: max-content; }
2346
2351
  .svc-image-item-value--new .sd-imagepicker__image {
2347
2352
  box-sizing: border-box;
2348
- border: 1px dashed var(--border, #d6d6d6); }
2353
+ border: 1px dashed var(--border, #d6d6d6);
2354
+ border-radius: 4px; }
2349
2355
 
2350
2356
  .svc-question__content--selected .svc-image-item-value--new {
2351
2357
  display: inline-block; }
@@ -2402,21 +2408,33 @@ sv-svg-icon.svc-item-value-controls__button {
2402
2408
  .svc-image-item-value__item .sd-imagepicker__item.sd-imagepicker__item {
2403
2409
  width: 100%; }
2404
2410
 
2405
- .svc-question__content--selected .svc-image-item-value-wrapper:hover .svc-image-item__drag-element {
2411
+ .svc-image-item-value__item .sd-imagepicker__image-container {
2412
+ border: 1px dashed var(--border, #d6d6d6);
2413
+ border-radius: 4px; }
2414
+
2415
+ .svc-question__content--selected .svc-image-item-value-wrapper:hover .svc-image-item-value-controls__drag-area-indicator {
2406
2416
  display: block; }
2407
2417
 
2408
- .svc-image-item__drag-element {
2418
+ .svc-image-item-value-controls__drag-area-indicator {
2409
2419
  cursor: move;
2410
- width: calc(3 * var(--base-unit, 8px));
2411
- height: 6px;
2412
- border: 1px solid var(--border, #d6d6d6);
2413
- border-radius: 10px;
2414
2420
  position: absolute;
2415
- top: 1px;
2416
- left: 50%;
2417
- transform: translateX(-50%);
2421
+ top: calc(2.5 * var(--base-unit, 8px));
2422
+ left: calc(0.5 * var(--base-unit, 8px));
2418
2423
  display: none; }
2419
2424
 
2425
+ .svc-image-item-value-wrapper--ghost .svc-image-item-value-wrapper__ghost {
2426
+ display: block; }
2427
+
2428
+ .svc-image-item-value-wrapper--ghost .svc-image-item-value-wrapper__content {
2429
+ display: none; }
2430
+
2431
+ .svc-image-item-value-wrapper__ghost {
2432
+ display: none;
2433
+ background: var(--background-dim, #f3f3f3);
2434
+ width: 200px;
2435
+ height: 135px;
2436
+ margin-top: 8px; }
2437
+
2420
2438
  /* latin */
2421
2439
  @font-face {
2422
2440
  font-family: "Open Sans";
@@ -3331,6 +3349,36 @@ svc-toolbox {
3331
3349
  color: var(--foreground, #161616);
3332
3350
  padding-bottom: calc(2 * var(--base-unit, 8px)); }
3333
3351
 
3352
+ .spg-row-narrow__question {
3353
+ margin-top: calc(-2 * var(--base-unit, 8px)); }
3354
+
3355
+ .spg-question--location--left {
3356
+ flex-direction: row;
3357
+ padding-right: 0 !important;
3358
+ background: var(--background, #fff);
3359
+ border: 1px solid var(--border, #d6d6d6);
3360
+ line-height: calc(6 * var(--base-unit, 8px));
3361
+ vertical-align: middle; }
3362
+
3363
+ .spg-question__header--location--left {
3364
+ width: auto;
3365
+ max-width: 50%; }
3366
+ .spg-question__header--location--left .spg-question__title {
3367
+ padding: calc(1 * var(--base-unit, 8px)) calc(2 * var(--base-unit, 8px));
3368
+ border-right: 1px solid var(--border, #d6d6d6);
3369
+ display: inline-block; }
3370
+
3371
+ .spg-question__content--left {
3372
+ padding-left: calc(1 * var(--base-unit, 8px)); }
3373
+ .spg-question__content--left .spg-input {
3374
+ border: none; }
3375
+
3376
+ .spg-row--multiple {
3377
+ display: flex;
3378
+ gap: calc(1 * var(--base-unit, 8px));
3379
+ margin-top: calc(1 * var(--base-unit, 8px)) !important;
3380
+ overflow: hidden; }
3381
+
3334
3382
  .spg-input {
3335
3383
  -webkit-appearance: none;
3336
3384
  -moz-appearance: none;