@orangecheck/app-design 0.5.1 → 0.5.2

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.
@@ -959,9 +959,12 @@ function ActivityList({ items, empty, className }) {
959
959
  if (items.length === 0 && empty) return /* @__PURE__ */ jsx(Fragment, { children: empty });
960
960
  return /* @__PURE__ */ jsx("ul", { className: cn("divide-y divide-border rounded-[1.25rem] border border-border bg-card", className), children: items.map((it) => {
961
961
  const body = /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between gap-4 px-5 py-4", children: [
962
- /* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-col gap-0.5", children: [
963
- /* @__PURE__ */ jsx("span", { className: "truncate text-[0.9375rem]", children: it.title }),
964
- it.meta ? /* @__PURE__ */ jsx("span", { className: "truncate text-[0.8125rem] text-muted-foreground", children: it.meta }) : null
962
+ /* @__PURE__ */ jsxs("div", { className: "flex min-w-0 items-center gap-3", children: [
963
+ it.leading ? /* @__PURE__ */ jsx("div", { className: "shrink-0", children: it.leading }) : null,
964
+ /* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-col gap-0.5", children: [
965
+ /* @__PURE__ */ jsx("span", { className: "truncate text-[0.9375rem]", children: it.title }),
966
+ it.meta ? /* @__PURE__ */ jsx("span", { className: "truncate text-[0.8125rem] text-muted-foreground", children: it.meta }) : null
967
+ ] })
965
968
  ] }),
966
969
  it.trailing ? /* @__PURE__ */ jsx("div", { className: "shrink-0 text-right", children: it.trailing }) : null
967
970
  ] });