@micromerce/formbuilder-react 1.0.862 → 1.0.863
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/formbuilder.js +2 -1
- package/dist/formbuilder.js.map +1 -1
- package/package.json +1 -1
package/dist/formbuilder.js
CHANGED
|
@@ -263,6 +263,7 @@ ${e=>e["data-disabled"]&&Yb`pointer-events: none;`}
|
|
|
263
263
|
`,zO=cA.img`
|
|
264
264
|
width: 22px;
|
|
265
265
|
height: 22px;
|
|
266
|
+
object-fit: contain;
|
|
266
267
|
background: #FFFFFF;
|
|
267
268
|
`,UO=cA.div`
|
|
268
269
|
position: absolute;
|
|
@@ -277,7 +278,7 @@ ${e=>e["data-disabled"]&&Yb`pointer-events: none;`}
|
|
|
277
278
|
&:hover ${WO} {
|
|
278
279
|
display: block;
|
|
279
280
|
}
|
|
280
|
-
`,VO=(e,t)=>e.includes("?")?`${e}&w=${t}`:`${e}?w=${t}`,ZO=({previewUrl:e,type:t,decodedFileName:r})=>{if("image"!==t||!e||!r)return null;const n=r.toLowerCase().endsWith(".svg"),o=n?e:VO(e,
|
|
281
|
+
`,VO=(e,t)=>e.includes("?")?`${e}&w=${t}`:`${e}?w=${t}`,ZO=({previewUrl:e,type:t,decodedFileName:r})=>{if("image"!==t||!e||!r)return null;const n=r.toLowerCase().endsWith(".svg"),o=n?e:VO(e,150),i=n?e:VO(e,450);return Gu.jsxs(UO,{"data-testid":"fileuploader__preview-image",children:[Gu.jsx(zO,{"data-testid":"fileuploader__preview-image__icon",className:"lazyload",src:o,"data-sizes":"auto"}),Gu.jsx(WO,{className:"lazyload",src:i,"data-sizes":"auto"})]})},HO=cA(RO)`
|
|
281
282
|
position: absolute;
|
|
282
283
|
z-index: 1;
|
|
283
284
|
top: 0;
|