1 | import type { Assign } from "@ark-ui/react";
|
2 | import { Menu as ArkMenu } from "@ark-ui/react/menu";
|
3 | import { type HTMLChakraProps, type SlotRecipeProps, type UnstyledProp } from "../../styled-system";
|
4 | declare const useMenuStyles: () => Record<string, import("../..").SystemStyleObject>;
|
5 | export { useMenuStyles };
|
6 | export interface MenuRootProviderBaseProps extends Assign<ArkMenu.RootProviderBaseProps, SlotRecipeProps<"menu">>, UnstyledProp {
|
7 | }
|
8 | export interface MenuRootProviderProps extends MenuRootProviderBaseProps {
|
9 | children: React.ReactNode;
|
10 | }
|
11 | export declare const MenuRootProvider: import("react").FC<MenuRootProviderProps>;
|
12 | export interface MenuRootBaseProps extends Assign<ArkMenu.RootBaseProps, SlotRecipeProps<"menu">>, UnstyledProp {
|
13 | }
|
14 | export interface MenuRootProps extends MenuRootBaseProps {
|
15 | children: React.ReactNode;
|
16 | }
|
17 | export declare const MenuRoot: import("react").FC<MenuRootProps>;
|
18 | export declare const MenuPropsProvider: React.Provider<MenuRootBaseProps>;
|
19 | export interface MenuTriggerProps extends HTMLChakraProps<"button", ArkMenu.TriggerBaseProps> {
|
20 | }
|
21 | export declare const MenuTrigger: import("react").ForwardRefExoticComponent<MenuTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
22 | export interface MenuContextTriggerProps extends HTMLChakraProps<"div", ArkMenu.ContextTriggerBaseProps> {
|
23 | }
|
24 | export declare const MenuContextTrigger: import("react").ForwardRefExoticComponent<MenuContextTriggerProps & import("react").RefAttributes<HTMLElement>>;
|
25 | export interface MenuPositionerProps extends HTMLChakraProps<"div", ArkMenu.PositionerBaseProps> {
|
26 | }
|
27 | export declare const MenuPositioner: import("react").ForwardRefExoticComponent<MenuPositionerProps & import("react").RefAttributes<HTMLDivElement>>;
|
28 | export interface MenuSeparatorProps extends HTMLChakraProps<"div", ArkMenu.SeparatorBaseProps> {
|
29 | }
|
30 | export declare const MenuSeparator: import("react").ForwardRefExoticComponent<MenuSeparatorProps & import("react").RefAttributes<HTMLDivElement>>;
|
31 | export interface MenuContentProps extends HTMLChakraProps<"div", ArkMenu.ContentBaseProps> {
|
32 | }
|
33 | export declare const MenuContent: import("react").ForwardRefExoticComponent<MenuContentProps & import("react").RefAttributes<HTMLDivElement>>;
|
34 | export interface MenuArrowProps extends HTMLChakraProps<"div", ArkMenu.ArrowBaseProps> {
|
35 | }
|
36 | export declare const MenuArrow: import("react").ForwardRefExoticComponent<MenuArrowProps & import("react").RefAttributes<HTMLDivElement>>;
|
37 | export interface MenuArrowTipProps extends HTMLChakraProps<"div", ArkMenu.ArrowTipBaseProps> {
|
38 | }
|
39 | export declare const MenuArrowTip: import("react").ForwardRefExoticComponent<MenuArrowTipProps & import("react").RefAttributes<HTMLDivElement>>;
|
40 | export interface MenuIndicatorProps extends HTMLChakraProps<"div", ArkMenu.IndicatorBaseProps> {
|
41 | }
|
42 | export declare const MenuIndicator: import("react").ForwardRefExoticComponent<MenuIndicatorProps & import("react").RefAttributes<HTMLDivElement>>;
|
43 | export interface MenuItemGroupProps extends HTMLChakraProps<"div", ArkMenu.ItemGroupBaseProps> {
|
44 | }
|
45 | export declare const MenuItemGroup: import("react").ForwardRefExoticComponent<MenuItemGroupProps & import("react").RefAttributes<HTMLDivElement>>;
|
46 | export interface MenuItemGroupLabelProps extends HTMLChakraProps<"div", ArkMenu.ItemGroupLabelBaseProps> {
|
47 | }
|
48 | export declare const MenuItemGroupLabel: import("react").ForwardRefExoticComponent<MenuItemGroupLabelProps & import("react").RefAttributes<HTMLDivElement>>;
|
49 | export interface MenuItemProps extends HTMLChakraProps<"div", ArkMenu.ItemBaseProps> {
|
50 | }
|
51 | export declare const MenuItem: import("react").ForwardRefExoticComponent<MenuItemProps & import("react").RefAttributes<HTMLDivElement>>;
|
52 | export interface MenuTriggerItemProps extends HTMLChakraProps<"div", ArkMenu.TriggerItemBaseProps> {
|
53 | }
|
54 | export declare const MenuTriggerItem: import("react").ForwardRefExoticComponent<MenuTriggerItemProps & import("react").RefAttributes<HTMLDivElement>>;
|
55 | export interface MenuItemTextProps extends HTMLChakraProps<"div", ArkMenu.ItemTextBaseProps> {
|
56 | }
|
57 | export declare const MenuItemText: import("react").ForwardRefExoticComponent<MenuItemTextProps & import("react").RefAttributes<HTMLDivElement>>;
|
58 | export interface MenuItemCommandProps extends HTMLChakraProps<"kbd"> {
|
59 | }
|
60 | export declare const MenuItemCommand: import("react").ForwardRefExoticComponent<MenuItemCommandProps & import("react").RefAttributes<HTMLElement>>;
|
61 | export interface MenuItemIndicatorProps extends HTMLChakraProps<"div", ArkMenu.ItemIndicatorBaseProps> {
|
62 | }
|
63 | export declare const MenuItemIndicator: import("react").ForwardRefExoticComponent<MenuItemIndicatorProps & import("react").RefAttributes<HTMLDivElement>>;
|
64 | export interface MenuCheckboxItemProps extends HTMLChakraProps<"div", ArkMenu.CheckboxItemBaseProps> {
|
65 | }
|
66 | export declare const MenuCheckboxItem: import("react").ForwardRefExoticComponent<MenuCheckboxItemProps & import("react").RefAttributes<HTMLDivElement>>;
|
67 | export interface MenuRadioItemGroupProps extends HTMLChakraProps<"div", ArkMenu.RadioItemGroupBaseProps> {
|
68 | }
|
69 | export declare const MenuRadioItemGroup: import("react").ForwardRefExoticComponent<MenuRadioItemGroupProps & import("react").RefAttributes<HTMLDivElement>>;
|
70 | export interface MenuRadioItemProps extends HTMLChakraProps<"div", ArkMenu.RadioItemBaseProps> {
|
71 | }
|
72 | export declare const MenuRadioItem: import("react").ForwardRefExoticComponent<MenuRadioItemProps & import("react").RefAttributes<HTMLDivElement>>;
|
73 | export declare const MenuContext: (props: ArkMenu.ContextProps) => import("react").ReactNode;
|
74 | export declare const MenuItemContext: (props: ArkMenu.ItemContextProps) => import("react").ReactNode;
|
75 | export interface MenuOpenChangeDetails extends ArkMenu.OpenChangeDetails {
|
76 | }
|
77 | export interface MenuSelectionDetails extends ArkMenu.SelectionDetails {
|
78 | }
|
79 | export interface MenuHighlightChangeDetails extends ArkMenu.HighlightChangeDetails {
|
80 | }
|