diff --git a/packages/react/etc/react.api.md b/packages/react/etc/react.api.md index f139e178a4610..671ff76ef97f9 100644 --- a/packages/react/etc/react.api.md +++ b/packages/react/etc/react.api.md @@ -350,7 +350,7 @@ import { styled } from '@fluentui/utilities'; import { StyleFunction } from '@fluentui/utilities'; import { Stylesheet } from '@fluentui/style-utilities'; import { tableProperties } from '@fluentui/utilities'; -import type { Target } from '@fluentui/react-hooks'; +import { Target } from '@fluentui/react-hooks'; import { tdProperties } from '@fluentui/utilities'; import { textAreaProperties } from '@fluentui/utilities'; import { Theme } from '@fluentui/theme'; @@ -1813,7 +1813,9 @@ export const getSplitButtonClassNames: (styles: IButtonStyles, disabled: boolean export { getStartDateOfWeek } // @public (undocumented) -export function getSubmenuItems(item: IContextualMenuItem): IContextualMenuItem[] | undefined; +export function getSubmenuItems(item: IContextualMenuItem, options?: { + target?: Target; +}): IContextualMenuItem[] | undefined; export { getTheme } @@ -3915,6 +3917,8 @@ export interface IContextualMenuItem { // @deprecated (undocumented) inactive?: boolean; itemProps?: Partial; + // @deprecated (undocumented) + items?: IContextualMenuItem[]; // (undocumented) itemType?: ContextualMenuItemType; key: string; @@ -3926,6 +3930,7 @@ export interface IContextualMenuItem { onRender?: (item: any, dismissMenu: (ev?: any, dismissAll?: boolean) => void) => React_2.ReactNode; onRenderContent?: (props: IContextualMenuItemProps, defaultRenders: IContextualMenuItemRenderFunctions) => React_2.ReactNode; onRenderIcon?: IRenderFunction; + preferMenuTargetAsEventTarget?: boolean; primaryDisabled?: boolean; rel?: string; role?: string;