release: version packages (beta) #870
Merged
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.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
mainis currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exitonmain.Releases
[email protected]
Minor Changes
#853
c595958Thanks @dohooo! - - additemWidth/itemHeightprops so horizontal and vertical carousels can define their snapping step explicitly (e.g. to show multiple cards per page)width/heightprops#853
c595958Thanks @dohooo! - ## ✨ Style API refreshstylenow controls the outer carousel container (positioning, width/height, margins).contentContainerStylereplacescontainerStylefor styling the scrollable content.widthandheightprops are deprecated; define size viastyleinstead.Migration Example
width/heightintostyleand container tweaks intocontentContainerStyle.contentContainerStyleruns on the JS thread—avoid addingopacity/transformthere if you rely on built-in animations.Patch Changes
#872
12c1a63Thanks @dohooo! - Clamp visible ranges for non-loop overdrag and add test to ensure the first item stays visible when dragging right on the first page. Credits to PR Fix: first image disappears on overdrag in non-loopable carousel #869 reporter.#871
bc7daafThanks @dohooo! - Fix non-loop overscroll direction so tiny positive offsets at the first page no longer wrap to the last page when calling next()/scrollTo(), and add integration coverage for the scenario. Thanks to @hennessyevan for the original report and PR 839 inspiration.#866
566bf52Thanks @hennessyevan! - Fix pagination accessibility state by syncing selection with scheduleOnRN instead of reading reanimated values during render, and add coverage to avoid test warnings.