react-cloudimage-responsive
Advanced tools
Comparing version 3.6.0-beta.19 to 3.6.0-beta.20
@@ -30,7 +30,10 @@ # Changelog | ||
------------- | ||
## 3.6.0-beta.20 - 2022-04-18 | ||
### Added | ||
- possibility to render unwrapped image using `disableAnimation` prop | ||
## 3.6.0-beta.19 - 2022-04-18 | ||
### Fixed | ||
### Added | ||
- possibility to add `doNotReplaceURL` to single image | ||
## 3.6.0-beta.17 - 2022-02-09 | ||
@@ -37,0 +40,0 @@ ### Fixed |
@@ -167,2 +167,9 @@ "use strict"; | ||
var imageStyles = _cloudimageResponsiveUtils.imgStyles.image({ | ||
preserveSize: preserveSize, | ||
imgNodeWidth: imgNodeWidth, | ||
imgNodeHeight: imgNodeHeight, | ||
operation: operation | ||
}); | ||
var pictureClassName = "".concat(className, " cloudimage-image ").concat(loaded ? 'loaded' : 'loading').trim(); | ||
@@ -197,2 +204,3 @@ (0, _react.useEffect)(function () { | ||
className: pictureClassName, | ||
style: imageStyles, | ||
alt: pictureAlt | ||
@@ -199,0 +207,0 @@ }, !server && { |
{ | ||
"name": "react-cloudimage-responsive", | ||
"version": "3.6.0-beta.19", | ||
"version": "3.6.0-beta.20", | ||
"main": "dist/index.js", | ||
@@ -43,3 +43,3 @@ "description": "Cloudimage Responsive will smartly resize, compress and accelerate images across the World in your site for all devices. The plugin supports lazy loading technique with fancy animation on image load.", | ||
"dependencies": { | ||
"cloudimage-responsive-utils": "^2.4.5", | ||
"cloudimage-responsive-utils": "^2.4.6", | ||
"core-js": "^3.15.2", | ||
@@ -46,0 +46,0 @@ "prop-types": "^15.8.1", |
@@ -16,5 +16,12 @@ [![Release](https://img.shields.io/badge/release-v3.5.1-blue.svg)](https://github.com/scaleflex/react-cloudimage-responsive/releases) | ||
<p align="center"> | ||
<img | ||
<a href="https://www.cloudimage.io/#gh-light-mode-only"> | ||
<img | ||
alt="The Lounge" | ||
src="https://scaleflex.cloudimg.io/v7/cloudimage.io/LOGO+WITH+SCALEFLEX-01.png?vh=f6080d&w=350"> | ||
</a> | ||
<a href="https://www.cloudimage.io/#gh-dark-mode-only"> | ||
<img | ||
alt="The Lounge" | ||
src="https://scaleflex.cloudimg.io/v7/cloudimage.io/cloudimage-logo-light.png?vh=b798ab&w=350"> | ||
</a> | ||
</p> | ||
@@ -21,0 +28,0 @@ |
74438
920
505