From 8d40a035dca2baaa5a6e620081beea42ecdc9a6d Mon Sep 17 00:00:00 2001 From: Johan Persson Date: Tue, 3 Mar 2026 12:44:04 +0100 Subject: [PATCH] fix(ui): extend DialogBodyProps with native div element props DialogBodyProps previously only extended DialogBodyOwnProps, meaning native HTML attributes like aria-*, data-*, etc. could not be passed to the underlying div element. Signed-off-by: Johan Persson --- packages/ui/src/components/Dialog/types.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/ui/src/components/Dialog/types.ts b/packages/ui/src/components/Dialog/types.ts index ad88f59e8e..c7b500b211 100644 --- a/packages/ui/src/components/Dialog/types.ts +++ b/packages/ui/src/components/Dialog/types.ts @@ -68,7 +68,9 @@ export type DialogBodyOwnProps = { * Props for the DialogBody component. * @public */ -export interface DialogBodyProps extends DialogBodyOwnProps {} +export interface DialogBodyProps + extends DialogBodyOwnProps, + Omit, keyof DialogBodyOwnProps> {} /** @public */ export type DialogFooterOwnProps = {