@bpmn-io/form-js-editor 0.9.5 → 0.9.7
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.
|
@@ -157,6 +157,13 @@
|
|
|
157
157
|
font-family: var(--font-family);
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
+
.fjs-editor-container .fjs-palette-container .fjs-palette {
|
|
161
|
+
height: 100%;
|
|
162
|
+
display: flex;
|
|
163
|
+
flex-direction: column;
|
|
164
|
+
flex: 1;
|
|
165
|
+
}
|
|
166
|
+
|
|
160
167
|
.fjs-palette-container .fjs-palette-header {
|
|
161
168
|
font-size: 12px;
|
|
162
169
|
font-weight: bold;
|
|
@@ -166,6 +173,12 @@
|
|
|
166
173
|
background-color: var(--color-palette-header-background);
|
|
167
174
|
}
|
|
168
175
|
|
|
176
|
+
.fjs-palette-container .fjs-palette-fields {
|
|
177
|
+
height: 100%;
|
|
178
|
+
overflow-y: auto;
|
|
179
|
+
overflow-x: hidden;
|
|
180
|
+
}
|
|
181
|
+
|
|
169
182
|
.fjs-palette-container .fjs-palette-field {
|
|
170
183
|
padding: 10px;
|
|
171
184
|
display: flex;
|
package/dist/index.cjs
CHANGED
|
@@ -8414,11 +8414,13 @@ function ValuesSourceSelect(props) {
|
|
|
8414
8414
|
|
|
8415
8415
|
const setValue = value => {
|
|
8416
8416
|
let newField = field;
|
|
8417
|
+
const newProperties = {};
|
|
8417
8418
|
Object.values(VALUES_SOURCES).forEach(source => {
|
|
8418
8419
|
// Clear all values source definitions and default the newly selected one
|
|
8419
8420
|
const newValue = value === source ? VALUES_SOURCES_DEFAULTS[source] : undefined;
|
|
8420
|
-
|
|
8421
|
+
newProperties[VALUES_SOURCES_PATHS[source]] = newValue;
|
|
8421
8422
|
});
|
|
8423
|
+
newField = editField(field, newProperties);
|
|
8422
8424
|
return newField;
|
|
8423
8425
|
};
|
|
8424
8426
|
|
|
@@ -8542,7 +8544,8 @@ function StaticValuesSourceEntry(props) {
|
|
|
8542
8544
|
});
|
|
8543
8545
|
return {
|
|
8544
8546
|
items,
|
|
8545
|
-
add: addEntry
|
|
8547
|
+
add: addEntry,
|
|
8548
|
+
shouldSort: false
|
|
8546
8549
|
};
|
|
8547
8550
|
}
|
|
8548
8551
|
|