Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nuka v8 #1047

Merged
merged 5 commits into from
Apr 5, 2024
Merged

Nuka v8 #1047

merged 5 commits into from
Apr 5, 2024

Conversation

carbonrobot
Copy link
Contributor

@carbonrobot carbonrobot commented Apr 5, 2024

Nuka v8

Nuka v8 is an upgrade that aims to simplify the API and align the carousel with modern alternatives.

Highlights

  • Size reduced by more than 85% of the original package size
  • Simplified API for a better development experience
  • Responsive by default. The carousel now adapts to any size content and can be controlled by normal CSS
  • Animations now rely and browser animations that are much more accessible, touch friendly, and result in a smaller bundle size
  • You can have different widths for each slide if needed
  • Voiceover accessibility is more intuitive for keyboard navigation users.
  • Documentation is improved with more in-depth examples and Typescript typing

Breaking Changes

  • Removed many props (with reason!). This is documented in the v8 Upgrade Guide page
  • Wrap around is not the same as it was before where the carousel would seamlessly flow from the end to the start again. It currently just scrolls backward to the first slide again.

Contributors

@melvin-chen @BrittanyIRL @carbonrobot

Preview v8 Documentation

https://nuka-carousel-website-933h27fpe-formidable-labs.vercel.app/open-source/nuka-carousel

Copy link

changeset-bot bot commented Apr 5, 2024

🦋 Changeset detected

Latest commit: e816afd

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
nuka-carousel Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Apr 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nuka-carousel-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 5, 2024 0:25am

@carbonrobot carbonrobot merged commit c991e02 into main Apr 5, 2024
7 checks passed
@carbonrobot carbonrobot deleted the v8-rewrite branch April 5, 2024 18:06
@github-actions github-actions bot mentioned this pull request Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants