@vodafone_de/brix-components 14.0.0 → 14.0.1-image-flex-behaviour-e2f5d75a3b17d227c4f028fca1af6eaeb2c3858a

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.
@@ -35,17 +35,13 @@ const ImageContainerStyled = styled.div.withConfig({
35
35
  "& img": {
36
36
  objectFit
37
37
  }
38
- }), ({
39
- width,
40
- height
41
- }) => ({
42
- width: width ? width : height ? "auto" : "100%",
43
- height: height ? height : width ? "auto" : "100%"
44
38
  }), ({
45
39
  width,
46
40
  height,
47
41
  aspectRatio
48
42
  }) => ({
43
+ width: width ? width : height ? "auto" : "100%",
44
+ height: height ? height : width ? "auto" : aspectRatio ? "auto" : "100%",
49
45
  "& img": {
50
46
  position: !width && !height && !aspectRatio ? "relative" : "absolute",
51
47
  top: 0,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vodafone_de/brix-components",
3
3
  "description": "Brix is the digital design system for vodafone.de",
4
- "version": "14.0.0",
4
+ "version": "14.0.1-image-flex-behaviour-e2f5d75a3b17d227c4f028fca1af6eaeb2c3858a",
5
5
  "exports": {
6
6
  "./package.json": "./package.json",
7
7
  ".": {