New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cimpress/react-components

Package Overview
Dependencies
Maintainers
9
Versions
433
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cimpress/react-components - npm Package Compare versions

Comparing version 2.1.13 to 2.1.14

5

CHANGELOG.md

@@ -7,2 +7,7 @@ # MCP MEX React Components

###### 2018-04-19
*[Notifications]
- updated default attachment to be at the bottom, so notification list will always show below, this solves a bug where a short page of content with larger amount of notiifcations would open above the page and not be visible.
- added the ability to pass in your own custom constraints for the tether object to be used in the notification.
###### 2018-04-10

@@ -9,0 +14,0 @@ **Bug Fixes**

31

lib/Notifications.js

@@ -88,3 +88,4 @@ 'use strict';

dateTimeComponent = _props.dateTimeComponent,
viewAllComponent = _props.viewAllComponent;
viewAllComponent = _props.viewAllComponent,
constraints = _props.constraints;

@@ -111,4 +112,9 @@

message,
' ',
link
link && _react2.default.createElement(
'span',
{ onClick: function onClick() {
return _this2.handleClose();
} },
viewAllComponent
)
)

@@ -137,3 +143,9 @@ );

),
viewAllComponent
viewAllComponent && _react2.default.createElement(
'div',
{ onClick: function onClick() {
return _this2.handleClose();
} },
viewAllComponent
)
),

@@ -152,2 +164,3 @@ notifications.length ? formattedNotifications : errorMessage ? error : noNotificationsText

variety: 'popover',
constraints: constraints,
style: { margin: '0 8px 0 0' } },

@@ -189,3 +202,4 @@ _react2.default.createElement(

onClose: _propTypes2.default.func,
onOpen: _propTypes2.default.func
onOpen: _propTypes2.default.func,
constraints: _propTypes2.default.arrayOf(_propTypes2.default.object)
};

@@ -198,3 +212,8 @@

numberUnread: 0,
dateTimeComponent: _SimpleDate2.default
dateTimeComponent: _SimpleDate2.default,
constraints: [{
to: 'scrollParent',
attachment: 'bottom',
pin: ['left', 'right']
}]
};

2

package.json
{
"name": "@cimpress/react-components",
"version": "2.1.13",
"version": "2.1.14",
"description": "React components to support the MCP styleguide",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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