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

@uiw/react-notify

Package Overview
Dependencies
Maintainers
2
Versions
173
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uiw/react-notify - npm Package Compare versions

Comparing version 5.0.0-bate-1 to 5.0.0-bate-2

26

cjs/index.js

@@ -20,2 +20,12 @@ "use strict";

var _CircleCheck = require("@uiw/icons/lib/CircleCheck");
var _Warning = require("@uiw/icons/lib/Warning");
var _Information = require("@uiw/icons/lib/Information");
var _CircleClose = require("@uiw/icons/lib/CircleClose");
var _reactIcon = require("@uiw/react-icon");
var _jsxRuntime = require("react/jsx-runtime");

@@ -38,15 +48,23 @@

case 'success':
props.icon = 'circle-check';
props.icon = /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactIcon.IconStyleBase, {
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CircleCheck.CircleCheck, {})
});
break;
case 'warning':
props.icon = 'warning';
props.icon = /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactIcon.IconStyleBase, {
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Warning.Warning, {})
});
break;
case 'info':
props.icon = 'information';
props.icon = /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactIcon.IconStyleBase, {
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Information.Information, {})
});
break;
case 'error':
props.icon = 'circle-close';
props.icon = /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactIcon.IconStyleBase, {
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CircleClose.CircleClose, {})
});
break;

@@ -53,0 +71,0 @@

@@ -6,2 +6,7 @@ import _extends from "@babel/runtime/helpers/extends";

import Container from './Container';
import { CircleCheck } from '@uiw/icons/lib/CircleCheck';
import { Warning } from '@uiw/icons/lib/Warning';
import { Information } from '@uiw/icons/lib/Information';
import { CircleClose } from '@uiw/icons/lib/CircleClose';
import { IconStyleBase } from '@uiw/react-icon';
import { jsx as _jsx } from "react/jsx-runtime";

@@ -25,15 +30,23 @@ var notifys = {};

case 'success':
props.icon = 'circle-check';
props.icon = /*#__PURE__*/_jsx(IconStyleBase, {
children: /*#__PURE__*/_jsx(CircleCheck, {})
});
break;
case 'warning':
props.icon = 'warning';
props.icon = /*#__PURE__*/_jsx(IconStyleBase, {
children: /*#__PURE__*/_jsx(Warning, {})
});
break;
case 'info':
props.icon = 'information';
props.icon = /*#__PURE__*/_jsx(IconStyleBase, {
children: /*#__PURE__*/_jsx(Information, {})
});
break;
case 'error':
props.icon = 'circle-close';
props.icon = /*#__PURE__*/_jsx(IconStyleBase, {
children: /*#__PURE__*/_jsx(CircleClose, {})
});
break;

@@ -40,0 +53,0 @@

14

package.json
{
"name": "@uiw/react-notify",
"version": "5.0.0-bate-1",
"version": "5.0.0-bate-2",
"description": "Notify component",

@@ -48,9 +48,9 @@ "author": "Kenny Wong <wowohoo@qq.com>",

"dependencies": {
"@uiw/react-alert": "^5.0.0-bate-1",
"@uiw/react-button": "^5.0.0-bate-1",
"@uiw/react-icon": "^5.0.0-bate-1",
"@uiw/react-modal": "^5.0.0-bate-1",
"@uiw/react-overlay": "^5.0.0-bate-1",
"@uiw/utils": "^5.0.0-bate-1"
"@uiw/react-alert": "^5.0.0-bate-2",
"@uiw/react-button": "^5.0.0-bate-2",
"@uiw/react-icon": "^5.0.0-bate-2",
"@uiw/react-modal": "^5.0.0-bate-2",
"@uiw/react-overlay": "^5.0.0-bate-2",
"@uiw/utils": "^5.0.0-bate-2"
}
}

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

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