Repository navigation
Refresh Chart docs onto HIG 872906a9 candidate and drop HIG workarounds - #56
Merged
Merged
Conversation
Vendors the hig@872906a9 candidate tarballs. @bloxwap/hig-tokens/css now emits radius/type/motion/density roles (hig#66), so styles/hig-roles.generated.css and its lint drift guard are removed and the shell uses the package role names. The caret Radix peers (hig#63) let npm ci work without legacy-peer-deps, and the overlay-free recipes/install-command and recipes/code-window entries replace the locally composed recipes. HIG CSS reads --hig-font-sans (hig#65), so the button font bridge goes. Callout passes ReactNode titles and note/tip severities through and drops the local info/success edges (hig#69). Social cards read their static faces from @bloxwap/hig-native-fonts since the tokens package no longer ships TTFs (hig#64). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 15, 2026
This was referenced Oct 15, 2026
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.
Summary
Moves the Chart docs onto the HIG
0.1.0-candidate.sha872906a9tarballs, built from bloxwap/hig@872906a. It also removes the workarounds that the upstream fixes replace.Part of bloxwap/hig#63 · Part of bloxwap/hig#64 · Part of bloxwap/hig#65 · Part of bloxwap/hig#66 · Part of bloxwap/hig#69
apps/docs/styles/hig-roles.generated.css, its generator and its lint drift guard. The shell now uses the package role names (--hig-motion-duration-*,--hig-density-*-control,--hig-type-*-line-height). The CSS used--ease-spring, which was never defined; it now uses--hig-motion-easing-standard.npm run lintnow fails on local role declarations and on the retired generated names..npmrc(legacy-peer-deps=true).npm cigives a single Radix tree (34 entries, none nested) and keeps thepackages/chartworkspace link. The install commands use the@bloxwap/hig-react/recipes/install-commandentry, and the hero snippet usesrecipes/code-window. Neither entry imports the overlay or any Radix peer..hig-button { font-family: var(--font-sans) }bridge. The browser test now checks that the button's first font family is a loaded Bloxwap face.@bloxwap/hig-native-fonts, a build-time-only devDependency. This followsdocs/migration/native.md.<Callout>now passes ReactNode titles through (the generic fallback no longer replaces them) and mapsnote/ideato HIGnote/tip. The local info/success edge CSS is deleted. A new keyboard check confirms that Tab from the selected tab lands on the install command<pre>and then on Copy, with no separate tabpanel stop.--hig-buttonto the comfortable 48 px target role, so the existing 48 px touch-target check still passes.Before / after
Baseline is
a3b0f6b(main), measured with the same Node 24 / Next 16.3.6/chartexport settings. Full data:docs/hig-adoption/hig-872906a9/size-report.json.@bloxwap/hig-native-fonts)legacy-peer-depsThe exported CSS is larger because HIG's stylesheet now carries the roles and Callout severities that the docs used to generate or patch locally. Total tarball bytes are flat only because the OG renderer still needs two static TTFs. Screenshots of 4 pages × 2 viewports, before and after, are in
docs/hig-adoption/hig-872906a9/. They look the same except that desktop buttons are 4 px shorter (hig#80).Validation (automated + browser; macOS, Node 24.10.0, npm 11.6.1, Chrome 155 via Playwright)
rm -rf node_modules && npm ci: exit 0, with no.npmrc.npm lsshows@bloxwap/chart -> ./packages/chartand reports nothing invalid or missing.npm run docs:build: exit 0. Static export verified: 30 HTML pages, 1530 local links/assets, 25 social cards,/chart.npm run docs:check,npm run lint,npm run typecheck: all exit 0.npm test: 1869 tests, 1869 passed.npm run docs:test: exit 0. Covers install tabs with a single tab stop, copy, fonts and motion, the distinctive playground demo (offline synthetic bars, settings/Escape, wheel), search, Callout, RTL/200%, and 390 px touch emulation.No iOS Simulator, Android emulator or physical device was used.
Residuals
package-lock.jsonfrom scratch without--legacy-peer-depsdrops thepackages/chartworkspace. The trigger is@bloxwap/hig-react's optional@bloxwap/chartpeer, which shares the workspace's name; I confirmed this by repacking without that peer.npm ci, normalnpm installand adding dependencies are not affected. The workaround is invendor/bloxwap-hig/README.md. This is an upstream follow-up for hig#63.tabindexin an effect, so for one commit after a tab switch the panel is still a tab stop. The test waits for that commit before checking.Rollback: revert this PR. It touches only tarballs, the lockfile,
.npmrc, imports and CSS. Nothing is published, tagged or released.🤖 Generated with Claude Code