react-best-gradient-color-picker
Advanced tools
Comparing version 3.0.6-beta.7 to 3.0.6-beta.8
@@ -28,3 +28,3 @@ import React from 'react'; | ||
}; | ||
export declare function ColorPicker({ value, onChange, hideControls, hideInputs, hideOpacity, hidePresets, hideHue, presets, hideEyeDrop, hideAdvancedSliders, hideColorGuide, hideInputType, hideColorTypeBtns, hideGradientType, hideGradientAngle, hideGradientStop, hideGradientControls, locales, disableDarkMode, width, height, style, className, }: ColorPickerProps): React.JSX.Element; | ||
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 {}; |
@@ -36,3 +36,3 @@ "use strict"; | ||
const core_module_css_1 = __importDefault(require("../core.module.css")); | ||
function ColorPicker({ value = 'rgba(175, 51, 242, 1)', onChange, hideControls = false, hideInputs = false, hideOpacity = false, hidePresets = false, hideHue = false, presets = [], hideEyeDrop = false, hideAdvancedSliders = false, hideColorGuide = false, hideInputType = false, hideColorTypeBtns = false, hideGradientType = false, hideGradientAngle = false, hideGradientStop = false, hideGradientControls = false, locales = constants_js_1.defaultLocales, disableDarkMode = false, width = 294, height = 294, style = {}, className, }) { | ||
function ColorPicker({ value = 'rgba(175, 51, 242, 1)', onChange, hideControls = false, hideInputs = false, hideOpacity = false, hidePresets = false, hideHue = false, presets = [], hideEyeDrop = false, hideAdvancedSliders = false, hideColorGuide = false, hideInputType = false, hideColorTypeBtns = false, hideGradientType = false, hideGradientAngle = false, hideGradientStop = false, hideGradientControls = false, locales = constants_js_1.defaultLocales, width = 294, height = 294, style = {}, className, }) { | ||
const safeValue = (0, utils_js_1.objectToString)(value); | ||
@@ -39,0 +39,0 @@ const contRef = (0, react_1.useRef)(null); |
@@ -28,3 +28,3 @@ import React from 'react'; | ||
}; | ||
export declare function ColorPicker({ value, onChange, hideControls, hideInputs, hideOpacity, hidePresets, hideHue, presets, hideEyeDrop, hideAdvancedSliders, hideColorGuide, hideInputType, hideColorTypeBtns, hideGradientType, hideGradientAngle, hideGradientStop, hideGradientControls, locales, disableDarkMode, width, height, style, className, }: ColorPickerProps): React.JSX.Element; | ||
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 {}; |
@@ -7,3 +7,3 @@ import React, { useRef } from 'react'; | ||
import coreCss from '../core.module.css'; | ||
export function ColorPicker({ value = 'rgba(175, 51, 242, 1)', onChange, hideControls = false, hideInputs = false, hideOpacity = false, hidePresets = false, hideHue = false, presets = [], hideEyeDrop = false, hideAdvancedSliders = false, hideColorGuide = false, hideInputType = false, hideColorTypeBtns = false, hideGradientType = false, hideGradientAngle = false, hideGradientStop = false, hideGradientControls = false, locales = defaultLocales, disableDarkMode = false, width = 294, height = 294, style = {}, className, }) { | ||
export function ColorPicker({ value = 'rgba(175, 51, 242, 1)', onChange, hideControls = false, hideInputs = false, hideOpacity = false, hidePresets = false, hideHue = false, presets = [], hideEyeDrop = false, hideAdvancedSliders = false, hideColorGuide = false, hideInputType = false, hideColorTypeBtns = false, hideGradientType = false, hideGradientAngle = false, hideGradientStop = false, hideGradientControls = false, locales = defaultLocales, width = 294, height = 294, style = {}, className, }) { | ||
const safeValue = objectToString(value); | ||
@@ -10,0 +10,0 @@ const contRef = useRef(null); |
{ | ||
"name": "react-best-gradient-color-picker", | ||
"version": "3.0.6-beta.07", | ||
"version": "3.0.6-beta.08", | ||
"description": "An easy to use color/gradient picker for React.js", | ||
@@ -60,4 +60,2 @@ "type": "module", | ||
"lodash.throttle": "^4.1.1", | ||
"prop-types": "^15.6.0", | ||
"react-jss": "^10.10.0", | ||
"tinycolor2": "1.4.2" | ||
@@ -64,0 +62,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
6
9917
374068
- Removedprop-types@^15.6.0
- Removedreact-jss@^10.10.0
- Removed@babel/runtime@7.26.0(transitive)
- Removed@emotion/is-prop-valid@0.7.3(transitive)
- Removed@emotion/memoize@0.7.1(transitive)
- Removedcss-jss@10.10.0(transitive)
- Removedcss-vendor@2.0.8(transitive)
- Removedhoist-non-react-statics@3.3.2(transitive)
- Removedhyphenate-style-name@1.1.0(transitive)
- Removedis-in-browser@1.1.3(transitive)
- Removedjss@10.10.0(transitive)
- Removedjss-plugin-camel-case@10.10.0(transitive)
- Removedjss-plugin-compose@10.10.0(transitive)
- Removedjss-plugin-default-unit@10.10.0(transitive)
- Removedjss-plugin-expand@10.10.0(transitive)
- Removedjss-plugin-extend@10.10.0(transitive)
- Removedjss-plugin-global@10.10.0(transitive)
- Removedjss-plugin-nested@10.10.0(transitive)
- Removedjss-plugin-props-sort@10.10.0(transitive)
- Removedjss-plugin-rule-value-function@10.10.0(transitive)
- Removedjss-plugin-rule-value-observable@10.10.0(transitive)
- Removedjss-plugin-template@10.10.0(transitive)
- Removedjss-plugin-vendor-prefixer@10.10.0(transitive)
- Removedjss-preset-default@10.10.0(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedprop-types@15.8.1(transitive)
- Removedreact-display-name@0.2.5(transitive)
- Removedreact-is@16.13.1(transitive)
- Removedreact-jss@10.10.0(transitive)
- Removedregenerator-runtime@0.14.1(transitive)
- Removedshallow-equal@1.2.1(transitive)
- Removedsymbol-observable@1.2.0(transitive)
- Removedtheming@3.3.0(transitive)
- Removedtiny-warning@1.0.3(transitive)