@gardenfi/garden-book 0.1.35 → 0.1.37

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/ui.es.js CHANGED
@@ -10833,7 +10833,7 @@ const v = "5.7.4", fr = 60, ip = 0, op = 120, w = 64, h = 64, nm = "loading spin
10833
10833
  l,
10834
10834
  s
10835
10835
  ),
10836
- disabled: s,
10836
+ disabled: s || e === "disabled",
10837
10837
  ...o,
10838
10838
  children: /* @__PURE__ */ jsxs("div", { className: "gf-flex gf-justify-center gf-gap-3", children: [
10839
10839
  a,
@@ -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 gf-w-max", children: /* @__PURE__ */ jsxs("div", { className: cn(n, "gf-overflow-hidden gf-rounded-2xl"), children: [
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, `gf-w-96 ${o ? "" : "gf-filter gf-blur-md"}`),
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
  }