Socket
Socket
Sign inDemoInstall

@atlaskit/avatar

Package Overview
Dependencies
Maintainers
1
Versions
243
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/avatar - npm Package Compare versions

Comparing version 4.0.2 to 4.0.3

14

CHANGELOG.md

@@ -1,6 +0,16 @@

<a name="4.0.2"></a>
## 4.0.2 (2017-05-11)
<a name="4.0.3"></a>
## 4.0.3 (2017-05-23)
<a name="4.0.3"></a>
## 4.0.3 (2017-05-23)
### Bug Fixes
* **package:** update util-shared-styles and util-readme dependencies ([9c0e218](https://bitbucket.org/atlassian/atlaskit/commits/9c0e218))
<a name="4.0.2"></a>

@@ -7,0 +17,0 @@ ## 4.0.2 (2017-05-11)

12

dist/bundle-cjs.js

@@ -180,3 +180,3 @@ module.exports = /******/

For best results, it is recommended to use square content with height and
width of 100% */
width of 100%. */
icon: _react.PropTypes.element,

@@ -190,7 +190,7 @@ /** Defines the label for the Avatar used by screen readers as fallback

/** Indicates a user's online status by showing a small icon on the avatar.
Refer to presence values on the Presence component */
Refer to presence values on the Presence component. */
presence: _react.PropTypes.oneOf(PRESENCE_TYPE.values),
/** Defines the size of the avatar */
size: _react.PropTypes.oneOf(SIZE.values),
/** A url to load an image from (this can also be a base64 encoded image) */
/** A url to load an image from (this can also be a base64 encoded image). */
src: _react.PropTypes.string

@@ -367,6 +367,6 @@ }, Avatar.defaultProps = {

/** Used to override the default border color of the presence indicator.
Accepts any color argument that the border-color CSS property accepts */
Accepts any color argument that the border-color CSS property accepts. */
borderColor: _react.PropTypes.string,
/** Content to use as a custom presence indicator (usually not required if
consuming Presence separate to Avatar) */
consuming Presence separate to Avatar). */
children: _react.PropTypes.element,

@@ -376,3 +376,3 @@ /** Content to use as a custom presence indicator (usually not required if

presence: _react.PropTypes.oneOf(PRESENCE_TYPE.values),
/** Defines the size of the presence */
/** Defines the size of the presence. */
size: _react.PropTypes.oneOf(SIZE.values)

@@ -379,0 +379,0 @@ }, Presence.defaultProps = {

@@ -183,3 +183,3 @@ !function(root, factory) {

For best results, it is recommended to use square content with height and
width of 100% */
width of 100%. */
icon: _react.PropTypes.element,

@@ -193,7 +193,7 @@ /** Defines the label for the Avatar used by screen readers as fallback

/** Indicates a user's online status by showing a small icon on the avatar.
Refer to presence values on the Presence component */
Refer to presence values on the Presence component. */
presence: _react.PropTypes.oneOf(PRESENCE_TYPE.values),
/** Defines the size of the avatar */
size: _react.PropTypes.oneOf(SIZE.values),
/** A url to load an image from (this can also be a base64 encoded image) */
/** A url to load an image from (this can also be a base64 encoded image). */
src: _react.PropTypes.string

@@ -370,6 +370,6 @@ }, Avatar.defaultProps = {

/** Used to override the default border color of the presence indicator.
Accepts any color argument that the border-color CSS property accepts */
Accepts any color argument that the border-color CSS property accepts. */
borderColor: _react.PropTypes.string,
/** Content to use as a custom presence indicator (usually not required if
consuming Presence separate to Avatar) */
consuming Presence separate to Avatar). */
children: _react.PropTypes.element,

@@ -379,3 +379,3 @@ /** Content to use as a custom presence indicator (usually not required if

presence: _react.PropTypes.oneOf(PRESENCE_TYPE.values),
/** Defines the size of the presence */
/** Defines the size of the presence. */
size: _react.PropTypes.oneOf(SIZE.values)

@@ -382,0 +382,0 @@ }, Presence.defaultProps = {

{
"name": "@atlaskit/avatar",
"version": "4.0.2",
"version": "4.0.3",
"config": {
"access": "public"
},
"description": "A React component that represents users within the same application",
"description": "A React component that represents a user in an application",
"main": "dist/bundle.js",
"webpack": "dist/bundle-cjs.js",
"ak:webpack:raw": "src/index.jsx",
"ak:component": {
"name": "Avatar"
},
"scripts": {

@@ -25,12 +28,12 @@ "prepublish": "../../node_modules/.bin/in-publish && { cd ../.. && npm run prepublish/single @atlaskit/avatar; } || ../../node_modules/.bin/not-in-publish"

"peerDependencies": {
"react": "^15.3.2",
"styled-components": "^1.3.0"
"react": "^15.3.2"
},
"dependencies": {
"@atlaskit/util-shared-styles": "^1.0.0",
"babel-runtime": "^6.11.6"
"@atlaskit/util-shared-styles": "^2.1.0",
"babel-runtime": "^6.11.6",
"styled-components": "^1.3.0"
},
"devDependencies": {
"@atlaskit/avatar": "*",
"@atlaskit/util-readme": "^1.0.0"
"@atlaskit/util-readme": "^3.2.0"
},

@@ -37,0 +40,0 @@ "repository": {

@@ -14,3 +14,3 @@ [![AtlasKit component registry](https://img.shields.io/badge/AtlasKit-components-FF5230.svg)](http://atlaskit.atlassian.com)

Detailed docs and example usage can be found [here](https://aui-cdn.atlassian.com/atlaskit/stories/@atlaskit/avatar/4.0.2/).
Detailed docs and example usage can be found [here](https://aui-cdn.atlassian.com/atlaskit/stories/@atlaskit/avatar/4.0.3/).

@@ -17,0 +17,0 @@ ## Installation

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