camunda-bpmn-js 3.0.0 → 3.1.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.
@@ -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);
@@ -109,6 +112,12 @@
109
112
 
110
113
  --feel-indicator-background-color: var(--color-grey-225-10-90);
111
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
+
112
121
  --text-size-base: 14px;
113
122
  --text-size-small: 13px;
114
123
  --text-size-smallest: 12px;
@@ -355,6 +364,10 @@
355
364
  background-color: var(--dot-color);
356
365
  }
357
366
 
367
+ .bio-properties-panel-dot--error {
368
+ --dot-color: var(--dot-color-error);
369
+ }
370
+
358
371
  /**
359
372
  * Lists
360
373
  */
@@ -382,6 +395,10 @@
382
395
  background-color: var(--list-badge-background-color);
383
396
  }
384
397
 
398
+ .bio-properties-panel-list-badge--error {
399
+ --list-badge-background-color: var(--dot-color-error);
400
+ }
401
+
385
402
  /**
386
403
  * Basic entries
387
404
  */
@@ -1112,4 +1129,63 @@ textarea.bio-properties-panel-input {
1112
1129
  .bio-properties-panel-feel-checkbox .bio-properties-panel-feel-entry:not(.feel-active) .bio-properties-panel-feel-container,
1113
1130
  .bio-properties-panel-feel-toggle-switch .bio-properties-panel-feel-entry:not(.feel-active) .bio-properties-panel-feel-container {
1114
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;
1115
1191
  }