storybook-addon-specifications
Advanced tools
Comparing version 2.1.2 to 2.1.3
@@ -15,3 +15,2 @@ 'use strict'; | ||
fontFamily: '-apple-system, ".SFNSText-Regular", "San Francisco", Roboto, "Segoe UI", "Helvetica Neue", "Lucida Grande", sans-serif', | ||
color: 'rgb(68, 68, 68)', | ||
fontSize: 12, | ||
@@ -18,0 +17,0 @@ letterSpacing: 1, |
@@ -77,3 +77,6 @@ "use strict"; | ||
var results = this.state.results; | ||
return _react2.default.createElement(_Specifications2.default, { results: results }); | ||
var active = this.props.active; | ||
return active ? _react2.default.createElement(_Specifications2.default, { results: results }) : null; | ||
} | ||
@@ -80,0 +83,0 @@ }]); |
@@ -38,4 +38,6 @@ 'use strict'; | ||
title: 'Specifications', | ||
render: function render() { | ||
return _react2.default.createElement(_Specifications2.default, { api: api, channel: channel }); | ||
render: function render(_ref) { | ||
var active = _ref.active, | ||
key = _ref.key; | ||
return _react2.default.createElement(_Specifications2.default, { key: key, active: active, api: api, channel: channel }); | ||
} | ||
@@ -42,0 +44,0 @@ }); |
{ | ||
"name": "storybook-addon-specifications", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"description": "Add tests to your react storybook stories", | ||
@@ -32,4 +32,4 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"@storybook/addons": "3.2.17", | ||
"@storybook/react": "3.2.17", | ||
"@storybook/addons": "5.2.0-alpha.36", | ||
"@storybook/react": "5.2.0-alpha.36", | ||
"@storybook/ui": "3.2.17", | ||
@@ -36,0 +36,0 @@ "babel-cli": "^6.11.4", |
@@ -7,2 +7,4 @@ # Specifications Addon [![npm version](https://img.shields.io/npm/v/storybook-addon-specifications.svg)](https://www.npmjs.com/package/storybook-addon-specifications) | ||
⚠️ I don't have time to maintain this project anymore. If someone is interested to take over the maintainance and further development, please contact me. | ||
> **If you want to learn more about the ideas behind this addon, you can read this article : [Building a react components living documentation using react-storybook.](https://medium.com/@mlthuret/building-a-react-components-living-documentation-using-react-storybook-5f11f0e7d23e#.5g58g5i3t).** | ||
@@ -9,0 +11,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
377
427
737517
14
2