@wix/editor-react-components 1.2230.0 → 1.2231.0

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.
@@ -1206,7 +1206,7 @@ function getImageURI(transformsObj) {
1206
1206
  }
1207
1207
  function getURI(fittingType, src, target, options = {}, transformObj) {
1208
1208
  if (isImageTransformApplicable(src.id, options == null ? void 0 : options.hasAnimation, options == null ? void 0 : options.allowAnimatedTransform, options == null ? void 0 : options.allowFullGIFTransformation)) {
1209
- if (isWEBP(src.id) || isAVIF(src.id)) {
1209
+ if ((isWEBP(src.id) || isAVIF(src.id)) && !options.allowWebpAvifTransforms) {
1210
1210
  const { alignment, ...transformTarget } = target;
1211
1211
  src.focalPoint = { x: void 0, y: void 0 };
1212
1212
  src == null ? true : delete src.crop;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/editor-react-components",
3
- "version": "1.2230.0",
3
+ "version": "1.2231.0",
4
4
  "description": "React components for the Wix Editor",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -188,5 +188,5 @@
188
188
  "registry": "https://registry.npmjs.org/",
189
189
  "access": "public"
190
190
  },
191
- "falconPackageHash": "292c66edce8095c6ac16b6779151de32239734aa9f7953f3448703aa"
191
+ "falconPackageHash": "b8a5546dc8cb63a2d88c1b3b110cc6ecf76055bf8eb4476fbfea0f70"
192
192
  }