UNPKG

@cerberus-design/styled-system

Version:

Cerberus Design System Panda-CSS styled-system.

28 lines (21 loc) 1.32 kB
/* eslint-disable */ import type { ConditionalValue } from '../types/index'; import type { DistributiveOmit, Pretty } from '../types/system-types'; interface DatePickerVariant { } type DatePickerVariantMap = { [key in keyof DatePickerVariant]: Array<DatePickerVariant[key]> } export type DatePickerVariantProps = { [key in keyof DatePickerVariant]?: ConditionalValue<DatePickerVariant[key]> | undefined } export interface DatePickerRecipe { __type: DatePickerVariantProps (props?: DatePickerVariantProps): Pretty<Record<"root" | "label" | "clearTrigger" | "content" | "control" | "input" | "monthSelect" | "nextTrigger" | "positioner" | "prevTrigger" | "rangeText" | "table" | "tableBody" | "tableCell" | "tableCellTrigger" | "tableHead" | "tableHeader" | "tableRow" | "trigger" | "viewTrigger" | "viewControl" | "yearSelect" | "presetTrigger" | "view", string>> raw: (props?: DatePickerVariantProps) => DatePickerVariantProps variantMap: DatePickerVariantMap variantKeys: Array<keyof DatePickerVariant> splitVariantProps<Props extends DatePickerVariantProps>(props: Props): [DatePickerVariantProps, Pretty<DistributiveOmit<Props, keyof DatePickerVariantProps>>] getVariantProps: (props?: DatePickerVariantProps) => DatePickerVariantProps } export declare const datePicker: DatePickerRecipe