Socket
Socket
Sign inDemoInstall

@chakra-ui/icon

Package Overview
Dependencies
Maintainers
4
Versions
435
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chakra-ui/icon - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

8

CHANGELOG.md
# Change Log
## 1.0.2
### Patch Changes
- Updated dependencies
[[`e73878ee`](https://github.com/chakra-ui/chakra-ui/commit/e73878ee686c11d3f94ad6ac61b19ae9508d75a5)]:
- @chakra-ui/utils@1.0.2
## 1.0.1

@@ -4,0 +12,0 @@

2

dist/cjs/icon.js

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

};
var Icon = /*#__PURE__*/(0, _system.forwardRef)(function Icon(props, ref) {
var Icon = /*#__PURE__*/(0, _system.forwardRef)(function (props, ref) {
var element = props.as,

@@ -44,0 +44,0 @@ viewBox = props.viewBox,

@@ -15,11 +15,9 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

} = options;
var Comp = /*#__PURE__*/forwardRef((props, ref) => {
return /*#__PURE__*/React.createElement(Icon, _extends({
ref: ref,
viewBox: viewBox
}, defaultProps, props), path != null ? path : /*#__PURE__*/React.createElement("path", {
fill: "currentColor",
d: pathDefinition
}));
});
var Comp = /*#__PURE__*/forwardRef((props, ref) => /*#__PURE__*/React.createElement(Icon, _extends({
ref: ref,
viewBox: viewBox
}, defaultProps, props), path != null ? path : /*#__PURE__*/React.createElement("path", {
fill: "currentColor",
d: pathDefinition
})));

@@ -26,0 +24,0 @@ if (__DEV__) {

@@ -29,3 +29,3 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

};
export var Icon = /*#__PURE__*/forwardRef(function Icon(props, ref) {
export var Icon = /*#__PURE__*/forwardRef((props, ref) => {
var {

@@ -32,0 +32,0 @@ as: element,

{
"name": "@chakra-ui/icon",
"version": "1.0.1",
"version": "1.0.2",
"description": "A base React component for icons",

@@ -54,6 +54,6 @@ "keywords": [

"dependencies": {
"@chakra-ui/utils": "1.0.1"
"@chakra-ui/utils": "1.0.2"
},
"devDependencies": {
"@chakra-ui/system": "1.0.1",
"@chakra-ui/system": "1.1.0",
"react": "^17.0.1"

@@ -60,0 +60,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc