@salesmind-ai/design-system 0.1.8 → 0.1.9

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.
@@ -2290,7 +2290,7 @@ var ArticleCard = React47.forwardRef(
2290
2290
  onClick: handleClick,
2291
2291
  ...props,
2292
2292
  children: [
2293
- imageUrl && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "ds-article-card__image-wrapper", children: [
2293
+ imageUrl ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "ds-article-card__image-wrapper", children: [
2294
2294
  /* @__PURE__ */ jsxRuntime.jsx(
2295
2295
  "img",
2296
2296
  {
@@ -2301,9 +2301,11 @@ var ArticleCard = React47.forwardRef(
2301
2301
  }
2302
2302
  ),
2303
2303
  category && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "ds-article-card__category-badge", children: category })
2304
+ ] }) : /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "ds-article-card__placeholder", children: [
2305
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.FileText, { className: "ds-article-card__placeholder-icon", "aria-hidden": "true" }),
2306
+ category && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "ds-article-card__category-badge", children: category })
2304
2307
  ] }),
2305
2308
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "ds-article-card__content", children: [
2306
- !imageUrl && category && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "ds-article-card__category-text", children: category }),
2307
2309
  /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "ds-article-card__title", children: title }),
2308
2310
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "ds-article-card__excerpt", children: excerpt }),
2309
2311
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "ds-article-card__meta", children: [
@@ -3946,5 +3948,5 @@ exports.TableOfContents = TableOfContents;
3946
3948
  exports.ValueAnchor = ValueAnchor;
3947
3949
  exports.VerticalVideoGrid = VerticalVideoGrid;
3948
3950
  exports.VideoEmbed = VideoEmbed;
3949
- //# sourceMappingURL=index.cjs.map
3951
+ //# sourceMappingURL=out.js.map
3950
3952
  //# sourceMappingURL=index.cjs.map