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