@devseed-ui/button
Advanced tools
Comparing version 1.0.1 to 1.1.0
{ | ||
"name": "@devseed-ui/button", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"description": "devseed UI Kit Button", | ||
@@ -16,4 +16,5 @@ "browser": "./dist/index.web.js", | ||
"@devseed-ui/base": "^1.0.6", | ||
"@devseed-ui/helpers": "^3.1.0" | ||
"@devseed-ui/helpers": "^3.1.0", | ||
"@devseed-ui/theme": "^1.0.2" | ||
} | ||
} |
@@ -7,3 +7,3 @@ import React from 'react'; | ||
import theme from '../../theme/src'; | ||
import theme from '@devseed-ui/theme'; | ||
import Button from '../src'; | ||
@@ -10,0 +10,0 @@ |
@@ -7,4 +7,5 @@ /* eslint-disable no-unused-vars */ | ||
import { antialiased, visuallyHidden, disabled } from '../../helpers/src'; | ||
import { themeVal } from '../../base/src'; | ||
import { antialiased, visuallyHidden, disabled } from '@devseed-ui/helpers'; | ||
import { themeVal } from '@devseed-ui/base'; | ||
import defaultTheme from '@devseed-ui/theme'; | ||
@@ -197,2 +198,6 @@ // eslint-disable-next-line react/display-name | ||
Button.defaultProps = { | ||
theme: defaultTheme.main, | ||
}; | ||
export default Button; | ||
@@ -199,0 +204,0 @@ |
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
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
1
0
17084
3
4
513
+ Added@devseed-ui/theme@^1.0.2
+ Added@devseed-ui/theme@1.5.5(transitive)