UNPKG

2.59 kBTypeScriptView Raw
1import type { Assign } from "@ark-ui/react";
2import { HoverCard as ArkHoverCard } from "@ark-ui/react/hover-card";
3import { type HTMLChakraProps, type SlotRecipeProps, type UnstyledProp } from "../../styled-system";
4declare const useHoverCardStyles: () => Record<string, import("../..").SystemStyleObject>;
5export { useHoverCardStyles };
6export interface HoverCardRootProviderBaseProps extends Assign<ArkHoverCard.RootProviderBaseProps, SlotRecipeProps<"hoverCard">>, UnstyledProp {
7}
8export interface HoverCardRootProviderProps extends HoverCardRootProviderBaseProps {
9 children: React.ReactNode;
10}
11export declare const HoverCardRootProvider: import("react").FC<HoverCardRootProviderProps>;
12export interface HoverCardRootBaseProps extends Assign<ArkHoverCard.RootBaseProps, SlotRecipeProps<"hoverCard">>, UnstyledProp {
13}
14export interface HoverCardRootProps extends HoverCardRootBaseProps {
15 children: React.ReactNode;
16}
17export declare const HoverCardRoot: import("react").FC<HoverCardRootProps>;
18export declare const HoverCardPropsProvider: React.Provider<HoverCardRootBaseProps>;
19export interface HoverCardTriggerProps extends HTMLChakraProps<"button", ArkHoverCard.TriggerBaseProps> {
20}
21export declare const HoverCardTrigger: import("react").ForwardRefExoticComponent<HoverCardTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
22export interface HoverCardPositionerProps extends HTMLChakraProps<"div", ArkHoverCard.PositionerBaseProps> {
23}
24export declare const HoverCardPositioner: import("react").ForwardRefExoticComponent<HoverCardPositionerProps & import("react").RefAttributes<HTMLDivElement>>;
25export interface HoverCardContentProps extends HTMLChakraProps<"section", ArkHoverCard.ContentBaseProps> {
26}
27export declare const HoverCardContent: import("react").ForwardRefExoticComponent<HoverCardContentProps & import("react").RefAttributes<HTMLDivElement>>;
28export interface HoverCardArrowProps extends HTMLChakraProps<"div", ArkHoverCard.ArrowBaseProps> {
29}
30export declare const HoverCardArrow: import("react").ForwardRefExoticComponent<HoverCardArrowProps & import("react").RefAttributes<HTMLDivElement>>;
31export interface HoverCardArrowTipProps extends HTMLChakraProps<"div", ArkHoverCard.ArrowTipBaseProps> {
32}
33export declare const HoverCardArrowTip: import("react").ForwardRefExoticComponent<HoverCardArrowTipProps & import("react").RefAttributes<HTMLDivElement>>;
34export declare const HoverCardContext: (props: ArkHoverCard.ContextProps) => import("react").ReactNode;
35export interface HoverCardOpenChangeDetails extends ArkHoverCard.OpenChangeDetails {
36}