camunda-bpmn-js 3.1.1 → 3.1.2

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.
@@ -16,6 +16,7 @@
16
16
  --color-blue-205-100-35: hsl(205, 100%, 35%);
17
17
  --color-blue-205-100-45: hsl(205, 100%, 45%);
18
18
  --color-blue-205-100-50: hsl(205, 100%, 50%);
19
+ --color-blue-205-100-85: hsl(205, 100%, 85%);
19
20
  --color-blue-205-100-95: hsl(205, 100%, 95%);
20
21
  --color-blue-219-99-53: hsl(219, 99%, 53%);
21
22
  --color-blue-218-100-74: hsl(218, 100%, 74%);
@@ -109,9 +110,14 @@
109
110
  --feel-hover-background-color: var(--color-grey-225-10-97);
110
111
  --feel-active-background-color: transparent;
111
112
  --feel-required-color: var(--color-grey-225-10-55);
113
+ --feel-open-popup-color: hsla(0, 0%, 32%, 1);
114
+ --feel-open-popup-background-color: var(--color-white);
115
+ --feel-open-popup-hover-color: hsla(219, 99%, 53%, 1);
112
116
 
113
117
  --feel-indicator-background-color: var(--color-grey-225-10-90);
114
118
 
119
+ --feelers-select-color: var(--color-blue-205-100-85);
120
+
115
121
  --tooltip-underline-color: var(--color-blue-219-99-53);
116
122
  --tooltip-background-color: var(--color-grey-0-0-22);
117
123
  --tooltip-link: var(--color-blue-218-100-74);
@@ -1098,6 +1104,12 @@ textarea.bio-properties-panel-input {
1098
1104
  background-color: transparent;
1099
1105
  }
1100
1106
 
1107
+
1108
+ /* @Note(pinussilvestrus): mitigate low contrast - https://github.com/bpmn-io/cm-theme/issues/4 */
1109
+ .bio-properties-panel-feelers-editor .cm-content ::selection {
1110
+ background: var(--feelers-select-color, hsl(205, 100%, 85%));
1111
+ }
1112
+
1101
1113
  .bio-properties-panel-feelers-editor .cm-editor.cm-focused {
1102
1114
  background-color: transparent;
1103
1115
  }
@@ -1188,4 +1200,236 @@ textarea.bio-properties-panel-input {
1188
1200
  border-bottom: 5px solid transparent;
1189
1201
  border-left: 5px solid var(--tooltip-background-color);
1190
1202
  margin-top: 16px;
1191
- }
1203
+ }
1204
+
1205
+ .bio-properties-panel-feelers-editor-container .bio-properties-panel-feelers-editor__open-popup-placeholder,
1206
+ .bio-properties-panel-feel-editor-container .bio-properties-panel-feel-editor__open-popup-placeholder {
1207
+ display: none;
1208
+ justify-content: center;
1209
+ flex-direction: column;
1210
+ color: hsla(0, 0%, 9%, 0.25);
1211
+ padding: 3px 6px 2px;
1212
+ border: 1px solid var(--input-border-color);
1213
+ border-radius: 2px;
1214
+ background-color: var(--input-background-color);
1215
+ font-size: var(--text-size-base);
1216
+ font-family: inherit;
1217
+ width: 100%;
1218
+ min-height: 100%;
1219
+ }
1220
+
1221
+ .bio-properties-panel-feelers-editor-container.popupOpen .bio-properties-panel-input,
1222
+ .bio-properties-panel-feel-editor-container.popupOpen .bio-properties-panel-input {
1223
+ display: none;
1224
+ }
1225
+
1226
+ .bio-properties-panel-feelers-editor-container.popupOpen .bio-properties-panel-feelers-editor__open-popup-placeholder,
1227
+ .bio-properties-panel-feel-editor-container.popupOpen .bio-properties-panel-feel-editor__open-popup-placeholder {
1228
+ display: flex;
1229
+ }
1230
+
1231
+ .bio-properties-panel-popup {
1232
+ --popup-background-color: hsla(0, 0%, 96%, 1);
1233
+ --popup-header-background-color: white;
1234
+ --popup-font-color: hsla(0, 0%, 0%, 1);
1235
+ --popup-title-color: hsla(0, 0%, 0%, 1);
1236
+
1237
+ --feel-popup-close-background-color: hsla(219, 99%, 53%, 1);
1238
+ --feel-popup-gutters-background-color: hsla(0, 0%, 90%, 1);
1239
+
1240
+ position: absolute;
1241
+ display: flex;
1242
+ flex: auto;
1243
+ flex-direction: column;
1244
+ font-family: IBM Plex Sans, sans-serif;
1245
+ padding: 0;
1246
+ z-index: 1001;
1247
+ box-shadow: 0px 2px 6px 0px hsla(0, 0%, 0%, 0.3);
1248
+ background-color: var(--popup-background-color);
1249
+ color: var(--popup-font-color);
1250
+ height: auto;
1251
+ width: auto;
1252
+ overflow: hidden;
1253
+ font-size: 14px;
1254
+ }
1255
+
1256
+ .bio-properties-panel-popup h1,
1257
+ .bio-properties-panel-popup h2,
1258
+ .bio-properties-panel-popup h3,
1259
+ .bio-properties-panel-popup h4 {
1260
+ font-weight: 500;
1261
+ font-size: inherit;
1262
+ }
1263
+
1264
+ .bio-properties-panel-popup .bio-properties-panel-popup__header,
1265
+ .bio-properties-panel-popup .bio-properties-panel-popup__body,
1266
+ .bio-properties-panel-popup .bio-properties-panel-popup__footer {
1267
+ padding: 12px;
1268
+ display: flex;
1269
+ }
1270
+
1271
+ .bio-properties-panel-popup .bio-properties-panel-popup__body:not(:first-child) {
1272
+ padding-top: 0;
1273
+ }
1274
+
1275
+ .bio-properties-panel-popup .bio-properties-panel-popup__header {
1276
+ background-color: var(--popup-header-background-color);
1277
+ margin: 0;
1278
+ font-size: 12px;
1279
+ font-weight: 400;
1280
+ line-height: 16px;
1281
+ text-align: left;
1282
+ color: var(--popup-title-color);
1283
+ }
1284
+
1285
+ .bio-properties-panel-popup .bio-properties-panel-popup__header.draggable {
1286
+ cursor: grab;
1287
+ }
1288
+
1289
+ .bio-properties-panel-popup .bio-properties-panel-popup__drag-handle {
1290
+ display: flex;
1291
+ }
1292
+
1293
+ .bio-properties-panel-popup .bio-properties-panel-popup__drag-preview {
1294
+ width: 1px;
1295
+ height: 1px;
1296
+ position: absolute;
1297
+ top: 0;
1298
+ }
1299
+
1300
+ .bio-properties-panel-popup .bio-properties-panel-popup__title {
1301
+ margin-left: 8px;
1302
+ }
1303
+
1304
+ .bio-properties-panel-popup .bio-properties-panel-popup__title::first-letter {
1305
+ text-transform: capitalize;
1306
+ }
1307
+
1308
+ .bio-properties-panel-popup .bio-properties-panel-popup__header svg {
1309
+ margin-left: -4px;
1310
+ }
1311
+
1312
+ .bio-properties-panel-popup .bio-properties-panel-popup__body {
1313
+ font-size: inherit;
1314
+ height: 100%;
1315
+ display: flex;
1316
+ overflow: auto;
1317
+ padding-bottom: 0;
1318
+ }
1319
+
1320
+ .bio-properties-panel-popup .bio-properties-panel-popup__footer {
1321
+ position: absolute;
1322
+ bottom: 0;
1323
+ right: 8px;
1324
+ }
1325
+
1326
+ .bio-properties-panel-feel-popup {
1327
+ min-height: 400px;
1328
+ width: fit-content;
1329
+ }
1330
+
1331
+ .bio-properties-panel-feel-popup .bio-properties-panel-feel-popup__body {
1332
+ display: flex;
1333
+ margin: 0;
1334
+ padding: 0;
1335
+ height: 100%;
1336
+ width: 100%;
1337
+ }
1338
+
1339
+ .bio-properties-panel-feel-popup .bio-properties-panel-feel-editor-container {
1340
+ display: flex;
1341
+ min-width: 100%;
1342
+ }
1343
+
1344
+ .bio-properties-panel-feel-popup .bio-properties-panel-feelers-editor-container {
1345
+ width: 100%;
1346
+ display: flex;
1347
+ }
1348
+
1349
+ .bio-properties-panel-feel-popup .bio-properties-panel-feelers-editor-container .bio-properties-panel-feelers-editor {
1350
+ display: flex;
1351
+ }
1352
+
1353
+ .bio-properties-panel-feel-popup .bio-properties-panel-feelers-editor-container .bio-properties-panel-feelers-editor .cm-editor {
1354
+ width: 100%;
1355
+ }
1356
+
1357
+ .bio-properties-panel-feel-popup .bio-properties-panel-input {
1358
+ width: 100%;
1359
+ resize: none;
1360
+ padding: 0;
1361
+ margin-left: -12px;
1362
+ overflow: hidden;
1363
+ overflow-y: auto
1364
+ }
1365
+
1366
+ .bio-properties-panel-feel-popup .bio-properties-panel-open-feel-popup {
1367
+ display: none !important;
1368
+ }
1369
+
1370
+ .bio-properties-panel-feelers-editor-container .bio-properties-panel-open-feel-popup,
1371
+ .bio-properties-panel-feel-container .bio-properties-panel-open-feel-popup {
1372
+ position: absolute;
1373
+ display: none;
1374
+ right: 0;
1375
+ bottom: -1px;
1376
+ background: none;
1377
+ border: none;
1378
+ color: var(--feel-open-popup-color);
1379
+ cursor: pointer;
1380
+ }
1381
+
1382
+ .bio-properties-panel-open-feel-popup svg {
1383
+ background: var(--feel-open-popup-background-color);
1384
+ }
1385
+
1386
+ .bio-properties-panel-feelers-editor-container:hover .bio-properties-panel-open-feel-popup,
1387
+ .bio-properties-panel-feel-container:hover .bio-properties-panel-open-feel-popup,
1388
+ .bio-properties-panel-feelers-editor-container:focus-within .bio-properties-panel-open-feel-popup,
1389
+ .bio-properties-panel-feel-container:focus-within .bio-properties-panel-open-feel-popup {
1390
+ display: block;
1391
+ }
1392
+
1393
+ .bio-properties-panel-feelers-editor-container .bio-properties-panel-open-feel-popup {
1394
+ bottom: 0;
1395
+ }
1396
+
1397
+ .bio-properties-panel-feelers-editor-container .bio-properties-panel-open-feel-popup:hover,
1398
+ .bio-properties-panel-feel-container .bio-properties-panel-open-feel-popup:hover {
1399
+ color: var(--feel-open-popup-hover-color);
1400
+ }
1401
+
1402
+ .bio-properties-panel-feel-popup .bio-properties-panel-popup__footer .bio-properties-panel-feel-popup__close-btn {
1403
+ background: var(--feel-popup-close-background-color);
1404
+ width: 66px;
1405
+ font-weight: 400;
1406
+ font-size: 14px;
1407
+ font-family: inherit;
1408
+ color: white;
1409
+ border: none;
1410
+ height: 32px;
1411
+ cursor: pointer;
1412
+ }
1413
+
1414
+ .bio-properties-panel-feel-popup .bio-properties-panel-feel-editor-container .cm-editor {
1415
+ width: 100%;
1416
+ height: 100%;
1417
+ }
1418
+
1419
+ .bio-properties-panel-feel-popup .bio-properties-panel-feel-editor-container .cm-editor .cm-content {
1420
+ padding-left: 4px;
1421
+ }
1422
+
1423
+ .bio-properties-panel-feel-popup .cm-gutters {
1424
+ background-color: var(--feel-popup-gutters-background-color);
1425
+ border: none;
1426
+ padding: 0;
1427
+ }
1428
+
1429
+ .bio-properties-panel-feel-popup .cm-gutter {
1430
+ min-width: 32px;
1431
+ }
1432
+
1433
+ .bio-properties-panel-feel-popup .cm-gutters .cm-lineNumbers .cm-gutterElement {
1434
+ text-align: center;
1435
+ }