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

anchor-ui

Package Overview
Dependencies
Maintainers
4
Versions
203
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

anchor-ui - npm Package Compare versions

Comparing version 3.0.6 to 3.0.7

2

avatar/index.js

@@ -55,3 +55,3 @@ 'use strict';

style: _propTypes2.default.instanceOf(Object),
/** A user's status. One of the following: ["online", "away", "offline"] */
/** An user's status. One of the following: ["online", "away", "offline"] */
status: _propTypes2.default.oneOf(['online', 'away', 'offline', '']),

@@ -58,0 +58,0 @@ /** Override the styles of the status indicator */

{
"name": "anchor-ui",
"version": "3.0.6",
"version": "3.0.7",
"description": "React Component UI Kit",

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

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

avatarStyle = _props.avatarStyle,
custom = _objectWithoutProperties(_props, ['header', 'secondaryText', 'avatar', 'coverImage', 'children', 'button', 'style', 'headerStyle', 'secondaryTextStyle', 'avatarStyle']);
status = _props.status,
custom = _objectWithoutProperties(_props, ['header', 'secondaryText', 'avatar', 'coverImage', 'children', 'button', 'style', 'headerStyle', 'secondaryTextStyle', 'avatarStyle', 'status']);

@@ -93,3 +94,8 @@ var coverBackground = {

_react2.default.createElement('section', { style: _styles2.default.coverOverlay }),
avatar ? _react2.default.createElement(_avatar2.default, { image: avatar, style: _getStyles2.default.avatar(avatarStyle) }) : null
avatar ? _react2.default.createElement(_avatar2.default, {
image: avatar,
style: _getStyles2.default.avatar(avatarStyle),
statusStyle: _styles2.default.status,
status: status
}) : null
),

@@ -136,3 +142,5 @@ _react2.default.createElement(

/** Override the styles of the avatar element */
avatarStyle: _propTypes2.default.instanceOf(Object)
avatarStyle: _propTypes2.default.instanceOf(Object),
/** An user's status. One of the following: ["online", "away", "offline"] */
status: _propTypes2.default.oneOf(['online', 'away', 'offline', ''])
};

@@ -148,5 +156,6 @@ Profile.defaultProps = {

secondaryTextStyle: {},
avatarStyle: {}
avatarStyle: {},
status: ''
};
exports.default = (0, _radium2.default)(Profile);
module.exports = exports['default'];

@@ -82,4 +82,11 @@ 'use strict';

textAlign: 'center'
},
status: {
width: '15px',
height: '15px',
border: '2px solid ' + _colors2.default.white,
top: '10px',
right: '10px'
}
};
module.exports = exports['default'];
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