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

@bufferapp/notifications

Package Overview
Dependencies
Maintainers
32
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bufferapp/notifications - npm Package Compare versions

Comparing version 1.9.6 to 1.9.7

20

lib/components/Notifications/index.js

@@ -7,6 +7,2 @@ 'use strict';

var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _propTypes = require('prop-types');

@@ -16,6 +12,2 @@

var _utils = require('@bufferapp/components/lib/utils');
var _animation = require('@bufferapp/components/style/animation');
var _components = require('@bufferapp/components');

@@ -25,3 +17,3 @@

const Notifications = ({ notifications, onNotificationClose }) => _react2.default.createElement(
const Notifications = ({ notifications, onNotificationClose }) => React.createElement(
'div',

@@ -36,3 +28,3 @@ {

},
_react2.default.createElement(
React.createElement(
'div',

@@ -48,10 +40,10 @@ {

},
notifications.map(notification => _react2.default.createElement(
notifications.map(notification => React.createElement(
'div',
{
style: (0, _utils.calculateStyles)({
style: (0, _components.calculateStyles)({
default: {
marginBottom: '1rem',
maxHeight: '100vh',
transition: `all ${_animation.transitionAnimationTime} ${_animation.transitionAnimationType}`
transition: `all ${_components.transitionAnimationTime} ${_components.transitionAnimationType}`
},

@@ -67,3 +59,3 @@ hidden: {

},
_react2.default.createElement(
React.createElement(
_components.Notification,

@@ -70,0 +62,0 @@ {

{
"name": "@bufferapp/notifications",
"version": "1.9.6",
"version": "1.9.7",
"description": "Display application notifications",

@@ -20,2 +20,3 @@ "main": "lib/index.js",

"dependencies": {
"@bufferapp/components": "3.6.3",
"@bufferapp/keywrapper": "0.2.0",

@@ -25,3 +26,2 @@ "uuid": "3.3.2"

"devDependencies": {
"@bufferapp/components": "3.0.2",
"@storybook/core": "^3.4.11",

@@ -51,3 +51,3 @@ "@storybook/react": "^3.4.11",

"peerDependencies": {
"@bufferapp/components": "3.x",
"@bufferapp/components": "3.6.3",
"react": "16.x",

@@ -54,0 +54,0 @@ "react-dom": "16.x",

@@ -1,9 +0,8 @@

import React from 'react'
import PropTypes from 'prop-types'
import { calculateStyles } from '@bufferapp/components/lib/utils'
import {
Notification,
calculateStyles,
transitionAnimationTime,
transitionAnimationType,
} from '@bufferapp/components/style/animation'
import { Notification } from '@bufferapp/components'
} from '@bufferapp/components'

@@ -10,0 +9,0 @@ const Notifications = ({ notifications, onNotificationClose }) => (

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