Skip to content

chore(api): regenerate the core and CLI API reports - #9589

Merged
cixzhang merged 1 commit into
mainfrom
chore/api-report-refresh
Nov 2, 2026
Merged

cixzhang merged 1 commit into
mainfrom
chore/api-report-refresh

Conversation

@cixzhang

@cixzhang cixzhang commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Maintainer impact

  • Before: packages/core/api-report.md and packages/cli/api-report.md on main no longer matched the built packages (pnpm api:report --check reported both stale). Every pull request's API-changes section compared against reports that were out of date.
  • After: both reports match a fresh build of main; pnpm api:report --check passes.

Change

pnpm build && pnpm api:report on main:

  • packages/core/api-report.md, 9 lines:
    • the input status border styles gain a forced-colors Highlight value, from fix(Field): a focused field shows its focus under forced colors #9392 and fix(Field): a focusable disabled field shows its focus under forced colors #9410. Ruling: these values are implementation detail. Exported StyleX style objects are opaque, so the rows stay as generated;
    • the input wrapper and display style objects changed;
    • one new custom property row, --x1ue0wla. Pending: internal hashed var, not public API. It is ChatMessage's internal stylex.defineVars variable (Chat/chatMessage.vars.stylex). The generator lists every custom property the stylesheet declares, so the row appears without hand-editing the output. Ruling: the variable becomes a private --_… name, and the generator leaves out --_* and StyleX-hashed names. A follow-up regenerates this report once that lands, and the row disappears. Merging this report does not admit it as public API.
  • packages/cli/api-report.md, 4 lines: the template command results gain demoContentReplaced.

No Changeset: no package's files list packs api-report.md, so nothing published changes.

Evidence

  • pnpm api:report --check fails on main (core and cli stale) and passes with this change.
  • Generated output only; no source changes.
  • CI impact: none.

Scope

  • One change: regenerate the stale reports.
  • Public text contains no internal Meta context.

@vercel

vercel Bot commented Nov 2, 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 Nov 2, 2026 6:02pm UTC

Request Review

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

astracat-bot Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
🟢 Reviewed (for maintainers only) Nov 2, 2026, 7:22 PM UTC

@github-actions

github-actions Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

PR Analysis Report

🔎 Preview · a7e3b23

Storybook · Sandbox · built from this PR's head

Package size: no published package changed; no new dependencies.

Not run on this PR: add ci:run-visual, ci:run-a11y or ci:run-rtl to run them.


Generated by PR Enrichment workflow | View full report

@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.

The regenerated reports match a build of this branch exactly, and nothing in the regeneration itself needs to change. Before approval, an engineering owner (the author included, as one) needs to confirm in a comment on this pull request the two rulings the description now records: the forced-colors "Highlight" border in inputWrapperStyles, inputStatusBorderStyles and inputStatusFocusWithinStyles stays as generated, and the hashed --x1ue0wla custom property becomes a private --_ name in a follow-up. No current spec record decides those four rows, so the description text alone cannot settle them.

[Automated review]

var --text-supporting-weight (./astryx.css)
var --tree-list-indent (./astryx.css)
var --tree-list-row-gap (./astryx.css)
var --x1ue0wla (./astryx.css)

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.

No current spec record admits this hashed StyleX variable, ChatMessage's avatarOffset, as a public custom property. An engineering owner decides whether it stays on Core's public surface.

@cixzhang

cixzhang commented Nov 2, 2026

Copy link
Copy Markdown
Contributor Author

/approve-spec a7e3b23

@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.

The regenerated Core and CLI API reports match a build of this branch exactly, and every recorded row is now settled: the template and Text rows by their specs, and the forced-colors Highlight and --x1ue0wla rows by the engineering owner's confirmation. Nothing else needs to change here. As planned, a follow-up should make --x1ue0wla a private --_ name and regenerate the reports, which will also pick up the TextInput keyboard-trait exports that landed on main after this branch.

[Automated review]

@cixzhang
cixzhang merged commit 032c4a1 into main Nov 2, 2026
109 checks passed
@github-actions
github-actions Bot deleted the chore/api-report-refresh branch November 3, 2026 06:05

This branch was successfully deployed

1 active deployment
Preview — a7e3b234 Deployed Nov 2, 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