@standhigher/besttrack-page-extension 0.5.15 → 0.5.16

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1403,7 +1403,7 @@ function ProductImage({ src, alt, size = 60 }) {
1403
1403
  flex: "0 0 auto",
1404
1404
  borderRadius: "var(--pb-radius, 8px)",
1405
1405
  objectFit: "contain",
1406
- background: "#f1f5f9"
1406
+ background: "#fff"
1407
1407
  };
1408
1408
  if (!safeSrc || failed) {
1409
1409
  return /* @__PURE__ */ jsx2("span", { "aria-label": alt + " image unavailable", style: { ...box, display: "grid", placeItems: "center", color: "#94a3b8", fontSize: 12 }, children: alt.slice(0, 1).toUpperCase() });
@@ -1537,7 +1537,7 @@ function RecommendationCards({ items }) {
1537
1537
  const href = safeHref(item.href);
1538
1538
  const displayPrice = formatRecommendationPrice(item.price);
1539
1539
  const card = /* @__PURE__ */ jsxs(Fragment, { children: [
1540
- /* @__PURE__ */ jsx2("div", { style: { width: 262, height: 262, maxWidth: "100%", borderRadius: 8, border: "1px solid #E3E3E3", overflow: "hidden", background: "#f1f5f9" }, children: /* @__PURE__ */ jsx2(ProductImage, { src: item.imageUrl, alt: item.title, size: 262 }) }),
1540
+ /* @__PURE__ */ jsx2("div", { style: { width: 262, height: 262, maxWidth: "100%", borderRadius: 8, border: "1px solid #E3E3E3", overflow: "hidden", background: "#fff" }, children: /* @__PURE__ */ jsx2(ProductImage, { src: item.imageUrl, alt: item.title, size: 262 }) }),
1541
1541
  /* @__PURE__ */ jsxs("div", { style: { padding: "12px 8px", textAlign: "center", fontSize: 14 }, children: [
1542
1542
  /* @__PURE__ */ jsx2("p", { style: { margin: 0, color: "#334155" }, children: item.title }),
1543
1543
  displayPrice ? /* @__PURE__ */ jsx2("p", { style: { margin: "4px 0 0", fontWeight: 600, color: "#0f172a" }, children: displayPrice }) : null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@standhigher/besttrack-page-extension",
3
- "version": "0.5.15",
3
+ "version": "0.5.16",
4
4
  "description": "BestTrack business extension entry point for @standhigher/puck-page-builder.",
5
5
  "type": "module",
6
6
  "files": [