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

@storybook/addon-comments

Package Overview
Dependencies
Maintainers
9
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@storybook/addon-comments - npm Package Compare versions

Comparing version 3.2.14 to 3.2.15

5

dist/manager/components/CommentItem/index.js

@@ -104,4 +104,4 @@ 'use strict';

return _react2.default.createElement(
'a',
{ style: _style2.default.commentDelete, onClick: this.deleteComment, role: 'button', tabIndex: '0' },
'button',
{ type: 'button', style: _style2.default.commentDelete, onClick: this.deleteComment },
'delete'

@@ -114,2 +114,3 @@ );

var comment = this.props.comment;
var commentStyle = _style2.default.commentItem;

@@ -116,0 +117,0 @@ if (comment.loading) {

@@ -65,4 +65,7 @@ 'use strict';

fontSize: 11,
color: 'rgb(200, 200, 200)'
color: 'rgb(200, 200, 200)',
border: 'none',
background: 'transparent',
padding: 0
}
};

1

dist/manager/containers/CommentsPanel/dataStore.js

@@ -72,2 +72,3 @@ 'use strict';

var comments = item.comments;
var invalidated = false;

@@ -74,0 +75,0 @@

@@ -69,3 +69,2 @@ 'use strict';

user: null,
users: [],
comments: [],

@@ -72,0 +71,0 @@ loading: true

{
"name": "@storybook/addon-comments",
"version": "3.2.14",
"version": "3.2.15",
"description": "Comments addon for Storybook",

@@ -22,7 +22,7 @@ "keywords": [

"storybook": "start-storybook -p 3006",
"storybook-local": "STORYBOOK_CLOUD_SERVER='http://localhost:3003/graphql' start-storybook -p 9010",
"storybook-local": "cross-env STORYBOOK_CLOUD_SERVER='http://localhost:3003/graphql' start-storybook -p 9010",
"storybook-remote": "start-storybook -p 3006"
},
"dependencies": {
"@storybook/addons": "^3.2.14",
"@storybook/addons": "^3.2.15",
"babel-runtime": "^6.26.0",

@@ -32,3 +32,3 @@ "deep-equal": "^1.0.1",

"global": "^4.3.2",
"insert-css": "^1.0.0",
"insert-css": "^2.0.0",
"marked": "^0.3.6",

@@ -38,3 +38,3 @@ "moment": "^2.19.0",

"react-render-html": "^0.5.2",
"react-textarea-autosize": "^4.3.0"
"react-textarea-autosize": "^5.2.0"
},

@@ -44,5 +44,4 @@ "devDependencies": {

"@kadira/storybook-deployer": "*",
"@storybook/addon-actions": "^3.2.14",
"@storybook/react": "^3.2.14",
"git-url-parse": "^6.2.2",
"@storybook/addon-actions": "^3.2.15",
"@storybook/react": "^3.2.15",
"react": "^16.0.0",

@@ -49,0 +48,0 @@ "react-dom": "^16.0.0",

@@ -38,5 +38,5 @@ import PropTypes from 'prop-types';

return (
<a style={style.commentDelete} onClick={this.deleteComment} role="button" tabIndex="0">
<button type="button" style={style.commentDelete} onClick={this.deleteComment}>
delete
</a>
</button>
);

@@ -46,3 +46,3 @@ }

render() {
const comment = this.props.comment;
const { comment } = this.props;
let commentStyle = style.commentItem;

@@ -49,0 +49,0 @@ if (comment.loading) {

@@ -57,3 +57,6 @@ const commentItem = {

color: 'rgb(200, 200, 200)',
border: 'none',
background: 'transparent',
padding: 0,
},
};

@@ -35,3 +35,3 @@ import deepEquals from 'deep-equal';

const comments = item.comments;
const { comments } = item;
let invalidated = false;

@@ -38,0 +38,0 @@

@@ -12,3 +12,2 @@ import PropTypes from 'prop-types';

user: null,
users: [],
comments: [],

@@ -15,0 +14,0 @@ loading: true,

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