@chakra-ui/alert
Advanced tools
Comparing version 1.0.0-next.0 to 1.0.0-next.2251
@@ -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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
21
15
156697
822
1
+ Added@chakra-ui/icon@1.2.1(transitive)
+ Added@chakra-ui/utils@1.9.1(transitive)
+ Added@types/react@18.3.3(transitive)
- Removed@chakra-ui/icons@^1.0.0-next.0
- Removed@chakra-ui/icon@2.0.5(transitive)
- Removed@chakra-ui/icons@1.1.7(transitive)
- Removed@types/react@17.0.80(transitive)
- Removed@types/scheduler@0.16.8(transitive)