import type { AllowedFlexProps } from "../../stitches/shared/getFlexProps"; import type { AllowedFontProps } from "../../stitches/shared/getFontProps"; import type { AllowedHeightProps } from "../../stitches/shared/getHeightProps"; import type { AllowedMarginProps } from "../../stitches/shared/getMarginProps"; import type { AllowedPaddingProps } from "../../stitches/shared/getPaddingProps"; import type { ShapeProp } from "../../stitches/shared/getShapesVariants"; import type { AllowedTextProps } from "../../stitches/shared/getTextProps"; import type { TransitionsProp } from "../../stitches/shared/getTransitionVariants"; import type { AllowedWidthProps } from "../../stitches/shared/getWidthProps"; import type { BreakpointProperty, DefaultProps, SizeProp, SvelteAnimationsEasing, SvelteAnimationTypes } from "../../stitches/stitches.types"; import type { KabukiUIColors } from "../../stitches/theme/common/commonColors"; import type { LiteralUnion } from "../../types/LiteralUnion"; import type { HTMLAttributes } from "svelte/elements"; import type { PopoverVariantProp } from "./propFunctions/getPopoverVariants"; export type PopoverProps = HTMLAttributes & DefaultProps & AllowedMarginProps & AllowedPaddingProps & AllowedFlexProps & AllowedWidthProps & AllowedHeightProps & AllowedTextProps & AllowedFontProps & { content?: any; bgColor?: BreakpointProperty>; open?: boolean | null; spacing?: BreakpointProperty; spacingHover?: BreakpointProperty; zIndex?: BreakpointProperty; arrow?: boolean; arrowSize?: BreakpointProperty; position?: BreakpointProperty; transition?: TransitionsProp; shape?: ShapeProp; size?: SizeProp; variant?: PopoverVariantProp; backdrop?: boolean; backdropAnimation?: SvelteAnimationTypes; backdropAnimationDuration?: number; backdropAnimationDelay?: number; backdropAnimationEasing?: SvelteAnimationsEasing; backdropColor?: BreakpointProperty>; backdropZIndex?: BreakpointProperty; }; export type PopoverPositions = "topLeft" | "topCenter" | "topRight" | "leftCenter" | "leftTop" | "leftBottom" | "rightCenter" | "rightTop" | "rightBottom" | "bottomLeft" | "bottomCenter" | "bottomRight";