Releases: droidbg/react-carousel
Releases · droidbg/react-carousel
Release list
v2.1.1
v2.1.0
v2.0.2
v2.0.0
What's Changed
- Bump js-yaml from 4.1.0 to 4.1.1 in /example in the npm_and_yarn group across 1 directory by @dependabot[bot] in #1
- Potential fix for code scanning alert no. 2: Workflow does not contain permissions by @droidbg in #2
- Bump js-yaml from 4.1.0 to 4.1.1 by @dependabot[bot] in #4
- Bump the npm_and_yarn group across 2 directories with 2 updates by @dependabot[bot] in #5
- Bump the npm_and_yarn group across 2 directories with 1 update by @dependabot[bot] in #6
- headless compound Carousel + back-compat CardSlider + docs by @droidbg in #7
- Add presets, add Image/Slicer sliders, docs & release tooling by @droidbg in #8
Full Changelog: https://github.com/droidbg/react-carousel/commits/v2.0.0
v2.0.0-beta.1
Second beta of the 2.0 rewrite. Published to npm under the beta tag — not latest.
npm install react-carousel-latest@betaChanges since beta.0
- Renamed legacy → presets and dropped the "deprecated" framing — the card slider is now a first-class preset. Subpath is
react-carousel-latest/presets; stylesheet is presets.css. - New ImageSlider — full-bleed image carousel with a centered caption, thin overlaid arrows, and overlaid dots.
- New SlicerSlider — staggered horizontal-slice wipe transition.
- Both new presets are built on the headless core (keyboard, swipe, autoplay, ARIA included) and exported from the root and /presets.
2.0 highlights (recap)
- Headless, compound Carousel API (Track / Slide / Button / Dots / PlayPause) backed by a useCarousel hook.
- One-per-view or multi-card / peeking layouts via --rc-slide-size.
- Framework-free bundled CSS — no Tailwind required.
- Dual ESM + CJS, full types, tree-shakeable.
- Import the stylesheet(s): react-carousel-latest/styles.css (and react-carousel-latest/presets.css for the card/image/slicer presets).
- The preset subpath/stylesheet renamed from legacy → presets (vs beta.0).
- Peer range narrowed to React 18 || 19.
This is a beta — APIs may still change before 2.0.0 stable. Feedback and issues welcome.
v2.0.0-beta.0
First beta of the 2.0 rewrite. Published to npm under the beta tag — not latest.
npm install react-carousel-latest@beta
Highlights
- New headless, compound Carousel API (Carousel.Track / Slide / Button / Dots / PlayPause) backed by a useCarousel hook.
- One-per-view or multi-card / peeking layouts via --rc-slide-size.
- Keyboard, touch/swipe, autoplay, and ARIA built in. Framework-free bundled CSS — no Tailwind required.
- Legacy CardSlider preserved as the default export, now with a variant prop (gradient / glass / solid / outline / dark / minimal).
Breaking (vs 1.x)
- Import the stylesheet(s): react-carousel-latest/styles.css (and …/legacy.css for the old card look).
- Peer range narrowed to React 18 || 19.
⚠️ Beta — APIs may change before 2.0.0 stable. Please file issues with feedback.