@lodashventure/medusa-product-content 1.3.4 → 1.3.5

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.
@@ -1536,16 +1536,17 @@ const ProductContentPage = () => {
1536
1536
  ((_a = product.metadata) == null ? void 0 : _a.long_description) && /* @__PURE__ */ jsxRuntime.jsx(ui.Badge, { color: "green", size: "xsmall", children: "Description" }),
1537
1537
  ((_b = product.metadata) == null ? void 0 : _b.specs) && /* @__PURE__ */ jsxRuntime.jsx(ui.Badge, { color: "green", size: "xsmall", children: "Specs" })
1538
1538
  ] }) }),
1539
- /* @__PURE__ */ jsxRuntime.jsx(ui.Table.Cell, { children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-end", children: /* @__PURE__ */ jsxRuntime.jsxs(
1539
+ /* @__PURE__ */ jsxRuntime.jsx(ui.Table.Cell, { children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-end", children: /* @__PURE__ */ jsxRuntime.jsx(
1540
1540
  ui.Button,
1541
1541
  {
1542
1542
  variant: "secondary",
1543
1543
  size: "small",
1544
1544
  onClick: () => handleManageContent(product.id),
1545
- children: [
1546
- /* @__PURE__ */ jsxRuntime.jsx(icons.PencilSquare, { className: "mr-1" }),
1547
- "View Product"
1548
- ]
1545
+ className: "whitespace-nowrap",
1546
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5", children: [
1547
+ /* @__PURE__ */ jsxRuntime.jsx(icons.PencilSquare, { className: "h-4 w-4" }),
1548
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: "View Product" })
1549
+ ] })
1549
1550
  }
1550
1551
  ) }) })
1551
1552
  ] }, product.id);
@@ -1532,16 +1532,17 @@ const ProductContentPage = () => {
1532
1532
  ((_a = product.metadata) == null ? void 0 : _a.long_description) && /* @__PURE__ */ jsx(Badge, { color: "green", size: "xsmall", children: "Description" }),
1533
1533
  ((_b = product.metadata) == null ? void 0 : _b.specs) && /* @__PURE__ */ jsx(Badge, { color: "green", size: "xsmall", children: "Specs" })
1534
1534
  ] }) }),
1535
- /* @__PURE__ */ jsx(Table.Cell, { children: /* @__PURE__ */ jsx("div", { className: "flex items-center justify-end", children: /* @__PURE__ */ jsxs(
1535
+ /* @__PURE__ */ jsx(Table.Cell, { children: /* @__PURE__ */ jsx("div", { className: "flex items-center justify-end", children: /* @__PURE__ */ jsx(
1536
1536
  Button,
1537
1537
  {
1538
1538
  variant: "secondary",
1539
1539
  size: "small",
1540
1540
  onClick: () => handleManageContent(product.id),
1541
- children: [
1542
- /* @__PURE__ */ jsx(PencilSquare, { className: "mr-1" }),
1543
- "View Product"
1544
- ]
1541
+ className: "whitespace-nowrap",
1542
+ children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5", children: [
1543
+ /* @__PURE__ */ jsx(PencilSquare, { className: "h-4 w-4" }),
1544
+ /* @__PURE__ */ jsx("span", { children: "View Product" })
1545
+ ] })
1545
1546
  }
1546
1547
  ) }) })
1547
1548
  ] }, product.id);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lodashventure/medusa-product-content",
3
- "version": "1.3.4",
3
+ "version": "1.3.5",
4
4
  "description": "Medusa Admin plugin for enhanced product content management with rich text editor and i18n specifications",
5
5
  "author": "Product Core Team",
6
6
  "license": "MIT",