Socket
Socket
Sign inDemoInstall

@uiw/react-color-material

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-material - npm Package Compare versions

Comparing version 1.2.4 to 1.3.0

22

cjs/index.js

@@ -19,3 +19,3 @@ "use strict";

borderWidth: '0 0 1px 0',
borderBottomColor: '#eee',
borderBottomColor: 'var(--material-border-bottom-color)',
borderBottomStyle: 'solid',

@@ -45,11 +45,14 @@ height: 30,

};
var styleWrapper = (0, _objectSpread2["default"])({
'--material-border-bottom-color': '#eee',
'--material-background-color': '#fff',
padding: 16,
width: 98,
fontFamily: 'Roboto',
backgroundColor: 'var(--material-background-color)'
}, style);
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", (0, _objectSpread2["default"])((0, _objectSpread2["default"])({
ref: ref,
className: [prefixCls, className || ''].filter(Boolean).join(' '),
style: (0, _objectSpread2["default"])({
padding: 16,
width: 98,
fontFamily: 'Roboto',
backgroundColor: '#fff'
}, style)
style: styleWrapper
}, other), {}, {

@@ -75,4 +78,5 @@ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactColorEditableInput["default"], {

borderWidth: '0 0 2px 0',
borderBottomColor: hex ? "#".concat(hex) : '#eee',
borderBottomStyle: 'solid'
borderBottomColor: hex ? "#".concat(hex) : 'var(--material-border-bottom-color)',
borderBottomStyle: 'solid',
background: 'transparent'
},

@@ -79,0 +83,0 @@ style: {

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

borderWidth: '0 0 1px 0',
borderBottomColor: '#eee',
borderBottomColor: 'var(--material-border-bottom-color)',
borderBottomStyle: 'solid',

@@ -40,11 +40,14 @@ height: 30,

};
var styleWrapper = _extends({
'--material-border-bottom-color': '#eee',
'--material-background-color': '#fff',
padding: 16,
width: 98,
fontFamily: 'Roboto',
backgroundColor: 'var(--material-background-color)'
}, style);
return /*#__PURE__*/_jsxs("div", _extends({
ref: ref,
className: [prefixCls, className || ''].filter(Boolean).join(' '),
style: _extends({
padding: 16,
width: 98,
fontFamily: 'Roboto',
backgroundColor: '#fff'
}, style)
style: styleWrapper
}, other, {

@@ -68,4 +71,5 @@ children: [/*#__PURE__*/_jsx(EditableInput, {

borderWidth: '0 0 2px 0',
borderBottomColor: hex ? "#" + hex : '#eee',
borderBottomStyle: 'solid'
borderBottomColor: hex ? "#" + hex : 'var(--material-border-bottom-color)',
borderBottomStyle: 'solid',
background: 'transparent'
},

@@ -72,0 +76,0 @@ style: {

{
"name": "@uiw/react-color-material",
"version": "1.2.4",
"version": "1.3.0",
"description": "Color Material",

@@ -38,5 +38,5 @@ "author": "Kenny Wong <wowohoo@qq.com>",

"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/color-convert": "1.3.0",
"@uiw/react-color-editable-input": "1.3.0",
"@uiw/react-color-editable-input-rgba": "1.3.0"
},

@@ -43,0 +43,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