@pronto-tools-and-more/components 15.31.0 → 15.33.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.
package/dist/main.js CHANGED
@@ -1441,13 +1441,17 @@ var Image = ({
1441
1441
  loading,
1442
1442
  className,
1443
1443
  width,
1444
- resize
1444
+ resize,
1445
+ style
1445
1446
  }) => {
1446
1447
  const webp = webP;
1447
1448
  const actualWidth = width || defaultWidth;
1448
1449
  const resizeString = resize ? JSON.stringify(resize) : void 0;
1449
1450
  const optimizedSrc = `$functions.getOptimizedImageSrc("${src}", ${webp}, ${actualWidth}, ${resizeString})`;
1450
- return /* @__PURE__ */ React.createElement("img", { src: optimizedSrc, alt, loading, className });
1451
+ return (
1452
+ //@ts-ignore
1453
+ /* @__PURE__ */ React.createElement("img", { src: optimizedSrc, alt, loading, className, style })
1454
+ );
1451
1455
  };
1452
1456
 
1453
1457
  // src/parts/Language/Language.ts
@@ -1,8 +1,9 @@
1
- export declare const Image: ({ src, alt, loading, className, width, resize, }: {
1
+ export declare const Image: ({ src, alt, loading, className, width, resize, style, }: {
2
2
  src: string;
3
3
  alt?: string;
4
4
  className?: string;
5
5
  loading?: "lazy";
6
6
  width?: number;
7
7
  resize?: string;
8
+ style?: string;
8
9
  }) => import("react").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pronto-tools-and-more/components",
3
- "version": "15.31.0",
3
+ "version": "15.33.0",
4
4
  "description": "",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",