Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@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 0.0.0-dev-20221108124603 to 0.0.0-dev-20221115102409

4

dist/index.cjs.js

@@ -71,2 +71,3 @@ "use strict";

const _className = (0, import_shared_utils.cx)("chakra-icon", className);
const customStyles = (0, import_system.useStyleConfig)("Icon", props);
const styles = {

@@ -79,3 +80,4 @@ w: "1em",

color,
...__css
...__css,
...customStyles
};

@@ -82,0 +84,0 @@ const shared = {

import * as _chakra_ui_system from '@chakra-ui/system';
import { ChakraProps } from '@chakra-ui/system';
declare type Orientation = "vertical" | "horizontal";
interface IconProps extends Omit<React.SVGAttributes<SVGElement>, keyof ChakraProps>, ChakraProps {
orientation?: Orientation;
}

@@ -6,0 +8,0 @@ /**

@@ -7,3 +7,4 @@ // ../../../react-shim.js

chakra,
forwardRef
forwardRef,
useStyleConfig
} from "@chakra-ui/system";

@@ -44,2 +45,3 @@ import { cx } from "@chakra-ui/shared-utils";

const _className = cx("chakra-icon", className);
const customStyles = useStyleConfig("Icon", props);
const styles = {

@@ -52,3 +54,4 @@ w: "1em",

color,
...__css
...__css,
...customStyles
};

@@ -55,0 +58,0 @@ const shared = {

{
"name": "@chakra-ui/icon",
"version": "0.0.0-dev-20221108124603",
"version": "0.0.0-dev-20221115102409",
"description": "A base React component for icons",

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

"dependencies": {
"@chakra-ui/shared-utils": "0.0.0-dev-20221108124603"
"@chakra-ui/shared-utils": "2.0.3"
},
"devDependencies": {
"@chakra-ui/system": "0.0.0-dev-20221108124603",
"@chakra-ui/system": "2.3.3",
"react-icons": "^4.2.0",

@@ -42,3 +42,3 @@ "react": "^18.0.0",

"peerDependencies": {
"@chakra-ui/system": "0.0.0-dev-20221108124603",
"@chakra-ui/system": ">=2.0.0",
"react": ">=18"

@@ -45,0 +45,0 @@ },

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