Stu Mason
Stu Mason

Activity

StuMason/cleanconnect
TidyLinker.com
TypeScript
Pull Request Merged

PR #154 merged: chore(deps): bump react-day-picker from 9.14.0 to 10.0.0

Bumps react-day-picker from 9.14.0 to 10.0.0.

Release notes

Sourced from react-day-picker's releases.

v10.0.0

DayPicker v10 removes the public APIs deprecated in v9 and introduces a new @daypicker/react package name. Non-Gregorian calendars are now published as standalone @daypicker/* packages.

If your app already uses the current v9 API, the upgrade should be relatively small. If your app still relies on deprecated v9 APIs, those usages should be updated before upgrading.

See the full v10 changelog, the upgrade guide, and the v10 announcement for questions and upgrade feedback.

Install

npm install react-day-picker@latest

For new projects, prefer the scoped package name:

npm install @daypicker/react@latest
import { DayPicker } from "@daypicker/react";
import "@daypicker/react/style.css";

The react-day-picker package remains available in v10 for compatibility.

Breaking Changes

Deprecated navigation props removed

Removed propUse instead
fromMonthstartMonth
fromYearstartMonth={new Date(year, 0)}
toMonthendMonth
toYearendMonth={new Date(year, 11)}
fromDatehidden={{ before: date }} and optionally startMonth
toDatehidden={{ after: date }} and optionally endMonth

Deprecated focus and event props removed

Removed propUse instead
initialFocusautoFocus
onWeekNumberClickA custom WeekNumber component
onDayKeyUpA custom DayButton component
onDayKeyPressA custom DayButton component
onDayPointerEnterA custom DayButton component
onDayPointerLeaveA custom DayButton component
onDayTouchCancelA custom DayButton component

... (truncated)

Changelog

Sourced from react-day-picker's changelog.

v10.0.0

Release date: 2026-05-08

This major release introduces the @daypicker/react package name, publishes calendar add-on packages under the @daypicker/* scope, and removes public APIs that were deprecated in v9.

Upgrading to v10

Upgrading from v9 should be straightforward if your app does not use any deprecated APIs. See the upgrading guide for details. If you use one of the non-Gregorian calendars, such as Persian, Hebrew, Buddhist, Ethiopic, or Hijri, install the corresponding calendar add-on package alongside DayPicker.

Package Name

For new projects, prefer the @daypicker/react package:

import { DayPicker } from "@daypicker/react";
import "@daypicker/react/style.css";

The react-day-picker package remains available for compatibility and exposes the same DayPicker API in v10.

Calendar Packages

Calendar add-on packages are now published under the @daypicker/* scope. Install the add-on package for the calendar you need alongside @daypicker/react. For example, to use the Persian calendar:

npm install @daypicker/react @daypicker/persian

Breaking Changes

  • Removed deprecated props: fromDate, toDate, fromMonth, toMonth, fromYear, toYear, initialFocus.
  • Removed deprecated event props: onWeekNumberClick, onDayKeyUp, onDayKeyPress, onDayPointerEnter, onDayPointerLeave, onDayTouchCancel, onDayTouchEnd, onDayTouchMove, onDayTouchStart.
  • Removed deprecated type exports from types/deprecated.
  • Removed deprecated aliases: formatMonthCaption, formatYearCaption, labelDay, labelCaption, isMatch, isDateInRange.
  • Removed the deprecated components.Button customization entry.
  • Removed deprecated DeprecatedUI compatibility typing for classNames and styles.
  • Removed deprecated DateLib exports: FormatOptions, LabelOptions, dateLib, and DateLib.Date.
  • Removed the deprecated react-day-picker/jalali subpath. Use react-day-picker/persian.

What's Changed

  • feat: add @daypicker/react as the preferred package name by @​gpbl in #2970
  • feat: publish calendar add-on packages under the @daypicker/* scope
  • fix: show the expected month after dropdown changes in multi-month calendars by @​hackgray47-eng in #2977
  • fix: move the amET locale export to @daypicker/ethiopic by @​gpbl in #2968
Commits

+6
additions
-23
deletions
2
files changed