Skip to content

chore(deps): update react-day-picker to v10#103

Closed
kevwilliams wants to merge 2 commits into
mainfrom
chore/react-day-picker-v10
Closed

chore(deps): update react-day-picker to v10#103
kevwilliams wants to merge 2 commits into
mainfrom
chore/react-day-picker-v10

Conversation

@kevwilliams
Copy link
Copy Markdown
Contributor

Summary

  • Migrate internal picker calendar usages from the removed fromDate/toDate props to startMonth/endMonth
  • Remove initialFocus prop usages from the absolute-range-panel calendars (no longer a prop in v10)
  • Rename classNames.table to classNames.month_grid in the base Calendar to match v10's renamed slot
  • Bump react-day-picker devDependency in packages/datum-ui and apps/storybook to ^10.0.1
  • Peer range remains >=9 — both v9 and v10 satisfy it, since startMonth/endMonth were already added in v9

Why

Consumers (e.g. cloud-portal) have a pending Renovate PR to bump react-day-picker to v10. Without these internal changes, our Calendar wrapper would fail at runtime in v10 (removed props/class slots).

Test plan

  • pnpm typecheck (datum-ui + storybook)
  • pnpm lint
  • pnpm build
  • Storybook visual smoke of calendar / date pickers (single, range, datetime, datetime-range)
  • Verify date constraints (minDate/maxDate, disablePast/disableFuture) still bound navigable months in PickerCalendar

Reverted 2 infected file(s) to main state and removed 0 attacker-created file(s). Restored .env / .env.local in .gitignore. Note: any legitimate changes that branch made to the reverted files were lost in the revert; re-apply them manually after review.
@kevwilliams kevwilliams deleted the chore/react-day-picker-v10 branch May 26, 2026 16:56
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.

2 participants