popover.d.ts•1.1 kB
/* eslint-disable */
import type { ConditionalValue } from '../types/index';
import type { DistributiveOmit, Pretty } from '../types/system-types';
interface PopoverVariant {
}
type PopoverVariantMap = {
[key in keyof PopoverVariant]: Array<PopoverVariant[key]>
}
type PopoverSlot = "arrow" | "arrowTip" | "anchor" | "trigger" | "indicator" | "positioner" | "content" | "title" | "description" | "closeTrigger"
export type PopoverVariantProps = {
[key in keyof PopoverVariant]?: ConditionalValue<PopoverVariant[key]> | undefined
}
export interface PopoverRecipe {
__slot: PopoverSlot
__type: PopoverVariantProps
(props?: PopoverVariantProps): Pretty<Record<PopoverSlot, string>>
raw: (props?: PopoverVariantProps) => PopoverVariantProps
variantMap: PopoverVariantMap
variantKeys: Array<keyof PopoverVariant>
splitVariantProps<Props extends PopoverVariantProps>(props: Props): [PopoverVariantProps, Pretty<DistributiveOmit<Props, keyof PopoverVariantProps>>]
getVariantProps: (props?: PopoverVariantProps) => PopoverVariantProps
}
export declare const popover: PopoverRecipe