Socket
Socket
Sign inDemoInstall

@unlimited-react-components/material-button

Package Overview
Dependencies
8
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.9 to 1.0.10

27

build/index.es.js

@@ -789,18 +789,17 @@ function ___$insertStyle(css) {

};
/* useEffect(() => {
// ...
handleInserStyle(variant, disabled, color, textColor, className, text);
return () =>removeStyle(idStyles);;
}); */
useEffect(function () {
// ...
//handleInserStyle(variant, disabled, color, textColor);
return function () { return removeStyle(idStyles); };
// eslint-disable-next-line
}, [idStyles]);
useEffect(function () {
//removeStyle(idStyles);
handleInserStyle(variant, disabled, color, textColor, className, text);
return function () { return removeStyle(idStyles); };
});
/* useEffect(() => {
//handleInserStyle(variant, disabled, color, textColor);
return () => removeStyle(idStyles);
// eslint-disable-next-line
}, [idStyles]);
useEffect(() => {
removeStyle(idStyles);
handleInserStyle(variant, disabled, color, textColor, className, text);
// eslint-disable-next-line
}, [variant, disabled, color, textColor, className, text]); */
// eslint-disable-next-line
}, [variant, disabled, color, textColor, className, text]);
//references

@@ -807,0 +806,0 @@ var btn_ref = useRef(null);

@@ -799,18 +799,17 @@ 'use strict';

};
/* useEffect(() => {
// ...
handleInserStyle(variant, disabled, color, textColor, className, text);
return () =>removeStyle(idStyles);;
}); */
React.useEffect(function () {
// ...
//handleInserStyle(variant, disabled, color, textColor);
return function () { return removeStyle(idStyles); };
// eslint-disable-next-line
}, [idStyles]);
React.useEffect(function () {
//removeStyle(idStyles);
handleInserStyle(variant, disabled, color, textColor, className, text);
return function () { return removeStyle(idStyles); };
});
/* useEffect(() => {
//handleInserStyle(variant, disabled, color, textColor);
return () => removeStyle(idStyles);
// eslint-disable-next-line
}, [idStyles]);
useEffect(() => {
removeStyle(idStyles);
handleInserStyle(variant, disabled, color, textColor, className, text);
// eslint-disable-next-line
}, [variant, disabled, color, textColor, className, text]); */
// eslint-disable-next-line
}, [variant, disabled, color, textColor, className, text]);
//references

@@ -817,0 +816,0 @@ var btn_ref = React.useRef(null);

{
"name": "@unlimited-react-components/material-button",
"version": "1.0.9",
"version": "1.0.10",
"description": "Independant Material Button from Material Design built from 0",

@@ -5,0 +5,0 @@ "main": "./build/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc