impaktapps-ui-builder 1.0.71-alpha.2 → 1.0.71-alpha.3
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.
- package/dist/impaktapps-ui-builder.es.js +5 -1
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +1 -1
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildImage.ts +3 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +1 -0
|
@@ -7901,7 +7901,8 @@ const buildPropertiesSection = function(type) {
|
|
|
7901
7901
|
break;
|
|
7902
7902
|
case "Image":
|
|
7903
7903
|
uiSchema.elements = [
|
|
7904
|
-
getInputField("imageUrl", "Image URL")
|
|
7904
|
+
getInputField("imageUrl", "Image URL"),
|
|
7905
|
+
getInputField("height", "Image Height")
|
|
7905
7906
|
];
|
|
7906
7907
|
break;
|
|
7907
7908
|
}
|
|
@@ -12213,6 +12214,9 @@ const buildImage = (config2, componentScope2) => {
|
|
|
12213
12214
|
if (config2.style) {
|
|
12214
12215
|
image.config.style = JSON.parse(config2.style);
|
|
12215
12216
|
}
|
|
12217
|
+
if (config2.height) {
|
|
12218
|
+
image.config.style.imageStyle = { ...image.config.style.imageStyle, height: config2.height };
|
|
12219
|
+
}
|
|
12216
12220
|
return image;
|
|
12217
12221
|
};
|
|
12218
12222
|
let schema = {
|