Skip to content

docs(FieldStatus): document anatomy contract - #5719

Merged
cixzhang merged 1 commit into
feat/anatomy-theming-dispositionsfrom
docs/core-anatomy-batch-1
Aug 31, 2026
Merged

cixzhang merged 1 commit into
feat/anatomy-theming-dispositionsfrom
docs/core-anatomy-batch-1

Conversation

@cixzhang

Copy link
Copy Markdown
Contributor

Why

FieldStatus exposes two current theming targets but had no consumer anatomy or maintainer-owned anatomy mapping. This documents the rendered parts without exposing theming dispositions through consumer docs.

What

  • Adds the FieldStatus consumer anatomy for the message box, detached icon, and message text.
  • Adds a draft component contract with the exact maintainer-only theming map and concise presentation rationale.
  • Distinguishes released behavior from unresolved direct use of the existing tooltip variant type.

Risk

Documentation only. No runtime, public API, DOM, style, state, CSS variable, visual, or behavioral change.

Testing

  • pnpm check:knowledge
  • vitest run scripts/check-knowledge.test.mjs packages/core/src/FieldStatus/FieldStatus.test.tsx (64 tests)
  • pnpm -F @astryxdesign/core typecheck
  • pnpm -F @astryxdesign/core typecheck:docs
  • pnpm -F @astryxdesign/cli typecheck:authoring
  • pnpm check:repo
  • eslint --no-ignore packages/core/src/FieldStatus/FieldStatus.doc.mjs
  • Consumer CLI output and public-leak scan

@vercel

vercel Bot commented Aug 30, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
astryx Ready Ready Preview Aug 31, 2026 3:15am

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Aug 30, 2026
@cixzhang
cixzhang force-pushed the feat/anatomy-theming-dispositions branch from ab81a4b to 446327c Compare August 30, 2026 23:11
@cixzhang
cixzhang force-pushed the docs/core-anatomy-batch-1 branch from 61d3b30 to c01864f Compare August 30, 2026 23:12
@cixzhang
cixzhang force-pushed the feat/anatomy-theming-dispositions branch from 446327c to d0b9d15 Compare August 30, 2026 23:19
@cixzhang
cixzhang force-pushed the docs/core-anatomy-batch-1 branch from c01864f to b37496f Compare August 30, 2026 23:19
@cixzhang
cixzhang force-pushed the feat/anatomy-theming-dispositions branch from d0b9d15 to ea37a28 Compare August 30, 2026 23:58
@cixzhang
cixzhang force-pushed the docs/core-anatomy-batch-1 branch from b37496f to 864a52b Compare August 30, 2026 23:58
@cixzhang
cixzhang force-pushed the feat/anatomy-theming-dispositions branch from ea37a28 to 090d592 Compare August 31, 2026 03:07
@cixzhang
cixzhang force-pushed the docs/core-anatomy-batch-1 branch from 864a52b to ace05d5 Compare August 31, 2026 03:11
@cixzhang
cixzhang marked this pull request as ready for review August 31, 2026 03:11
@cixzhang
cixzhang merged commit f026032 into feat/anatomy-theming-dispositions Aug 31, 2026
2 of 3 checks passed

This branch was successfully deployed

1 active deployment
Preview — ace05d51 Deployed Aug 31, 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant