feat: add panel self-upgrade workflow (#492)

This commit is contained in:
sagit
2026-05-06 17:58:01 +08:00
committed by GitHub
parent 6c93d829c6
commit 5ebd4c2a91
11 changed files with 1410 additions and 10 deletions
@@ -160,7 +160,6 @@ export function ModalContent({
showCloseButton={false}
{...props}
>
<DialogTitle className="sr-only">Modal Dialog</DialogTitle>
{renderedChildren}
</BaseDialogContent>
);
@@ -173,15 +172,17 @@ export function ModalHeader({
const context = useModalContext();
return (
<div
className={cn(
"text-lg font-semibold",
context?.classNames?.header,
className,
)}
data-slot="modal-header"
{...props}
/>
<DialogTitle asChild>
<div
className={cn(
"text-lg font-semibold",
context?.classNames?.header,
className,
)}
data-slot="modal-header"
{...props}
/>
</DialogTitle>
);
}