camunda-bpmn-js 2.7.0 → 3.1.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.
@@ -11,12 +11,14 @@
11
11
  --color-grey-225-10-90: hsl(225, 10%, 90%);
12
12
  --color-grey-225-10-95: hsl(225, 10%, 95%);
13
13
  --color-grey-225-10-97: hsl(225, 10%, 97%);
14
+ --color-grey-0-0-22: hsl(0, 0%, 22%);
14
15
 
15
16
  --color-blue-205-100-35: hsl(205, 100%, 35%);
16
17
  --color-blue-205-100-45: hsl(205, 100%, 45%);
17
18
  --color-blue-205-100-50: hsl(205, 100%, 50%);
18
19
  --color-blue-205-100-95: hsl(205, 100%, 95%);
19
-
20
+ --color-blue-219-99-53: hsl(219, 99%, 53%);
21
+ --color-blue-218-100-74: hsl(218, 100%, 74%);
20
22
  --color-green-150-86-44: hsl(150, 86%, 44%);
21
23
 
22
24
  --color-red-360-100-40: hsl(360, 100%, 40%);
@@ -62,6 +64,7 @@
62
64
  --arrow-hover-background-color: var(--color-grey-225-10-95);
63
65
 
64
66
  --dot-color: var(--color-grey-225-10-35);
67
+ --dot-color-error: var(--color-red-360-100-45);
65
68
 
66
69
  --list-badge-color: var(--color-white);
67
70
  --list-badge-background-color: var(--color-grey-225-10-35);
@@ -99,14 +102,22 @@
99
102
  --dropdown-item-hover-background-color: var(--color-grey-225-10-95);
100
103
  --dropdown-separator-background-color: var(--color-grey-225-10-75);
101
104
 
102
- --feel-background-color: var(--color-grey-225-10-95);
105
+ --feel-background-color: transparent;
103
106
  --feel-active-color: var(--color-blue-205-100-45);
104
107
  --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);
108
+ --feel-hover-color: var(--color-grey-225-10-15);
109
+ --feel-hover-background-color: var(--color-grey-225-10-97);
110
+ --feel-active-background-color: transparent;
111
+ --feel-required-color: var(--color-grey-225-10-55);
107
112
 
108
113
  --feel-indicator-background-color: var(--color-grey-225-10-90);
109
114
 
115
+ --tooltip-underline-color: var(--color-blue-219-99-53);
116
+ --tooltip-background-color: var(--color-grey-0-0-22);
117
+ --tooltip-link: var(--color-blue-218-100-74);
118
+ --tooltip-code-background-color: var(--color-grey-225-10-97);
119
+ --tooltip-code-border-color: var(--color-grey-225-10-85);
120
+
110
121
  --text-size-base: 14px;
111
122
  --text-size-small: 13px;
112
123
  --text-size-smallest: 12px;
@@ -353,6 +364,10 @@
353
364
  background-color: var(--dot-color);
354
365
  }
355
366
 
367
+ .bio-properties-panel-dot--error {
368
+ --dot-color: var(--dot-color-error);
369
+ }
370
+
356
371
  /**
357
372
  * Lists
358
373
  */
@@ -380,6 +395,10 @@
380
395
  background-color: var(--list-badge-background-color);
381
396
  }
382
397
 
398
+ .bio-properties-panel-list-badge--error {
399
+ --list-badge-background-color: var(--dot-color-error);
400
+ }
401
+
383
402
  /**
384
403
  * Basic entries
385
404
  */
@@ -990,7 +1009,7 @@ textarea.bio-properties-panel-input {
990
1009
 
991
1010
  .bio-properties-panel-feel-icon {
992
1011
  display: inline-flex;
993
- height: 22px;
1012
+ height: 18px;
994
1013
  width: 22px;
995
1014
  vertical-align: text-bottom;
996
1015
  padding: 0;
@@ -1005,7 +1024,6 @@ textarea.bio-properties-panel-input {
1005
1024
 
1006
1025
  .bio-properties-panel-feel-icon.optional {
1007
1026
  cursor: pointer;
1008
-
1009
1027
  background: var(--feel-background-color);
1010
1028
  }
1011
1029
 
@@ -1017,6 +1035,10 @@ textarea.bio-properties-panel-input {
1017
1035
  background: var(--feel-hover-background-color);
1018
1036
  }
1019
1037
 
1038
+ .bio-properties-panel-feel-icon:hover svg * {
1039
+ fill: var(--feel-hover-color);
1040
+ }
1041
+
1020
1042
  .bio-properties-panel-feel-icon.active {
1021
1043
  background: var(--feel-active-background-color);
1022
1044
  }
@@ -1034,7 +1056,7 @@ textarea.bio-properties-panel-input {
1034
1056
  }
1035
1057
 
1036
1058
  .bio-properties-panel-feel-icon.required.active svg * {
1037
- fill: var(--feel-inactive-color);
1059
+ fill: var(--feel-required-color);
1038
1060
  }
1039
1061
 
1040
1062
  .bio-properties-panel-feel-editor-container {
@@ -1107,4 +1129,63 @@ textarea.bio-properties-panel-input {
1107
1129
  .bio-properties-panel-feel-checkbox .bio-properties-panel-feel-entry:not(.feel-active) .bio-properties-panel-feel-container,
1108
1130
  .bio-properties-panel-feel-toggle-switch .bio-properties-panel-feel-entry:not(.feel-active) .bio-properties-panel-feel-container {
1109
1131
  margin-left: auto;
1132
+ }
1133
+
1134
+ .bio-properties-panel-tooltip-wrapper {
1135
+ text-decoration: underline;
1136
+ text-decoration-style: dotted;
1137
+ text-underline-offset: 2px;
1138
+ font: inherit;
1139
+ }
1140
+
1141
+ .bio-properties-panel-tooltip {
1142
+ display: flex;
1143
+ color: var(--color-white, white);
1144
+ position: fixed;
1145
+ z-index: 1000;
1146
+ padding-right: 6px;
1147
+ max-width: 300px;
1148
+ font-size: var(--text-size-small);
1149
+ font-family: var(--font-family);
1150
+ }
1151
+
1152
+ .bio-properties-panel-tooltip-content {
1153
+ background-color: var(--tooltip-background-color);
1154
+ padding: 16px;
1155
+ border-radius: 2px;
1156
+ font-weight: 400;
1157
+ white-space: pre-wrap;
1158
+ }
1159
+
1160
+ .bio-properties-panel-tooltip-content code,
1161
+ .bio-properties-panel-tooltip-content pre {
1162
+ color: var(--description-color);
1163
+ font-family: var(--font-family);
1164
+ font-size: var(--text-size-small);
1165
+ line-height: var(--line-height-condensed);
1166
+ padding: 0 2px;
1167
+ background-color: var(--tooltip-code-background-color);
1168
+ border: 1px solid var(--tooltip-code-border-color);
1169
+ border-radius: 3px;
1170
+ }
1171
+
1172
+ .bio-properties-panel-tooltip p:first-child {
1173
+ margin-top: 0;
1174
+ }
1175
+
1176
+ .bio-properties-panel-tooltip p:last-child {
1177
+ margin-bottom: 0;
1178
+ }
1179
+
1180
+ .bio-properties-panel-tooltip-content a {
1181
+ color: var(--tooltip-link);
1182
+ }
1183
+
1184
+ .bio-properties-panel-tooltip .bio-properties-panel-tooltip-arrow {
1185
+ width: 0;
1186
+ height: 0;
1187
+ border-top: 5px solid transparent;
1188
+ border-bottom: 5px solid transparent;
1189
+ border-left: 5px solid var(--tooltip-background-color);
1190
+ margin-top: 16px;
1110
1191
  }