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

@uiw/react-color-compact

Package Overview
Dependencies
Maintainers
2
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 1.2.4 to 1.3.0

20

cjs/index.js

@@ -60,13 +60,15 @@ "use strict";

};
var wrapperStyle = (0, _objectSpread2["default"])({
'--compact-background-color': '#f6f6f6',
background: 'var(--compact-background-color)',
borderRadius: 3,
display: 'flex',
width: 240,
flexWrap: 'wrap',
paddingTop: 5,
paddingLeft: 5
}, style);
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", (0, _objectSpread2["default"])((0, _objectSpread2["default"])({
ref: ref,
style: (0, _objectSpread2["default"])({
background: '#f6f6f6',
borderRadius: 3,
display: 'flex',
width: 240,
flexWrap: 'wrap',
paddingTop: 5,
paddingLeft: 5
}, style),
style: wrapperStyle,
className: [prefixCls, className || ''].filter(Boolean).join(' ')

@@ -73,0 +75,0 @@ }, other), {}, {

@@ -51,13 +51,15 @@ import _extends from "@babel/runtime/helpers/extends";

};
var wrapperStyle = _extends({
'--compact-background-color': '#f6f6f6',
background: 'var(--compact-background-color)',
borderRadius: 3,
display: 'flex',
width: 240,
flexWrap: 'wrap',
paddingTop: 5,
paddingLeft: 5
}, style);
return /*#__PURE__*/_jsxs("div", _extends({
ref: ref,
style: _extends({
background: '#f6f6f6',
borderRadius: 3,
display: 'flex',
width: 240,
flexWrap: 'wrap',
paddingTop: 5,
paddingLeft: 5
}, style),
style: wrapperStyle,
className: [prefixCls, className || ''].filter(Boolean).join(' ')

@@ -64,0 +66,0 @@ }, other, {

{
"name": "@uiw/react-color-compact",
"version": "1.2.4",
"version": "1.3.0",
"description": "Color Compact component for React.",

@@ -38,6 +38,6 @@ "homepage": "https://uiwjs.github.io/react-color/#/compact",

"dependencies": {
"@uiw/color-convert": "1.2.4",
"@uiw/react-color-editable-input": "1.2.4",
"@uiw/react-color-editable-input-rgba": "1.2.4",
"@uiw/react-color-swatch": "1.2.4"
"@uiw/color-convert": "1.3.0",
"@uiw/react-color-editable-input": "1.3.0",
"@uiw/react-color-editable-input-rgba": "1.3.0",
"@uiw/react-color-swatch": "1.3.0"
},

@@ -44,0 +44,0 @@ "devDependencies": {

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