Socket
Socket
Sign inDemoInstall

@chakra-ui/icon

Package Overview
Dependencies
Maintainers
3
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.2.1 to 2.0.0

4

dist/chakra-ui-icon.cjs.dev.js

@@ -145,6 +145,6 @@ 'use strict';

pathDefinition = options.d,
path = options.path,
displayName = options.displayName,
_options$defaultProps = options.defaultProps,
defaultProps = _options$defaultProps === void 0 ? {} : _options$defaultProps;
var path = React__namespace.Children.toArray(options.path);
var Comp = /*#__PURE__*/system.forwardRef(function (props, ref) {

@@ -154,3 +154,3 @@ return /*#__PURE__*/React__namespace.createElement(Icon, _extends({

viewBox: viewBox
}, defaultProps, props), path != null ? path : /*#__PURE__*/React__namespace.createElement("path", {
}, defaultProps, props), path.length ? path : /*#__PURE__*/React__namespace.createElement("path", {
fill: "currentColor",

@@ -157,0 +157,0 @@ d: pathDefinition

@@ -145,6 +145,6 @@ 'use strict';

pathDefinition = options.d,
path = options.path,
displayName = options.displayName,
_options$defaultProps = options.defaultProps,
defaultProps = _options$defaultProps === void 0 ? {} : _options$defaultProps;
var path = React__namespace.Children.toArray(options.path);
var Comp = /*#__PURE__*/system.forwardRef(function (props, ref) {

@@ -154,3 +154,3 @@ return /*#__PURE__*/React__namespace.createElement(Icon, _extends({

viewBox: viewBox
}, defaultProps, props), path != null ? path : /*#__PURE__*/React__namespace.createElement("path", {
}, defaultProps, props), path.length ? path : /*#__PURE__*/React__namespace.createElement("path", {
fill: "currentColor",

@@ -157,0 +157,0 @@ d: pathDefinition

@@ -121,6 +121,6 @@ import { forwardRef, chakra } from '@chakra-ui/system';

pathDefinition = options.d,
path = options.path,
displayName = options.displayName,
_options$defaultProps = options.defaultProps,
defaultProps = _options$defaultProps === void 0 ? {} : _options$defaultProps;
var path = React.Children.toArray(options.path);
var Comp = /*#__PURE__*/forwardRef(function (props, ref) {

@@ -130,3 +130,3 @@ return /*#__PURE__*/React.createElement(Icon, _extends({

viewBox: viewBox
}, defaultProps, props), path != null ? path : /*#__PURE__*/React.createElement("path", {
}, defaultProps, props), path.length ? path : /*#__PURE__*/React.createElement("path", {
fill: "currentColor",

@@ -133,0 +133,0 @@ d: pathDefinition

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

@@ -38,3 +38,3 @@ "keywords": [

"devDependencies": {
"@chakra-ui/system": "1.8.1",
"@chakra-ui/system": "1.8.3",
"react": "^17.0.1"

@@ -41,0 +41,0 @@ },

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