@titelmedia/bricks-images
Advanced tools
Comparing version 1.11.4 to 1.11.5
@@ -6,2 +6,8 @@ # Change Log | ||
## [1.11.5](https://github.com/titel-media/bricks-lerna/compare/v1.11.4...v1.11.5) (2023-04-27) | ||
### Bug Fixes | ||
- added correct property for mobile image ([3ac292d](https://github.com/titel-media/bricks-lerna/commit/3ac292dce883269de33e01c08dd3cbd997366611)) | ||
## [1.11.4](https://github.com/titel-media/bricks-lerna/compare/v1.11.3...v1.11.4) (2023-04-26) | ||
@@ -8,0 +14,0 @@ |
@@ -31,3 +31,3 @@ "use strict"; | ||
} = props; | ||
const mobile = imageMobile || image; | ||
const mobile = (imageMobile === null || imageMobile === void 0 ? void 0 : imageMobile.fluid) || (imageMobile === null || imageMobile === void 0 ? void 0 : imageMobile.responsiveImage) || imageMobile || image; | ||
(0, _react.useEffect)(() => { | ||
@@ -34,0 +34,0 @@ if (enableRotation) { |
@@ -63,2 +63,3 @@ "use strict"; | ||
align-items: flex-start; | ||
justify-content: center; | ||
} | ||
@@ -65,0 +66,0 @@ `; |
@@ -30,3 +30,3 @@ import React, { useEffect, useRef, forwardRef } from 'react'; | ||
} = props; | ||
const mobile = imageMobile || image; | ||
const mobile = imageMobile?.fluid || imageMobile?.responsiveImage || imageMobile || image; | ||
useEffect(() => { | ||
@@ -33,0 +33,0 @@ if (enableRotation) { |
@@ -59,2 +59,3 @@ import styled, { css } from 'styled-components'; | ||
align-items: flex-start; | ||
justify-content: center; | ||
} | ||
@@ -61,0 +62,0 @@ `; |
{ | ||
"name": "@titelmedia/bricks-images", | ||
"version": "1.11.4", | ||
"version": "1.11.5", | ||
"description": "> TODO: description", | ||
@@ -24,3 +24,3 @@ "author": "Katerina Vaseva <katerina.vsv@gmail.com>", | ||
"@titelmedia/bricks-theme": "^1.11.0", | ||
"@titelmedia/bricks-utils": "^1.11.3" | ||
"@titelmedia/bricks-utils": "^1.11.5" | ||
}, | ||
@@ -32,3 +32,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "0d3673a2c4415191b9ce68938fe633d2a76a616b" | ||
"gitHead": "357b0789210f8b4f6b8f3afa42d9ac7b510179ae" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
55514
585