survey-creator-core 1.9.88 → 1.9.89

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.88
2
+ * SurveyJS Creator v1.9.89
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v1.9.88
2
+ * SurveyJS Creator v1.9.89
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "survey-creator-core",
3
- "version": "1.9.88",
3
+ "version": "1.9.89",
4
4
  "description": "Use SurveyJS Creator to create or edit JSON for SurveyJS Form Library.",
5
5
  "keywords": [
6
6
  "Survey",
@@ -29,7 +29,7 @@
29
29
  "ace-builds": "^1.4.12"
30
30
  },
31
31
  "dependencies": {
32
- "survey-core": "1.9.88"
32
+ "survey-core": "1.9.89"
33
33
  },
34
34
  "devDependencies": {}
35
35
  }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v1.9.88
2
+ * SurveyJS Creator v1.9.89
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
@@ -225,11 +225,35 @@
225
225
 
226
226
 
227
227
  /*# sourceMappingURL=fonts.fontless.css.map*//*!
228
- * SurveyJS Creator v1.9.88
228
+ * SurveyJS Creator v1.9.89
229
229
  * (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
230
230
  * Github: https://github.com/surveyjs/survey-creator
231
231
  * License: https://surveyjs.io/Licenses#SurveyCreator
232
232
  */
233
+ .svc-context-container {
234
+ display: flex;
235
+ gap: calc(1 * var(--base-unit, 8px));
236
+ width: max-content; }
237
+
238
+ .svc-context-button {
239
+ display: block;
240
+ box-sizing: border-box;
241
+ background-color: var(--background, #fff);
242
+ border-radius: 50%;
243
+ width: calc(6 * var(--base-unit, 8px));
244
+ height: calc(6 * var(--base-unit, 8px));
245
+ cursor: pointer;
246
+ padding: calc(1.5 * var(--base-unit, 8px));
247
+ outline: none; }
248
+ .svc-context-button use {
249
+ fill: var(--foreground-light, #909090); }
250
+
251
+ .svc-context-button:hover use, .svc-context-button:focus use {
252
+ fill: var(--primary, #19b394); }
253
+
254
+ .svc-context-button--danger:hover use, .svc-context-button--danger:focus use {
255
+ fill: var(--red, #e60a3e); }
256
+
233
257
  .svc-embed-tab__content {
234
258
  padding: calc(2 * var(--base-unit, 8px));
235
259
  font-family: var(--font-family); }
@@ -318,7 +342,8 @@ svc-tab-json-editor-textarea {
318
342
  transform-origin: 0 0;
319
343
  top: 50%;
320
344
  left: 50%;
321
- transform: scale(1.26) translate(-50%, -50%); }
345
+ transform: scale(1.26) translate(-50%, -50%);
346
+ overflow: overlay; }
322
347
 
323
348
  .svd-simulator-wrapper {
324
349
  margin: 0 auto;
@@ -393,10 +418,7 @@ svc-tab-json-editor-textarea {
393
418
  .svd-simulator-content {
394
419
  display: flex;
395
420
  justify-content: center;
396
- width: 100%;
397
- height: 100%;
398
- overflow: auto;
399
- overflow-y: overlay; }
421
+ width: 100%; }
400
422
 
401
423
  @media screen and (-webkit-min-device-pixel-ratio: 0) {
402
424
  ::i-block-chrome,
@@ -409,7 +431,7 @@ svc-tab-test {
409
431
  background: var(--background-dim, #f3f3f3); }
410
432
 
411
433
  .svc-test-tab__content .svc-plugin-tab__content {
412
- overflow-y: auto; }
434
+ overflow-y: overlay; }
413
435
  .svc-test-tab__content .svc-plugin-tab__content .sv-root-modern .sv-completedpage,
414
436
  .svc-test-tab__content .svc-plugin-tab__content .sv_default_css .sv_completed_page {
415
437
  margin: 0;
@@ -462,9 +484,6 @@ svc-tab-test {
462
484
  color: var(--foreground, #161616);
463
485
  display: inline-block; }
464
486
 
465
- .svc-test-tab__content.svc-creator-tab__content--with-toolbar .sd-body__navigation {
466
- padding-bottom: calc(8 * var(--base-unit, 8px)); }
467
-
468
487
  .svc-test-tab__content .sd-body--empty {
469
488
  font-family: var(--font-family);
470
489
  font-style: normal;
@@ -1052,8 +1071,6 @@ svc-tab-designer {
1052
1071
  box-sizing: border-box;
1053
1072
  margin-left: auto;
1054
1073
  margin-right: auto; }
1055
- .svc-tab-designer .sd-container-modern .sd-container-modern__title {
1056
- gap: 0; }
1057
1074
  .svc-tab-designer .sd-container-modern.sd-container-modern--static {
1058
1075
  max-width: calc(84 * var(--base-unit, 8px)); }
1059
1076
  .svc-tab-designer .sd-container-modern.sd-container-modern--responsive {
@@ -1318,7 +1335,7 @@ survey-creator,
1318
1335
 
1319
1336
  .svc-string-editor {
1320
1337
  position: static; }
1321
- .svc-string-editor [contenteditable] {
1338
+ .svc-string-editor [contenteditable="true"] {
1322
1339
  user-select: text;
1323
1340
  -webkit-user-select: text; }
1324
1341
  .svc-string-editor .sv-string-editor {
@@ -1498,6 +1515,78 @@ survey-creator,
1498
1515
  opacity: 0.25;
1499
1516
  color: var(--foreground, #161616); }
1500
1517
 
1518
+ svc-tab-test {
1519
+ width: 100%;
1520
+ height: 100%;
1521
+ background: var(--background-dim, #f3f3f3); }
1522
+
1523
+ .svc-test-tab__content .svc-plugin-tab__content {
1524
+ overflow-y: overlay; }
1525
+ .svc-test-tab__content .svc-plugin-tab__content .sv-root-modern .sv-completedpage,
1526
+ .svc-test-tab__content .svc-plugin-tab__content .sv_default_css .sv_completed_page {
1527
+ margin: 0;
1528
+ border: 0;
1529
+ background-color: var(--background-dim, #f3f3f3); }
1530
+ .svc-test-tab__content .svc-plugin-tab__content .sv_default_css .sv_body {
1531
+ border: 0; }
1532
+ .svc-test-tab__content .svc-plugin-tab__content .svc-preview__test-again {
1533
+ width: calc(33 * var(--base-unit, 8px));
1534
+ margin-left: auto;
1535
+ margin-right: auto;
1536
+ margin-bottom: 72px;
1537
+ margin-top: 8px; }
1538
+
1539
+ .svc-creator-tab__content--with-toolbar.svc-test-tab__content .svc-plugin-tab__content {
1540
+ height: calc(100% - calc(6 * var(--base-unit, 8px))); }
1541
+
1542
+ .svc-test-tab__content-actions {
1543
+ position: relative; }
1544
+ .svc-test-tab__content-actions .sv-action-bar {
1545
+ padding: 0;
1546
+ height: calc(6 * var(--base-unit, 8px));
1547
+ background: var(--background, #fff);
1548
+ border-top: 1px solid var(--border, #d6d6d6);
1549
+ width: 100%;
1550
+ position: absolute; }
1551
+ .svc-test-tab__content-actions .sv-action-bar.sv-action-bar--pages {
1552
+ left: 0;
1553
+ right: 0;
1554
+ justify-content: center;
1555
+ gap: calc(1 * var(--base-unit, 8px)); }
1556
+ .svc-test-tab__content-actions .sv-action-bar.sv-action-bar--pages .sv-action__content {
1557
+ padding: 0; }
1558
+ .svc-test-tab__content-actions .sv-action-bar.sv-action-bar--pages .sv-action-bar-item {
1559
+ margin: 0; }
1560
+ .svc-test-tab__content-actions .sv-action-bar-item {
1561
+ font-family: var(--font-family);
1562
+ font-style: normal;
1563
+ font-weight: 600;
1564
+ font-size: calc(1.5 * var(--base-unit, 8px));
1565
+ line-height: calc(2 * var(--base-unit, 8px));
1566
+ width: 100%;
1567
+ height: calc(4 * var(--base-unit, 8px)); }
1568
+ .svc-test-tab__content-actions .svc-page-selector {
1569
+ max-width: 50%; }
1570
+ .svc-test-tab__content-actions .svc-page-selector .sv-action-bar-item__title {
1571
+ overflow: hidden;
1572
+ white-space: nowrap;
1573
+ text-overflow: ellipsis;
1574
+ color: var(--foreground, #161616);
1575
+ display: inline-block; }
1576
+
1577
+ .svc-test-tab__content .sd-body--empty {
1578
+ font-family: var(--font-family);
1579
+ font-style: normal;
1580
+ font-weight: 400;
1581
+ font-size: calc(2 * var(--base-unit, 8px));
1582
+ color: var(--foreground, #161616);
1583
+ width: 100%;
1584
+ position: absolute;
1585
+ top: 50%;
1586
+ transform: translateY(-50%);
1587
+ text-align: center;
1588
+ overflow: hidden; }
1589
+
1501
1590
  svc-page-navigator,
1502
1591
  .svc-page-navigator {
1503
1592
  display: flex;
@@ -2152,24 +2241,7 @@ svc-question .sv-action-bar,
2152
2241
  display: none; }
2153
2242
 
2154
2243
  .svc-question__content--selected .svc-image-question-controls {
2155
- display: block; }
2156
-
2157
- .svc-image-question-controls__button {
2158
- display: inline-block;
2159
- background-color: var(--background, #fff);
2160
- border-radius: 50%;
2161
- width: calc(6 * var(--base-unit, 8px));
2162
- height: calc(6 * var(--base-unit, 8px));
2163
- cursor: pointer; }
2164
- .svc-image-question-controls__button:not(:last-child) {
2165
- margin-right: calc(0.5 * var(--base-unit, 8px)); }
2166
- .svc-image-question-controls__button .sv-svg-icon {
2167
- margin-top: calc(50% - 1.5 * var(--base-unit, 8px));
2168
- margin-left: calc(50% - 1.5 * var(--base-unit, 8px)); }
2169
- .svc-image-question-controls__button use {
2170
- fill: var(--foreground-light, #909090); }
2171
- .svc-image-question-controls__button:hover use {
2172
- fill: var(--primary, #19b394); }
2244
+ display: flex; }
2173
2245
 
2174
2246
  .svc-question__content--image:not(.svc-question__content--empty) {
2175
2247
  padding: calc(4 * var(--base-unit, 8px)) 0 calc(8 * var(--base-unit, 8px)) 0; }
@@ -2194,6 +2266,11 @@ svc-question .sv-action-bar,
2194
2266
  margin-inline-start: calc(9 * var(--base-unit, 8px));
2195
2267
  width: calc(100% - 9 * var(--base-unit, 8px)); }
2196
2268
 
2269
+ .svc-question__content .sd-question--table .sd-rating {
2270
+ margin-inline-start: 0;
2271
+ width: fit-content;
2272
+ margin: auto; }
2273
+
2197
2274
  .svc-question__content .svc-rating-question-controls {
2198
2275
  display: flex;
2199
2276
  width: calc(8 * var(--base-unit, 8px));
@@ -2393,34 +2470,9 @@ svc-question .sv-action-bar,
2393
2470
  top: calc(50% - 3 * var(--base-unit, 8px));
2394
2471
  left: calc(50% - 3 * var(--base-unit, 8px)); }
2395
2472
 
2396
- .svc-image-item-value-controls {
2397
- display: flex; }
2398
-
2399
- .svc-image-item-value-controls__button {
2400
- display: block;
2401
- background-color: var(--background, #fff);
2402
- border-radius: 50%;
2403
- width: calc(6 * var(--base-unit, 8px));
2404
- height: calc(6 * var(--base-unit, 8px));
2405
- cursor: pointer;
2406
- outline: none; }
2407
- .svc-image-item-value-controls__button:not(:last-child) {
2408
- margin-right: calc(1 * var(--base-unit, 8px)); }
2409
- .svc-image-item-value-controls__button .sv-svg-icon {
2410
- margin-top: calc(50% - 1.5 * var(--base-unit, 8px));
2411
- margin-left: calc(50% - 1.5 * var(--base-unit, 8px)); }
2412
- .svc-image-item-value-controls__button use {
2413
- fill: var(--foreground-light, #909090); }
2414
-
2415
2473
  .svc-image-item-value--new .svc-image-item-value-controls__button {
2416
2474
  background-color: transparent; }
2417
2475
 
2418
- .svc-image-item-value-controls__choose-file:hover use, .svc-image-item-value-controls__choose-file:focus use {
2419
- fill: var(--primary, #19b394); }
2420
-
2421
- .svc-image-item-value-controls__remove:hover use, .svc-image-item-value-controls__remove:focus use {
2422
- fill: var(--red, #e60a3e); }
2423
-
2424
2476
  .svc-image-item-value-controls__add use {
2425
2477
  fill: var(--primary, #19b394); }
2426
2478
 
@@ -2437,15 +2489,15 @@ svc-question .sv-action-bar,
2437
2489
  .svc-image-item-value__item .sd-imagepicker__item.sd-imagepicker__item {
2438
2490
  width: 100%; }
2439
2491
 
2440
- .svc-question__content--selected .svc-image-item-value-wrapper:hover .svc-image-item-value-controls__drag-area-indicator {
2441
- display: block; }
2442
-
2443
2492
  .svc-image-item-value-controls__drag-area-indicator {
2493
+ display: none;
2444
2494
  cursor: move;
2445
2495
  position: absolute;
2446
2496
  top: calc(1 * var(--base-unit, 8px));
2447
- left: calc(1 * var(--base-unit, 8px));
2448
- display: none; }
2497
+ left: calc(1 * var(--base-unit, 8px)); }
2498
+
2499
+ .svc-question__content--selected .svc-image-item-value-wrapper:hover .svc-image-item-value-controls__drag-area-indicator {
2500
+ display: block; }
2449
2501
 
2450
2502
  .svc-image-item-value-wrapper--ghost .svc-image-item-value-wrapper__ghost {
2451
2503
  display: block; }
@@ -2593,6 +2645,10 @@ svc-question .sv-action-bar,
2593
2645
  .svd-test-results .svd-test-results__table table tr .svd-test-results__node-value {
2594
2646
  color: var(--foreground-light, #909090); }
2595
2647
 
2648
+ .svc-designer-header .sd-container-modern__title {
2649
+ gap: 0;
2650
+ column-gap: calc(6 * var(--base-unit, 8px)); }
2651
+
2596
2652
  .svc-logo-image {
2597
2653
  position: relative;
2598
2654
  justify-content: flex-end;
@@ -2631,6 +2687,29 @@ svc-question .sv-action-bar,
2631
2687
  .svc-logo-image-placeholder use {
2632
2688
  fill: var(--foreground-light, #909090); }
2633
2689
 
2690
+ .svc-logo-image-container {
2691
+ position: relative; }
2692
+ .svc-logo-image-container .sd-logo {
2693
+ margin: 0; }
2694
+
2695
+ .svc-logo-image-controls {
2696
+ opacity: 0;
2697
+ width: max-content;
2698
+ position: absolute;
2699
+ top: 50%;
2700
+ left: 50%;
2701
+ transform: translate(-50%, -50%); }
2702
+
2703
+ .svc-logo-image-container {
2704
+ cursor: default; }
2705
+
2706
+ .svc-logo-image-container:not(.svc-logo-image-container--editable) .svc-logo-image-controls {
2707
+ display: none; }
2708
+
2709
+ .svc-logo-image-container--editable:focus-within .svc-logo-image-controls,
2710
+ .svc-logo-image-container--editable:hover .svc-logo-image-controls {
2711
+ opacity: 1; }
2712
+
2634
2713
  .svc-question-link__set-button {
2635
2714
  font-weight: 600;
2636
2715
  cursor: pointer; }
@@ -3718,6 +3797,51 @@ button.spg-action-button--large {
3718
3797
  .spg-link {
3719
3798
  display: flex; }
3720
3799
 
3800
+ .spg-theme-builder-root .sv-button-group {
3801
+ overflow: hidden; }
3802
+
3803
+ .spg-theme-builder-root .spg-question__header--location--left {
3804
+ width: max-content;
3805
+ flex: 0 0; }
3806
+ .spg-theme-builder-root .spg-question__header--location--left .spg-question__title {
3807
+ white-space: nowrap;
3808
+ overflow: hidden;
3809
+ text-overflow: ellipsis; }
3810
+
3811
+ .spg-theme-builder-root .spg-panel__content .spg-panel__content {
3812
+ padding: 0;
3813
+ padding-bottom: calc(5 * var(--base-unit, 8px));
3814
+ box-shadow: none; }
3815
+ .spg-theme-builder-root .spg-panel__content .spg-panel__content .spg-panel__title {
3816
+ background-color: transparent;
3817
+ box-shadow: none;
3818
+ padding: calc(1 * var(--base-unit, 8px)) 0; }
3819
+ .spg-theme-builder-root .spg-panel__content .spg-panel__content::after {
3820
+ content: " ";
3821
+ display: block;
3822
+ position: relative;
3823
+ left: calc(-4 * var(--base-unit, 8px));
3824
+ top: calc(5 * var(--base-unit, 8px));
3825
+ width: calc(8 * var(--base-unit, 8px) + 100%);
3826
+ height: 1px;
3827
+ background-color: var(--border, #d6d6d6); }
3828
+ .spg-theme-builder-root .spg-panel__content .spg-panel__content > .spg-row:first-of-type {
3829
+ margin-top: 0; }
3830
+
3831
+ .spg-theme-builder-root .spg-panel__content .spg-panel__content .spg-panel__content {
3832
+ padding-bottom: 0; }
3833
+ .spg-theme-builder-root .spg-panel__content .spg-panel__content .spg-panel__content::after {
3834
+ content: none; }
3835
+ .spg-theme-builder-root .spg-panel__content .spg-panel__content .spg-panel__content .spg-row {
3836
+ margin-top: calc(1 * var(--base-unit, 8px)); }
3837
+ .spg-theme-builder-root .spg-panel__content .spg-panel__content .spg-panel__content .spg-row:first-of-type {
3838
+ margin-top: 0; }
3839
+
3840
+ .spg-theme-builder-root .spg-panel__content .spg-row:last-of-type .spg-panel__content {
3841
+ padding-bottom: 0; }
3842
+ .spg-theme-builder-root .spg-panel__content .spg-row:last-of-type .spg-panel__content::after {
3843
+ content: none; }
3844
+
3721
3845
  .spg-root-modern {
3722
3846
  width: 100%;
3723
3847
  border-right: 1px solid var(--border, #d6d6d6);