Repository navigation
feat(docs): refresh HIG candidate to 872906a; drop Radix peers, font bridge and copied token values (bloxwap/hig#58) - #48
Merged
Conversation
…bridge and copied token values (bloxwap/hig#58) - Vendor HIG 0.1.0-candidate.sha872906a9 (tokens, react, contracts, native-fonts) with checksums and root overrides. - Import the overlay-free @bloxwap/hig-react/recipes/install-command entry; remove @radix-ui/react-dropdown-menu and react-tooltip. - Read radius, motion, type, density and font families from the --hig-* CSS roles; delete the --docs-* copies and the .hig-button/.hig-number font bridge. - Social cards read Bloxwap Sans TTFs from @bloxwap/hig-native-fonts (hig-tokens no longer ships fonts); output is byte-identical. - Callout maps to HIG note/tip and passes inline-node titles. - docs:check verifies overrides and that every --hig-* role used exists; docs:smoke adds loaded-font, 48 px touch target and reduced-motion checks. Drift check runs from the same HIG commit. - Before/after evidence in evidence/hig/docs-package-refresh/. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 15, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of bloxwap/hig#58.
Follow-up to #47, which moved the docs from copied HIG CSS to the HIG packages. That PR recorded three exceptions in the agent-cli row of HIG's
planning/adoption.json. HIG main has fixed the cause of each, so this PR moves to HIG0.1.0-candidate.sha872906a9(bloxwap/hig@872906a) and removes all three workarounds.Changes
hig-tokens,hig-react,hig-contractsandhig-native-fonts, recorded with checksums invendor/bloxwap-hig/provenance.json. The rootoverridespoint HIG's exact internal dependency versions at the same tarballs. They were built withnpm ci && npm run generate:fonts && npm run build && npm run release:dry-run -- --channel candidate. The dry run did not publish, tag or release anything.@bloxwap/hig-react/recipes/install-command, which has no overlay code. That means@radix-ui/react-dropdown-menuand@radix-ui/react-tooltipare no longer needed.npm lsno longer reports invalid HIG peers, because the peer ranges are now caret ranges.--hig-font-sansand--hig-font-monoresolve the@bloxwap/fontNext loader variables on<html>. The.hig-buttonand.hig-numberfont-family overrides are gone, and Tailwind's--font-sansand--font-monoread the HIG roles.--docs-*radius, motion, easing, density and type values are replaced by the--hig-radius-*,--hig-motion-*,--hig-density-*and--hig-type-*roles. HIG's reduced-motion rule replaces the local one.hig-tokensno longer ships TTFs, so the Satori renderer reads Bloxwap Sans Bold and Black from@bloxwap/hig-native-fonts, a build-time dev dependency. All 13 cards are byte-identical to main.infotype maps to HIGnoteandideamaps totip. Inline-node titles are passed through instead of being replaced with a default.docs:checknow also verifies the overrides, that every--hig-*roleglobal.cssreads is defined by the installed HIG CSS, and that no copied token values or font bridge come back.docs:smokeadds three checks: HIG controls render loaded Bloxwap faces, compact controls keep 48 px touch targets at 390 px, and reduced motion sets durations to 0 ms.The CLI content, search, base path, metadata and social cards are unchanged.
Before / after (static export at
/agent-cli; details inevidence/hig/docs-package-refresh/)app/global.css@radix-ui/*)The emitted CSS and JS grew slightly because HIG itself added the token roles, input and callout rules, and localizable component strings. The only visible change is that buttons are 44 px tall instead of 48 px; this is HIG's new web button height from hig#80. Compact controls stay 36 px, or 48 px on touch screens. The search, quickstart, errors and mobile navigation screenshots are pixel-identical to main.
Validation (automated + browser, local macOS arm64, Node 24)
npm run build,npm run lintandnpm run typecheckpass.npm testpasses (38 files, 71 tests), and so doesnpm run test:package.npm run docs:checkpasses.NEXT_PUBLIC_BASE_PATH=/agent-cli npm run docs:buildpasses: 16 HTML pages, 597 local links and assets, 13 social cards, and the base path verified.npm run docs:smoke: 13/13 pass in Playwright Chromium. A negative run with the font loader variable removed from the built CSS fails the new font check.node <hig@872906a>/scripts/drift.mjs --root . --config hig-drift.json:Scoped anti-drift: passed (38 files, 0 dated exceptions).Not run: large text, RTL, Firefox and WebKit. No physical devices were used, and simulators and emulators do not apply to this static docs site.
Rollback: revert this PR.
🤖 Generated with Claude Code