@caratlogic/design-system 0.1.24 → 0.1.25

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.
@@ -1 +1 @@
1
- {"version":3,"file":"ActivityFeed.components.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/ActivityFeed/ActivityFeed.components.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAgBpD,OAAO,KAAK,EACV,gBAAgB,EAChB,aAAa,EACb,kBAAkB,EACnB,MAAM,sBAAsB,CAAC;AAE9B,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,GACN,EAAE;IACD,KAAK,EAAE,gBAAgB,CAAC;CACzB,GAAG,YAAY,CAYf;AA6ND,UAAU,gBAAgB;IACxB,KAAK,EAAE,aAAa,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC;CAClD;AAED,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,QAAQ,EACR,YAAY,GACb,EAAE,gBAAgB,GAAG,YAAY,CAyFjC;AAED,UAAU,sBAAsB;IAC9B,OAAO,EAAE,aAAa,EAAE,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC;CAClD;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,EACxC,OAAO,EACP,YAAY,GACb,EAAE,sBAAsB,GAAG,YAAY,CAwDvC"}
1
+ {"version":3,"file":"ActivityFeed.components.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/ActivityFeed/ActivityFeed.components.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAgBpD,OAAO,KAAK,EACV,gBAAgB,EAChB,aAAa,EACb,kBAAkB,EACnB,MAAM,sBAAsB,CAAC;AAE9B,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,GACN,EAAE;IACD,KAAK,EAAE,gBAAgB,CAAC;CACzB,GAAG,YAAY,CAYf;AA+ND,UAAU,gBAAgB;IACxB,KAAK,EAAE,aAAa,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC;CAClD;AAED,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,QAAQ,EACR,YAAY,GACb,EAAE,gBAAgB,GAAG,YAAY,CAyFjC;AAED,UAAU,sBAAsB;IAC9B,OAAO,EAAE,aAAa,EAAE,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC;CAClD;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,EACxC,OAAO,EACP,YAAY,GACb,EAAE,sBAAsB,GAAG,YAAY,CAwDvC"}
package/dist/index.cjs.js CHANGED
@@ -67876,7 +67876,7 @@ function CategoryIcon({ entry, showRail, }) {
67876
67876
  return (jsxRuntime.jsxs("div", { className: "relative self-stretch", children: [jsxRuntime.jsx("span", { className: cn('relative z-10 flex size-8 items-center justify-center rounded-full', meta.iconClassName), children: jsxRuntime.jsx(Icon, { className: "size-4", "aria-hidden": "true" }) }), showRail && (jsxRuntime.jsx("span", { "aria-hidden": "true", className: "absolute top-9 -bottom-4 left-1/2 w-px -translate-x-1/2 bg-border" }))] }));
67877
67877
  }
67878
67878
  function ChangesTable({ changes, }) {
67879
- return (jsxRuntime.jsxs("div", { className: "overflow-hidden rounded-lg border border-border bg-card", children: [jsxRuntime.jsx("p", { className: "border-b border-border px-3 py-2 text-[0.625rem] font-semibold tracking-wide text-muted-foreground uppercase", children: "What changed" }), changes.length === 0 ? (jsxRuntime.jsx("p", { className: "px-3 py-2.5 text-xs text-muted-foreground", children: "No field detail was recorded for this entry." })) : (jsxRuntime.jsxs("table", { className: "w-full text-sm", "aria-label": ACTIVITY_FEED_ARIA.changesTable, children: [jsxRuntime.jsx("thead", { children: jsxRuntime.jsxs("tr", { className: "bg-muted/40 text-left text-xs text-muted-foreground", children: [jsxRuntime.jsx("th", { scope: "col", className: "px-3 py-1.5 font-normal", children: "Field" }), jsxRuntime.jsx("th", { scope: "col", className: "px-3 py-1.5 font-normal", children: "Before" }), jsxRuntime.jsx("th", { scope: "col", className: "px-3 py-1.5 font-normal", children: "After" })] }) }), jsxRuntime.jsx("tbody", { children: changes.map((change) => (jsxRuntime.jsxs("tr", { className: "border-t border-border align-top", children: [jsxRuntime.jsx("th", { scope: "row", className: "px-3 py-2 text-left text-xs font-normal text-secondary-foreground", children: change.field }), jsxRuntime.jsx("td", { className: "px-3 py-2 text-xs text-muted-foreground line-through", children: change.before ?? 'Not set' }), jsxRuntime.jsx("td", { className: "px-3 py-2 text-xs font-medium text-foreground", children: change.after ?? 'Not set' })] }, change.field))) })] }))] }));
67879
+ return (jsxRuntime.jsxs("div", { className: "overflow-hidden rounded-lg border border-border bg-card", children: [jsxRuntime.jsx("p", { className: "border-b border-border px-3 py-2 text-[0.625rem] font-semibold tracking-wide text-muted-foreground uppercase", children: "What changed" }), changes.length === 0 ? (jsxRuntime.jsx("p", { className: "px-3 py-2.5 text-xs text-muted-foreground", children: "No field detail was recorded for this entry." })) : (jsxRuntime.jsxs("table", { className: "w-full text-sm", "aria-label": ACTIVITY_FEED_ARIA.changesTable, children: [jsxRuntime.jsx("thead", { children: jsxRuntime.jsxs("tr", { className: "bg-muted/40 text-left text-xs text-muted-foreground", children: [jsxRuntime.jsx("th", { scope: "col", className: "px-3 py-1.5 font-normal", children: "Field" }), jsxRuntime.jsx("th", { scope: "col", className: "px-3 py-1.5 font-normal", children: "Before" }), jsxRuntime.jsx("th", { scope: "col", className: "px-3 py-1.5 font-normal", children: "After" })] }) }), jsxRuntime.jsx("tbody", { children: changes.map((change) => (jsxRuntime.jsxs("tr", { className: "border-t border-border align-top", children: [jsxRuntime.jsx("th", { scope: "row", className: "px-3 py-2 text-left text-xs font-normal text-secondary-foreground", children: change.field }), jsxRuntime.jsx("td", { className: "px-3 py-2 text-xs text-muted-foreground", children: change.before ?? 'Not set' }), jsxRuntime.jsx("td", { className: "px-3 py-2 text-xs font-medium text-foreground", children: change.after ?? 'Not set' })] }, change.field))) })] }))] }));
67880
67880
  }
67881
67881
  function ContactCard({ contact, }) {
67882
67882
  const name = contact.name || contact.company || contact.email || 'Unknown contact';