camunda-bpmn-js 2.4.0 → 2.6.0

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.
@@ -99,8 +99,11 @@
99
99
  --dropdown-item-hover-background-color: var(--color-grey-225-10-95);
100
100
  --dropdown-separator-background-color: var(--color-grey-225-10-75);
101
101
 
102
- --feel-active-color: var(--color-blue-205-100-35);
102
+ --feel-background-color: var(--color-grey-225-10-95);
103
+ --feel-active-color: var(--color-blue-205-100-45);
103
104
  --feel-inactive-color: var(--color-grey-225-10-35);
105
+ --feel-hover-background-color: var(--color-grey-225-10-90);
106
+ --feel-active-background-color: var(--color-grey-225-10-95);
104
107
 
105
108
  --feel-indicator-background-color: var(--color-grey-225-10-90);
106
109
 
@@ -113,7 +116,9 @@
113
116
  --font-family: sans-serif;
114
117
  --font-family-monospace: monospace;
115
118
 
116
- display: none;
119
+ display: flex;
120
+ flex-direction: column;
121
+ flex: 1;
117
122
  position: relative;
118
123
  height: 100%;
119
124
  width: 100%;
@@ -135,12 +140,6 @@
135
140
  font-family: var(--font-family);
136
141
  }
137
142
 
138
- .bio-properties-panel.open {
139
- display: flex;
140
- flex-direction: column;
141
- flex: 1;
142
- }
143
-
144
143
  /**
145
144
  * Placeholder (empty, multi select, ...)
146
145
  */
@@ -421,6 +420,14 @@
421
420
  border-radius: 3px;
422
421
  }
423
422
 
423
+ .bio-properties-panel-description pre code {
424
+ width: 100%;
425
+ display: block;
426
+ overflow-x: auto;
427
+ padding: 4px 6px;
428
+ font-family: var(--font-family-monospace);
429
+ }
430
+
424
431
  .bio-properties-panel-description ul {
425
432
  padding: 0;
426
433
  margin: 0 0 0 12px;
@@ -438,6 +445,22 @@
438
445
  text-decoration: underline;
439
446
  }
440
447
 
448
+ .bio-properties-panel-feelers-editor.bio-properties-panel-input {
449
+ padding: 0;
450
+ }
451
+
452
+ .bio-properties-panel-feelers-input .cm-editor
453
+ {
454
+ min-height: 32px;
455
+ max-height: 215px;
456
+ background-color: transparent;
457
+ }
458
+
459
+ .bio-properties-panel-feelers-editor .cm-editor.cm-focused,
460
+ .bio-properties-panel-feelers-input .cm-editor.cm-focused {
461
+ outline: none;
462
+ }
463
+
441
464
  .bio-properties-panel-input {
442
465
  padding: 3px 6px 2px;
443
466
  border: 1px solid var(--input-border-color);
@@ -455,7 +478,7 @@ textarea.bio-properties-panel-input,
455
478
  width: 100%;
456
479
  }
457
480
 
458
- textarea.bio-properties-panel-input.auto-resize {
481
+ textarea.bio-properties-panel-input {
459
482
  min-height: 28px;
460
483
  }
461
484
 
@@ -492,7 +515,7 @@ select.bio-properties-panel-input {
492
515
  }
493
516
 
494
517
  .bio-properties-panel-input[type="checkbox"]:focus {
495
- outline: 1px solid var(--input-focus-border-color);
518
+ outline: 2px solid var(--input-focus-border-color);
496
519
  outline-offset: 0;
497
520
  }
498
521
 
@@ -562,10 +585,23 @@ textarea.bio-properties-panel-input {
562
585
  align-items: center;
563
586
  }
564
587
 
588
+ .bio-properties-panel-toggle-switch.inline {
589
+ display: flex;
590
+ flex-direction: row;
591
+ }
592
+
593
+ .bio-properties-panel-toggle-switch.inline .bio-properties-panel-field-wrapper {
594
+ margin-left: auto;
595
+ }
596
+
565
597
  .bio-properties-panel-toggle-switch > .bio-properties-panel-label {
566
598
  font-size: var(--text-size-base);
567
599
  }
568
600
 
601
+ .bio-properties-panel-toggle-switch.inline > .bio-properties-panel-label {
602
+ font-size: var(--text-size-small);
603
+ }
604
+
569
605
  .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__label {
570
606
  margin: 0;
571
607
  margin-left: 6px;
@@ -578,6 +614,11 @@ textarea.bio-properties-panel-input {
578
614
  height: 16px;
579
615
  }
580
616
 
617
+ .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher:focus-within {
618
+ outline: 2px solid var(--input-focus-border-color);
619
+ outline-offset: 1px;
620
+ }
621
+
581
622
  .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher input[type='checkbox'] {
582
623
  opacity: 0;
583
624
  width: 0;
@@ -586,6 +627,7 @@ textarea.bio-properties-panel-input {
586
627
 
587
628
  .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher .bio-properties-panel-toggle-switch__slider {
588
629
  position: absolute;
630
+ cursor: pointer;
589
631
  top: 0;
590
632
  left: 0;
591
633
  right: 0;
@@ -942,34 +984,57 @@ textarea.bio-properties-panel-input {
942
984
  padding-right: 2em
943
985
  }
944
986
 
987
+ .bio-properties-panel-feel-entry .bio-properties-panel-label {
988
+ display: flex;
989
+ }
990
+
945
991
  .bio-properties-panel-feel-icon {
946
- display: inline-block;
947
- height: 16px;
948
- border-radius: 8px;
992
+ display: inline-flex;
993
+ height: 22px;
994
+ width: 22px;
949
995
  vertical-align: text-bottom;
950
996
  padding: 0;
951
997
  margin: 0 3px;
952
998
  align-items: center;
953
999
  align-self: center;
1000
+ justify-content: center;
954
1001
  border: none;
955
1002
  background: none;
1003
+ border-radius: 3px;
956
1004
  }
957
1005
 
958
1006
  .bio-properties-panel-feel-icon.optional {
959
1007
  cursor: pointer;
1008
+
1009
+ background: var(--feel-background-color);
960
1010
  }
961
1011
 
962
1012
  .bio-properties-panel-feel-icon svg * {
963
- color: var(--feel-inactive-color);
1013
+ fill: var(--feel-inactive-color);
1014
+ }
1015
+
1016
+ .bio-properties-panel-feel-icon:hover {
1017
+ background: var(--feel-hover-background-color);
1018
+ }
1019
+
1020
+ .bio-properties-panel-feel-icon.active {
1021
+ background: var(--feel-active-background-color);
1022
+ }
1023
+
1024
+ .bio-properties-panel-feel-icon.active:hover {
1025
+ background: var(--feel-hover-background-color);
1026
+ }
1027
+
1028
+ .bio-properties-panel-feel-icon.required.active {
1029
+ background: none;
964
1030
  }
965
1031
 
966
1032
  .bio-properties-panel-feel-icon.active svg * {
967
- color: var(--feel-active-color);
1033
+ fill: var(--feel-active-color);
968
1034
  }
969
1035
 
970
- .bio-properties-panel-feel-icon svg {
971
- width: 16px;
972
- height: 16px;
1036
+ .bio-properties-panel-feel-icon.required.active svg * {
1037
+ fill: var(--feel-inactive-color);
973
1038
  }
974
1039
 
975
1040
  .bio-properties-panel-feel-editor-container {
@@ -990,10 +1055,6 @@ textarea.bio-properties-panel-input {
990
1055
  min-height: 28px;
991
1056
  }
992
1057
 
993
- .bio-properties-panel-feel-container .cm-scroller {
994
- overflow: hidden !important;
995
- }
996
-
997
1058
  .bio-properties-panel-feel-indicator {
998
1059
  position: absolute;
999
1060
  border: 1px solid var(--input-border-color);
@@ -1007,6 +1068,18 @@ textarea.bio-properties-panel-input {
1007
1068
  padding: 2px 6px;
1008
1069
  }
1009
1070
 
1071
+ .bio-properties-panel-feel-editor-container .cm-scroller {
1072
+ overflow: hidden !important;
1073
+ }
1074
+
1075
+ .bio-properties-panel-feelers-editor .cm-editor {
1076
+ background-color: transparent;
1077
+ }
1078
+
1079
+ .bio-properties-panel-feelers-editor .cm-editor.cm-focused {
1080
+ background-color: transparent;
1081
+ }
1082
+
1010
1083
  .bio-properties-panel-feel-editor-container .bio-properties-panel-input {
1011
1084
  resize: vertical;
1012
1085
  overflow: hidden;
@@ -1018,3 +1091,20 @@ textarea.bio-properties-panel-input {
1018
1091
  .bio-properties-panel-feel-container .cm-editor {
1019
1092
  min-height: 100%;
1020
1093
  }
1094
+
1095
+ .bio-properties-panel-feel-checkbox,
1096
+ .bio-properties-panel-feel-toggle-switch {
1097
+ padding-top: 1px;
1098
+ }
1099
+
1100
+ .bio-properties-panel-feel-checkbox .bio-properties-panel-feel-entry:not(.feel-active),
1101
+ .bio-properties-panel-feel-toggle-switch .bio-properties-panel-feel-entry:not(.feel-active) {
1102
+ display: flex;
1103
+ flex-direction: row;
1104
+ align-items: center;
1105
+ }
1106
+
1107
+ .bio-properties-panel-feel-checkbox .bio-properties-panel-feel-entry:not(.feel-active) .bio-properties-panel-feel-container,
1108
+ .bio-properties-panel-feel-toggle-switch .bio-properties-panel-feel-entry:not(.feel-active) .bio-properties-panel-feel-container {
1109
+ margin-left: auto;
1110
+ }