Repository navigation
feat(ui): share Button hover hook and animated new chat icon - #1
Merged
Merged
Conversation
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.
Button descendants currently need preset-specific hover groups or ancestor selectors, which break when a button becomes a link. Every Button base recipe now exposes
group/btn, and the sharedNewChatIconuses it for a 500ms clockwise pen circle and full-contrast hover colour. Reduced motion keeps only the colour change.The release is prepared as 10.1.0 across all three packages, following the repository's aligned-version policy. The Button appearance contract stays unchanged. The README, style guide and source provenance document the hook and icon.
Validation: full
pnpm checkunder Node 22.23.1 passed, including 26 tests, style policy, provenance, archive checks and clean-consumer installation/typecheck/render. The isolated consumer now imports and renders NewChatIcon. Final lint and formatting checks also pass.Publication requires Matt's confirmation. After approval, merge the PR and push the immutable v10.1.0 tag through the protected GitHub npm workflow, then verify registry archives and provenance. Impression adoption follows publication; its 9.4.0 to 10.x audit found no uses of the CTX9 shell APIs with breaking required-icon/label changes.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.