Repository navigation
Consume HIG 7c67a07 packages in Chart docs - #53
Merged
Merged
Conversation
Replace the vendored token snapshot (bloxwap/hig@1a776b9), the shadcn-style alias adapter, the hand-written .btn family and the copied OG font binaries with the packed @bloxwap/hig-tokens, -contracts and -react candidate tarballs from bloxwap/hig@7c67a07 (file: dependencies under vendor/bloxwap-hig). - Shell CSS imports @bloxwap/hig-tokens/css and @bloxwap/hig-react/css and uses --hig-* roles directly; only manifest roles the CSS distribution lacks (radius/type/motion/density) are generated from the package manifest. - Buttons, install tabs and copy, code-window copy, callouts, search error and empty states and the playground loading status use HIG Button, IconButton, Tabs, Surface, Callout, Alert, EmptyState and Spinner. - The chart demo receives @bloxwap/hig-tokens/css unmodified and the chart theme from the typed package manifest; SDK engine, API examples, base path, metadata and deep links are unchanged. - Lint checks tarball hashes, installed versions, generated-role drift and rejects copied palettes, .btn primitives and font binaries in docs source. - Browser tests cover HIG copy/install behaviour, callout, keyboard focus, search shortcut, empty and failed search, demo and mobile navigation. Part of bloxwap/hig#34 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Part of bloxwap/hig#34 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Before/after screenshots (desktop and 390px) of home, quick start, configuration reference and the playground demo, browser check output, size report against c4dff80 and the validation record. Part of bloxwap/hig#34 Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Part of bloxwap/hig#34 (Chart row). Builds on #52, which copied a HIG plain-CSS snapshot from bloxwap/hig@1a776b9.
Chart docs now install HIG as packages instead of keeping copies. The packed
@bloxwap/hig-tokens,@bloxwap/hig-contractsand@bloxwap/hig-reactcandidate tarballs from bloxwap/hig@7c67a07 sit undervendor/bloxwap-hig/asfile:dependencies, pinned by SHA-256.Replaced
@bloxwap/hig-tokens/cssand@bloxwap/hig-react/cssand uses--hig-*roles directly. The copied token CSS and manifest are gone, along with the alias adapter (--card,--bloxwap-green,--space-*). Radius/type/motion/density roles are generated from the package manifest, because the CSS distribution doesn't emit them yet.@bloxwap/hig-tokens/fontsinstead of two copied TTFs. Web fonts stay on@bloxwap/[email protected]..btnfamily is replaced by HIGButton/.hig-button. Install tabs use HIGTabsaround theInstallCommandrecipe; the code-window copy uses HIGIconButton busy.<Callout>renders HIGCallout. Search failure shows HIGAlert, an empty result showsEmptyState, and the playground loading status usesSpinner.@bloxwap/hig-tokens/cssunmodified and a chart theme from the typed manifest. SDK engine, controls, base path/chart, metadata, deep links, API examples and capability wording are unchanged.npm run lintnow checks tarball hashes and installed versions, and rejects copied palettes,.btnprimitives and font binaries in docs source.Measured against c4dff80 (same Node 24 / Next 16.3.6 /
/chartexport; size-report.json)@bloxwap/hig-*, no transitive additionsThe emitted output grows a little: HIG's component CSS and OKLCH token block now ship, and the HIG React modules replace the local primitives. In return, nine copied files and the alias layer are gone, and the shell updates with the package. The 4.2 MB tokens tarball is now in the repository; most of it is native TTFs the docs don't use.
Validation (macOS, Node 24.10.0, npm 11.6.1, Chrome 155 via Playwright; validation.txt, browser.json)
npm ci: passes with plainnpm ci.npm run docs:buildwithNEXT_PUBLIC_BASE_PATH=/chart: 30 HTML pages, 1,530 local links/assets and 25 social cards verified.npm run docs:check,npm run lintandnpm run typecheckpass.npm run coverage: 1,869/1,869 passed, 100% coverage.npm run docs:test(browser):Screenshots (Chrome via Playwright; external requests blocked so both demos use the offline synthetic market):
All 16 captures (configuration reference included) are in
docs/hig-adoption/hig-7c67a07.Exceptions (review 2026-11-13, details in
docs/hig-adoption/README.mdandvendor/bloxwap-hig/README.md).npmrcsetslegacy-peer-deps=true. HIG React's optional exact Radix peers (dialog/popover 1.1.15) clash with Fumadocs' 1.1.23. Without the flag, npm nests a second Radix tree and drops thepackages/chartworkspace link in favor of the registry build.@bloxwap/hig-react/recipesimports the overlay entry, which needs the dropdown-menu/tooltip Radix peers. To avoid adding them, theInstallCommand/CodeWindowrecipe markup is built from the HIGbutton/surfaceprimitives. Suggested HIG follow-up: split that entry.Not covered: physical touch or mobile chart gestures, iOS/Android hardware, VoiceOver/TalkBack and wide-gamut review were not done. No iOS Simulator or Android emulator run was needed for this web-only docs change. Touch emulation is not device evidence. The other four SDK docs rows and the canonical HIG matrix update stay upstream, so this PR does not close hig#34.
No npm publish, tags, releases or manual deploys. To roll back, revert the three commits together.
🤖 Generated with Claude Code