import React from 'react';
export interface MenuProps {
/**
* The contents of the Menu. Can be `Menu` children or any valid elements.
*/
children: React.ReactNode;
}
/**
* `Menu` is a combination of a popup and a list. It usually has some type of target element that
* expands/collapses the menu and a `menu` role and and several `menuitem` roles. Focus is managed
* using [roving tabindex](https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_roving_tabindex) for maximum
* compatibility. A `Menu` can have two modes: `single` and `multiple`. This mode determines both
* how many items can be selected as well as the default behavior when a `menuitem` is clicked. For
* the `single` mode, selecting a `menuitem` will select and close the menu. For the `multiple`
* mode, clicking a `menuitem` will toggle selection and will not close the menu.
*
* ```tsx
*
* ```
*/
export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM | undefined;
initialFocusRef: React.RefObject | undefined;
id: string;
initialVisibility: import("../..").Visibility;
initialSelectedIds: import("../..").SelectedIds;
initialUnselectedIds: string[];
selection: import("../..").SelectionManager;
initialCursorId: string | string[];
columnCount: number;
navigation: import("../..").NavigationManager;
pageSize: number;
getId: (item: any) => string;
getTextValue: (item: any) => string;
nonInteractiveIds: string[];
orientation: import("../..").Orientation;
defaultItemHeight: number;
items: any[];
UNSTABLE_parentModel: {
state: {
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
id: string;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: import("../..").Item[];
};
events: {
select(data: {
id: string;
}): void;
selectAll(): void;
unselectAll(): void;
setSelectedIds(ids: string[] | "all"): void;
remove(data: {
id: string;
nextId?: string | undefined;
event?: Event | React.SyntheticEvent | undefined;
}): void;
goTo(data: {
id: string;
}): void;
goToNext(): void;
goToPrevious(): void;
goToPreviousRow(): void;
goToNextRow(): void;
goToFirst(): void;
goToLast(): void;
goToFirstOfRow(): void;
goToLastOfRow(): void;
goToNextPage(): void;
goToPreviousPage(): void;
registerItem(data: {
id: string;
textValue: string;
}): void;
unregisterItem(data: {
id: string;
}): void;
updateItemHeight(data: {
value: number;
}): void;
};
selection: import("../..").SelectionManager;
navigation: import("../..").NavigationManager;
getId: (item: any) => string;
getTextValue: (item: any) => string;
} | undefined;
}> & {
onUpdatePlacement?: ((data: {
placement: import("@popperjs/core").Placement;
}, prevState: {
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: import("../..").Item[];
mode: "multiple" | "single";
}) => void) | undefined;
onShow?: ((data: Event | React.SyntheticEvent | undefined, prevState: {
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: import("../..").Item[];
mode: "multiple" | "single";
}) => void) | undefined;
onHide?: ((data: Event | React.SyntheticEvent | undefined, prevState: {
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: import("../..").Item[];
mode: "multiple" | "single";
}) => void) | undefined;
onSelect?: ((data: {
id: string;
}, prevState: {
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: import("../..").Item[];
mode: "multiple" | "single";
}) => void) | undefined;
onSelectAll?: ((data: undefined, prevState: {
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: import("../..").Item[];
mode: "multiple" | "single";
}) => void) | undefined;
onUnselectAll?: ((data: undefined, prevState: {
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: import("../..").Item[];
mode: "multiple" | "single";
}) => void) | undefined;
onSetSelectedIds?: ((data: string[] | "all", prevState: {
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: import("../..").Item[];
mode: "multiple" | "single";
}) => void) | undefined;
onRemove?: ((data: {
id: string;
nextId?: string | undefined;
event?: Event | React.SyntheticEvent | undefined;
}, prevState: {
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: import("../..").Item[];
mode: "multiple" | "single";
}) => void) | undefined;
onGoTo?: ((data: {
id: string;
}, prevState: {
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: import("../..").Item[];
mode: "multiple" | "single";
}) => void) | undefined;
onGoToNext?: ((data: undefined, prevState: {
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: import("../..").Item[];
mode: "multiple" | "single";
}) => void) | undefined;
onGoToPrevious?: ((data: undefined, prevState: {
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: import("../..").Item[];
mode: "multiple" | "single";
}) => void) | undefined;
onGoToPreviousRow?: ((data: undefined, prevState: {
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: import("../..").Item[];
mode: "multiple" | "single";
}) => void) | undefined;
onGoToNextRow?: ((data: undefined, prevState: {
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: import("../..").Item[];
mode: "multiple" | "single";
}) => void) | undefined;
onGoToFirst?: ((data: undefined, prevState: {
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: import("../..").Item[];
mode: "multiple" | "single";
}) => void) | undefined;
onGoToLast?: ((data: undefined, prevState: {
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: import("../..").Item[];
mode: "multiple" | "single";
}) => void) | undefined;
onGoToFirstOfRow?: ((data: undefined, prevState: {
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: import("../..").Item[];
mode: "multiple" | "single";
}) => void) | undefined;
onGoToLastOfRow?: ((data: undefined, prevState: {
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: import("../..").Item[];
mode: "multiple" | "single";
}) => void) | undefined;
onGoToNextPage?: ((data: undefined, prevState: {
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: import("../..").Item[];
mode: "multiple" | "single";
}) => void) | undefined;
onGoToPreviousPage?: ((data: undefined, prevState: {
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: import("../..").Item[];
mode: "multiple" | "single";
}) => void) | undefined;
onRegisterItem?: ((data: {
id: string;
textValue: string;
}, prevState: {
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: import("../..").Item[];
mode: "multiple" | "single";
}) => void) | undefined;
onUnregisterItem?: ((data: {
id: string;
}, prevState: {
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: import("../..").Item[];
mode: "multiple" | "single";
}) => void) | undefined;
onUpdateItemHeight?: ((data: {
value: number;
}, prevState: {
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: import("../..").Item[];
mode: "multiple" | "single";
}) => void) | undefined;
} & {
shouldUpdatePlacement?: ((data: {
placement: import("@popperjs/core").Placement;
}, state: {
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: import("../..").Item[];
mode: "multiple" | "single";
}) => boolean) | undefined;
shouldShow?: ((data: Event | React.SyntheticEvent | undefined, state: {
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: import("../..").Item[];
mode: "multiple" | "single";
}) => boolean) | undefined;
shouldHide?: ((data: Event | React.SyntheticEvent | undefined, state: {
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: import("../..").Item[];
mode: "multiple" | "single";
}) => boolean) | undefined;
shouldSelect?: ((data: {
id: string;
}, state: {
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: import("../..").Item[];
mode: "multiple" | "single";
}) => boolean) | undefined;
shouldSelectAll?: ((data: undefined, state: {
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject