Socket
Socket
Sign inDemoInstall

@chakra-ui/alert

Package Overview
Dependencies
4
Maintainers
3
Versions
459
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0-next.0 to 1.0.0-next.2251

dist/cjs/alert-icons.js

10

dist/cjs/alert.js

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

var _icons = require("@chakra-ui/icons");
var _alertIcons = require("./alert-icons");

@@ -25,15 +25,15 @@ var _system = require("@chakra-ui/system");

info: {
icon: _icons.InfoIcon,
icon: _alertIcons.InfoIcon,
colorScheme: "blue"
},
warning: {
icon: _icons.WarningTwoIcon,
icon: _alertIcons.WarningIcon,
colorScheme: "orange"
},
success: {
icon: _icons.CheckCircleIcon,
icon: _alertIcons.CheckIcon,
colorScheme: "green"
},
error: {
icon: _icons.WarningIcon,
icon: _alertIcons.WarningIcon,
colorScheme: "red"

@@ -40,0 +40,0 @@ }

@@ -5,3 +5,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); }

import { CheckCircleIcon, InfoIcon, WarningIcon, WarningTwoIcon } from "@chakra-ui/icons";
import { CheckIcon, InfoIcon, WarningIcon } from "./alert-icons";
import { chakra, useThemeDefaultProps } from "@chakra-ui/system";

@@ -16,7 +16,7 @@ import { createContext, cx } from "@chakra-ui/utils";

warning: {
icon: WarningTwoIcon,
icon: WarningIcon,
colorScheme: "orange"
},
success: {
icon: CheckCircleIcon,
icon: CheckIcon,
colorScheme: "green"

@@ -23,0 +23,0 @@ },

{
"name": "@chakra-ui/alert",
"version": "1.0.0-next.0",
"version": "1.0.0-next.2251+57db7fd9",
"description": "A React component used to alert users of a particular screen area that needs user action",

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

"dependencies": {
"@chakra-ui/icons": "^1.0.0-next.0",
"@chakra-ui/icon": "^1.0.0-next.0",
"@chakra-ui/utils": "^1.0.0-next.0"

@@ -59,3 +59,3 @@ },

},
"gitHead": "ce6fe489afaddba502a2611f1fb1dcedb991325b"
"gitHead": "57db7fd9e7b7c3c6465adfe3c91677c52841963e"
}

@@ -9,3 +9,7 @@ # Alert

```sh
npm i @chakra-ui/alert
# or
yarn add @chakra-ui/alert
```

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 too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc