denwa-web-shared 1.0.32 → 1.0.33
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/server/index.cjs.js
CHANGED
|
@@ -6823,7 +6823,7 @@ const BasePicture = ({
|
|
|
6823
6823
|
type: "image/webp"
|
|
6824
6824
|
}
|
|
6825
6825
|
),
|
|
6826
|
-
/* @__PURE__ */ jsxRuntime.jsx("source", { srcSet: `${image1x} 1x${image2x ? `, ${image2x} 2x` : ""}`, type }),
|
|
6826
|
+
!!image1x && /* @__PURE__ */ jsxRuntime.jsx("source", { srcSet: `${image1x} 1x${image2x ? `, ${image2x} 2x` : ""}`, type }),
|
|
6827
6827
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6828
6828
|
"img",
|
|
6829
6829
|
{
|
package/dist/server/index.es.js
CHANGED
|
@@ -6821,7 +6821,7 @@ const BasePicture = ({
|
|
|
6821
6821
|
type: "image/webp"
|
|
6822
6822
|
}
|
|
6823
6823
|
),
|
|
6824
|
-
/* @__PURE__ */ jsx("source", { srcSet: `${image1x} 1x${image2x ? `, ${image2x} 2x` : ""}`, type }),
|
|
6824
|
+
!!image1x && /* @__PURE__ */ jsx("source", { srcSet: `${image1x} 1x${image2x ? `, ${image2x} 2x` : ""}`, type }),
|
|
6825
6825
|
/* @__PURE__ */ jsx(
|
|
6826
6826
|
"img",
|
|
6827
6827
|
{
|
|
@@ -9,7 +9,7 @@ export interface BasePictureProps extends DetailedHTMLProps<HTMLAttributes<HTMLP
|
|
|
9
9
|
loading?: 'eager' | 'lazy';
|
|
10
10
|
}
|
|
11
11
|
export interface PictureData {
|
|
12
|
-
image1x: string;
|
|
12
|
+
image1x: string | undefined;
|
|
13
13
|
image2x?: string;
|
|
14
14
|
image1xWebp?: string;
|
|
15
15
|
image2xWebp?: string;
|