refactor(web): migrate Button to Base UI with focus-visible (#32941)

Signed-off-by: yyh <yuanyouhuilyz@gmail.com>
This commit is contained in:
yyh
2026-03-04 13:55:13 +08:00
committed by GitHub
parent ad000c42b7
commit dfc6de69c3
8 changed files with 267 additions and 130 deletions

View File

@ -46,9 +46,10 @@ function ComplianceDocActionVisual({
return (
<div
aria-hidden
data-disabled={isPending || undefined}
className={cn(
'btn btn-small btn-secondary pointer-events-none flex items-center gap-[1px]',
isPending && 'btn-disabled',
isPending && 'cursor-not-allowed',
)}
>
<span className="i-ri-arrow-down-circle-line size-[14px] text-components-button-secondary-text-disabled" />