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

@uiw/react-color-swatch

Package Overview
Dependencies
Maintainers
2
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uiw/react-color-swatch - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

4

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

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