feat!: build a complete cross-platform rating system - #20
Merged
Conversation
Add precise scroll-aware rating interactions, native and Web accessibility, exact static displays, and generic semantic scales. Ship the Expo showcase, competitive evidence, migration guide, and packed consumer/SSR compatibility gates with the same release. BREAKING CHANGE: rating root interaction ownership, primary-axis item geometry, default visuals, and accessibility semantics have changed; see the README migration guide.
f0rr0
marked this pull request as ready for review
July 28, 2026 04:29
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.
What ships
This is the single integrated next-version change: no intermediate component, compatibility layer, or partial release.
Verified need and positioning
The research snapshot is dated 2026-07-28 and covers recurring results across the first-two-page depth for four rating-component query families, current package metadata, exact competitor release source, and open/historical issue evidence. Search ordering is volatile and the research surface did not expose stable locale/rank metadata, so the analysis presents an honest recurring-hit sample rather than a fabricated ranking.
The implementation borrows the useful category lessons—separate static rendering, explicit interaction lifecycle, and visual customization—while differentiating on the combination competitors do not provide: scroll-aware drag intent, one end-to-end fractional model, native/Web accessibility parity, a real static path, semantic scales, explicit locale/orientation/reversal semantics, core-only adoption, defensive boundaries, and duplicate-semantic control.
See:
Backlog disposition
Closes #4
Closes #8
Closes #10
Closes #13
Closes #14
Breaking changes
Release Please should cut this as v4. Root responder/keyboard/accessibility ownership, primary-axis item geometry, default visuals/colors, Web focus behavior, and vertical progression are deliberately tightened. The migration section documents every required adjustment. Existing controlled value/onChange and uncontrolled defaultValue concepts remain.
Validation
The PR remains draft for the documented real-device/browser manual VoiceOver, TalkBack, keyboard, ScrollView, RTL, and release-mode list profiling pass before merge.