camunda-bpmn-js 4.0.0-0 → 4.0.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.
Files changed (26) hide show
  1. package/dist/assets/diagram-js.css +7 -19
  2. package/dist/assets/properties-panel.css +57 -23
  3. package/dist/base-modeler.development.js +65569 -62864
  4. package/dist/base-modeler.production.min.js +52 -53
  5. package/dist/base-navigated-viewer.development.js +1694 -1145
  6. package/dist/base-navigated-viewer.production.min.js +1 -1
  7. package/dist/base-viewer.development.js +1692 -1147
  8. package/dist/base-viewer.production.min.js +1 -1
  9. package/dist/camunda-cloud-modeler.development.js +52572 -39963
  10. package/dist/camunda-cloud-modeler.production.min.js +61 -61
  11. package/dist/camunda-cloud-navigated-viewer.development.js +1694 -1145
  12. package/dist/camunda-cloud-navigated-viewer.production.min.js +1 -1
  13. package/dist/camunda-cloud-viewer.development.js +1692 -1147
  14. package/dist/camunda-cloud-viewer.production.min.js +1 -1
  15. package/dist/camunda-platform-modeler.development.js +45585 -42832
  16. package/dist/camunda-platform-modeler.production.min.js +52 -53
  17. package/dist/camunda-platform-navigated-viewer.development.js +1694 -1145
  18. package/dist/camunda-platform-navigated-viewer.production.min.js +1 -1
  19. package/dist/camunda-platform-viewer.development.js +1692 -1147
  20. package/dist/camunda-platform-viewer.production.min.js +1 -1
  21. package/lib/camunda-cloud/Modeler.js +0 -3
  22. package/package.json +33 -33
  23. package/lib/camunda-cloud/features/rules/BpmnRules.d.ts +0 -32
  24. package/lib/camunda-cloud/features/rules/BpmnRules.js +0 -161
  25. package/lib/camunda-cloud/features/rules/index.d.ts +0 -6
  26. package/lib/camunda-cloud/features/rules/index.js +0 -6
@@ -121,8 +121,13 @@
121
121
  stroke: var(--element-selected-outline-stroke-color);
122
122
  }
123
123
 
124
+ .djs-connection.selected .djs-outline {
125
+ display: none;
126
+ }
127
+
124
128
  .djs-multi-select .djs-element.selected .djs-outline {
125
129
  stroke: var(--element-selected-outline-secondary-stroke-color);
130
+ display: block;
126
131
  }
127
132
 
128
133
  .djs-shape.connect-ok .djs-visual > :nth-child(1) {
@@ -280,20 +285,12 @@ marker.djs-dragger tspan {
280
285
  stroke: var(--element-dragger-color) !important;
281
286
  }
282
287
 
283
- .djs-dragging {
284
- opacity: 0.3;
285
- }
286
-
287
288
  .djs-dragging,
288
289
  .djs-dragging > * {
290
+ opacity: 0.3 !important;
289
291
  pointer-events: none !important;
290
292
  }
291
293
 
292
- .djs-dragging .djs-context-pad,
293
- .djs-dragging .djs-outline {
294
- display: none !important;
295
- }
296
-
297
294
  /**
298
295
  * no pointer events for visual
299
296
  */
@@ -752,22 +749,13 @@ marker.djs-dragger tspan {
752
749
  }
753
750
 
754
751
  /**
755
- * touch
752
+ * bendpoints
756
753
  */
757
-
758
- .djs-shape,
759
- .djs-connection {
760
- touch-action: none;
761
- }
762
-
763
754
  .djs-segment-dragger,
764
755
  .djs-bendpoint {
765
756
  display: none;
766
757
  }
767
758
 
768
- /**
769
- * bendpoints
770
- */
771
759
  .djs-segment-dragger .djs-visual {
772
760
  display: none;
773
761
 
@@ -1,7 +1,8 @@
1
1
  /**
2
2
  * Theming
3
3
  */
4
- .bio-properties-panel {
4
+ .bio-properties-panel,
5
+ .djs-parent {
5
6
  --color-grey-225-10-15: hsl(225, 10%, 15%);
6
7
  --color-grey-225-10-35: hsl(225, 10%, 35%);
7
8
  --color-grey-225-10-55: hsl(225, 10%, 55%);
@@ -26,11 +27,13 @@
26
27
  --color-red-360-100-45: hsl(360, 100%, 45%);
27
28
  --color-red-360-100-92: hsl(360, 100%, 92%);
28
29
  --color-red-360-100-97: hsl(360, 100%, 97%);
29
-
30
30
  --color-white: white;
31
31
  --color-black: black;
32
32
  --color-transparent: transparent;
33
33
 
34
+ }
35
+
36
+ .bio-properties-panel {
34
37
  --text-base-color: var(--color-grey-225-10-15);
35
38
  --text-error-color: var(--color-red-360-100-45);
36
39
  --link-color: var(--color-blue-205-100-50);
@@ -118,12 +121,6 @@
118
121
 
119
122
  --feelers-select-color: var(--color-blue-205-100-85);
120
123
 
121
- --tooltip-underline-color: var(--color-blue-219-99-53);
122
- --tooltip-background-color: var(--color-grey-0-0-22);
123
- --tooltip-link: var(--color-blue-218-100-74);
124
- --tooltip-code-background-color: var(--color-grey-225-10-97);
125
- --tooltip-code-border-color: var(--color-grey-225-10-85);
126
-
127
124
  --text-size-base: 14px;
128
125
  --text-size-small: 13px;
129
126
  --text-size-smallest: 12px;
@@ -1116,7 +1113,7 @@ textarea.bio-properties-panel-input {
1116
1113
  }
1117
1114
 
1118
1115
  .bio-properties-panel-feel-editor-container .bio-properties-panel-input {
1119
- resize: vertical;
1116
+ resize: none;
1120
1117
  overflow: hidden;
1121
1118
  overflow-y: auto;
1122
1119
  }
@@ -1149,19 +1146,35 @@ textarea.bio-properties-panel-input {
1149
1146
  text-decoration-style: dotted;
1150
1147
  text-underline-offset: 2px;
1151
1148
  font: inherit;
1149
+ display: flex;
1150
+ justify-content: center;
1151
+ width: fit-content;
1152
1152
  }
1153
1153
 
1154
1154
  .bio-properties-panel-tooltip {
1155
+ --tooltip-underline-color: var(--color-blue-219-99-53);
1156
+ --tooltip-background-color: var(--color-grey-0-0-22);
1157
+ --tooltip-link: var(--color-blue-218-100-74);
1158
+ --tooltip-code-background-color: var(--color-grey-225-10-97);
1159
+ --tooltip-code-border-color: var(--color-grey-225-10-85);
1160
+
1155
1161
  display: flex;
1156
1162
  color: var(--color-white, white);
1157
1163
  position: fixed;
1158
1164
  z-index: 1000;
1159
- padding-right: 6px;
1160
1165
  max-width: 300px;
1161
1166
  font-size: var(--text-size-small);
1162
1167
  font-family: var(--font-family);
1163
1168
  }
1164
1169
 
1170
+ .bio-properties-panel-tooltip.right {
1171
+ padding-right: 6px;
1172
+ }
1173
+
1174
+ .bio-properties-panel-tooltip.top {
1175
+ flex-direction: column;
1176
+ }
1177
+
1165
1178
  .bio-properties-panel-tooltip-content {
1166
1179
  background-color: var(--tooltip-background-color);
1167
1180
  padding: 16px;
@@ -1207,6 +1220,12 @@ textarea.bio-properties-panel-input {
1207
1220
  margin-top: 16px;
1208
1221
  }
1209
1222
 
1223
+ .bio-properties-panel-tooltip.top .bio-properties-panel-tooltip-arrow {
1224
+ margin-top: -3px;
1225
+ margin-left: calc(50% - 2.5px);
1226
+ transform: rotate(90deg);
1227
+ }
1228
+
1210
1229
  .bio-properties-panel-feelers-editor-container .bio-properties-panel-feelers-editor__open-popup-placeholder,
1211
1230
  .bio-properties-panel-feel-editor-container .bio-properties-panel-feel-editor__open-popup-placeholder {
1212
1231
  display: none;
@@ -1271,18 +1290,23 @@ textarea.bio-properties-panel-input {
1271
1290
  .bio-properties-panel-popup .bio-properties-panel-popup__footer {
1272
1291
  padding: 12px;
1273
1292
  display: flex;
1293
+ justify-content: center;
1294
+ align-items: center;
1274
1295
  }
1275
1296
 
1276
1297
  .bio-properties-panel-popup .bio-properties-panel-popup__body:not(:first-child) {
1277
1298
  padding-top: 0;
1299
+ padding-left: 0;
1300
+ padding-right: 0;
1278
1301
  }
1279
1302
 
1280
1303
  .bio-properties-panel-popup .bio-properties-panel-popup__header {
1304
+ --popup-header-line-height: 16px;
1281
1305
  background-color: var(--popup-header-background-color);
1282
1306
  margin: 0;
1283
1307
  font-size: 12px;
1284
1308
  font-weight: 400;
1285
- line-height: 16px;
1309
+ line-height: var(--popup-header-line-height);
1286
1310
  text-align: left;
1287
1311
  color: var(--popup-title-color);
1288
1312
  }
@@ -1310,7 +1334,7 @@ textarea.bio-properties-panel-input {
1310
1334
  text-transform: capitalize;
1311
1335
  }
1312
1336
 
1313
- .bio-properties-panel-popup .bio-properties-panel-popup__header svg {
1337
+ .bio-properties-panel-popup .bio-properties-panel-popup__header .bio-properties-panel-popup__drag-handle svg {
1314
1338
  margin-left: -4px;
1315
1339
  }
1316
1340
 
@@ -1341,11 +1365,27 @@ textarea.bio-properties-panel-input {
1341
1365
  width: 100%;
1342
1366
  }
1343
1367
 
1368
+ .bio-properties-panel-feel-popup__title-link {
1369
+ margin-left: auto;
1370
+ display: flex;
1371
+ }
1372
+
1373
+ .bio-properties-panel-feel-popup__title-link svg {
1374
+ width: var(--popup-header-line-height);
1375
+ height: var(--popup-header-line-height);
1376
+ fill: currentColor;
1377
+ margin: 0 0.5em;
1378
+ }
1379
+
1344
1380
  .bio-properties-panel-feel-popup .bio-properties-panel-feel-editor-container {
1345
1381
  display: flex;
1346
1382
  min-width: 100%;
1347
1383
  }
1348
1384
 
1385
+ .bio-properties-panel-feel-popup .bio-properties-panel-feel-editor-container .cm-scroller {
1386
+ overflow: auto !important;
1387
+ }
1388
+
1349
1389
  .bio-properties-panel-feel-popup .bio-properties-panel-feelers-editor-container {
1350
1390
  width: 100%;
1351
1391
  display: flex;
@@ -1363,7 +1403,6 @@ textarea.bio-properties-panel-input {
1363
1403
  width: 100%;
1364
1404
  resize: none;
1365
1405
  padding: 0;
1366
- margin-left: -12px;
1367
1406
  overflow: hidden;
1368
1407
  overflow-y: auto
1369
1408
  }
@@ -1375,19 +1414,18 @@ textarea.bio-properties-panel-input {
1375
1414
  .bio-properties-panel-feelers-editor-container .bio-properties-panel-open-feel-popup,
1376
1415
  .bio-properties-panel-feel-container .bio-properties-panel-open-feel-popup {
1377
1416
  position: absolute;
1378
- display: none;
1417
+ top: 0;
1379
1418
  right: 0;
1380
- bottom: -1px;
1419
+ line-height: 1;
1420
+ padding: 2px 4px;
1421
+ margin: 3px;
1422
+ display: none;
1381
1423
  background: none;
1382
1424
  border: none;
1383
1425
  color: var(--feel-open-popup-color);
1384
1426
  cursor: pointer;
1385
1427
  }
1386
1428
 
1387
- .bio-properties-panel-open-feel-popup svg {
1388
- background: var(--feel-open-popup-background-color);
1389
- }
1390
-
1391
1429
  .bio-properties-panel-feelers-editor-container:hover .bio-properties-panel-open-feel-popup,
1392
1430
  .bio-properties-panel-feel-container:hover .bio-properties-panel-open-feel-popup,
1393
1431
  .bio-properties-panel-feelers-editor-container:focus-within .bio-properties-panel-open-feel-popup,
@@ -1395,10 +1433,6 @@ textarea.bio-properties-panel-input {
1395
1433
  display: block;
1396
1434
  }
1397
1435
 
1398
- .bio-properties-panel-feelers-editor-container .bio-properties-panel-open-feel-popup {
1399
- bottom: 0;
1400
- }
1401
-
1402
1436
  .bio-properties-panel-feelers-editor-container .bio-properties-panel-open-feel-popup:hover,
1403
1437
  .bio-properties-panel-feel-container .bio-properties-panel-open-feel-popup:hover {
1404
1438
  color: var(--feel-open-popup-hover-color);