Socket
Socket
Sign inDemoInstall

@kadira/react-storybook-addon-info

Package Overview
Dependencies
26
Maintainers
6
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.2.1 to 3.2.2

4

CHANGELOG.md
# Change Log
### v3.2.2
* Use markdown-to-react-components npm package instead of our fork. Our PR to them is merged and published. [PR109](https://github.com/kadirahq/react-storybook-addon-info/pull/109)
### v3.2.1

@@ -4,0 +8,0 @@

6

dist/components/markdown/code.js

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

(0, _classCallCheck3.default)(this, Code);
return (0, _possibleConstructorReturn3.default)(this, (0, _getPrototypeOf2.default)(Code).apply(this, arguments));
return (0, _possibleConstructorReturn3.default)(this, (Code.__proto__ || (0, _getPrototypeOf2.default)(Code)).apply(this, arguments));
}

@@ -78,3 +78,3 @@

(0, _classCallCheck3.default)(this, Pre);
return (0, _possibleConstructorReturn3.default)(this, (0, _getPrototypeOf2.default)(Pre).apply(this, arguments));
return (0, _possibleConstructorReturn3.default)(this, (Pre.__proto__ || (0, _getPrototypeOf2.default)(Pre)).apply(this, arguments));
}

@@ -109,3 +109,3 @@

(0, _classCallCheck3.default)(this, Blockquote);
return (0, _possibleConstructorReturn3.default)(this, (0, _getPrototypeOf2.default)(Blockquote).apply(this, arguments));
return (0, _possibleConstructorReturn3.default)(this, (Blockquote.__proto__ || (0, _getPrototypeOf2.default)(Blockquote)).apply(this, arguments));
}

@@ -112,0 +112,0 @@

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

(0, _classCallCheck3.default)(this, H1);
return (0, _possibleConstructorReturn3.default)(this, (0, _getPrototypeOf2.default)(H1).apply(this, arguments));
return (0, _possibleConstructorReturn3.default)(this, (H1.__proto__ || (0, _getPrototypeOf2.default)(H1)).apply(this, arguments));
}

@@ -75,3 +75,3 @@

(0, _classCallCheck3.default)(this, H2);
return (0, _possibleConstructorReturn3.default)(this, (0, _getPrototypeOf2.default)(H2).apply(this, arguments));
return (0, _possibleConstructorReturn3.default)(this, (H2.__proto__ || (0, _getPrototypeOf2.default)(H2)).apply(this, arguments));
}

@@ -104,3 +104,3 @@

(0, _classCallCheck3.default)(this, H3);
return (0, _possibleConstructorReturn3.default)(this, (0, _getPrototypeOf2.default)(H3).apply(this, arguments));
return (0, _possibleConstructorReturn3.default)(this, (H3.__proto__ || (0, _getPrototypeOf2.default)(H3)).apply(this, arguments));
}

@@ -134,3 +134,3 @@

(0, _classCallCheck3.default)(this, H4);
return (0, _possibleConstructorReturn3.default)(this, (0, _getPrototypeOf2.default)(H4).apply(this, arguments));
return (0, _possibleConstructorReturn3.default)(this, (H4.__proto__ || (0, _getPrototypeOf2.default)(H4)).apply(this, arguments));
}

@@ -163,3 +163,3 @@

(0, _classCallCheck3.default)(this, H5);
return (0, _possibleConstructorReturn3.default)(this, (0, _getPrototypeOf2.default)(H5).apply(this, arguments));
return (0, _possibleConstructorReturn3.default)(this, (H5.__proto__ || (0, _getPrototypeOf2.default)(H5)).apply(this, arguments));
}

@@ -192,3 +192,3 @@

(0, _classCallCheck3.default)(this, H6);
return (0, _possibleConstructorReturn3.default)(this, (0, _getPrototypeOf2.default)(H6).apply(this, arguments));
return (0, _possibleConstructorReturn3.default)(this, (H6.__proto__ || (0, _getPrototypeOf2.default)(H6)).apply(this, arguments));
}

@@ -195,0 +195,0 @@

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

(0, _classCallCheck3.default)(this, P);
return (0, _possibleConstructorReturn3.default)(this, (0, _getPrototypeOf2.default)(P).apply(this, arguments));
return (0, _possibleConstructorReturn3.default)(this, (P.__proto__ || (0, _getPrototypeOf2.default)(P)).apply(this, arguments));
}

@@ -70,3 +70,3 @@

(0, _classCallCheck3.default)(this, LI);
return (0, _possibleConstructorReturn3.default)(this, (0, _getPrototypeOf2.default)(LI).apply(this, arguments));
return (0, _possibleConstructorReturn3.default)(this, (LI.__proto__ || (0, _getPrototypeOf2.default)(LI)).apply(this, arguments));
}

@@ -95,3 +95,3 @@

(0, _classCallCheck3.default)(this, UL);
return (0, _possibleConstructorReturn3.default)(this, (0, _getPrototypeOf2.default)(UL).apply(this, arguments));
return (0, _possibleConstructorReturn3.default)(this, (UL.__proto__ || (0, _getPrototypeOf2.default)(UL)).apply(this, arguments));
}

@@ -121,3 +121,3 @@

(0, _classCallCheck3.default)(this, A);
return (0, _possibleConstructorReturn3.default)(this, (0, _getPrototypeOf2.default)(A).apply(this, arguments));
return (0, _possibleConstructorReturn3.default)(this, (A.__proto__ || (0, _getPrototypeOf2.default)(A)).apply(this, arguments));
}

@@ -124,0 +124,0 @@

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

(0, _classCallCheck3.default)(this, Node);
return (0, _possibleConstructorReturn3.default)(this, (0, _getPrototypeOf2.default)(Node).call(this, props));
return (0, _possibleConstructorReturn3.default)(this, (Node.__proto__ || (0, _getPrototypeOf2.default)(Node)).call(this, props));
}

@@ -56,0 +56,0 @@

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

(0, _classCallCheck3.default)(this, Props);
return (0, _possibleConstructorReturn3.default)(this, (0, _getPrototypeOf2.default)(Props).apply(this, arguments));
return (0, _possibleConstructorReturn3.default)(this, (Props.__proto__ || (0, _getPrototypeOf2.default)(Props)).apply(this, arguments));
}

@@ -90,3 +90,3 @@

_react2.default.createElement('br', null),
'  '
'\xA0\xA0'
) : ' ',

@@ -93,0 +93,0 @@ _react2.default.createElement(

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

(0, _classCallCheck3.default)(this, PropTable);
return (0, _possibleConstructorReturn3.default)(this, (0, _getPrototypeOf2.default)(PropTable).apply(this, arguments));
return (0, _possibleConstructorReturn3.default)(this, (PropTable.__proto__ || (0, _getPrototypeOf2.default)(PropTable)).apply(this, arguments));
}

@@ -71,0 +71,0 @@

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

null,
'…'
'\u2026'
);

@@ -200,3 +200,3 @@ } else if (_react2.default.isValidElement(val)) {

(0, _classCallCheck3.default)(this, PropVal);
return (0, _possibleConstructorReturn3.default)(this, (0, _getPrototypeOf2.default)(PropVal).apply(this, arguments));
return (0, _possibleConstructorReturn3.default)(this, (PropVal.__proto__ || (0, _getPrototypeOf2.default)(PropVal)).apply(this, arguments));
}

@@ -203,0 +203,0 @@

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

function Story() {
var _Object$getPrototypeO;
var _ref;

@@ -149,3 +149,3 @@ (0, _classCallCheck3.default)(this, Story);

var _this = (0, _possibleConstructorReturn3.default)(this, (_Object$getPrototypeO = (0, _getPrototypeOf2.default)(Story)).call.apply(_Object$getPrototypeO, [this].concat(args)));
var _this = (0, _possibleConstructorReturn3.default)(this, (_ref = Story.__proto__ || (0, _getPrototypeOf2.default)(Story)).call.apply(_ref, [this].concat(args)));

@@ -240,3 +240,3 @@ _this.state = { open: false };

{ style: linkStyle, onClick: closeOverlay },
'×'
'\xD7'
),

@@ -243,0 +243,0 @@ _react2.default.createElement(

{
"name": "@kadira/react-storybook-addon-info",
"version": "3.2.1",
"version": "3.2.2",
"description": "A React Storybook addon to show additional information for your stories.",

@@ -21,6 +21,6 @@ "repository": {

"devDependencies": {
"@kadira/storybook": "^2.2.1",
"@kadira/storybook": "^2.20.1",
"babel-cli": "^6.5.0",
"babel-core": "^6.5.0",
"babel-eslint": "^6.0.2",
"babel-eslint": "^7.0.0",
"babel-plugin-transform-runtime": "^6.5.0",

@@ -33,14 +33,14 @@ "babel-polyfill": "^6.5.0",

"enzyme": "^2.2.0",
"eslint": "^2.7.0",
"eslint-config-airbnb": "^7.0.0",
"eslint": "^3.6.1",
"eslint-config-airbnb": "^12.0.0",
"eslint-plugin-babel": "^3.2.0",
"eslint-plugin-jsx-a11y": "^0.6.2",
"eslint-plugin-react": "^4.3.0",
"eslint-plugin-jsx-a11y": "^2.2.2",
"eslint-plugin-react": "^6.2.1",
"git-url-parse": "^6.0.1",
"jsdom": "^8.3.1",
"mocha": "^2.4.5",
"react": "^0.14.7 || ^15.0.0",
"react-addons-test-utils": "^0.14.7 || ^15.0.0",
"jsdom": "^9.5.0",
"mocha": "^3.0.2",
"react": "^15.3.2",
"react-addons-test-utils": "^15.3.1",
"react-dom": "^0.14.7 || ^15.0.0",
"sinon": "^1.17.3"
"sinon": "^1.17.6"
},

@@ -52,4 +52,4 @@ "peerDependencies": {

"babel-runtime": "^6.5.0",
"markdown-to-react-components": "kadirahq/markdown-to-react-components",
"react-addons-create-fragment": "^0.14.7 || ^15.0.0"
"markdown-to-react-components": "^0.2.1",
"react-addons-create-fragment": "^15.3.2"
},

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

@@ -7,3 +7,3 @@ # React Storybook Info Addon

### Usage
## Usage

@@ -13,3 +13,3 @@ Install the following npm module:

```sh
npm i --save @kadira/react-storybook-addon-info
npm i -D @kadira/react-storybook-addon-info
```

@@ -57,1 +57,7 @@

> Have a look at [this example](example/story.js) stories to learn more about the `addWithInfo` API.
## The FAQ
**Components lose their names on static build**
Component names also get minified with other javascript code when building for production. When creating components, set the `displayName` static property to show the correct component name on static builds.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc