v0.1.0-alpha.0
Pre-release
Pre-release
First public alpha release. Drop-in replacement for react-date-range@2.0.1 with React 18/19 compatibility, TypeScript types, modern build pipeline, and critical bug fixes.
Added
- First-party TypeScript declarations covering exported components, props, utility types, and helpers.
- ESM + CJS dual build via tsup.
- Compiled CSS output and
package.jsonexports for styles. - React 18/19 TypeScript compatibility spikes.
- Consumer JS/TSX, SSR import, scroll StrictMode, and tree-shaking analysis fixtures.
- CI workflow for build, tests, and spike typechecks.
Changed
- Peer dependencies narrowed to React 18/19 and date-fns 3.x.
- Type declarations use function declarations for React 18/19 JSX compatibility.
Fixed
- Upstream #577/#653: scroll crash/incorrect rendering in React StrictMode.
- Upstream PR #654: date-fns v4 guard via
^3.0.0peer range. - Upstream PR #665: color fallback ReferenceError.
- Upstream PR #508: focusedRange end-date path covered by regression test.
Known limitations
- Tree-shaking is limited in this alpha because the current build bundles all exports into one file.
- Sass
@importdeprecation warnings remain and are planned for a later phase.
npm publish is a separate step and has not been run yet.