@chakra-ui/icon
Advanced tools
Comparing version 1.0.1 to 1.0.2
# 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 @@ |
@@ -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
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
34403
281
+ Added@chakra-ui/utils@1.0.2(transitive)
- Removed@chakra-ui/utils@1.0.1(transitive)
Updated@chakra-ui/utils@1.0.2