From 8251b075dbae3c84bbfecec07c6f448143522751 Mon Sep 17 00:00:00 2001 From: Max Qian Date: Sat, 23 May 2026 13:12:09 +0800 Subject: [PATCH] chore(deps): bump react-day-picker from 9.14.0 to 10.0.1 Remove obsolete 'table' classNames key from calendar.tsx. v10 removed the table key from ClassNames (DayPicker switched to flex layout). --- components/ui/calendar.tsx | 1 - package.json | 2 +- pnpm-lock.yaml | 29 +++++++++++------------------ 3 files changed, 12 insertions(+), 20 deletions(-) diff --git a/components/ui/calendar.tsx b/components/ui/calendar.tsx index e377c72..1e445d2 100644 --- a/components/ui/calendar.tsx +++ b/components/ui/calendar.tsx @@ -73,7 +73,6 @@ function Calendar({ : "flex h-8 items-center gap-1 rounded-md pr-1 pl-2 text-sm [&>svg]:size-3.5 [&>svg]:text-muted-foreground", defaultClassNames.caption_label ), - table: "w-full border-collapse", weekdays: cn("flex", defaultClassNames.weekdays), weekday: cn( "flex-1 rounded-md text-[0.8rem] font-normal text-muted-foreground select-none", diff --git a/package.json b/package.json index e0821f7..65fc330 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "next-themes": "^0.4.6", "radix-ui": "^1.4.3", "react": "^19.2.6", - "react-day-picker": "^9.14.0", + "react-day-picker": "^10.0.1", "react-dom": "^19.2.6", "react-hook-form": "^7.75.0", "react-resizable-panels": "^4.11.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f86fd7a..ec89612 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -54,8 +54,8 @@ importers: specifier: ^19.2.6 version: 19.2.6 react-day-picker: - specifier: ^9.14.0 - version: 9.14.0(react@19.2.6) + specifier: ^10.0.1 + version: 10.0.1(@types/react@19.2.14)(react@19.2.6) react-dom: specifier: ^19.2.6 version: 19.2.6(react@19.2.6) @@ -2379,10 +2379,6 @@ packages: resolution: {integrity: sha512-4BAffykYOgO+5nzBWYwE3W90sBgLJoUPRWWcL8wlyiM8IB8ipJz3UMJ9KXQd1RKQXpKp8Tutn80HZtWsu2u76w==} engines: {node: '>=10'} - '@tabby_ai/hijri-converter@1.0.5': - resolution: {integrity: sha512-r5bClKrcIusDoo049dSL8CawnHR6mRdDwhlQuIgZRNty68q0x8k3Lf1BtPAMxRf/GgnHBnIO4ujd3+GQdLWzxQ==} - engines: {node: '>=16.0.0'} - '@tailwindcss/node@4.2.4': resolution: {integrity: sha512-Ai7+yQPxz3ddrDQzFfBKdHEVBg0w3Zl83jnjuwxnZOsnH9pGn93QHQtpU0p/8rYWxvbFZHneni6p1BSLK4DkGA==} @@ -3494,9 +3490,6 @@ packages: resolution: {integrity: sha512-BS8PfmtDGnrgYdOonGZQdLZslWIeCGFP9tpan0hi1Co2Zr2NKADsvGYA8XxuG/4UWgJ6Cjtv+YJnB6MM69QGlQ==} engines: {node: '>= 0.4'} - date-fns-jalali@4.1.0-0: - resolution: {integrity: sha512-hTIP/z+t+qKwBDcmmsnmjWTduxCg+5KfdqWQvb2X/8C9+knYY6epN/pfxdDuyVlSVeFz0sM5eEfwIUQ70U4ckg==} - date-fns@4.1.0: resolution: {integrity: sha512-Ukq0owbQXxa/U3EGtsdVBkR1w7KOQ5gIBqdH2hkvknzZPYvBxb/aa6E8L7tmjFtkwZBu3UXBbjIgPo/Ez4xaNg==} @@ -6028,11 +6021,15 @@ packages: resolution: {integrity: sha512-K5zQjDllxWkf7Z5xJdV0/B0WTNqx6vxG70zJE4N0kBs4LovmEYWJzQGxC9bS9RAKu3bgM40lrd5zoLJ12MQ5BA==} engines: {node: '>= 0.10'} - react-day-picker@9.14.0: - resolution: {integrity: sha512-tBaoDWjPwe0M5pGrum4H0SR6Lyk+BO9oHnp9JbKpGKW2mlraNPgP9BMfsg5pWpwrssARmeqk7YBl2oXutZTaHA==} + react-day-picker@10.0.1: + resolution: {integrity: sha512-eNh6BlwcYInWaJtRv18mXQ06Ys/H6rdTZAnTaSdOYJuTpwP1JMCHNd1FDRadA+gbeinq+psdULN5Xnowy9mV8w==} engines: {node: '>=18'} peerDependencies: + '@types/react': '>=16.8.0' react: '>=16.8.0' + peerDependenciesMeta: + '@types/react': + optional: true react-dom@19.2.6: resolution: {integrity: sha512-0prMI+hvBbPjsWnxDLxlCGyM8PN6UuWjEUCYmZhO67xIV9Xasa/r/vDnq+Xyq4Lo27g8QSbO5YzARu0D1Sps3g==} @@ -9481,8 +9478,6 @@ snapshots: dependencies: defer-to-connect: 2.0.1 - '@tabby_ai/hijri-converter@1.0.5': {} - '@tailwindcss/node@4.2.4': dependencies: '@jridgewell/remapping': 2.3.5 @@ -10641,8 +10636,6 @@ snapshots: es-errors: 1.3.0 is-data-view: 1.0.2 - date-fns-jalali@4.1.0-0: {} - date-fns@4.1.0: {} debug@3.2.7: @@ -13962,13 +13955,13 @@ snapshots: iconv-lite: 0.7.2 unpipe: 1.0.0 - react-day-picker@9.14.0(react@19.2.6): + react-day-picker@10.0.1(@types/react@19.2.14)(react@19.2.6): dependencies: '@date-fns/tz': 1.4.1 - '@tabby_ai/hijri-converter': 1.0.5 date-fns: 4.1.0 - date-fns-jalali: 4.1.0-0 react: 19.2.6 + optionalDependencies: + '@types/react': 19.2.14 react-dom@19.2.6(react@19.2.6): dependencies: