import type { IDisableableProps } from '../../../Behaviors/Disableable'; import type { IDropDownableProps } from '../../../Behaviors/DropDownable'; import type { IThemeableProps } from '../../../Behaviors/Themeable'; import type { IValueableProps } from '../../../Behaviors/Valueable'; import type { ColorEditorFormat } from '../../../Types/ColorEditorFormat'; import type { IColorPalette } from '../ColorEditor/IColorPalette'; /** * Represents the `IColorPickerElementProps` interface. * * @public */ export interface IColorPickerElementProps extends IValueableProps, IDropDownableProps, IDisableableProps, IThemeableProps { /** * Gets or sets the color value. */ value: string | null; /** * Gets or sets the color format for the inputs. * * @default 'hex' */ format: ColorEditorFormat; /** * Gets or sets whether to show the alpha slider and input. * * @default true */ showAlpha: boolean; /** * Gets or sets whether to show the color inputs (hex/rgb/hsl fields). * * @default true */ showInputs: boolean; /** * Gets or sets whether to show the palette section. * * @default true */ showPalette: boolean; /** * Gets or sets whether to show the eye dropper button. * * @default false */ showEyeDropper: boolean; /** * Gets or sets whether to show the color swatch preview. * * @default true */ showSwatch: boolean; /** * Gets or sets the available color palettes. */ palettes: Array; /** * Gets or sets the currently selected palette name. */ selectedPalette: string; } //# sourceMappingURL=IColorPickerElementProps.d.ts.map