Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 28 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
"lodash.omitby": "4.6.0",
"lucide-react": "1.8.0",
"postcss": "8.5.10",
"react-day-picker": "8.10.1",
"react-day-picker": "10.0.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

v8 component slots removed in v10 cause breakage

High Severity

Upgrading react-day-picker from v8 to v10 without updating the Calendar component breaks the components prop. The IconLeft and IconRight component slots were removed in v9 and no longer exist in v10's type definitions. In v10, navigation icons are customized via a Chevron component that receives an orientation prop. This will cause a TypeScript compilation error and the custom navigation icons will not render.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 3e54699. Configure here.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

v8 classNames keys silently ignored in v10

High Severity

The classNames prop in calendar.tsx uses v8 keys (caption, caption_label, nav, nav_button, nav_button_previous, nav_button_next, table, head_row, head_cell, row, cell, day, day_hidden, etc.) that were renamed in v9/v10. In v10, cell became day, day became day_button, table became month_grid, caption became month_caption, row became week, among others. All custom styling on the calendar will silently stop applying, causing a complete visual regression.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 3e54699. Configure here.

"react-flagpack": "2.0.6",
"react-hook-form": "7.73.1",
"tailwind-merge": "3.5.0",
Expand Down
Loading