@uiw/react-color-saturation
Advanced tools
Comparing version 0.0.2 to 0.0.3
import React from 'react'; | ||
import { HsvaColor } from '@uiw/color-convert'; | ||
export * from '@uiw/color-convert'; | ||
export interface ColorSaturationProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'> { | ||
export interface SaturationProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'> { | ||
prefixCls?: string; | ||
@@ -10,3 +10,3 @@ /** hsva => `{ h: 0, s: 75, v: 82, a: 1 }` */ | ||
} | ||
declare const _default: React.ForwardRefExoticComponent<ColorSaturationProps & React.RefAttributes<HTMLDivElement>>; | ||
declare const _default: React.ForwardRefExoticComponent<SaturationProps & React.RefAttributes<HTMLDivElement>>; | ||
export default _default; |
@@ -97,2 +97,2 @@ "use strict"; | ||
exports.default = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9pbmRleC50c3giXSwibmFtZXMiOlsiUmVhY3QiLCJmb3J3YXJkUmVmIiwicHJvcHMiLCJyZWYiLCJwcmVmaXhDbHMiLCJjbGFzc05hbWUiLCJzdHlsZSIsImhzdmEiLCJvbkNoYW5nZSIsIm90aGVyIiwiY29udGFpbmVyU3R5bGUiLCJ3aWR0aCIsImhlaWdodCIsInBvc2l0aW9uIiwiYmFja2dyb3VuZENvbG9yIiwiaCIsImhhbmRsZUNoYW5nZSIsImludGVyYWN0aW9uIiwiZXZlbnQiLCJzIiwibGVmdCIsInYiLCJ0b3AiLCJhIiwiaW5zZXQiLCJiYWNrZ3JvdW5kIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7O0FBQUE7O0FBQ0E7O0FBSUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTs7QUFIQTs7QUFDQTs7Ozs0QkFXZUEsZUFBTUMsVUFBTixDQUF1RCxVQUFDQyxLQ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nNvbHV0ZScsXG4gICAgICAgICAgfX1cbiAgICAgICAgPlxuICAgICAgICAgIDxkaXZcbiAgICAgICAgICAgIHN0eWxlPXt7XG4gICAgICAgICAgICAgIGluc2V0OiAwLFxuICAgICAgICAgICAgICBiYWNrZ3JvdW5kOiAnbGluZWFyLWdyYWRpZW50KHRvIHRvcCwgcmdiKDAsIDAsIDApLCByZ2JhKDAsIDAsIDAsIDApKScsXG4gICAgICAgICAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgICAgICAgfX1cbiAgICAgICAgICA+XG4gICAgICAgICAgICA8UG9pbnRlciBwcmVmaXhDbHM9e3ByZWZpeENsc30gdG9wPXtgJHsxMDAgLSBoc3ZhLnZ9JWB9IGxlZnQ9e2Ake2hzdmEuc30lYH0gY29sb3I9e2hzdmFUb0hzbGFTdHJpbmcoaHN2YSl9IC8+XG4gICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvZGl2PlxuICAgICAgPC9JbnRlcmFjdGl2ZT5cbiAgICA8L2Rpdj5cbiAgKTtcbn0pO1xuIl19 |
import React from 'react'; | ||
import { HsvaColor } from '@uiw/color-convert'; | ||
export * from '@uiw/color-convert'; | ||
export interface ColorSaturationProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'> { | ||
export interface SaturationProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'> { | ||
prefixCls?: string; | ||
@@ -10,3 +10,3 @@ /** hsva => `{ h: 0, s: 75, v: 82, a: 1 }` */ | ||
} | ||
declare const _default: React.ForwardRefExoticComponent<ColorSaturationProps & React.RefAttributes<HTMLDivElement>>; | ||
declare const _default: React.ForwardRefExoticComponent<SaturationProps & React.RefAttributes<HTMLDivElement>>; | ||
export default _default; |
@@ -67,2 +67,2 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
}); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyY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N2YS5oLFxuICAgICAgICBzOiBpbnRlcmFjdGlvbi5sZWZ0ICogMTAwLFxuICAgICAgICB2OiAoMSAtIGludGVyYWN0aW9uLnRvcCkgKiAxMDAsXG4gICAgICAgIGE6IGhzdmEuYSxcbiAgICAgICAgLy8gc291cmNlOiAnaHN2JyxcbiAgICAgIH0pO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPGRpdiBjbGFzc05hbWU9e2Ake3ByZWZpeENsc30gJHtjbGFzc05hbWUgfHwgJyd9YH0gc3R5bGU9e2NvbnRhaW5lclN0eWxlfSByZWY9e3JlZn0gey4uLm90aGVyfT5cbiAgICAgIDxJbnRlcmFjdGl2ZVxuICAgICAgICBzdHlsZT17e1xuICAgICAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgICAgIGluc2V0OiAwLFxuICAgICAgICB9fVxuICAgICAgICBvbk1vdmU9e2hhbmRsZUNoYW5nZX1cbiAgICAgICAgb25Eb3duPXtoYW5kbGVDaGFuZ2V9XG4gICAgICA+XG4gICAgICAgIDxkaXZcbiAgICAgICAgICBzdHlsZT17e1xuICAgICAgICAgICAgaW5zZXQ6IDAsXG4gICAgICAgICAgICBiYWNrZ3JvdW5kOiAnbGluZWFyLWdyYWRpZW50KHRvIHJpZ2h0LCByZ2IoMjU1LCAyNTUsIDI1NSksIHJnYmEoMjU1LCAyNTUsIDI1NSwgMCkpJyxcbiAgICAgICAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgICAgIH19XG4gICAgICAgID5cbiAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICBzdHlsZT17e1xuICAgICAgICAgICAgICBpbnNldDogMCxcbiAgICAgICAgICAgICAgYmFja2dyb3VuZDogJ2xpbmVhci1ncmFkaWVudCh0byB0b3AsIHJnYigwLCAwLCAwKSwgcmdiYSgwLCAwLCAwLCAwKSknLFxuICAgICAgICAgICAgICBwb3NpdGlvbjogJ2Fic29sdXRlJyxcbiAgICAgICAgICAgIH19XG4gICAgICAgICAgPlxuICAgICAgICAgICAgPFBvaW50ZXIgcHJlZml4Q2xzPXtwcmVmaXhDbHN9IHRvcD17YCR7MTAwIC0gaHN2YS52fSVgfSBsZWZ0PXtgJHtoc3ZhLnN9JWB9IGNvbG9yPXtoc3ZhVG9Ic2xhU3RyaW5nKGhzdmEpfSAvPlxuICAgICAgICAgIDwvZGl2PlxuICAgICAgICA8L2Rpdj5cbiAgICAgIDwvSW50ZXJhY3RpdmU+XG4gICAgPC9kaXY+XG4gICk7XG59KTtcbiJdfQ== |
{ | ||
"name": "@uiw/react-color-saturation", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Color Saturation", | ||
@@ -8,2 +8,6 @@ "author": "Kenny Wong <wowohoo@qq.com>", | ||
"module": "lib/esm/index.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/uiwjs/react-color.git" | ||
}, | ||
"keywords": [ | ||
@@ -28,4 +32,4 @@ "react", | ||
"@babel/runtime": "7.14.6", | ||
"@uiw/color-convert": "^0.0.2", | ||
"@uiw/react-drag-event-interactive": "^0.0.2" | ||
"@uiw/color-convert": "^0.0.3", | ||
"@uiw/react-drag-event-interactive": "^0.0.3" | ||
}, | ||
@@ -40,3 +44,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "9505befd9da79920b371501b8cf2a320f3ab70c7" | ||
"gitHead": "9989b5d8f5938809c207ecd7a0bf34b50f131404" | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
32239
0
0
13
+ Added@uiw/color-convert@0.0.3(transitive)
+ Added@uiw/react-drag-event-interactive@0.0.3(transitive)
- Removed@uiw/color-convert@0.0.2(transitive)
- Removed@uiw/react-drag-event-interactive@0.0.2(transitive)
Updated@uiw/color-convert@^0.0.3