diff --git a/change/@fluentui-react-drawer-48e12c53-cba7-4acf-a7c7-8b7a3002fbbd.json b/change/@fluentui-react-drawer-48e12c53-cba7-4acf-a7c7-8b7a3002fbbd.json new file mode 100644 index 00000000000000..9636d35bc50b53 --- /dev/null +++ b/change/@fluentui-react-drawer-48e12c53-cba7-4acf-a7c7-8b7a3002fbbd.json @@ -0,0 +1,7 @@ +{ + "type": "prerelease", + "comment": "fix: regression with mountNode prop not available after refactor", + "packageName": "@fluentui/react-drawer", + "email": "marcosvmmoura@gmail.com", + "dependentChangeType": "patch" +} diff --git a/packages/react-components/react-drawer/etc/react-drawer.api.md b/packages/react-components/react-drawer/etc/react-drawer.api.md index 5ea873e21df795..cc1bd240aba56e 100644 --- a/packages/react-components/react-drawer/etc/react-drawer.api.md +++ b/packages/react-components/react-drawer/etc/react-drawer.api.md @@ -9,6 +9,7 @@ import type { ComponentProps } from '@fluentui/react-utilities'; import type { ComponentState } from '@fluentui/react-utilities'; import type { DialogProps } from '@fluentui/react-dialog'; +import type { DialogSurfaceProps } from '@fluentui/react-dialog'; import type { DialogSurfaceSlots } from '@fluentui/react-dialog'; import type { ForwardRefComponent } from '@fluentui/react-utilities'; import { MotionShorthand } from '@fluentui/react-motion-preview'; diff --git a/packages/react-components/react-drawer/src/components/DrawerOverlay/DrawerOverlaySurface/DrawerOverlaySurface.types.ts b/packages/react-components/react-drawer/src/components/DrawerOverlay/DrawerOverlaySurface/DrawerOverlaySurface.types.ts index 26334a1e95bca4..80bfd539e3d4fc 100644 --- a/packages/react-components/react-drawer/src/components/DrawerOverlay/DrawerOverlaySurface/DrawerOverlaySurface.types.ts +++ b/packages/react-components/react-drawer/src/components/DrawerOverlay/DrawerOverlaySurface/DrawerOverlaySurface.types.ts @@ -1,5 +1,5 @@ -import type { DialogSurfaceSlots, DialogSurfaceState } from '@fluentui/react-dialog'; -import type { ComponentProps, ComponentState } from '@fluentui/react-utilities'; +import type { DialogSurfaceProps, DialogSurfaceSlots, DialogSurfaceState } from '@fluentui/react-dialog'; +import type { ComponentState } from '@fluentui/react-utilities'; /** * DrawerOverlaySurface slots @@ -9,7 +9,7 @@ export type DrawerOverlaySurfaceSlots = DialogSurfaceSlots; /** * DrawerOverlaySurface Props */ -export type DrawerOverlaySurfaceProps = ComponentProps; +export type DrawerOverlaySurfaceProps = DialogSurfaceProps; /** * State used in rendering DrawerOverlaySurface