1 | import type { Assign } from "@ark-ui/react";
|
2 | import { Popover as ArkPopover } from "@ark-ui/react/popover";
|
3 | import { type HTMLChakraProps, type SlotRecipeProps, type UnstyledProp } from "../../styled-system";
|
4 | declare const usePopoverStyles: () => Record<string, import("../..").SystemStyleObject>;
|
5 | export { usePopoverStyles };
|
6 | export interface PopoverRootProviderBaseProps extends Assign<ArkPopover.RootProviderBaseProps, SlotRecipeProps<"popover">>, UnstyledProp {
|
7 | }
|
8 | export interface PopoverRootProviderProps extends PopoverRootProviderBaseProps {
|
9 | children: React.ReactNode;
|
10 | }
|
11 | export declare const PopoverRootProvider: import("react").FC<PopoverRootProviderProps>;
|
12 | export interface PopoverRootBaseProps extends Assign<ArkPopover.RootBaseProps, SlotRecipeProps<"popover">>, UnstyledProp {
|
13 | }
|
14 | export interface PopoverRootProps extends PopoverRootBaseProps {
|
15 | children: React.ReactNode;
|
16 | }
|
17 | export declare const PopoverRoot: import("react").FC<PopoverRootProps>;
|
18 | export declare const PopoverPropsProvider: React.Provider<PopoverRootBaseProps>;
|
19 | export interface PopoverTriggerProps extends HTMLChakraProps<"button", ArkPopover.TriggerBaseProps> {
|
20 | }
|
21 | export declare const PopoverTrigger: import("react").ForwardRefExoticComponent<PopoverTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
22 | export interface PopoverPositionerProps extends HTMLChakraProps<"div", ArkPopover.PositionerBaseProps> {
|
23 | }
|
24 | export declare const PopoverPositioner: import("react").ForwardRefExoticComponent<PopoverPositionerProps & import("react").RefAttributes<HTMLDivElement>>;
|
25 | export interface PopoverContentProps extends HTMLChakraProps<"div", ArkPopover.ContentBaseProps> {
|
26 | }
|
27 | export declare const PopoverContent: import("react").ForwardRefExoticComponent<PopoverContentProps & import("react").RefAttributes<HTMLDivElement>>;
|
28 | export interface PopoverArrowProps extends HTMLChakraProps<"div", ArkPopover.ArrowBaseProps> {
|
29 | }
|
30 | export declare const PopoverArrow: import("react").ForwardRefExoticComponent<PopoverArrowProps & import("react").RefAttributes<HTMLDivElement>>;
|
31 | export interface PopoverArrowTipProps extends HTMLChakraProps<"div", ArkPopover.ArrowTipBaseProps> {
|
32 | }
|
33 | export declare const PopoverArrowTip: import("react").ForwardRefExoticComponent<PopoverArrowTipProps & import("react").RefAttributes<HTMLDivElement>>;
|
34 | export interface PopoverCloseTriggerProps extends HTMLChakraProps<"button", ArkPopover.CloseTriggerBaseProps> {
|
35 | }
|
36 | export declare const PopoverCloseTrigger: import("react").ForwardRefExoticComponent<PopoverCloseTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
37 | export interface PopoverIndicatorProps extends HTMLChakraProps<"div", ArkPopover.IndicatorBaseProps> {
|
38 | }
|
39 | export declare const PopoverIndicator: import("react").ForwardRefExoticComponent<PopoverIndicatorProps & import("react").RefAttributes<HTMLDivElement>>;
|
40 | export interface PopoverTitleProps extends HTMLChakraProps<"div", ArkPopover.TitleBaseProps> {
|
41 | }
|
42 | export declare const PopoverTitle: import("react").ForwardRefExoticComponent<PopoverTitleProps & import("react").RefAttributes<HTMLDivElement>>;
|
43 | export interface PopoverDescriptionProps extends HTMLChakraProps<"div", ArkPopover.DescriptionBaseProps> {
|
44 | }
|
45 | export declare const PopoverDescription: import("react").ForwardRefExoticComponent<PopoverDescriptionProps & import("react").RefAttributes<HTMLDivElement>>;
|
46 | export interface PopoverFooterProps extends HTMLChakraProps<"footer"> {
|
47 | }
|
48 | export declare const PopoverFooter: import("react").ForwardRefExoticComponent<PopoverFooterProps & import("react").RefAttributes<HTMLDivElement>>;
|
49 | export interface PopoverHeaderProps extends HTMLChakraProps<"div", ArkPopover.TitleBaseProps> {
|
50 | }
|
51 | export declare const PopoverHeader: import("react").ForwardRefExoticComponent<PopoverHeaderProps & import("react").RefAttributes<HTMLDivElement>>;
|
52 | export interface PopoverBodyProps extends HTMLChakraProps<"div"> {
|
53 | }
|
54 | export declare const PopoverBody: import("react").ForwardRefExoticComponent<PopoverBodyProps & import("react").RefAttributes<HTMLDivElement>>;
|
55 | export interface PopoverAnchorProps extends HTMLChakraProps<"div", ArkPopover.AnchorBaseProps> {
|
56 | }
|
57 | export declare const PopoverAnchor: import("react").ForwardRefExoticComponent<PopoverAnchorProps & import("react").RefAttributes<HTMLDivElement>>;
|
58 | export declare const PopoverContext: (props: ArkPopover.ContextProps) => import("react").ReactNode;
|
59 | export interface PopoverOpenChangeDetails extends ArkPopover.OpenChangeDetails {
|
60 | }
|