From 52a624d37b5c3ad304f46c68771237979aa86acb Mon Sep 17 00:00:00 2001 From: Ding Yi Date: Mon, 27 Apr 2026 23:58:41 +0800 Subject: [PATCH 1/3] fix(auth): drop v2 Checkbox classNames slot map for v3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit HeroUI v3 Checkbox no longer supports the classNames slot prop — { base, label } silently no-ops, so the consent checkbox on the auth pages was rendering with the default (centered) alignment and default text color instead of the small muted label we wanted. Replace it with v3 idioms: - base.items-start → root className='items-start' - label.text-sm/leading-6/text-muted → wrap children in a with the same Tailwind classes Made-with: Cursor --- web/src/components/auth/AuthLayout.jsx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/web/src/components/auth/AuthLayout.jsx b/web/src/components/auth/AuthLayout.jsx index 8780efd27ef..f67445a3baa 100644 --- a/web/src/components/auth/AuthLayout.jsx +++ b/web/src/components/auth/AuthLayout.jsx @@ -109,12 +109,9 @@ export function AuthAgreement({ - <> + {t('我已阅读并同意')} {hasUserAgreement ? ( ) : null} - + ); From 0aaaa370a5d7b0e61115d200212d783c5efc8647 Mon Sep 17 00:00:00 2001 From: Ding Yi Date: Tue, 28 Apr 2026 00:08:04 +0800 Subject: [PATCH 2/3] fix(web/heroui): replace Button color='success'|'warning' with v3 token classes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit HeroUI v3 Button has no `color` prop — only `variant`. The 8 surviving ` diff --git a/web/src/components/table/channels/modals/MultiKeyManageModal.jsx b/web/src/components/table/channels/modals/MultiKeyManageModal.jsx index ca97f0b7fdf..f8e4c7c60ca 100644 --- a/web/src/components/table/channels/modals/MultiKeyManageModal.jsx +++ b/web/src/components/table/channels/modals/MultiKeyManageModal.jsx @@ -35,6 +35,7 @@ import { timestamp2string, } from '../../../../helpers'; import ConfirmDialog from '../../../common/ui/ConfirmDialog'; +import { warningButtonClass } from '../../../common/ui/buttonTones'; // ----------------------------- helpers ----------------------------- @@ -509,7 +510,8 @@ const MultiKeyManageModal = ({ visible, onCancel, channel, onRefresh }) => { )}