refactor(ui): organize component source tree

This commit is contained in:
vince 2026-06-20 06:43:09 +02:00
parent 8927f2ab8a
commit 32ad2cebe4
66 changed files with 194 additions and 124 deletions

View file

@ -1,23 +0,0 @@
import type { UiStatusItem } from "../types";
import { FooterCell } from "./FooterCell";
export interface StatusStripProps {
id?: string;
items: UiStatusItem[];
compact?: boolean;
}
export function StatusStrip({ id, items, compact = false }: StatusStripProps) {
return (
<section
className="status-strip"
data-compact={compact}
data-model-id={id}
data-variant={compact ? "cluster" : "system-bus"}
>
{items.map((item) => (
<FooterCell key={item.id} item={item} />
))}
</section>
);
}