Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-best-gradient-color-picker

Package Overview
Dependencies
Maintainers
1
Versions
224
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-best-gradient-color-picker - npm Package Compare versions

Comparing version 3.0.8-beta-1 to 3.0.8-beta-2

28

dist/cjs/components/index.d.ts
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 {};

2

dist/cjs/index.d.ts
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc