survey-creator-react 1.9.4-beta.1 → 1.9.5-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,12 +1,12 @@
1
1
  /*!
2
- * SurveyJS Creator React v1.9.4-beta.1
3
- * (c) 2015-2021 Devsoft Baltic OÜ - http://surveyjs.io/
2
+ * SurveyJS Creator React v1.9.5-beta.1
3
+ * (c) 2015-2022 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.4-beta.1
9
- * (c) 2015-2021 Devsoft Baltic OÜ - http://surveyjs.io/
8
+ * SurveyJS Creator v1.9.5-beta.1
9
+ * (c) 2015-2022 Devsoft Baltic OÜ - http://surveyjs.io/
10
10
  * Github: https://github.com/surveyjs/survey-creator
11
11
  * License: https://surveyjs.io/Licenses#SurveyCreator
12
12
  */
@@ -348,8 +348,8 @@ svc-tab-test {
348
348
  width: 100%; }
349
349
  .svc-test-tab__content-actions .svc-page-selector .sv-action-bar-item__title {
350
350
  overflow: hidden;
351
- text-overflow: ellipsis;
352
351
  white-space: nowrap;
352
+ text-overflow: ellipsis;
353
353
  display: inline-block; }
354
354
 
355
355
  /* latin */
@@ -382,32 +382,28 @@ svc-tab-test {
382
382
  --font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; }
383
383
 
384
384
  .sl-table__cell.st-table__cell--actions:first-child .sv-action-bar {
385
- margin-top: -4px; }
385
+ margin-top: calc(-0.5 * var(--base-unit, 8px));
386
+ padding-right: calc(4 * var(--base-unit, 8px)); }
386
387
 
387
- .sl-table__detail-button.sl-table__detail-button {
388
- display: block;
389
- width: 48px;
390
- height: 48px;
388
+ .sl-table .sl-table__detail-button.sl-table__detail-button {
389
+ width: calc(6 * var(--base-unit, 8px));
390
+ height: calc(6 * var(--base-unit, 8px));
391
391
  box-sizing: border-box;
392
- border-radius: 100px;
392
+ border-radius: calc(12.5 * var(--base-unit, 8px));
393
393
  padding: 0; }
394
- .sl-table__detail-button.sl-table__detail-button use {
395
- display: none; }
396
- .sl-table__detail-button.sl-table__detail-button:hover, .sl-table__detail-button.sl-table__detail-button:focus {
397
- background-color: var(--primary-light, rgba(25, 179, 148, 0.1)); }
398
- .sl-table__detail-button.sl-table__detail-button:hover use, .sl-table__detail-button.sl-table__detail-button:focus use {
394
+ .sl-table .sl-table__detail-button.sl-table__detail-button:hover, .sl-table .sl-table__detail-button.sl-table__detail-button:focus {
395
+ background-color: var(--primary-light, rgba(25, 179, 148, 0.1));
396
+ outline: none; }
397
+ .sl-table .sl-table__detail-button.sl-table__detail-button:hover use, .sl-table .sl-table__detail-button.sl-table__detail-button:focus use {
399
398
  fill: var(--primary, #19b394); }
400
399
 
401
- #show-detail .sl-table__detail-button {
402
- outline: none; }
403
-
404
- .sl-table__row:hover .sl-table__detail-button.sl-table__detail-button use,
405
- .sl-table__detail-button.sl-table__detail-button:focus use {
406
- display: initial; }
407
-
408
- .sl-table__row #remove-row .sv-action-bar-item__icon use {
400
+ .sl-table__cell .sv-action-bar-item__icon {
409
401
  display: none; }
410
402
 
403
+ .sl-table__row:hover .sl-table__cell .sv-action-bar-item__icon,
404
+ .sl-table__cell .sv-action-bar-item:focus .sv-action-bar-item__icon {
405
+ display: block; }
406
+
411
407
  .sl-table__row:hover #remove-row .sv-action-bar-item,
412
408
  .sl-table__row #remove-row:focus-within .sv-action-bar-item {
413
409
  border: none;
@@ -416,8 +412,7 @@ svc-tab-test {
416
412
 
417
413
  .sl-table__row:hover #remove-row .sv-action-bar-item__icon use,
418
414
  .sl-table__row #remove-row:focus-within .sv-action-bar-item__icon use {
419
- fill: var(--red, #e60a3e);
420
- display: block; }
415
+ fill: var(--red, #e60a3e); }
421
416
 
422
417
  .sl-table__row.sl-table__row--additional .sl-table__cell .svc-action-button {
423
418
  color: var(--secondary, #ff9814); }
@@ -425,26 +420,36 @@ svc-tab-test {
425
420
  .sl-table__cell .svc-action-button,
426
421
  .sl-table__cell .svc-action-button:hover,
427
422
  .sl-table__cell .svc-action-button:focus {
423
+ font-family: var(--font-family);
424
+ font-style: normal;
425
+ font-weight: bold;
426
+ font-size: calc(3 * var(--base-unit, 8px));
427
+ line-height: calc(4 * var(--base-unit, 8px));
428
428
  background: transparent;
429
- color: var(--foreground, #161616); }
429
+ color: var(--foreground, #161616);
430
+ outline: none;
431
+ border: none;
432
+ box-shadow: none;
433
+ max-height: calc(13.5 * var(--base-unit, 8px));
434
+ overflow: hidden;
435
+ display: -webkit-box;
436
+ -webkit-line-clamp: 3;
437
+ -webkit-box-orient: vertical; }
430
438
 
431
439
  .sl-table__cell {
432
440
  color: var(--foreground, #161616);
433
441
  font-weight: bold;
434
442
  font-size: calc(2 * var(--base-unit, 8px));
435
443
  font-family: var(--font-family);
436
- padding: 0.9375em;
437
- padding-left: 0;
438
- box-sizing: content-box;
439
- vertical-align: top; }
444
+ vertical-align: top;
445
+ padding: calc(2 * var(--base-unit, 8px)) 0; }
440
446
 
441
447
  .sl-table__cell--detail-button {
442
448
  overflow: hidden;
443
449
  appearance: none;
444
450
  outline: none;
445
451
  border: none;
446
- background-color: transparent;
447
- padding: calc(0.25 * var(--base-unit, 8px)); }
452
+ background-color: transparent; }
448
453
 
449
454
  .sl-table {
450
455
  width: 100%;
@@ -452,24 +457,22 @@ svc-tab-test {
452
457
  border-spacing: 0;
453
458
  table-layout: fixed; }
454
459
  .sl-table tbody tr:last-child .sl-table__cell {
455
- padding-bottom: 2.5em; }
460
+ padding-bottom: calc(5 * var(--base-unit, 8px)); }
456
461
  .sl-table tr:first-child .sl-table__cell {
457
- padding-top: 1.875em; }
462
+ padding-top: calc(4 * var(--base-unit, 8px)); }
458
463
  .sl-table td:first-child,
459
464
  .sl-table th:first-child {
460
- padding-left: 1.875em; }
465
+ padding-left: calc(4 * var(--base-unit, 8px)); }
461
466
  .sl-table td:first-child .sv-action-bar,
462
467
  .sl-table th:first-child .sv-action-bar {
463
468
  justify-content: flex-end; }
464
469
  .sl-table td:last-child,
465
470
  .sl-table th:last-child {
466
- padding-right: 1.875em; }
471
+ padding-right: calc(4 * var(--base-unit, 8px)); }
467
472
 
468
473
  .sl-panel .sl-panel__footer {
469
474
  padding: 0; }
470
- .sl-panel .sl-panel__footer.sv-action-bar {
471
- width: 100%; }
472
- .sl-panel .sl-panel__footer #saveDetailPanel {
475
+ .sl-panel .sl-panel__footer .sv-action {
473
476
  width: 100%; }
474
477
  .sl-panel .sl-panel__footer .sv-action__content {
475
478
  width: 100%; }
@@ -509,7 +512,7 @@ svc-tab-test {
509
512
  flex-flow: row wrap; }
510
513
 
511
514
  .sl-panel {
512
- padding-bottom: 16px; }
515
+ padding-bottom: calc(2 * var(--base-unit, 8px)); }
513
516
 
514
517
  .sl-row--multiple .sl-panel {
515
518
  padding-bottom: 0; }
@@ -535,17 +538,17 @@ svc-tab-test {
535
538
  display: none; }
536
539
 
537
540
  .sl-row--multiple .sl-question {
538
- padding-right: calc(1 * var(--base-unit, 8px)) !important; }
541
+ padding-right: calc(1 * var(--base-unit, 8px)); }
539
542
 
540
543
  .svc-logic-question-value {
541
- padding-right: calc(5 * var(--base-unit, 8px)) !important; }
542
-
543
- .sl-comment {
544
- margin-bottom: calc(2 * var(--base-unit, 8px)); }
544
+ padding-right: calc(5 * var(--base-unit, 8px)); }
545
545
 
546
546
  .sv-popup.sv-property-editor .sl-row {
547
547
  flex-flow: nowrap; }
548
548
 
549
+ .spg-comment.sl-comment {
550
+ height: calc(17 * var(--base-unit, 8px)); }
551
+
549
552
  /* latin */
550
553
  @font-face {
551
554
  font-family: "Open Sans";
@@ -830,15 +833,6 @@ svc-tab-test {
830
833
  .svc-logic-paneldynamic__button.svc-logic-paneldynamic__remove-btn {
831
834
  display: none; }
832
835
 
833
- .svc-question-wrapper {
834
- max-width: initial !important;
835
- min-width: initial !important;
836
- width: initial !important;
837
- flex: initial !important; }
838
-
839
- .svc-question-wrapper .sv-title-actions__title {
840
- max-width: none; }
841
-
842
836
  .svc-logic-operator--action.sl-paneldynamic__add-btn.sl-paneldynamic__add-btn,
843
837
  .svc-logic-operator--operator.sl-paneldynamic__add-btn.sl-paneldynamic__add-btn {
844
838
  color: var(--foreground-light, #909090); }
@@ -1412,9 +1406,10 @@ survey-creator,
1412
1406
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.15);
1413
1407
  border-radius: calc(0.5 * var(--base-unit, 8px));
1414
1408
  cursor: pointer;
1415
- user-select: none; }
1409
+ user-select: none;
1410
+ outline-color: var(--primary, #19b394); }
1416
1411
  .svc-btn:hover {
1417
- outline: 2px solid var(--primary, #19b394); }
1412
+ outline: calc(0.25 * var(--base-unit, 8px)) solid var(--primary, #19b394); }
1418
1413
  .svc-btn .svc-text {
1419
1414
  display: flex;
1420
1415
  align-items: center;
@@ -1592,12 +1587,12 @@ svc-page-navigator-item,
1592
1587
  border: calc(0.25 * var(--base-unit, 8px)) solid var(--primary, #19b394); }
1593
1588
 
1594
1589
  .svc-page-navigator-item__banner {
1590
+ overflow: hidden;
1591
+ white-space: nowrap;
1592
+ text-overflow: ellipsis;
1595
1593
  right: calc(0.5 * var(--base-unit, 8px));
1596
1594
  display: block;
1597
- white-space: nowrap;
1598
1595
  line-height: calc(4 * var(--base-unit, 8px));
1599
- overflow: hidden;
1600
- text-overflow: ellipsis;
1601
1596
  animation: 0.5s ease-in;
1602
1597
  padding: 0;
1603
1598
  opacity: 0; }
@@ -1893,8 +1888,8 @@ svc-question {
1893
1888
  max-width: 100%; }
1894
1889
  .svc-question__content-actions .sv-action--first .sv-action-bar-item .sv-action-bar-item__title {
1895
1890
  overflow: hidden;
1896
- text-overflow: ellipsis;
1897
1891
  white-space: nowrap;
1892
+ text-overflow: ellipsis;
1898
1893
  display: inline-block;
1899
1894
  justify-content: left; }
1900
1895
 
@@ -3479,8 +3474,7 @@ svc-toolbox {
3479
3474
  display: flex;
3480
3475
  flex-direction: column;
3481
3476
  align-items: flex-start;
3482
- padding: 0px;
3483
- min-width: auto !important; }
3477
+ padding: 0px; }
3484
3478
 
3485
3479
  .spg-question__header {
3486
3480
  width: 100%; }
@@ -3512,7 +3506,6 @@ svc-toolbox {
3512
3506
 
3513
3507
  .spg-question--location--left {
3514
3508
  flex-direction: row;
3515
- padding-right: 0 !important;
3516
3509
  background: var(--background, #fff);
3517
3510
  border: 1px solid var(--border, #d6d6d6);
3518
3511
  line-height: calc(6 * var(--base-unit, 8px));
@@ -3534,7 +3527,6 @@ svc-toolbox {
3534
3527
  .spg-row--multiple {
3535
3528
  display: flex;
3536
3529
  gap: calc(1 * var(--base-unit, 8px));
3537
- margin-top: calc(1 * var(--base-unit, 8px)) !important;
3538
3530
  overflow: hidden; }
3539
3531
 
3540
3532
  .spg-input {
@@ -3646,6 +3638,9 @@ svc-toolbox {
3646
3638
  width: 100%;
3647
3639
  margin-top: calc(2 * var(--base-unit, 8px)); }
3648
3640
 
3641
+ .spg-panel__content .spg-row--multiple {
3642
+ margin-top: calc(1 * var(--base-unit, 8px)); }
3643
+
3649
3644
  .sv-mobile-side-bar .spg-panel__content {
3650
3645
  padding: 0 calc(2 * var(--base-unit, 8px)) calc(5 * var(--base-unit, 8px)); }
3651
3646