Part of #43 — add the table component to both component libraries in parity.
Frame(s): A
shadcn: @shadcn/table · Spartan UI: https://www.spartan.ng/components/table
What
Apps table. The Data Table = the Table primitive + TanStack Table composed in code (sorting/filtering/selection/pagination). React: @tanstack/react-table. Angular: @tanstack/angular-table (createAngularTable). Spartan's "data-table" docs page is this same hand-composed pattern, not a separate component.
How
- React (
@surfnet/react): vendor via the shadcn CLI (Base UI style), one directory per component under src/components/ui/table/.
- Angular (
@surfnet/angular): vendor via the Spartan CLI (ng g @spartan-ng/cli:ui table).
- Follow the repo add-component skill for the exact per-framework flow.
Definition of done
Part of #43 — add the
tablecomponent to both component libraries in parity.Frame(s): A
shadcn:
@shadcn/table· Spartan UI: https://www.spartan.ng/components/tableWhat
Apps table. The Data Table = the
Tableprimitive + TanStack Table composed in code (sorting/filtering/selection/pagination). React:@tanstack/react-table. Angular:@tanstack/angular-table(createAngularTable). Spartan's "data-table" docs page is this same hand-composed pattern, not a separate component.How
@surfnet/react): vendor via the shadcn CLI (Base UI style), one directory per component undersrc/components/ui/table/.@surfnet/angular): vendor via the Spartan CLI (ng g @spartan-ng/cli:ui table).Definition of done
src/index.ts/src/public-api.ts)pnpm build,pnpm lint,pnpm formatpass