@websolutespa/bom-mixer-ui 1.7.2 → 1.7.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/CHANGELOG.md +1 -1
- 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 -2
- package/dist/types/components/media/media.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/media/media.tsx +12 -2
package/CHANGELOG.md
CHANGED
package/dist/cjs/index.js
CHANGED
|
@@ -4741,6 +4741,11 @@ function getMediaItems(itemOrItems, options) {
|
|
|
4741
4741
|
if (options.eager) {
|
|
4742
4742
|
props.loading = 'eager';
|
|
4743
4743
|
}
|
|
4744
|
+
props.aspectRatio = options.aspectRatio;
|
|
4745
|
+
props.aspectRatioSm = options.aspectRatioSm;
|
|
4746
|
+
props.aspectRatioMd = options.aspectRatioMd;
|
|
4747
|
+
props.aspectRatioLg = options.aspectRatioLg;
|
|
4748
|
+
props.aspectRatioXl = options.aspectRatioXl;
|
|
4744
4749
|
}
|
|
4745
4750
|
return props;
|
|
4746
4751
|
};
|