Repository navigation
fix(core): fix local font warnings and document hooks for 0.4.5 - #65
Merged
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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
Prepares
@react-zero-ui/core@0.4.5with a fix for repeatedWarning: Parsing CSS source code failedwarnings in Next.js apps usingnext/font/local. Zero UI injects variants only into stylesheets with directives recognized by Tailwind's PostCSS plugin. Plain font CSS stays unchanged, while Tailwind entrypoints and CSS modules using@reference,@apply, or@variantretain global and scoped variants.Adds editor hover documentation for
useUI,useScopedUI,cssVar, setter types, and scoped refs. The docs explain DOM updates without React re-renders, the initial-value tuple, generated Tailwind variants, and the ref element as the scope root, with typed examples and API links.Type of Change
Checklist
Validation
681524a(CI run); all configured suites passed on Linux.0.4.5tarball: 12 passed, 2 existing skips. Used port 3107 locally because port 3000 was occupied; repository configuration is unchanged.NetworkErrorwhen the system font was unavailable on the test host.pnpm release:pack packages/core 0.4.5 distpassed: manifest/version, repository metadata, published entry points, dependency protocols, and package contents validated.Release
0.4.4→0.4.5.create-zero-uistays at2.0.5; its published dependency range,^0.4.4, already accepts this patch. No dependency or public API changes are required.mainand publish the GitHub Releasecore-v0.4.5from the merged commit. The existing trusted-publishing workflow validates and publishes@react-zero-ui/core@0.4.5to npm.Notes for Reviewer
The font fix and JSDoc changes remain separate commits:
3b5bd4b— font CSS fix, regression coverage, fixture font and license, related wiki updates.5f20dfc— hook JSDoc and scoped-root clarification.4c328cf— make the local-font assertion independent of installed fallback fonts.681524a— core patch version and wiki freshness metadata.