Skip to content

chore: land 6 reviewed pull requests together (batch 166) - #13542

Merged
josephfarina merged 24 commits into
mainfrom
josephfarina/land-batch-166
Nov 22, 2026
Merged

josephfarina merged 24 commits into
mainfrom
josephfarina/land-batch-166

Conversation

@josephfarina

Copy link
Copy Markdown
Contributor

This pull request lands 6 pull requests in one CI run. 5 of them were reviewed and approved on their own heads; #13358 is reviewed as part of this pull request.
Some of them change the same files. They were merged in the order listed below, each merge was clean, and the combined result at this head is what is reviewed and tested here. Shared files:

They change no records.

Scope

When this merges, each pull request above is closed with a note that names this one.

The JSDoc of the icon response types and the icon rows of the response
type docs say "icon meaning" and "variant". Names and members do not
change.

[skip ci]
…enamed

The `icon map` help names its first argument `definition`, so printed
commands keep `<definition>` until that rename lands.

[skip ci]
…s its hover and keyboard focus visible

Folds in the fixes from review: Core's own hover, press and focus come back under a resting background or outline, under Core's disabled and touch conditions; a state the theme sets for that scope, a wider one, or one mode stays; a wider focus outline is copied per property under a resting look for a variant and a size, keeping what that scope sets itself.
…o a phone's text size also falls back to one per row

[skip ci]
… the release note names the three settings

Review findings on #13464: image-set() joins gradient and url() as a background with its own image, which keeps it in every state; the release note and title name the resting settings handled (background color shorthand, outline, a shadow on a ringed part).
…nt gets no overlay back

Review finding on #13464: a resting background on AvatarGroup's overflow got revert-layer in its hover and press rules, so Core's neutral tint came back under the pointer. A part whose plain resting background-image (not under an attribute state) is not none now gets no overlay restore.
Review finding on #13464: the release note now says a part whose resting image is Core's own tint (AvatarGroup's overflow) gets no overlay back, as the code and description do. Text only.
… loads them

theme build --family checked each member's registry by importing its source
with Node, so a family stopped on a local .tsx or .jsx registry, on a .ts one
before Node 22.18, or on a local import without its extension, while a single
build of the same member compiles it. A family build now writes the modules it
compiles to a folder beside the modules folder, at the same depth, imports
each compiled registry from there with Node, as the family module will, and
only then writes its outputs; the folder is always removed. The check runs
after the output checks, so a build refused for writing outside cwd writes
nothing, and --check writes nothing: it reads a compiled registry, and the
comparison of the committed modules reports any stale or missing one. A
registry whose imports plain Node cannot load still stops the build, naming
the file.

Tests build families through the CLI in its own process: .ts, .tsx and .jsx
registries that import a helper without its extension build, and the family
module loads in plain Node (all three fail on main); a .tsx entry of a linked
workspace package stops the build, naming the package file and writing
nothing, whether the member imports the package or a local registry
re-exports it; --check on a read-only folder and a build refused outside cwd
make no write. Author a theme's family section says a member's TypeScript or
JSX registry or slot module is compiled as for a single build; the icon and
icon set search counts each rise by one.
Astracat's first review found that --check, by only reading a compiled
registry, no longer caught a registry whose installed dependency drops an
export. --check now checks each registry from its source, exactly as on main,
and writes nothing; checking the committed compiled copies under --check
follows as its own change. [skip ci]
…s on main

The family section's sentence named an icon registry, which added one match
to the icon and icon set searches; main has since moved those snapshots, so
the counts no longer lined up. It now says a member's registry or slot module,
and no search golden changes.
A family whose member has a local TypeScript or JSX registry builds, but
--check checked that registry from its source, so it failed right after a
successful build. When every module the build compiles matches its committed
copy in <family-key>.modules/, --check now imports each compiled registry from
that committed copy, as the family module does, and writes nothing; when a
copy is stale or missing, the comparison of the outputs reports it.

Tests run the CLI in its own process: a .tsx family is up to date right after
its build; a changed registry is reported stale, not as a registry it cannot
import (both fail on the parent); a dependency that drops an export the
registry imports still fails --check.
…or shadow keeps a part's hover and keyboard focus visible
@josephfarina josephfarina added the merge-batch Batch of approved pull requests landed together label Nov 22, 2026
@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 5efe574

@vercel

vercel Bot commented Nov 22, 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 22, 2026 10:33am UTC

Request Review

@astracat-bot

astracat-bot Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
🟢 Reviewed (for maintainers only) Nov 22, 2026, 10:49 AM UTC

@github-actions github-actions Bot added the needs:design-review Affects visuals — Design should review label Nov 22, 2026
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 22, 2026
@github-actions

github-actions Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

PR Analysis Report

🔎 Preview · 5efe574

Storybook · Sandbox · built from this PR's head

Package size: @astryxdesign/cli 6.29 MB packed (+4.5 kB); no new dependencies.

Not run on this PR: add ci:run-visual for Visual, ci:run-a11y for Accessibility, ci:run-rtl for RTL.


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.

Approved pending CI: the heavy CI jobs (build and tests) run after review passes and have not run on this head yet.

All six changes check out together at this head, and #13358's earlier --check problem is fixed by #13388's change in this batch. There are no blocking findings.

  • Optional: in editor themes with a resting background, a touch press still cuts off instead of fading on release, because only :hover and :active get revert-layer and Core's [data-astryx-press="fading"] arm stays masked (see the inline note).
Claims and files checked

Review mode: full; reason: no-earlier-review

  • Claim: the six pull requests merge in the listed order and each merge is clean: verified (each merge's tree equals a clean merge of its two parents).
  • Claim: five were reviewed and approved on their own heads and #13358 is reviewed here: verified; #13358's open request, --check importing registry sources, is fixed by #13388's change at build.mjs:2717-2722.
  • Claim: the listed files are shared by #13358 and #13388, and no records change: verified.
  • Release note (family build): local .ts, .tsx and .jsx registries and extensionless local imports build in a family and compile into <family-key>.modules/; each compiled copy is imported with Node before anything is written; a registry plain Node cannot load still stops the build, naming it, with nothing written: verified (CLI-process tests in build.self-contained.test.mjs). The .ts before Node 22.18 case was not run.
  • Release note (family check): --check reports such a family up to date right after its build, imports the committed copies, writes nothing, and leaves a stale or missing copy to the output comparison: verified (read-only folder, up-to-date, stale and dependency tests).
  • Release note (editor): a resting background color gives hover and press back under Core's conditions, an own image is kept, AvatarGroup's overflow gets no overlay, a resting outline brings the focus outline back, rings draw over a resting shadow, and theme-set states and a variant-and-size scope's own properties stay: verified (24 new and 5 updated test cases pass); the touch release fade is the optional note.
  • Release note (icon types): the icon response types say "icon meaning" and "variant", with names, members and JSON keys unchanged: verified (only description text changes).
  • Release note (icon guides): relatives show on every match in JSON and, in text, under the first match only, at most four; template icons say "icon component": verified (icon.mjs:118, :299-305).
  • Release note (scorecard): two per row below 768px only where they fit, one per row on a narrow phone or with larger text, the change figure moves under the value, 768px and up unchanged: verified at 360, 390, 390 with 20px text and 600px; the 768px and up tiers are unchanged in code.
  • File .changeset/experimental-theme-rest-look-keeps-hover-focus.md: clear.
  • File .changeset/family-build-compiled-registry-check.md: clear.
  • File .changeset/family-check-committed-modules.md: clear.
  • File .changeset/icon-guide-rewordings.md: clear.
  • File .changeset/icon-words-response-types.md: clear.
  • File .changeset/scorecard-two-up-phone.md: clear.
  • File packages/cli/api/icon/icon.type.mjs: clear.
  • File packages/cli/api/theme-edit/_settings.mjs: optional note at line 7748.
  • File packages/cli/api/theme-edit/theme-part-state-wins-build.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-part-text-sits-core.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-rest-look-keeps-hover-and-focus.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-resting-shadow-part-rings.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-state-part-states-changed.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-titles-shadows-alpha-state.test.mjs: clear.
  • File packages/cli/api/theme/build/build.mjs: clear.
  • File packages/cli/api/theme/build/build.self-contained.test.mjs: clear.
  • File packages/cli/assets/docs/author-a-theme.doc.mjs: clear.
  • File packages/cli/assets/docs/tree/icon-sets.doc.mjs: clear.
  • File packages/cli/assets/docs/tree/template-icons.doc.mjs: clear.
  • File packages/cli/assets/templates/pages/dashboard-scorecard/page.tsx: clear.
  • File packages/cli/foundation/response/response-types.doc.mjs: clear.
  • File packages/cli/test/__golden__/no-icon-set/docs-tree.json: clear; it follows the template icons wording.

Automated review (maintainer link)

);
});
if (restingImage) return;
for (const state of ['hover', 'active']) {

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.

Optional: on a coarse pointer Core paints the press release through [data-astryx-press="fading"] (packages/core/src/utils/interactionOverlay.stylex.ts:240), not :active, so under a resting background shorthand the press still cuts off on release instead of fading. Writing background-image: revert-layer for that attribute arm too (with a test) would hand the fade back to Core.

@josephfarina
josephfarina merged commit 9d19235 into main Nov 22, 2026
133 of 136 checks passed
cixzhang added a commit that referenced this pull request Nov 22, 2026
…three doc spans match 0.7.17

Restores the response-type rename that main carries from #13542 (#13433)
in icon.type.mjs to its 0.7.17 wording, and returns "with `variant`," and
"the set's default variant" in the icon docs to the released text. The
response-types changeset names only what still changes.
@github-actions
github-actions Bot deleted the josephfarina/land-batch-166 branch November 23, 2026 06:06

This branch was successfully deployed

1 active deployment
Preview — 5efe5741 Deployed Nov 22, 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. merge-batch Batch of approved pull requests landed together needs:design-review Affects visuals — Design should review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant