Repository navigation
feat(rating): update samples content - #1119
Merged
Merged
Conversation
16 tasks
Bring in the Astro migration (#1110), the sample type check (#1132), AGENTS.md (#1133) and everything else merged to vnext since. Conflicts: - rating basic, custom, empty and single-selection: removed here, converted on vnext. Kept removed. - browser/public/meta.json, browser/src/navigation/SamplesBrowser.json: regenerated here; vnext removed browser/. Kept removed. - rating styling: this branch had already rewritten it as a function component with new content, so its side is kept, in vnext's style: no JSX.Element return type, which React 19's types no longer declare, no unused React import, and the `getElementById('root')!` mount. The six new rating samples (interaction-states, layout, overview, size, states, tailwind-styling) get what vnext did to every sample: no .eslintrc.js, sandbox.config.json or .devcontainer/, README.md in the current format without the CodeSandbox link, the strict add:sample tsconfig, and package versions from scripts/lib/versions.js. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The font @import came after the Tailwind imports. Tailwind's output then places it after style rules, where browsers ignore it, so the sample lost its font when run standalone and in the StackBlitz project the docs open. The samples browser hoisted it, which hid this. Put it between the @layer statement and the Tailwind imports, the order chip/tailwind-styling uses, which works in both pipelines. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ChronosSF
approved these changes
Oct 23, 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.
Update Rating samples