@orangecheck/design 0.9.0 → 0.9.1

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.
@@ -242,7 +242,7 @@ interface CardProps {
242
242
  actions?: ReactNode;
243
243
  children: ReactNode;
244
244
  className?: string;
245
- tone?: 'default' | 'warning' | 'destructive' | 'muted';
245
+ tone?: "default" | "warning" | "destructive" | "muted";
246
246
  expandable?: boolean;
247
247
  }
248
248
  declare function Card({ id, title, subtitle, refreshedAt, actions, children, className, tone, expandable, }: CardProps): react_jsx_runtime.JSX.Element;
@@ -242,7 +242,7 @@ interface CardProps {
242
242
  actions?: ReactNode;
243
243
  children: ReactNode;
244
244
  className?: string;
245
- tone?: 'default' | 'warning' | 'destructive' | 'muted';
245
+ tone?: "default" | "warning" | "destructive" | "muted";
246
246
  expandable?: boolean;
247
247
  }
248
248
  declare function Card({ id, title, subtitle, refreshedAt, actions, children, className, tone, expandable, }: CardProps): react_jsx_runtime.JSX.Element;
@@ -1444,20 +1444,24 @@ function Card({
1444
1444
  "section",
1445
1445
  {
1446
1446
  id,
1447
- className: cn("terminal flex flex-col rounded-sm border scroll-mt-16", toneClass, className),
1447
+ className: cn(
1448
+ "terminal flex flex-col rounded-sm border scroll-mt-16",
1449
+ toneClass,
1450
+ className
1451
+ ),
1448
1452
  children: [
1449
1453
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "terminal-title flex items-center justify-between gap-3", children: [
1450
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
1454
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
1451
1455
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "terminal-dot", "aria-hidden": true }),
1452
1456
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "terminal-dot opacity-70", "aria-hidden": true }),
1453
1457
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "terminal-dot opacity-50", "aria-hidden": true }),
1454
1458
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "ml-2 truncate", children: title }),
1455
- subtitle && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground/70 ml-1 truncate text-[10px] tracking-normal normal-case", children: [
1459
+ subtitle && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground/70 ml-1 min-w-0 truncate text-[10px] tracking-normal normal-case", children: [
1456
1460
  "\xB7 ",
1457
1461
  subtitle
1458
1462
  ] })
1459
1463
  ] }),
1460
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
1464
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex shrink-0 items-center gap-2", children: [
1461
1465
  refreshedAt && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground/60 hidden text-[10px] tracking-normal normal-case sm:inline", children: refreshedAt }),
1462
1466
  actions,
1463
1467
  expandable && /* @__PURE__ */ jsxRuntime.jsx(