UNPKG

ui-ingredients

Version:

Headless component library for Svelte powered by zag

14 lines (13 loc) 1.06 kB
import type { AreaProps, ChannelProps, ColorFormat, SwatchProps } from '@zag-js/color-picker'; import type { CreateColorPickerReturn } from './create-color-picker.svelte.js'; export declare const getColorPickerContext: () => CreateColorPickerReturn, setColorPickerContext: (context: CreateColorPickerReturn | (() => CreateColorPickerReturn)) => void; export declare const getColorPickerAreaPropsContext: () => AreaProps, setColorPickerAreaPropsContext: (context: AreaProps | (() => AreaProps)) => void; export declare const getColorPickerSwatchPropsContext: () => SwatchProps, setColorPickerSwatchPropsContext: (context: SwatchProps | (() => SwatchProps)) => void; export declare const getColorPickerFormatPropsContext: () => { format: ColorFormat; } | undefined, setColorPickerFormatPropsContext: (context: { format: ColorFormat; } | (() => { format: ColorFormat; })) => void; export declare const getColorPickerChannelPropsContext: () => ChannelProps, setColorPickerChannelPropsContext: (context: ChannelProps | (() => ChannelProps)) => void;