impaktapps-ui-builder 1.0.71-alpha.1 → 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.
@@ -7899,6 +7899,12 @@ const buildPropertiesSection = function(type) {
7899
7899
  getTextArea("thought", "Today's thought", false)
7900
7900
  ];
7901
7901
  break;
7902
+ case "Image":
7903
+ uiSchema.elements = [
7904
+ getInputField("imageUrl", "Image URL"),
7905
+ getInputField("height", "Image Height")
7906
+ ];
7907
+ break;
7902
7908
  }
7903
7909
  return uiSchema;
7904
7910
  };
@@ -8402,7 +8408,8 @@ const sectionLabels = {
8402
8408
  ColumnGroup: ["Core", "Components"],
8403
8409
  Thought: ["Core", "Properties", "Events", "Style", "Validation"],
8404
8410
  Date: ["Core", "Properties", "Events", "Style", "Validation"],
8405
- DateTime: ["Core", "Properties", "Events", "Style", "Validation"]
8411
+ DateTime: ["Core", "Properties", "Events", "Style", "Validation"],
8412
+ Image: ["Core", "Properties", "Style"]
8406
8413
  };
8407
8414
  function refreshPage(type, store2) {
8408
8415
  var _a, _b;
@@ -12207,6 +12214,9 @@ const buildImage = (config2, componentScope2) => {
12207
12214
  if (config2.style) {
12208
12215
  image.config.style = JSON.parse(config2.style);
12209
12216
  }
12217
+ if (config2.height) {
12218
+ image.config.style.imageStyle = { ...image.config.style.imageStyle, height: config2.height };
12219
+ }
12210
12220
  return image;
12211
12221
  };
12212
12222
  let schema = {