@uiw/react-color-swatch
Advanced tools
Comparing version 1.1.2 to 1.1.3
import React from 'react'; | ||
import { HsvaColor } from '@uiw/color-convert'; | ||
export declare type SwatchPresetColor = { | ||
export type SwatchPresetColor = { | ||
color: string; | ||
title?: string; | ||
} | string; | ||
export declare type SwatchRectRenderProps = { | ||
export type SwatchRectRenderProps = { | ||
key: string | number; | ||
@@ -9,0 +9,0 @@ title: string; |
@@ -101,3 +101,2 @@ "use strict"; | ||
exports["default"] = _default; | ||
module.exports = exports.default; | ||
//# sourceMappingURL=index.js.map | ||
module.exports = exports.default; |
import React from 'react'; | ||
import { HsvaColor } from '@uiw/color-convert'; | ||
export declare type SwatchPresetColor = { | ||
export type SwatchPresetColor = { | ||
color: string; | ||
title?: string; | ||
} | string; | ||
export declare type SwatchRectRenderProps = { | ||
export type SwatchRectRenderProps = { | ||
key: string | number; | ||
@@ -9,0 +9,0 @@ title: string; |
@@ -87,3 +87,2 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
Swatch.displayName = 'Swatch'; | ||
export default Swatch; | ||
//# sourceMappingURL=index.js.map | ||
export default Swatch; |
{ | ||
"name": "@uiw/react-color-swatch", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "Color swatch component for React.", | ||
@@ -15,4 +15,4 @@ "homepage": "https://uiwjs.github.io/react-color/#/swatch", | ||
"scripts": { | ||
"build": "tsbb build", | ||
"watch": "tsbb watch" | ||
"build": "tsbb build src/*.tsx --use-babel --cjs cjs", | ||
"watch": "tsbb watch src/*.tsx --use-babel --cjs cjs" | ||
}, | ||
@@ -34,2 +34,3 @@ "keywords": [ | ||
"peerDependencies": { | ||
"@babel/runtime": ">=7.19.0", | ||
"react": ">=16.9.0", | ||
@@ -39,5 +40,7 @@ "react-dom": ">=16.9.0" | ||
"dependencies": { | ||
"@babel/runtime": "~7.19.0", | ||
"@uiw/color-convert": "1.1.2" | ||
"@uiw/color-convert": "1.1.3" | ||
}, | ||
"devDependencies": { | ||
"@babel/runtime": "^7.21.0" | ||
} | ||
} |
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
15613
1
7
349
13
+ Added@babel/runtime@7.26.0(transitive)
+ Added@uiw/color-convert@1.1.3(transitive)
+ Addedregenerator-runtime@0.14.1(transitive)
- Removed@babel/runtime@~7.19.0
- Removed@babel/runtime@7.19.4(transitive)
- Removed@uiw/color-convert@1.1.2(transitive)
- Removedregenerator-runtime@0.13.11(transitive)
Updated@uiw/color-convert@1.1.3