@gardenfi/garden-book 0.1.35 → 0.1.36
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/style.css +1 -1
- package/dist/ui.cjs.js +1 -1
- package/dist/ui.es.js +3 -7
- package/dist/ui.umd.js +1 -1
- package/package.json +1 -1
package/dist/ui.es.js
CHANGED
|
@@ -14061,11 +14061,11 @@ const placeholderUrl = "data:image/svg+xml,%3csvg%20width='384'%20height='216'%2
|
|
|
14061
14061
|
const [o, f] = useState(!1), [l, p] = useState(e ?? placeholderUrl), m = () => {
|
|
14062
14062
|
p(placeholderUrl);
|
|
14063
14063
|
};
|
|
14064
|
-
return /* @__PURE__ */ jsx(Opacity, { level: "semi-dark", className: "gf-rounded-2xl
|
|
14064
|
+
return /* @__PURE__ */ jsx(Opacity, { level: "semi-dark", className: "gf-rounded-2xl h-full", children: /* @__PURE__ */ jsxs("div", { className: cn(n, "gf-overflow-hidden gf-rounded-2xl"), children: [
|
|
14065
14065
|
/* @__PURE__ */ jsx(
|
|
14066
14066
|
"div",
|
|
14067
14067
|
{
|
|
14068
|
-
className: cn(a,
|
|
14068
|
+
className: cn(a, `${o ? "" : "gf-filter gf-blur-md"}`),
|
|
14069
14069
|
children: /* @__PURE__ */ jsx(
|
|
14070
14070
|
buildExports.LazyLoadImage,
|
|
14071
14071
|
{
|
|
@@ -14073,11 +14073,7 @@ const placeholderUrl = "data:image/svg+xml,%3csvg%20width='384'%20height='216'%2
|
|
|
14073
14073
|
effect: "blur",
|
|
14074
14074
|
src: l,
|
|
14075
14075
|
onLoad: () => f(!0),
|
|
14076
|
-
onError: m
|
|
14077
|
-
style: { width: "100%", height: "100%", objectFit: "cover" },
|
|
14078
|
-
wrapperProps: {
|
|
14079
|
-
style: { width: "100%", height: "100%" }
|
|
14080
|
-
}
|
|
14076
|
+
onError: m
|
|
14081
14077
|
}
|
|
14082
14078
|
)
|
|
14083
14079
|
}
|