@bpmn-io/form-js-editor 1.2.0 → 1.3.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 (32) hide show
  1. package/LICENSE +22 -22
  2. package/README.md +116 -116
  3. package/dist/assets/form-js-editor-base.css +797 -758
  4. package/dist/assets/form-js-editor.css +289 -10
  5. package/dist/assets/properties-panel.css +245 -1
  6. package/dist/index.cjs +2585 -1780
  7. package/dist/index.cjs.map +1 -1
  8. package/dist/index.es.js +2585 -1781
  9. package/dist/index.es.js.map +1 -1
  10. package/dist/types/FormEditor.d.ts +2 -0
  11. package/dist/types/core/index.d.ts +7 -5
  12. package/dist/types/features/dragging/Dragging.d.ts +3 -1
  13. package/dist/types/features/modeling/Modeling.d.ts +4 -0
  14. package/dist/types/features/modeling/behavior/KeyBehavior.d.ts +1 -1
  15. package/dist/types/features/modeling/behavior/PathBehavior.d.ts +8 -0
  16. package/dist/types/features/modeling/behavior/index.d.ts +2 -0
  17. package/dist/types/features/modeling/cmd/MoveFormFieldHandler.d.ts +3 -1
  18. package/dist/types/features/modeling/cmd/UpdateKeyClaimHandler.d.ts +3 -3
  19. package/dist/types/features/modeling/cmd/UpdatePathClaimHandler.d.ts +14 -0
  20. package/dist/types/features/modeling/cmd/Util.d.ts +1 -0
  21. package/dist/types/features/modeling/index.d.ts +1 -0
  22. package/dist/types/features/properties-panel/Util.d.ts +1 -0
  23. package/dist/types/features/properties-panel/entries/GroupEntries.d.ts +10 -0
  24. package/dist/types/features/properties-panel/entries/PathEntry.d.ts +9 -0
  25. package/dist/types/features/properties-panel/entries/index.d.ts +2 -0
  26. package/dist/types/features/properties-panel/index.d.ts +1 -0
  27. package/dist/types/render/components/Util.d.ts +1 -2
  28. package/dist/types/types.d.ts +28 -28
  29. package/package.json +4 -4
  30. package/dist/types/core/FieldFactory.d.ts +0 -18
  31. package/dist/types/import/Importer.d.ts +0 -53
  32. package/dist/types/import/index.d.ts +0 -5
@@ -1,8 +1,4 @@
1
1
  .fjs-editor-container {
2
- --color-children-border: var(
3
- --cds-border-strong,
4
- var(--cds-border-strong-01, var(--color-grey-225-10-75))
5
- );
6
2
  --color-children-selected-border: var(--cds-border-interactive, var(--color-blue-219-100-53));
7
3
  --color-children-selected-background: transparent;
8
4
  --color-children-hover-border: var(--cds-border-interactive, var(--color-blue-219-100-53-05));
@@ -188,6 +184,11 @@
188
184
  display: flex;
189
185
  }
190
186
 
187
+ .fjs-no-json-lint .cm-lint-marker,
188
+ .fjs-no-json-lint .cm-lintPoint-error {
189
+ display: none;
190
+ }
191
+
191
192
  .fjs-editor-container .fjs-form-editor {
192
193
  display: flex;
193
194
  flex: 1;
@@ -218,29 +219,63 @@
218
219
  }
219
220
 
220
221
  .fjs-editor-container .fjs-children .fjs-children {
221
- border: dashed 2px var(--color-children-border);
222
+ margin: 3px 0;
222
223
  }
223
224
 
224
225
  .fjs-editor-container .fjs-children .fjs-element {
225
226
  position: relative;
226
227
  border: solid 2px transparent;
228
+ outline: none;
229
+ }
230
+
231
+ .fjs-editor-container .fjs-form > .fjs-element {
232
+ border: none;
227
233
  }
228
234
 
229
235
  .fjs-editor-container .fjs-form-field:not(.fjs-powered-by) {
230
236
  margin: 1px 6px;
231
237
  }
232
238
 
239
+ .fjs-editor-container .fjs-children .fjs-element.fjs-outlined {
240
+ border-color: var(--color-borders-group);
241
+ }
242
+
233
243
  .fjs-editor-container .fjs-children .fjs-element.fjs-editor-selected {
234
244
  border-color: var(--color-children-selected-border) !important;
235
245
  background-color: var(--color-children-selected-background);
236
246
  }
237
247
 
238
- .fjs-editor-container .fjs-children .fjs-element:hover,
239
- .fjs-editor-container .fjs-children .fjs-element:focus-within {
248
+ .fjs-editor-container .fjs-children .fjs-element:hover.fjs-editor-hovered,
249
+ .fjs-editor-container .fjs-children .fjs-element:focus {
240
250
  border-color: var(--color-children-hover-border);
251
+ }
252
+
253
+ .fjs-editor-container .fjs-layout-column:first-child > .fjs-element[data-field-type=group] {
254
+ margin-left: -6px;
255
+ }
256
+
257
+ .fjs-editor-container .fjs-layout-column:last-child > .fjs-element[data-field-type=group] {
258
+ margin-right: -6px;
259
+ }
260
+
261
+ .fjs-editor-container .fjs-form-field-group,
262
+ .fjs-editor-container .fjs-form-field-group .fjs-form-field-group .fjs-form-field-group {
263
+ margin: 1px 6px;
264
+ padding: 0px;
265
+ }
266
+
267
+ .fjs-editor-container .fjs-form-field-group.fjs-outlined {
241
268
  outline: none;
242
269
  }
243
270
 
271
+ .fjs-editor-container .fjs-form-field-group .cds--grid {
272
+ padding: 0 2rem;
273
+ }
274
+
275
+ .fjs-editor-container .fjs-form-field-group > label {
276
+ margin-top: 6px;
277
+ }
278
+
244
279
  .fjs-editor-container .fjs-input:disabled,
245
280
  .fjs-editor-container .fjs-textarea:disabled,
246
281
  .fjs-editor-container .fjs-taglist-input:disabled,
@@ -269,6 +304,10 @@
269
304
  height: 100%;
270
305
  }
271
306
 
307
+ .fjs-cursor-grabbing .fjs-editor-container .fjs-empty-editor {
308
+ display: none;
309
+ }
310
+
272
311
  .fjs-editor-container .fjs-empty-editor .fjs-empty-editor-card {
273
312
  display: flex;
274
313
  flex-direction: column;
@@ -309,12 +348,12 @@
309
348
  }
310
349
 
311
350
  .fjs-editor-container .fjs-row-dragger:hover svg,
312
- .fjs-editor-container .fjs-drag-row-move:hover .fjs-row-dragger svg {
351
+ .fjs-editor-container .fjs-drag-row-move:hover > .fjs-row-dragger svg {
313
352
  visibility: visible;
314
353
  }
315
354
 
316
355
  .fjs-editor-container .fjs-drag-move {
317
- padding-left: 3px;
356
+ padding: 0 3px;
318
357
  }
319
358
 
320
359
  .fjs-editor-container .fjs-field-resize-handle {
@@ -354,7 +393,7 @@
354
393
  display: none;
355
394
  }
356
395
 
357
- .fjs-editor-container .fjs-children .fjs-editor-selected .fjs-field-resize-handle {
396
+ .fjs-editor-container .fjs-children .fjs-editor-selected > .fjs-field-resize-handle {
358
397
  visibility: visible;
359
398
  }
360
399
 
@@ -776,6 +815,7 @@
776
815
  --color-blue-205-100-35: hsl(205, 100%, 35%);
777
816
  --color-blue-205-100-45: hsl(205, 100%, 45%);
778
817
  --color-blue-205-100-50: hsl(205, 100%, 50%);
818
+ --color-blue-205-100-85: hsl(205, 100%, 85%);
779
819
  --color-blue-205-100-95: hsl(205, 100%, 95%);
780
820
  --color-blue-219-99-53: hsl(219, 99%, 53%);
781
821
  --color-blue-218-100-74: hsl(218, 100%, 74%);
@@ -847,7 +887,11 @@
847
887
  --feel-hover-background-color: var(--color-grey-225-10-97);
848
888
  --feel-active-background-color: transparent;
849
889
  --feel-required-color: var(--color-grey-225-10-55);
890
+ --feel-open-popup-color: hsla(0, 0%, 32%, 1);
891
+ --feel-open-popup-background-color: var(--color-white);
892
+ --feel-open-popup-hover-color: hsla(219, 99%, 53%, 1);
850
893
  --feel-indicator-background-color: var(--color-grey-225-10-90);
894
+ --feelers-select-color: var(--color-blue-205-100-85);
851
895
  --tooltip-underline-color: var(--color-blue-219-99-53);
852
896
  --tooltip-background-color: var(--color-grey-0-0-22);
853
897
  --tooltip-link: var(--color-blue-218-100-74);
@@ -1820,6 +1864,11 @@ textarea.bio-properties-panel-input {
1820
1864
  background-color: transparent;
1821
1865
  }
1822
1866
 
1867
+ /* @Note(pinussilvestrus): mitigate low contrast - https://github.com/bpmn-io/cm-theme/issues/4 */
1868
+ .bio-properties-panel-feelers-editor .cm-content ::selection {
1869
+ background: var(--feelers-select-color, hsl(205, 100%, 85%));
1870
+ }
1871
+
1823
1872
  .bio-properties-panel-feelers-editor .cm-editor.cm-focused {
1824
1873
  background-color: transparent;
1825
1874
  }
@@ -1911,3 +1960,233 @@ textarea.bio-properties-panel-input {
1911
1960
  border-left: 5px solid var(--tooltip-background-color);
1912
1961
  margin-top: 16px;
1913
1962
  }
1963
+
1964
+ .bio-properties-panel-feelers-editor-container .bio-properties-panel-feelers-editor__open-popup-placeholder,
1965
+ .bio-properties-panel-feel-editor-container .bio-properties-panel-feel-editor__open-popup-placeholder {
1966
+ display: none;
1967
+ justify-content: center;
1968
+ flex-direction: column;
1969
+ color: hsla(0, 0%, 9%, 0.25);
1970
+ padding: 3px 6px 2px;
1971
+ border: 1px solid var(--input-border-color);
1972
+ border-radius: 2px;
1973
+ background-color: var(--input-background-color);
1974
+ font-size: var(--text-size-base);
1975
+ font-family: inherit;
1976
+ width: 100%;
1977
+ min-height: 100%;
1978
+ }
1979
+
1980
+ .bio-properties-panel-feelers-editor-container.popupOpen .bio-properties-panel-input,
1981
+ .bio-properties-panel-feel-editor-container.popupOpen .bio-properties-panel-input {
1982
+ display: none;
1983
+ }
1984
+
1985
+ .bio-properties-panel-feelers-editor-container.popupOpen .bio-properties-panel-feelers-editor__open-popup-placeholder,
1986
+ .bio-properties-panel-feel-editor-container.popupOpen .bio-properties-panel-feel-editor__open-popup-placeholder {
1987
+ display: flex;
1988
+ }
1989
+
1990
+ .bio-properties-panel-popup {
1991
+ --popup-background-color: hsla(0, 0%, 96%, 1);
1992
+ --popup-header-background-color: white;
1993
+ --popup-font-color: hsla(0, 0%, 0%, 1);
1994
+ --popup-title-color: hsla(0, 0%, 0%, 1);
1995
+ --feel-popup-close-background-color: hsla(219, 99%, 53%, 1);
1996
+ --feel-popup-gutters-background-color: hsla(0, 0%, 90%, 1);
1997
+ position: absolute;
1998
+ display: flex;
1999
+ flex: auto;
2000
+ flex-direction: column;
2001
+ font-family: IBM Plex Sans, sans-serif;
2002
+ padding: 0;
2003
+ z-index: 1001;
2004
+ box-shadow: 0px 2px 6px 0px hsla(0, 0%, 0%, 0.3);
2005
+ background-color: var(--popup-background-color);
2006
+ color: var(--popup-font-color);
2007
+ height: auto;
2008
+ width: auto;
2009
+ overflow: hidden;
2010
+ font-size: 14px;
2011
+ }
2012
+
2013
+ .bio-properties-panel-popup h1,
2014
+ .bio-properties-panel-popup h2,
2015
+ .bio-properties-panel-popup h3,
2016
+ .bio-properties-panel-popup h4 {
2017
+ font-weight: 500;
2018
+ font-size: inherit;
2019
+ }
2020
+
2021
+ .bio-properties-panel-popup .bio-properties-panel-popup__header,
2022
+ .bio-properties-panel-popup .bio-properties-panel-popup__body,
2023
+ .bio-properties-panel-popup .bio-properties-panel-popup__footer {
2024
+ padding: 12px;
2025
+ display: flex;
2026
+ }
2027
+
2028
+ .bio-properties-panel-popup .bio-properties-panel-popup__body:not(:first-child) {
2029
+ padding-top: 0;
2030
+ }
2031
+
2032
+ .bio-properties-panel-popup .bio-properties-panel-popup__header {
2033
+ background-color: var(--popup-header-background-color);
2034
+ margin: 0;
2035
+ font-size: 12px;
2036
+ font-weight: 400;
2037
+ line-height: 16px;
2038
+ text-align: left;
2039
+ color: var(--popup-title-color);
2040
+ }
2041
+
2042
+ .bio-properties-panel-popup .bio-properties-panel-popup__header.draggable {
2043
+ cursor: grab;
2044
+ }
2045
+
2046
+ .bio-properties-panel-popup .bio-properties-panel-popup__drag-handle {
2047
+ display: flex;
2048
+ }
2049
+
2050
+ .bio-properties-panel-popup .bio-properties-panel-popup__drag-preview {
2051
+ width: 1px;
2052
+ height: 1px;
2053
+ position: absolute;
2054
+ top: 0;
2055
+ }
2056
+
2057
+ .bio-properties-panel-popup .bio-properties-panel-popup__title {
2058
+ margin-left: 8px;
2059
+ }
2060
+
2061
+ .bio-properties-panel-popup .bio-properties-panel-popup__title::first-letter {
2062
+ text-transform: capitalize;
2063
+ }
2064
+
2065
+ .bio-properties-panel-popup .bio-properties-panel-popup__header svg {
2066
+ margin-left: -4px;
2067
+ }
2068
+
2069
+ .bio-properties-panel-popup .bio-properties-panel-popup__body {
2070
+ font-size: inherit;
2071
+ height: 100%;
2072
+ display: flex;
2073
+ overflow: auto;
2074
+ padding-bottom: 0;
2075
+ }
2076
+
2077
+ .bio-properties-panel-popup .bio-properties-panel-popup__footer {
2078
+ position: absolute;
2079
+ bottom: 0;
2080
+ right: 8px;
2081
+ }
2082
+
2083
+ .bio-properties-panel-feel-popup {
2084
+ min-height: 400px;
2085
+ width: fit-content;
2086
+ }
2087
+
2088
+ .bio-properties-panel-feel-popup .bio-properties-panel-feel-popup__body {
2089
+ display: flex;
2090
+ margin: 0;
2091
+ padding: 0;
2092
+ height: 100%;
2093
+ width: 100%;
2094
+ }
2095
+
2096
+ .bio-properties-panel-feel-popup .bio-properties-panel-feel-editor-container {
2097
+ display: flex;
2098
+ min-width: 100%;
2099
+ }
2100
+
2101
+ .bio-properties-panel-feel-popup .bio-properties-panel-feelers-editor-container {
2102
+ width: 100%;
2103
+ display: flex;
2104
+ }
2105
+
2106
+ .bio-properties-panel-feel-popup .bio-properties-panel-feelers-editor-container .bio-properties-panel-feelers-editor {
2107
+ display: flex;
2108
+ }
2109
+
2110
+ .bio-properties-panel-feel-popup .bio-properties-panel-feelers-editor-container .bio-properties-panel-feelers-editor .cm-editor {
2111
+ width: 100%;
2112
+ }
2113
+
2114
+ .bio-properties-panel-feel-popup .bio-properties-panel-input {
2115
+ width: 100%;
2116
+ resize: none;
2117
+ padding: 0;
2118
+ margin-left: -12px;
2119
+ overflow: hidden;
2120
+ overflow-y: auto;
2121
+ }
2122
+
2123
+ .bio-properties-panel-feel-popup .bio-properties-panel-open-feel-popup {
2124
+ display: none !important;
2125
+ }
2126
+
2127
+ .bio-properties-panel-feelers-editor-container .bio-properties-panel-open-feel-popup,
2128
+ .bio-properties-panel-feel-container .bio-properties-panel-open-feel-popup {
2129
+ position: absolute;
2130
+ display: none;
2131
+ right: 0;
2132
+ bottom: -1px;
2133
+ background: none;
2134
+ border: none;
2135
+ color: var(--feel-open-popup-color);
2136
+ cursor: pointer;
2137
+ }
2138
+
2139
+ .bio-properties-panel-open-feel-popup svg {
2140
+ background: var(--feel-open-popup-background-color);
2141
+ }
2142
+
2143
+ .bio-properties-panel-feelers-editor-container:hover .bio-properties-panel-open-feel-popup,
2144
+ .bio-properties-panel-feel-container:hover .bio-properties-panel-open-feel-popup,
2145
+ .bio-properties-panel-feelers-editor-container:focus-within .bio-properties-panel-open-feel-popup,
2146
+ .bio-properties-panel-feel-container:focus-within .bio-properties-panel-open-feel-popup {
2147
+ display: block;
2148
+ }
2149
+
2150
+ .bio-properties-panel-feelers-editor-container .bio-properties-panel-open-feel-popup {
2151
+ bottom: 0;
2152
+ }
2153
+
2154
+ .bio-properties-panel-feelers-editor-container .bio-properties-panel-open-feel-popup:hover,
2155
+ .bio-properties-panel-feel-container .bio-properties-panel-open-feel-popup:hover {
2156
+ color: var(--feel-open-popup-hover-color);
2157
+ }
2158
+
2159
+ .bio-properties-panel-feel-popup .bio-properties-panel-popup__footer .bio-properties-panel-feel-popup__close-btn {
2160
+ background: var(--feel-popup-close-background-color);
2161
+ width: 66px;
2162
+ font-weight: 400;
2163
+ font-size: 14px;
2164
+ font-family: inherit;
2165
+ color: white;
2166
+ border: none;
2167
+ height: 32px;
2168
+ cursor: pointer;
2169
+ }
2170
+
2171
+ .bio-properties-panel-feel-popup .bio-properties-panel-feel-editor-container .cm-editor {
2172
+ width: 100%;
2173
+ height: 100%;
2174
+ }
2175
+
2176
+ .bio-properties-panel-feel-popup .bio-properties-panel-feel-editor-container .cm-editor .cm-content {
2177
+ padding-left: 4px;
2178
+ }
2179
+
2180
+ .bio-properties-panel-feel-popup .cm-gutters {
2181
+ background-color: var(--feel-popup-gutters-background-color);
2182
+ border: none;
2183
+ padding: 0;
2184
+ }
2185
+
2186
+ .bio-properties-panel-feel-popup .cm-gutter {
2187
+ min-width: 32px;
2188
+ }
2189
+
2190
+ .bio-properties-panel-feel-popup .cm-gutters .cm-lineNumbers .cm-gutterElement {
2191
+ text-align: center;
2192
+ }
@@ -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
+ }