pb-sxp-ui 1.0.51 → 1.0.52

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/dist/pb-ui.js CHANGED
@@ -12394,7 +12394,7 @@ Made in Italy` })));
12394
12394
  * @Author: binruan@chatlabs.com
12395
12395
  * @Date: 2024-03-20 10:27:31
12396
12396
  * @LastEditors: binruan@chatlabs.com
12397
- * @LastEditTime: 2024-04-29 18:57:05
12397
+ * @LastEditTime: 2024-04-30 18:36:47
12398
12398
  * @FilePath: \pb-sxp-ui\src\core\components\SxpPageRender\PictureGroup\Picture.tsx
12399
12399
  *
12400
12400
  */
@@ -12424,7 +12424,7 @@ Made in Italy` })));
12424
12424
  return isBgColor && (imgUrlsPostConfig === null || imgUrlsPostConfig === void 0 ? void 0 : imgUrlsPostConfig.bgColor) ? { backgroundColor: imgUrlsPostConfig === null || imgUrlsPostConfig === void 0 ? void 0 : imgUrlsPostConfig.bgColor } : {};
12425
12425
  }, [imgUrlsPostConfig, isBgColor]);
12426
12426
  return (React.createElement("div", { style: Object.assign({ overflow: 'hidden', height, width: '100%', position: 'relative' }, bgStyle) },
12427
- !isBgColor && (React.createElement(FormatImage$1, { src: src, style: Object.assign({ height: '100%', width: '100%', objectFit: 'cover' }, blurStyle) })),
12427
+ (!blur || !isBgColor) && (React.createElement(FormatImage$1, { src: src, style: Object.assign({ height: '100%', width: '100%', objectFit: 'cover' }, blurStyle) })),
12428
12428
  blur && (React.createElement(FormatImage$1, { src: src, style: {
12429
12429
  width: '100%',
12430
12430
  height: '100%',