@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.
package/dist/index.cjs CHANGED
@@ -6034,7 +6034,7 @@ var ArticleCard = React30.forwardRef(
6034
6034
  onClick: handleClick,
6035
6035
  ...props,
6036
6036
  children: [
6037
- imageUrl && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "ds-article-card__image-wrapper", children: [
6037
+ imageUrl ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "ds-article-card__image-wrapper", children: [
6038
6038
  /* @__PURE__ */ jsxRuntime.jsx(
6039
6039
  "img",
6040
6040
  {
@@ -6045,9 +6045,11 @@ var ArticleCard = React30.forwardRef(
6045
6045
  }
6046
6046
  ),
6047
6047
  category && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "ds-article-card__category-badge", children: category })
6048
+ ] }) : /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "ds-article-card__placeholder", children: [
6049
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.FileText, { className: "ds-article-card__placeholder-icon", "aria-hidden": "true" }),
6050
+ category && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "ds-article-card__category-badge", children: category })
6048
6051
  ] }),
6049
6052
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "ds-article-card__content", children: [
6050
- !imageUrl && category && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "ds-article-card__category-text", children: category }),
6051
6053
  /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "ds-article-card__title", children: title }),
6052
6054
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "ds-article-card__excerpt", children: excerpt }),
6053
6055
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "ds-article-card__meta", children: [
@@ -17452,5 +17454,5 @@ exports.useTextDirection = useTextDirection;
17452
17454
  exports.useToast = useToast;
17453
17455
  exports.validateCompliance = validateCompliance;
17454
17456
  exports.validateUtmField = validateUtmField;
17455
- //# sourceMappingURL=index.cjs.map
17457
+ //# sourceMappingURL=out.js.map
17456
17458
  //# sourceMappingURL=index.cjs.map