canonrs-server 0.1.0

CanonRS server-side rendering support
id: table
label: Table
family: family-f-data
category: Data
intent: Display tabular data
description: HTML table component
composable: true
capabilities: Selected
required_parts: ["TableHeader", "TableBody", "TableRow", "TableHead", "TableCell"]
optional_parts: ["TableFooter", "TableCaption", "TableWrapper"]
tags: ["table", "tabular", "rows", "columns", "data"]
keywords: 
pain: Tables lack consistent state handling and accessibility attributes
promise: Table state, sorting and selection enforced structurally
why: |
  TablePrimitive encodes state, striped and hoverable behavior. Rows and headers derive selection and sort semantics. This guarantees consistent data table behavior.
rules: ["CR-001", "CR-004"]
use_cases: ["data grids", "reports"]
related: ["data_table", "virtual_list", "empty_table", "tree", "list_item"]
file: table_ui.css
tokens: table-*, space-*, border-*, font-*, motion-*
foundation: spacing, border, motion, typography, radius, shadow
states: ["loading", "error", "selected"]
island: table_boundary.rs
pillar: data
badges: ["SSR Safe", "Hydration Safe", "Token Driven", "Deterministic API", "Zero Drift"]
before: |
  // ❌ Typical
  view! {
    <table>
      <tr><td>"Data"</td></tr>
    </table>
  }
after: |
  // ✅ CanonRS
  view! {
    <Table>
      <TableBody>
        <TableRow>
          <TableCell>"Data"</TableCell>
        </TableRow>
      </TableBody>
    </Table>
  }
boundary_type: init
block: [data_table_block]
blocks_primitives: [container]