react-best-gradient-color-picker
Advanced tools
Comparing version 3.0.8-beta-1 to 3.0.8-beta-2
import React from 'react'; | ||
import { LocalesProps } from '../shared/types.js'; | ||
type ColorPickerProps = { | ||
value?: string; | ||
onChange: (value: string) => void; | ||
hideControls?: boolean; | ||
hideInputs?: boolean; | ||
hideOpacity?: boolean; | ||
hidePresets?: boolean; | ||
hideHue?: boolean; | ||
presets?: string[]; | ||
hideEyeDrop?: boolean; | ||
hideAdvancedSliders?: boolean; | ||
hideColorGuide?: boolean; | ||
hideInputType?: boolean; | ||
hideColorTypeBtns?: boolean; | ||
hideGradientType?: boolean; | ||
hideGradientAngle?: boolean; | ||
hideGradientStop?: boolean; | ||
hideGradientControls?: boolean; | ||
width?: number; | ||
height?: number; | ||
style?: {}; | ||
className?: any; | ||
locales?: LocalesProps; | ||
disableDarkMode?: boolean; | ||
}; | ||
import { ColorPickerProps } from '../shared/types.js'; | ||
export declare function ColorPicker({ value, onChange, hideControls, hideInputs, hideOpacity, hidePresets, hideHue, presets, hideEyeDrop, hideAdvancedSliders, hideColorGuide, hideInputType, hideColorTypeBtns, hideGradientType, hideGradientAngle, hideGradientStop, hideGradientControls, locales, width, height, style, className, }: ColorPickerProps): React.JSX.Element; | ||
export {}; |
import { ColorPicker } from './components/index.js'; | ||
export { useColorPicker } from './hooks/useColorPicker.js'; | ||
export type { ColorsProps, LocalesProps, GradientProps, } from './shared/types.js'; | ||
export type { ColorsProps, LocalesProps, GradientProps, ColorPickerProps } from './shared/types.js'; | ||
export default ColorPicker; |
@@ -0,1 +1,26 @@ | ||
export type ColorPickerProps = { | ||
value?: string; | ||
onChange: (value: string) => void; | ||
hideControls?: boolean; | ||
hideInputs?: boolean; | ||
hideOpacity?: boolean; | ||
hidePresets?: boolean; | ||
hideHue?: boolean; | ||
presets?: string[]; | ||
hideEyeDrop?: boolean; | ||
hideAdvancedSliders?: boolean; | ||
hideColorGuide?: boolean; | ||
hideInputType?: boolean; | ||
hideColorTypeBtns?: boolean; | ||
hideGradientType?: boolean; | ||
hideGradientAngle?: boolean; | ||
hideGradientStop?: boolean; | ||
hideGradientControls?: boolean; | ||
width?: number; | ||
height?: number; | ||
style?: {}; | ||
className?: any; | ||
locales?: LocalesProps; | ||
disableDarkMode?: boolean; | ||
}; | ||
export type ColorsProps = { | ||
@@ -2,0 +27,0 @@ value: string; |
import React from 'react'; | ||
import { LocalesProps } from '../shared/types.js'; | ||
type ColorPickerProps = { | ||
value?: string; | ||
onChange: (value: string) => void; | ||
hideControls?: boolean; | ||
hideInputs?: boolean; | ||
hideOpacity?: boolean; | ||
hidePresets?: boolean; | ||
hideHue?: boolean; | ||
presets?: string[]; | ||
hideEyeDrop?: boolean; | ||
hideAdvancedSliders?: boolean; | ||
hideColorGuide?: boolean; | ||
hideInputType?: boolean; | ||
hideColorTypeBtns?: boolean; | ||
hideGradientType?: boolean; | ||
hideGradientAngle?: boolean; | ||
hideGradientStop?: boolean; | ||
hideGradientControls?: boolean; | ||
width?: number; | ||
height?: number; | ||
style?: {}; | ||
className?: any; | ||
locales?: LocalesProps; | ||
disableDarkMode?: boolean; | ||
}; | ||
import { ColorPickerProps } from '../shared/types.js'; | ||
export declare function ColorPicker({ value, onChange, hideControls, hideInputs, hideOpacity, hidePresets, hideHue, presets, hideEyeDrop, hideAdvancedSliders, hideColorGuide, hideInputType, hideColorTypeBtns, hideGradientType, hideGradientAngle, hideGradientStop, hideGradientControls, locales, width, height, style, className, }: ColorPickerProps): React.JSX.Element; | ||
export {}; |
import { ColorPicker } from './components/index.js'; | ||
export { useColorPicker } from './hooks/useColorPicker.js'; | ||
export type { ColorsProps, LocalesProps, GradientProps, } from './shared/types.js'; | ||
export type { ColorsProps, LocalesProps, GradientProps, ColorPickerProps } from './shared/types.js'; | ||
export default ColorPicker; |
@@ -0,1 +1,26 @@ | ||
export type ColorPickerProps = { | ||
value?: string; | ||
onChange: (value: string) => void; | ||
hideControls?: boolean; | ||
hideInputs?: boolean; | ||
hideOpacity?: boolean; | ||
hidePresets?: boolean; | ||
hideHue?: boolean; | ||
presets?: string[]; | ||
hideEyeDrop?: boolean; | ||
hideAdvancedSliders?: boolean; | ||
hideColorGuide?: boolean; | ||
hideInputType?: boolean; | ||
hideColorTypeBtns?: boolean; | ||
hideGradientType?: boolean; | ||
hideGradientAngle?: boolean; | ||
hideGradientStop?: boolean; | ||
hideGradientControls?: boolean; | ||
width?: number; | ||
height?: number; | ||
style?: {}; | ||
className?: any; | ||
locales?: LocalesProps; | ||
disableDarkMode?: boolean; | ||
}; | ||
export type ColorsProps = { | ||
@@ -2,0 +27,0 @@ value: string; |
{ | ||
"name": "react-best-gradient-color-picker", | ||
"version": "3.0.8-beta-1", | ||
"version": "3.0.8-beta-2", | ||
"description": "An easy to use color/gradient picker for React.js", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -8,4 +8,5 @@ import { ColorPicker } from './components/index.js' | ||
GradientProps, | ||
ColorPickerProps | ||
} from './shared/types.js' | ||
export default ColorPicker |
@@ -0,1 +1,27 @@ | ||
export type ColorPickerProps = { | ||
value?: string | ||
onChange: (value: string) => void | ||
hideControls?: boolean | ||
hideInputs?: boolean | ||
hideOpacity?: boolean | ||
hidePresets?: boolean | ||
hideHue?: boolean | ||
presets?: string[] | ||
hideEyeDrop?: boolean | ||
hideAdvancedSliders?: boolean | ||
hideColorGuide?: boolean | ||
hideInputType?: boolean | ||
hideColorTypeBtns?: boolean | ||
hideGradientType?: boolean | ||
hideGradientAngle?: boolean | ||
hideGradientStop?: boolean | ||
hideGradientControls?: boolean | ||
width?: number | ||
height?: number | ||
style?: {} | ||
className?: any | ||
locales?: LocalesProps | ||
disableDarkMode?: boolean | ||
} | ||
export type ColorsProps = { | ||
@@ -2,0 +28,0 @@ value: string |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
374916
9942