camunda-bpmn-js 0.11.5 → 0.13.0-alpha.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 (62) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist/assets/base-modeler.css +1 -1
  3. package/dist/assets/camunda-platform-modeler.css +2 -1
  4. package/dist/assets/diagram-js.css +2 -0
  5. package/dist/assets/element-templates.css +75 -0
  6. package/dist/assets/properties-panel.css +889 -0
  7. package/dist/base-modeler.development.js +8542 -12092
  8. package/dist/base-modeler.production.min.js +8 -3
  9. package/dist/camunda-cloud-modeler.development.js +12089 -14412
  10. package/dist/camunda-cloud-modeler.production.min.js +8 -3
  11. package/dist/camunda-platform-modeler.development.js +22532 -25950
  12. package/dist/camunda-platform-modeler.production.min.js +8 -3
  13. package/lib/base/Modeler.js +5 -3
  14. package/lib/camunda-cloud/Modeler.js +5 -3
  15. package/lib/camunda-cloud/features/modeling/behavior/CleanUpAssignmentDefinitionBehavior.js +78 -0
  16. package/lib/camunda-cloud/features/modeling/behavior/CleanUpBusinessRuleTaskBehavior.js +112 -0
  17. package/lib/camunda-cloud/features/modeling/behavior/CreateZeebeBoundaryEventBehavior.js +51 -55
  18. package/lib/camunda-cloud/features/modeling/behavior/CreateZeebeCallActivityBehavior.js +57 -60
  19. package/lib/camunda-cloud/features/modeling/behavior/FormDefinitionBehavior.js +70 -128
  20. package/lib/camunda-cloud/features/modeling/behavior/UpdatePropagateAllChildVariablesBehavior.js +76 -128
  21. package/lib/camunda-cloud/features/modeling/behavior/index.js +6 -0
  22. package/lib/camunda-cloud/features/rules/BpmnRules.js +1 -1
  23. package/lib/camunda-cloud/helper/CalledElementHelper.js +43 -41
  24. package/lib/camunda-cloud/helper/ElementHelper.js +18 -0
  25. package/lib/camunda-cloud/helper/ExtensionElementsHelper.js +17 -0
  26. package/lib/camunda-cloud/helper/FormsHelper.js +41 -53
  27. package/lib/camunda-cloud/helper/InputOutputHelper.js +93 -111
  28. package/lib/camunda-cloud/helper/Utils.js +10 -0
  29. package/lib/camunda-cloud/helper/ZeebeServiceTaskHelper.js +22 -5
  30. package/lib/camunda-platform/Modeler.js +7 -3
  31. package/lib/camunda-platform/features/modeling/behavior/DeleteErrorEventDefinitionBehavior.js +24 -47
  32. package/lib/camunda-platform/features/modeling/behavior/DeleteRetryTimeCycleBehavior.js +39 -81
  33. package/lib/camunda-platform/features/modeling/behavior/UpdateCamundaExclusiveBehavior.js +31 -65
  34. package/lib/camunda-platform/features/modeling/behavior/UpdateInputOutputBehavior.js +42 -76
  35. package/lib/camunda-platform/features/modeling/behavior/UpdateResultVariableBehavior.js +21 -26
  36. package/lib/camunda-platform/features/modeling/behavior/UserTaskFormsBehavior.js +16 -10
  37. package/lib/camunda-platform/helper/InputOutputHelper.js +29 -0
  38. package/package.json +6 -5
  39. package/styles/base-modeler.css +1 -1
  40. package/styles/camunda-platform-modeler.css +2 -1
  41. package/dist/assets/bpmn-js-properties-panel.css +0 -778
  42. package/lib/camunda-cloud/features/properties-provider/ZeebePropertiesProvider.js +0 -201
  43. package/lib/camunda-cloud/features/properties-provider/index.js +0 -11
  44. package/lib/camunda-cloud/features/properties-provider/parts/CallActivityProps.js +0 -90
  45. package/lib/camunda-cloud/features/properties-provider/parts/ErrorProps.js +0 -13
  46. package/lib/camunda-cloud/features/properties-provider/parts/FormProps.js +0 -14
  47. package/lib/camunda-cloud/features/properties-provider/parts/HeadersProps.js +0 -52
  48. package/lib/camunda-cloud/features/properties-provider/parts/InputOutputProps.js +0 -8
  49. package/lib/camunda-cloud/features/properties-provider/parts/MessageProps.js +0 -51
  50. package/lib/camunda-cloud/features/properties-provider/parts/MultiInstanceProps.js +0 -25
  51. package/lib/camunda-cloud/features/properties-provider/parts/SequenceFlowProps.js +0 -149
  52. package/lib/camunda-cloud/features/properties-provider/parts/TaskDefinitionProps.js +0 -135
  53. package/lib/camunda-cloud/features/properties-provider/parts/TimerEventProps.js +0 -77
  54. package/lib/camunda-cloud/features/properties-provider/parts/implementation/ElementReferenceExtensionElementProperty.js +0 -110
  55. package/lib/camunda-cloud/features/properties-provider/parts/implementation/FormDefinition.js +0 -207
  56. package/lib/camunda-cloud/features/properties-provider/parts/implementation/Headers.js +0 -208
  57. package/lib/camunda-cloud/features/properties-provider/parts/implementation/InputOutput.js +0 -260
  58. package/lib/camunda-cloud/features/properties-provider/parts/implementation/InputOutputParameter.js +0 -147
  59. package/lib/camunda-cloud/features/properties-provider/parts/implementation/MultiInstanceLoopCharacteristics.js +0 -176
  60. package/lib/camunda-cloud/features/properties-provider/parts/implementation/OutputParameterToggle.js +0 -97
  61. package/lib/camunda-cloud/features/properties-provider/parts/implementation/TimerDurationDefinition.js +0 -69
  62. package/lib/camunda-cloud/features/properties-provider/parts/implementation/TimerEventDefinition.js +0 -132
@@ -0,0 +1,889 @@
1
+ /**
2
+ * Theming
3
+ */
4
+ .bio-properties-panel {
5
+ --color-grey-225-10-15: hsl(225, 10%, 15%);
6
+ --color-grey-225-10-35: hsl(225, 10%, 35%);
7
+ --color-grey-225-10-55: hsl(225, 10%, 55%);
8
+ --color-grey-225-10-75: hsl(225, 10%, 75%);
9
+ --color-grey-225-10-80: hsl(225, 10%, 80%);
10
+ --color-grey-225-10-85: hsl(225, 10%, 85%);
11
+ --color-grey-225-10-90: hsl(225, 10%, 90%);
12
+ --color-grey-225-10-95: hsl(225, 10%, 95%);
13
+ --color-grey-225-10-97: hsl(225, 10%, 97%);
14
+
15
+ --color-blue-205-100-45: hsl(205, 100%, 45%);
16
+ --color-blue-205-100-50: hsl(205, 100%, 50%);
17
+ --color-blue-205-100-95: hsl(205, 100%, 95%);
18
+
19
+ --color-green-150-86-44: hsl(150, 86%, 44%);
20
+
21
+ --color-red-360-100-40: hsl(360, 100%, 40%);
22
+ --color-red-360-100-45: hsl(360, 100%, 45%);
23
+ --color-red-360-100-92: hsl(360, 100%, 92%);
24
+ --color-red-360-100-97: hsl(360, 100%, 97%);
25
+
26
+ --color-white: white;
27
+ --color-black: black;
28
+ --color-transparent: transparent;
29
+
30
+ --text-base-color: var(--color-grey-225-10-15);
31
+ --text-error-color: var(--color-red-360-100-45);
32
+ --link-color: var(--color-blue-205-100-50);
33
+
34
+ --description-color: var(--color-grey-225-10-35);
35
+ --description-code-background-color: var(--color-grey-225-10-97);
36
+ --description-code-border-color: var(--color-grey-225-10-85);
37
+ --description-list-item-color: var(--color-grey-225-10-35);
38
+
39
+ --placeholder-color: var(--color-grey-225-10-75);
40
+
41
+ --header-background-color: var(--color-grey-225-10-95);
42
+ --header-icon-fill-color: var(--color-grey-225-10-15);
43
+ --header-bottom-border-color: var(--color-grey-225-10-75);
44
+
45
+ --group-background-color: var(--color-white);
46
+ --group-bottom-border-color: var(--color-grey-225-10-75);
47
+
48
+ --add-entry-fill-color: var(--color-grey-225-10-35);
49
+ --add-entry-empty-fill-color: var(--color-grey-225-10-75);
50
+ --add-entry-hover-fill-color: var(--color-white);
51
+ --add-entry-hover-background-color: var(--color-blue-205-100-50);
52
+ --add-entry-label-color: var(--color-white);
53
+
54
+ --remove-entry-fill-color: var(--color-red-360-100-45);
55
+ --remove-entry-hover-background-color: var(--color-red-360-100-92);
56
+
57
+ --arrow-fill-color: var(--color-grey-225-10-35);
58
+ --arrow-hover-background-color: var(--color-grey-225-10-95);
59
+ --arrow-empty-fill-color: var(--color-grey-225-10-75);
60
+
61
+ --dot-color: var(--color-grey-225-10-35);
62
+
63
+ --list-badge-color: var(--color-white);
64
+ --list-badge-background-color: var(--color-grey-225-10-35);
65
+
66
+ --input-background-color: var(--color-grey-225-10-97);
67
+ --input-border-color: var(--color-grey-225-10-75);
68
+
69
+ --input-focus-background-color: var(--color-blue-205-100-95);
70
+ --input-focus-border-color: var(--color-blue-205-100-50);
71
+
72
+ --input-error-background-color: var(--color-red-360-100-97);
73
+ --input-error-border-color: var(--color-red-360-100-45);
74
+ --input-error-focus-border-color: var(--color-red-360-100-45);
75
+
76
+ --input-disabled-color: var(--color-grey-225-10-55);
77
+ --input-disabled-background-color: var(--color-grey-225-10-97);
78
+ --input-disabled-border-color: var(--color-grey-225-10-90);
79
+
80
+ --toggle-switch-on-background-color: var(--color-blue-205-100-50);
81
+ --toggle-switch-off-background-color: var(--color-grey-225-10-75);
82
+ --toggle-switch-switcher-background-color: var(--color-white);
83
+
84
+ --side-line-background-color: var(--color-grey-225-10-35);
85
+ --side-line-extension-background-color: var(--color-grey-225-10-35);
86
+
87
+ --list-entry-dot-background-color: var(--color-grey-225-10-35);
88
+ --list-entry-header-button-fill-color: var(--color-grey-225-10-35);
89
+ --list-entry-add-entry-empty-fill-color: var(--color-white);
90
+ --list-entry-add-entry-empty-background-color: var(--color-blue-205-100-50);
91
+ --list-entry-add-entry-empty-hover-background-color: var(--color-blue-205-100-45);
92
+ --list-entry-add-entry-label-color: var(--color-white);
93
+ --list-entry-add-entry-background-color: var(--color-blue-205-100-50);
94
+ --list-entry-add-entry-fill-color: var(--color-white);
95
+
96
+ --dropdown-item-background-color: var(--color-white);
97
+ --dropdown-item-hover-background-color: var(--color-grey-225-10-95);
98
+ --dropdown-separator-background-color: var(--color-grey-225-10-75);
99
+
100
+ --text-size-base: 14px;
101
+ --text-size-small: 13px;
102
+ --text-size-smallest: 12px;
103
+ --text-line-height: 21px;
104
+ --line-height-condensed: 17px;
105
+
106
+ --font-family: sans-serif;
107
+ --font-family-monospace: monospace;
108
+
109
+ display: none;
110
+ position: relative;
111
+ height: 100%;
112
+ width: 100%;
113
+ overflow: hidden;
114
+ }
115
+
116
+ .bio-properties-panel * {
117
+ color: var(--text-base-color);
118
+ font-size: var(--text-size-base);
119
+ line-height: var(--text-line-height);
120
+ font-weight: 400;
121
+ box-sizing: border-box;
122
+ }
123
+
124
+ .bio-properties-panel {
125
+ font-family: var(--font-family);
126
+ }
127
+
128
+ .bio-properties-panel.open {
129
+ display: flex;
130
+ flex-direction: column;
131
+ flex: 1;
132
+ }
133
+
134
+ .bio-properties-panel-placeholder {
135
+ padding: 10px;
136
+ color: var(--placeholder-color);
137
+ font-size: var(--text-size-base);
138
+ text-align: center;
139
+ }
140
+
141
+ /**
142
+ * Header
143
+ */
144
+ .bio-properties-panel-header {
145
+ display: flex;
146
+ flex-direction: row;
147
+ align-items: center;
148
+ font-size: var(--text-size-base);
149
+ padding: 16px 10px;
150
+ margin-bottom: 2px;
151
+ background-color: var(--header-background-color);
152
+ border-bottom: 1px solid var(--header-bottom-border-color);
153
+ width: 100%;
154
+ z-index: 1;
155
+ max-height: 64px;
156
+ overflow: hidden;
157
+ }
158
+
159
+ .bio-properties-panel-header-icon {
160
+ fill: var(--header-icon-fill-color);
161
+ display: flex;
162
+ flex-direction: row;
163
+ align-items: center;
164
+ justify-content: center;
165
+ width: 32px;
166
+ height: 32px;
167
+ }
168
+
169
+ .bio-properties-panel-header-labels {
170
+ overflow: hidden;
171
+ margin-left: 12px;
172
+ user-select: none;
173
+ }
174
+
175
+ .bio-properties-panel-header-type {
176
+ font-size: var(--text-size-smallest);
177
+ font-weight: 600;
178
+ white-space: nowrap;
179
+ text-overflow: ellipsis;
180
+ overflow: hidden;
181
+ text-transform: uppercase;
182
+ }
183
+
184
+ .bio-properties-panel-header-label {
185
+ white-space: nowrap;
186
+ text-overflow: ellipsis;
187
+ overflow: hidden;
188
+ margin-top: -6px;
189
+ }
190
+
191
+ /**
192
+ * Scroll container
193
+ */
194
+ .bio-properties-panel-scroll-container {
195
+ overflow-y: auto;
196
+ overflow-x: hidden;
197
+ flex: 1;
198
+ padding-bottom: 70px;
199
+ }
200
+
201
+ /**
202
+ * Groups
203
+ */
204
+ .bio-properties-panel-group {
205
+ background-color: var(--group-background-color);
206
+ border-bottom: 1px solid var(--group-bottom-border-color);
207
+ }
208
+
209
+ .bio-properties-panel-group-header {
210
+ position: relative;
211
+ display: flex;
212
+ flex-direction: row;
213
+ align-items: center;
214
+ font-size: var(--text-size-base);
215
+ height: 32px;
216
+ user-select: none;
217
+ justify-content: space-between;
218
+ }
219
+
220
+ .bio-properties-panel-group-header .bio-properties-panel-group-header-title {
221
+ white-space: nowrap;
222
+ overflow: hidden;
223
+ text-overflow: ellipsis;
224
+ margin: 1px 12px 0;
225
+ }
226
+
227
+ .bio-properties-panel-group-header.open .bio-properties-panel-group-header-title {
228
+ font-weight: 500;
229
+ }
230
+
231
+ .bio-properties-panel-group-header-buttons {
232
+ display: flex;
233
+ }
234
+
235
+ .bio-properties-panel-group-header-buttons .bio-properties-panel-group-header-button {
236
+ display: inline-flex;
237
+ justify-content: center;
238
+ align-items: center;
239
+ align-self: center;
240
+ height: 22px;
241
+ line-height: 22px;
242
+ min-width: 22px;
243
+ margin: 5px;
244
+ padding: 0 3px;
245
+ border: none;
246
+ background: none;
247
+ }
248
+
249
+ .bio-properties-panel-group-header-buttons .bio-properties-panel-group-header-buttons:last-child {
250
+ margin-right: 0;
251
+ }
252
+
253
+ .bio-properties-panel-add-entry {
254
+ fill: var(--add-entry-fill-color);
255
+ border-radius: 11px;
256
+ }
257
+
258
+ .bio-properties-panel-group-header.empty .bio-properties-panel-add-entry {
259
+ fill: var(--add-entry-empty-fill-color);
260
+ margin-right: 69px;
261
+ padding-left: 6px;
262
+ }
263
+
264
+ .bio-properties-panel-group-header.empty .bio-properties-panel-add-entry:hover {
265
+ margin-right: 19px;
266
+ }
267
+
268
+ .bio-properties-panel-group-header.empty .bio-properties-panel-add-entry-label {
269
+ display: none;
270
+ color: var(--add-entry-label-color);
271
+ padding: 4px 6px 3px 2px;
272
+ }
273
+
274
+ .bio-properties-panel-group-header-button.bio-properties-panel-add-entry:hover {
275
+ background-color: var(--add-entry-hover-background-color);
276
+ fill: var(--add-entry-hover-fill-color);
277
+ }
278
+
279
+ .bio-properties-panel-group-header-button.bio-properties-panel-add-entry:hover .bio-properties-panel-add-entry-label {
280
+ display: block;
281
+ }
282
+
283
+ .bio-properties-panel-group-entries {
284
+ display: none;
285
+ }
286
+
287
+ .bio-properties-panel-group-entries.open {
288
+ display: block;
289
+ }
290
+
291
+ .bio-properties-panel-arrow {
292
+ display: flex;
293
+ justify-content: center;
294
+ text-align: center;
295
+ fill: var(--arrow-fill-color);
296
+ min-width: 22px;
297
+ border-radius: 11px;
298
+ border: none;
299
+ background: none;
300
+ }
301
+
302
+ .bio-properties-panel-arrow:hover {
303
+ background-color: var(--arrow-hover-background-color);
304
+ }
305
+
306
+ .bio-properties-panel-arrow-down {
307
+ transform: rotate(90deg);
308
+ }
309
+
310
+ .bio-properties-panel-group-header.empty .bio-properties-panel-arrow {
311
+ fill: var(--arrow-empty-fill-color);
312
+ }
313
+
314
+ .bio-properties-panel-dot {
315
+ align-self: center;
316
+ height: 8px;
317
+ min-width: 8px;
318
+ border-radius: 50%;
319
+ margin: 12px;
320
+ background-color: var(--dot-color);
321
+ }
322
+
323
+ /**
324
+ * Lists
325
+ */
326
+ .bio-properties-panel-list {
327
+ display: none;
328
+ }
329
+
330
+ .bio-properties-panel-list.open {
331
+ display: block;
332
+ margin-bottom: 6px;
333
+ padding-bottom: 2px;
334
+ }
335
+
336
+ .bio-properties-panel-list-badge {
337
+ height: 22px;
338
+ min-width: 22px;
339
+ color: var(--list-badge-color);
340
+ border-radius: 11px;
341
+ font-size: var(--text-size-small);
342
+ line-height: 22px;
343
+ text-align: center;
344
+ user-select: none;
345
+ padding: 0 5px;
346
+ margin: 5px;
347
+ background-color: var(--list-badge-background-color);
348
+ }
349
+
350
+ /**
351
+ * Basic entries
352
+ */
353
+ .bio-properties-panel-entry {
354
+ margin: 2px 32px 6px 12px;
355
+ }
356
+
357
+ .bio-properties-panel-entry:last-child {
358
+ padding-bottom: 10px;
359
+ }
360
+
361
+ .bio-properties-panel-label {
362
+ display: block;
363
+ font-size: var(--text-size-small);
364
+ margin: 2px 0 1px;
365
+ }
366
+
367
+ .bio-properties-panel-description,
368
+ .bio-properties-panel-description p,
369
+ .bio-properties-panel-description span,
370
+ .bio-properties-panel-description div {
371
+ color: var(--description-color);
372
+ display: block;
373
+ margin: 2px 0 4px;
374
+ line-height: var(--line-height-condensed);
375
+ font-weight: 400;
376
+ font-size: var(--text-size-small);
377
+ }
378
+
379
+ .bio-properties-panel-description code {
380
+ color: var(--description-color);
381
+ font-family: var(--font-family);
382
+ font-size: var(--text-size-small);
383
+ line-height: var(--line-height-condensed);
384
+ padding: 0 2px;
385
+ background-color: var(--description-code-background-color);
386
+ border: 1px solid var(--description-code-border-color);
387
+ border-radius: 3px;
388
+ }
389
+
390
+ .bio-properties-panel-description ul {
391
+ padding: 0;
392
+ margin: 0 0 0 12px;
393
+ list-style-type: disc;
394
+ }
395
+
396
+ .bio-properties-panel-description li {
397
+ color: var(--description-list-item-color);
398
+ margin: 0 0 0 12px;
399
+ }
400
+
401
+ .bio-properties-panel-description a {
402
+ color: var(--link-color);
403
+ font-size: var(--text-size-small);
404
+ text-decoration: underline;
405
+ }
406
+
407
+ .bio-properties-panel-input {
408
+ padding: 3px 6px 2px;
409
+ border: 1px solid var(--input-border-color);
410
+ border-radius: 2px;
411
+ background-color: var(--input-background-color);
412
+ font-size: var(--text-size-base);
413
+ font-family: inherit;
414
+ }
415
+
416
+ .bio-properties-panel-input[type=number],
417
+ select.bio-properties-panel-input,
418
+ textarea.bio-properties-panel-input,
419
+ .bio-properties-panel-input[type=text] {
420
+ display: block;
421
+ width: 100%;
422
+ }
423
+
424
+ .bio-properties-panel-input:focus {
425
+ outline: none;
426
+ background-color: var(--input-focus-background-color);
427
+ border: 1px solid var(--input-focus-border-color);
428
+ }
429
+
430
+ .bio-properties-panel-input:disabled {
431
+ border-color: var(--input-disabled-border-color);
432
+ background-color: var(--input-disabled-background-color);
433
+ color: var(--input-disabled-color);
434
+ }
435
+
436
+ select.bio-properties-panel-input {
437
+ padding: 4px 6px;
438
+ }
439
+
440
+ .bio-properties-panel-input-monospace {
441
+ font-family: var(--font-family-monospace);
442
+ }
443
+
444
+ .bio-properties-panel-input[type="checkbox"], .bio-properties-panel-input[type="radio"] {
445
+ margin: 0;
446
+ vertical-align: middle;
447
+ }
448
+
449
+ .bio-properties-panel-input[type="checkbox"]:focus {
450
+ outline: 1px solid var(--input-focus-border-color);
451
+ outline-offset: 0;
452
+ }
453
+
454
+ .bio-properties-panel-checkbox > .bio-properties-panel-label {
455
+ display: inline-block;
456
+ font-size: var(--text-size-base);
457
+ margin-left: 6px;
458
+ margin-top: auto;
459
+ vertical-align: middle;
460
+ }
461
+
462
+ .bio-properties-panel-checkbox-entry + .bio-properties-panel-checkbox-entry {
463
+ margin-top: -8px;
464
+ }
465
+
466
+ .bio-properties-panel-checkbox-entry > .bio-properties-panel-description {
467
+ margin-left: 18px;
468
+ }
469
+
470
+ textarea.bio-properties-panel-input {
471
+ resize: vertical;
472
+ }
473
+
474
+ .bio-properties-panel-entry.has-error .bio-properties-panel-input {
475
+ border-color: var(--input-error-border-color);
476
+ background-color: var(--input-error-background-color);
477
+ }
478
+
479
+ .bio-properties-panel-entry.has-error .bio-properties-panel-input:focus {
480
+ border-color: var(--input-error-focus-border-color);
481
+ }
482
+
483
+ .bio-properties-panel-entry .bio-properties-panel-error {
484
+ color: var(--text-error-color);
485
+ margin: 4px 0;
486
+ font-size: var(--text-size-small);
487
+ }
488
+
489
+ .bio-properties-panel-simple {
490
+ width: 100%;
491
+ margin-right: 8px;
492
+ }
493
+
494
+ .bio-properties-panel-simple + .bio-properties-panel-remove-entry {
495
+ margin: auto;
496
+ }
497
+
498
+ /**
499
+ * Toggle Switch
500
+ */
501
+ .bio-properties-panel-toggle-switch-entry + .bio-properties-panel-toggle-switch-entry {
502
+ margin-top: -8px;
503
+ }
504
+
505
+ .bio-properties-panel-toggle-switch-entry > .bio-properties-panel-description {
506
+ margin-left: 38px;
507
+ }
508
+
509
+ .bio-properties-panel-toggle-switch .bio-properties-panel-field-wrapper {
510
+ display: flex;
511
+ flex-direction: row;
512
+ align-items: center;
513
+ }
514
+
515
+ .bio-properties-panel-toggle-switch > .bio-properties-panel-label {
516
+ font-size: var(--text-size-base);
517
+ }
518
+
519
+ .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__label {
520
+ margin: 0;
521
+ margin-left: 6px;
522
+ font-size: var(--text-size-base);
523
+ }
524
+
525
+ .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher {
526
+ position: relative;
527
+ width: 32px;
528
+ height: 16px;
529
+ }
530
+
531
+ .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher input[type='checkbox'] {
532
+ opacity: 0;
533
+ width: 0;
534
+ height: 0;
535
+ }
536
+
537
+ .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher .bio-properties-panel-toggle-switch__slider {
538
+ position: absolute;
539
+ top: 0;
540
+ left: 0;
541
+ right: 0;
542
+ bottom: 0;
543
+ background-color: var(--toggle-switch-off-background-color);
544
+ -webkit-transition: 0.4s;
545
+ transition: 0.4s;
546
+ border-radius: 34px;
547
+ }
548
+
549
+ .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher .bio-properties-panel-toggle-switch__slider:before {
550
+ position: absolute;
551
+ content: "";
552
+ height: 12px;
553
+ width: 12px;
554
+ left: 2px;
555
+ bottom: 2px;
556
+ background-color: var(--toggle-switch-switcher-background-color);
557
+ -webkit-transition: 0.4s;
558
+ transition: 0.4s;
559
+ border-radius: 50%;
560
+ }
561
+
562
+ .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher input[type='checkbox']:checked + .bio-properties-panel-toggle-switch__slider {
563
+ background-color: var(--toggle-switch-on-background-color);
564
+ box-shadow: 0 0 1px ;
565
+ }
566
+
567
+ .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher input[type='checkbox']:checked + .bio-properties-panel-toggle-switch__slider:before {
568
+ -webkit-transform: translateX(16px);
569
+ -ms-transform: translateX(16px);
570
+ transform: translateX(16px);
571
+ }
572
+
573
+ /**
574
+ * Collapsible entries
575
+ */
576
+ .bio-properties-panel-collapsible-entry-entries {
577
+ position: relative;
578
+ display: none;
579
+ }
580
+
581
+ .bio-properties-panel-collapsible-entry-entries .bio-properties-panel-entry:last-child {
582
+ padding-bottom: 0;
583
+ }
584
+
585
+ .bio-properties-panel-collapsible-entry-entries.open {
586
+ display: block;
587
+ }
588
+
589
+ .bio-properties-panel-collapsible-entry-entries {
590
+ padding-left: 20px;
591
+ margin-bottom: 10px;
592
+ position: relative;
593
+ display: none;
594
+ }
595
+
596
+ .bio-properties-panel-collapsible-entry-header {
597
+ position: relative;
598
+ display: flex;
599
+ justify-content: space-between;
600
+ align-items: center;
601
+ overflow: hidden;
602
+ }
603
+
604
+ .bio-properties-panel-collapsible-entry-header .bio-properties-panel-collapsible-entry-header-title {
605
+ padding: 2px 24px 2px 32px;
606
+ font-size: var(--text-size-base);
607
+ white-space: nowrap;
608
+ overflow: hidden;
609
+ text-overflow: ellipsis;
610
+ user-select: none;
611
+ }
612
+
613
+ .bio-properties-panel-collapsible-entry-arrow {
614
+ position: absolute;
615
+ top: 2px;
616
+ left: 6px;
617
+ padding: 0 3px;
618
+ height: 22px;
619
+ display: inline-flex;
620
+ justify-content: center;
621
+ align-items: center;
622
+ align-self: center;
623
+ }
624
+
625
+ .bio-properties-panel-remove-entry {
626
+ display: flex;
627
+ align-items: center;
628
+ justify-content: center;
629
+ margin-right: 5px;
630
+ padding: 0;
631
+ width: 22px;
632
+ height: 22px;
633
+ fill: var(--remove-entry-fill-color);
634
+ border-radius: 50%;
635
+ border: none;
636
+ background: none;
637
+ visibility: hidden;
638
+ }
639
+
640
+ .bio-properties-panel-remove-entry:hover {
641
+ background-color: var(--remove-entry-hover-background-color);
642
+ }
643
+
644
+ .bio-properties-panel-list-entry-item:hover .bio-properties-panel-remove-list-entry,
645
+ .bio-properties-panel-collapsible-entry:hover > .bio-properties-panel-collapsible-entry-header .bio-properties-panel-remove-entry {
646
+ visibility: visible;
647
+ }
648
+
649
+ /* Side line */
650
+ .bio-properties-panel-collapsible-entry-entries::before {
651
+ content: "";
652
+ position: absolute;
653
+ left: 16px;
654
+ width: 2px;
655
+ top: -6px;
656
+ bottom: 12px;
657
+ background-color: var(--side-line-background-color);
658
+ border-radius: 1px;
659
+ }
660
+
661
+ /* Side line extension for non-list entry or open list entry positioned as the last one. */
662
+ .bio-properties-panel-collapsible-entry-entries .bio-properties-panel-entry:not(.bio-properties-panel-list-entry):last-child,
663
+ .bio-properties-panel-list-entry.open:last-child {
664
+ position: relative;
665
+ }
666
+
667
+ .bio-properties-panel-collapsible-entry-entries .bio-properties-panel-entry:not(.bio-properties-panel-list-entry):last-child::after,
668
+ .bio-properties-panel-list-entry.open:last-child::after {
669
+ content: "";
670
+ position: absolute;
671
+ left: -16px;
672
+ width: 2px;
673
+ top: 0;
674
+ bottom: -4px;
675
+ background-color: var(--side-line-extension-background-color);
676
+ border-radius: 1px;
677
+ }
678
+
679
+ .bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry-entries .bio-properties-panel-entry:last-child::after {
680
+ left: -18px;
681
+ }
682
+
683
+ /*
684
+ * List entry
685
+ */
686
+ .bio-properties-panel-list-entry {
687
+ position: relative;
688
+ margin-right: 5px;
689
+ margin-bottom: 0;
690
+ }
691
+
692
+ .bio-properties-panel-list-entry .bio-properties-panel-entry {
693
+ margin-right: 0;
694
+ }
695
+
696
+ .bio-properties-panel-list-entry-header {
697
+ position: relative;
698
+ overflow: hidden;
699
+ display: flex;
700
+ justify-content: space-between;
701
+ height: 32px;
702
+ }
703
+
704
+ /* Nested list dot */
705
+ .bio-properties-panel-list-entry::before {
706
+ content: "";
707
+ width: 8px;
708
+ height: 8px;
709
+ position: absolute;
710
+ left: -19px;
711
+ top: 13px;
712
+ border-radius: 50%;
713
+ background-color: var(--list-entry-dot-background-color);
714
+ }
715
+
716
+ .bio-properties-panel-list-entry-header-title {
717
+ display: block;
718
+ margin: auto 0;
719
+ padding: 2px 0;
720
+ font-size: var(--text-size-base);
721
+ white-space: nowrap;
722
+ overflow: hidden;
723
+ text-overflow: ellipsis;
724
+ }
725
+
726
+ .bio-properties-panel-list-entry-header-title.open {
727
+ font-weight: 500;
728
+ }
729
+
730
+ .bio-properties-panel-list-entry-header-buttons {
731
+ display: flex;
732
+ align-items: center;
733
+ }
734
+
735
+ .bio-properties-panel-list-entry-header-buttons > button {
736
+ display: inline-flex;
737
+ justify-content: center;
738
+ align-items: center;
739
+ align-self: center;
740
+ height: 22px;
741
+ line-height: 22px;
742
+ min-width: 22px;
743
+ margin: 5px;
744
+ padding: 0 3px;
745
+ border: none;
746
+ background: none;
747
+ fill: var(--list-entry-header-button-fill-color);
748
+ }
749
+
750
+ .bio-properties-panel-list-entry-header-buttons > :last-child {
751
+ margin-right: 0;
752
+ }
753
+
754
+ .bio-properties-panel-list-entry-items {
755
+ padding: 0;
756
+ margin: 0;
757
+
758
+ list-style: none;
759
+ }
760
+
761
+ .bio-properties-panel-list-entry-items:not(.open) {
762
+ display: none;
763
+ }
764
+
765
+ .bio-properties-panel-list-entry-item {
766
+ display: flex;
767
+ justify-content: space-between;
768
+ }
769
+
770
+ .bio-properties-panel-list-entry-item .bio-properties-panel-remove-entry {
771
+ margin-right: 1px;
772
+ }
773
+
774
+ .bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry {
775
+ width: 100%;
776
+ margin-right: 4px;
777
+ }
778
+
779
+ .bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry-header {
780
+ margin-left: -8px;
781
+ }
782
+
783
+ .bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry-arrow {
784
+ left: 2px;
785
+ }
786
+
787
+ .bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry-header-title {
788
+ padding-left: 30px;
789
+ }
790
+
791
+ .bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry-entries {
792
+ padding-left: 10px;
793
+ }
794
+
795
+ .bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry-entries::before {
796
+ left: 4px;
797
+ }
798
+
799
+ .bio-properties-panel-list-entry.empty .bio-properties-panel-add-entry {
800
+ fill: var(--list-entry-add-entry-empty-fill-color);
801
+ background-color: var(--list-entry-add-entry-empty-background-color);
802
+ margin-right: 16px;
803
+ padding-left: 6px;
804
+ }
805
+
806
+ .bio-properties-panel-list-entry.empty .bio-properties-panel-add-entry:hover {
807
+ background-color: var(--list-entry-add-entry-empty-hover-background-color);
808
+ }
809
+
810
+ .bio-properties-panel-list-entry.empty .bio-properties-panel-add-entry-label {
811
+ color: var(--list-entry-add-entry-label-color);
812
+ padding: 4px 6px 3px 2px;
813
+ }
814
+
815
+ .bio-properties-panel-list-entry-header-buttons .bio-properties-panel-add-entry:hover {
816
+ background-color: var(--list-entry-add-entry-background-color);
817
+ fill: var(--list-entry-add-entry-fill-color);
818
+ }
819
+
820
+ .bio-properties-panel-list-entry-item .bio-properties-panel-simple .bio-properties-panel-input {
821
+ border-radius: 0;
822
+ margin-bottom: -2px;
823
+ }
824
+
825
+ .bio-properties-panel-list-entry-item:first-child .bio-properties-panel-simple .bio-properties-panel-input {
826
+ border-top-left-radius: 2px;
827
+ border-top-right-radius: 2px;
828
+ }
829
+
830
+ .bio-properties-panel-list-entry-item:last-child .bio-properties-panel-simple .bio-properties-panel-input {
831
+ border-bottom-left-radius: 2px;
832
+ border-bottom-right-radius: 2px;
833
+ }
834
+
835
+ .bio-properties-panel-dropdown-button {
836
+ position: relative;
837
+
838
+ --dropdown-button-margin: 5px;
839
+ }
840
+
841
+ .bio-properties-panel-dropdown-button:not(.open) .bio-properties-panel-dropdown-button__menu {
842
+ display: none;
843
+ }
844
+
845
+ .bio-properties-panel-dropdown-button__menu {
846
+ min-width: calc(100% - var(--dropdown-button-margin) * 2);
847
+ max-width: 240px;
848
+
849
+ position: absolute;
850
+ top: calc(100% - var(--dropdown-button-margin));
851
+ right: var(--dropdown-button-margin);
852
+ z-index: 101;
853
+
854
+ background-color: var(--dropdown-item-background-color);
855
+
856
+ padding: 8px 0;
857
+
858
+ box-shadow: 0 1px 4px 0 var(--color-grey-225-10-85), 0 2px 16px 0 var(--color-grey-225-10-75)
859
+ }
860
+
861
+ .bio-properties-panel-dropdown-button__menu-item {
862
+ display: block;
863
+ width: 100%;
864
+ padding: 4px 12px;
865
+
866
+ font-size: var(--text-size-small);
867
+ appearance: revert;
868
+ border: unset;
869
+ background: unset;
870
+ text-align: unset;
871
+ }
872
+
873
+ .bio-properties-panel-dropdown-button__menu-item--separator {
874
+ width: 100%;
875
+ height: 1px;
876
+
877
+ padding: 0;
878
+ margin: 8px 0;
879
+
880
+ background-color: var(--dropdown-separator-background-color);
881
+ }
882
+
883
+ .bio-properties-panel-dropdown-button__menu-item--actionable {
884
+ font-size: var(--text-size-base);
885
+ }
886
+
887
+ .bio-properties-panel-dropdown-button__menu-item--actionable:hover {
888
+ background-color: var(--dropdown-item-hover-background-color);
889
+ }