Skip to content

Releases: droidbg/react-carousel

v2.1.1

Choose a tag to compare

@droidbg droidbg released this 24 Jun 06:15

What's Changed

  • feat: v2.1 carousel capabilities + CubeSlider preset by @droidbg in #9

Full Changelog: v2.0.2...v2.1.1

v2.1.0

Choose a tag to compare

@droidbg droidbg released this 24 Jun 06:13

Full Changelog: v2.0.2...v2.1.0

v2.0.2

Choose a tag to compare

@droidbg droidbg released this 23 Jun 04:03

Full Changelog: v2.0.1...v2.0.2

v2.0.0

Choose a tag to compare

@droidbg droidbg released this 19 Jun 20:56

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

v2.0.0-beta.1 Pre-release
Pre-release

Choose a tag to compare

@droidbg droidbg released this 19 Jun 20:21

Second beta of the 2.0 rewrite. Published to npm under the beta tag — not latest.

npm install react-carousel-latest@beta

Changes 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.

⚠️ Breaking vs 1.x

  • 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

v2.0.0-beta.0 Pre-release
Pre-release

Choose a tag to compare

@droidbg droidbg released this 19 Jun 18:57

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.