@gardenfi/garden-book 0.1.36 → 0.1.38

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,
@@ -13182,9 +13182,23 @@ const InfoBadge = ({ children: e, className: t, ...i }) => /* @__PURE__ */ jsx(
13182
13182
  ...n,
13183
13183
  children: /* @__PURE__ */ jsxs("button", { className: "gf-flex gf-flex-row gf-justify-center gf-items-center gf-gap-2 gf-w-full focus:gf-outline-none", children: [
13184
13184
  /* @__PURE__ */ jsx(Typography, { size: "h2", children: e }),
13185
- /* @__PURE__ */ jsxs("div", { className: "gf-flex gf-items-center gf-gap-2", children: [
13186
- typeof t == "string" ? /* @__PURE__ */ jsx("img", { src: t, alt: "token logo", className: "gf-w-5 gf-h-5" }) : t,
13187
- i && (typeof i == "string" ? /* @__PURE__ */ jsx("img", { src: i, alt: "chain logo", className: "gf-w-5 gf-h-5" }) : i),
13185
+ /* @__PURE__ */ jsxs("div", { className: "gf-flex gf-items-center", children: [
13186
+ typeof t == "string" ? /* @__PURE__ */ jsx(
13187
+ "img",
13188
+ {
13189
+ src: t,
13190
+ alt: "token logo",
13191
+ className: "gf-w-5 gf-h-5 gf-z-20"
13192
+ }
13193
+ ) : t,
13194
+ i && (typeof i == "string" ? /* @__PURE__ */ jsx(
13195
+ "img",
13196
+ {
13197
+ src: i,
13198
+ alt: "chain logo",
13199
+ className: "gf-w-5 gf-h-5 -gf-translate-x-1 gf-z-10"
13200
+ }
13201
+ ) : i),
13188
13202
  /* @__PURE__ */ jsx("span", { children: /* @__PURE__ */ jsx(KeyboardDownIcon, {}) })
13189
13203
  ] })
13190
13204
  ] })