Skip to content

docs(TreeList): define per-item styling contract - #6406

Merged
cixzhang merged 1 commit into
mainfrom
cindyxz/spec-treelist-item-styling
Sep 21, 2026
Merged

cixzhang merged 1 commit into
mainfrom
cindyxz/spec-treelist-item-styling

Conversation

@cixzhang

Copy link
Copy Markdown
Contributor

Why

Builders need to target one TreeList row without making every row react. The component owns that stable row boundary, so the public contract should name it directly and preserve Astryx's standard styling model.

What

Makes the TreeList component record current with one focused decision: each item row supports className, style, and xstyle, all composed on the same row box. The contract does not let current implementation availability narrow the durable API.

This is specification-only. Runtime support remains separate.

Risk

No runtime or default behavior changes. Future implementations must keep all three styling mechanisms aligned on the documented row target.

Testing

  • pnpm check:knowledge
  • Prettier
  • git diff --check
  • Full pre-commit repository checks

@vercel

vercel Bot commented Sep 21, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
astryx Ready Ready Preview Sep 21, 2026 3:55am UTC

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Sep 21, 2026
@astracat-bot

astracat-bot Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
❓ Needs maintainer input (for maintainers only) Sep 21, 2026, 4:35 AM UTC

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved: the current TreeList contract admits className, style, and xstyle as one per-item row styling seam, with all three composing on the same stable row box.

@github-actions github-actions Bot added the needs:spec-owner-review Current knowledge records await owner approval label Sep 21, 2026
@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec 473b24d

@github-actions github-actions Bot added spec-auto-merge Auto-merge was enabled by the spec owner gate and removed needs:spec-owner-review Current knowledge records await owner approval labels Sep 21, 2026
@cixzhang
cixzhang merged commit 3d82ed5 into main Sep 21, 2026
31 checks passed
@cixzhang
cixzhang deleted the cindyxz/spec-treelist-item-styling branch September 21, 2026 04:35

This branch was successfully deployed

1 active deployment
Preview — 473b24d6 Deployed Sep 21, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. spec-auto-merge Auto-merge was enabled by the spec owner gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant