@websolutespa/bom-mixer-ui 1.7.1 → 1.7.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @websolutespa/bom-mixer-ui
2
2
 
3
+ ## 1.7.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Fixing: MediaImage aspectRatio
8
+
3
9
  ## 1.7.1
4
10
 
5
11
  ### Patch Changes
package/dist/cjs/index.js CHANGED
@@ -4698,6 +4698,11 @@ function getMediaItems(itemOrItems, options) {
4698
4698
  } else if (x.height) {
4699
4699
  mediaItem.height = x.height;
4700
4700
  }
4701
+ mediaItem.aspectRatio = options.aspectRatio;
4702
+ mediaItem.aspectRatioSm = options.aspectRatioSm;
4703
+ mediaItem.aspectRatioMd = options.aspectRatioMd;
4704
+ mediaItem.aspectRatioLg = options.aspectRatioLg;
4705
+ mediaItem.aspectRatioXl = options.aspectRatioXl;
4701
4706
  return mediaItem;
4702
4707
  });
4703
4708
  const hasGallery = options.galleryId != null && typeof options.open === 'function';