@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 +6 -0
- package/dist/cjs/index.js +5 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/components/media/media.js +5 -0
- package/dist/esm/components/media/media.js.map +1 -1
- package/dist/types/components/media/media.d.ts +7 -1
- package/dist/types/components/media/media.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/media/media.tsx +10 -0
package/CHANGELOG.md
CHANGED
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';
|