camunda-bpmn-js 0.15.3 → 0.16.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.
package/CHANGELOG.md CHANGED
@@ -6,6 +6,17 @@ All notable changes to [camunda-bpmn-js](https://github.com/camunda/camunda-bpmn
6
6
 
7
7
  ___Note:__ Yet to be released changes appear here._
8
8
 
9
+ ## 0.16.0
10
+
11
+ * `DEPS`: update to `bpmn-js-properties-panel@1.4.0`
12
+ * `DEPS`: update to `@bpmn-io/properties-panel@0.18.0`
13
+ * `DEPS`: update to `camunda-bpmn-js-behaviors@0.1.1`
14
+
15
+ ### Key changes in Properties Panel
16
+
17
+ * `FEAT`: add FEEL editor for FEEL properties ([#158](https://github.com/bpmn-io/properties-panel/pull/158))
18
+ * `FIX`: do not update empty business key ([#2](https://github.com/camunda/camunda-bpmn-js-behaviors/pull/2))
19
+
9
20
  ## 0.15.3
10
21
 
11
22
  * `FIX`: remove `@bpmn-io/properties-panel` peer dependency as it is transitive ([#147](https://github.com/camunda/camunda-bpmn-js/pull/147))
@@ -12,6 +12,7 @@
12
12
  --color-grey-225-10-95: hsl(225, 10%, 95%);
13
13
  --color-grey-225-10-97: hsl(225, 10%, 97%);
14
14
 
15
+ --color-blue-205-100-35: hsl(205, 100%, 35%);
15
16
  --color-blue-205-100-45: hsl(205, 100%, 45%);
16
17
  --color-blue-205-100-50: hsl(205, 100%, 50%);
17
18
  --color-blue-205-100-95: hsl(205, 100%, 95%);
@@ -98,6 +99,11 @@
98
99
  --dropdown-item-hover-background-color: var(--color-grey-225-10-95);
99
100
  --dropdown-separator-background-color: var(--color-grey-225-10-75);
100
101
 
102
+ --feel-active-color: var(--color-blue-205-100-35);
103
+ --feel-inactive-color: var(--color-grey-225-10-35);
104
+
105
+ --feel-indicator-background-color: var(--color-grey-225-10-90);
106
+
101
107
  --text-size-base: 14px;
102
108
  --text-size-small: 13px;
103
109
  --text-size-smallest: 12px;
@@ -114,8 +120,11 @@
114
120
  overflow: hidden;
115
121
  }
116
122
 
117
- .bio-properties-panel * {
123
+ .bio-properties-panel {
118
124
  color: var(--text-base-color);
125
+ }
126
+
127
+ .bio-properties-panel * {
119
128
  font-size: var(--text-size-base);
120
129
  line-height: var(--text-line-height);
121
130
  font-weight: 400;
@@ -237,8 +246,14 @@
237
246
  justify-content: space-between;
238
247
  margin-bottom: -1px; /* avoid double borders */
239
248
  position: relative; /* browsers not supporting sticky */
240
- position: -webkit-sticky; /* for safari */
241
- position: sticky;
249
+
250
+ /**
251
+ * @pinussilvestrus Note: we exclude the sticky header feature until we
252
+ * find a proper fix for https://github.com/bpmn-io/bpmn-js-properties-panel/issues/726
253
+ */
254
+
255
+ /* position: -webkit-sticky; /* for safari */
256
+ /* position: sticky; */
242
257
  top: 0;
243
258
  z-index: 1;
244
259
  }
@@ -446,12 +461,19 @@ textarea.bio-properties-panel-input,
446
461
  width: 100%;
447
462
  }
448
463
 
449
- .bio-properties-panel-input:focus {
464
+ .bio-properties-panel-input:focus,
465
+ .bio-properties-panel-input:focus-within {
450
466
  outline: none;
451
467
  background-color: var(--input-focus-background-color);
452
468
  border: 1px solid var(--input-focus-border-color);
453
469
  }
454
470
 
471
+ .bio-properties-panel-textfield:focus-within,
472
+ .bio-properties-panel-feel-entry:focus-within {
473
+ --input-background-color: var(--input-focus-background-color);
474
+ --input-border-color: var(--input-focus-border-color);
475
+ }
476
+
455
477
  .bio-properties-panel-input:disabled {
456
478
  border-color: var(--input-disabled-border-color);
457
479
  background-color: var(--input-disabled-background-color);
@@ -920,11 +942,76 @@ textarea.bio-properties-panel-input {
920
942
  .bio-properties-panel-feel-icon {
921
943
  display: inline-block;
922
944
  height: 16px;
945
+ border-radius: 8px;
923
946
  vertical-align: text-bottom;
924
- padding: 0 3px;
947
+ padding: 0;
948
+ margin: 0 3px;
949
+ align-items: center;
950
+ align-self: center;
951
+ border: none;
952
+ background: none;
953
+ }
954
+
955
+ .bio-properties-panel-feel-icon.optional {
956
+ cursor: pointer;
957
+ }
958
+
959
+ .bio-properties-panel-feel-icon svg * {
960
+ color: var(--feel-inactive-color);
961
+ }
962
+
963
+ .bio-properties-panel-feel-icon.active svg * {
964
+ color: var(--feel-active-color);
925
965
  }
926
966
 
927
967
  .bio-properties-panel-feel-icon svg {
928
968
  width: 16px;
929
969
  height: 16px;
930
- }
970
+ }
971
+
972
+ .bio-properties-panel-feel-editor-container {
973
+ position: relative;
974
+ }
975
+
976
+ .bio-properties-panel-feel-editor-container.active {
977
+ font-family: var(--font-family-monospace);
978
+ }
979
+
980
+ .bio-properties-panel-feel-container {
981
+ position: relative;
982
+ }
983
+
984
+ .bio-properties-panel-feel-container .bio-properties-panel-feel-editor-container>div {
985
+ position: static;
986
+ padding-left: 2.4em !important;
987
+ min-height: 28px;
988
+ }
989
+
990
+ .cm-scroller {
991
+ overflow: hidden !important;
992
+ }
993
+
994
+ .bio-properties-panel-feel-indicator {
995
+ position: absolute;
996
+ border: 1px solid var(--input-border-color);
997
+ background-color: var(--feel-indicator-background-color);
998
+ border-right: 0px;
999
+ border-radius: 2px 0 0 2px;
1000
+ z-index: 1;
1001
+ height: 100%;
1002
+ width: 2em;
1003
+ text-align: center;
1004
+ padding: 2px 6px;
1005
+ }
1006
+
1007
+ .bio-properties-panel-feel-editor-container .bio-properties-panel-input {
1008
+ resize: vertical;
1009
+ overflow: hidden;
1010
+ overflow-y: auto;
1011
+ }
1012
+
1013
+ .bio-properties-panel-feel-editor-container,
1014
+ .bio-properties-panel-feel-editor-container .bio-properties-panel-input,
1015
+ .cm-editor {
1016
+ min-height: 100%;
1017
+ }