Skip to content

chore(deps): bump react-day-picker 9.14 → 10.0.1 (PR #546)#567

Merged
jmynes merged 1 commit into
mainfrom
chore/deps/react-day-picker-10
Jun 9, 2026
Merged

chore(deps): bump react-day-picker 9.14 → 10.0.1 (PR #546)#567
jmynes merged 1 commit into
mainfrom
chore/deps/react-day-picker-10

Conversation

@jmynes

@jmynes jmynes commented Jun 9, 2026

Copy link
Copy Markdown
Owner

Summary

Bumps `react-day-picker` from 9.14.0 to 10.0.1.

v10 removes APIs that were deprecated in v9 and renames one classname slot. Migrated all three usages in the codebase.

Prop renames (all required since the v9 names are deleted in v10)

  • `initialFocus` → `autoFocus`
  • `fromYear={Y}` → `startMonth={new Date(Y, 0)}`
  • `toYear={Y}` → `endMonth={new Date(Y, 11)}`

Classname slot rename

  • `table` → `month_grid` in the calendar's `classNames` map

Files touched

  • `src/components/ui/calendar.tsx` (slot rename)
  • `src/components/tickets/date-picker.tsx` (date picker popover used in ticket forms)
  • `src/components/backlog/backlog-filters.tsx` (range picker for due-date filter)

Test plan

  • `pnpm install` succeeds
  • `pnpm lint` clean (no new errors)
  • `pnpm test` — 1527 / 1527 pass
  • `tsc --noEmit` reports no day-picker-related errors
  • CI passes
  • Manual UI smoke (recommended post-merge):
    • Open a ticket, change the due date — single-date picker works, keyboard focus lands on the popover
    • Open backlog due-date filter — range picker shows two months, autofocuses, dropdown navigation still respects start/end bounds

Closes #546

🤖 Generated with Claude Code

v10 removes deprecated v9 navigation/focus props and renames the
calendar table classname. Migrated all usages:

### Renamed props
- initialFocus → autoFocus
- fromYear={Y} → startMonth={new Date(Y, 0)}
- toYear={Y} → endMonth={new Date(Y, 11)}

### Renamed classname slot
- table → month_grid

### Files touched
- src/components/ui/calendar.tsx (month_grid)
- src/components/tickets/date-picker.tsx (autoFocus + startMonth/endMonth)
- src/components/backlog/backlog-filters.tsx (autoFocus + startMonth/endMonth)

### Verification
- pnpm install succeeds
- pnpm lint clean (no new errors)
- pnpm test — 1527 / 1527 pass
- tsc --noEmit reports no day-picker-related errors

Closes #546

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@jmynes jmynes merged commit 2ac87a2 into main Jun 9, 2026
2 checks passed
@jmynes jmynes deleted the chore/deps/react-day-picker-10 branch June 9, 2026 00:44
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 9, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant