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

rc-notification

Package Overview
Dependencies
Maintainers
7
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-notification - npm Package Compare versions

Comparing version 5.0.0-alpha.3 to 5.0.0-alpha.4

2

es/Notifications.d.ts

@@ -12,3 +12,3 @@ import * as React from 'react';

prefixCls?: string;
motion?: CSSMotionProps;
motion?: CSSMotionProps | ((placement: Placement) => CSSMotionProps);
container?: HTMLElement;

@@ -15,0 +15,0 @@ maxCount?: number;

@@ -125,2 +125,3 @@ import _extends from "@babel/runtime/helpers/esm/extends";

});
var placementMotion = typeof motion === 'function' ? motion(placement) : motion;
return /*#__PURE__*/React.createElement(CSSMotionList, _extends({

@@ -132,3 +133,3 @@ key: placement,

motionAppear: true
}, motion, {
}, placementMotion, {
onAllRemoved: function onAllRemoved() {

@@ -135,0 +136,0 @@ onAllNoticeRemoved(placement);

@@ -10,3 +10,3 @@ import * as React from 'react';

getContainer?: () => HTMLElement;
motion?: CSSMotionProps;
motion?: CSSMotionProps | ((placement: Placement) => CSSMotionProps);
closeIcon?: React.ReactNode;

@@ -13,0 +13,0 @@ closable?: boolean;

@@ -12,3 +12,3 @@ import * as React from 'react';

prefixCls?: string;
motion?: CSSMotionProps;
motion?: CSSMotionProps | ((placement: Placement) => CSSMotionProps);
container?: HTMLElement;

@@ -15,0 +15,0 @@ maxCount?: number;

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

});
var placementMotion = typeof motion === 'function' ? motion(placement) : motion;
return /*#__PURE__*/React.createElement(_rcMotion.CSSMotionList, (0, _extends2.default)({

@@ -150,3 +151,3 @@ key: placement,

motionAppear: true
}, motion, {
}, placementMotion, {
onAllRemoved: function onAllRemoved() {

@@ -153,0 +154,0 @@ onAllNoticeRemoved(placement);

@@ -10,3 +10,3 @@ import * as React from 'react';

getContainer?: () => HTMLElement;
motion?: CSSMotionProps;
motion?: CSSMotionProps | ((placement: Placement) => CSSMotionProps);
closeIcon?: React.ReactNode;

@@ -13,0 +13,0 @@ closable?: boolean;

{
"name": "rc-notification",
"version": "5.0.0-alpha.3",
"version": "5.0.0-alpha.4",
"description": "notification ui component for react",

@@ -5,0 +5,0 @@ "engines": {

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