Socket
Socket
Sign inDemoInstall

@kadira/storybook-addons

Package Overview
Dependencies
Maintainers
6
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kadira/storybook-addons - npm Package Compare versions

Comparing version 1.3.1 to 1.4.0

7

CHANGELOG.md

@@ -1,5 +0,10 @@

## Change Log
## Changelog
### v1.4.0
29 Aug 2016
* Add `getPreview` and `setPreview` methods [PR2](https://github.com/kadirahq/storybook-addons/pull/2)
### v1.3.1
* First stable release with addon store for loaders, panels and channel.

@@ -18,2 +18,3 @@ "use strict";

this._channel = null;
this._preview = null;
}

@@ -32,2 +33,12 @@

}, {
key: "getPreview",
value: function getPreview() {
return this._preview;
}
}, {
key: "setPreview",
value: function setPreview(preview) {
this._preview = preview;
}
}, {
key: "getPanels",

@@ -34,0 +45,0 @@ value: function getPanels() {

2

package.json
{
"name": "@kadira/storybook-addons",
"version": "1.3.1",
"version": "1.4.0",
"description": "Storybook addons store",

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

@@ -1,3 +0,8 @@

# storybook-adddons
# Storybook Addons
Node module to register addons
Storybook Addons is a node module which is used to load custom addons to storybook. It stores addon loaders, communication channel and other resources which can be used by storybook implementations where required.
## Writing New Addons
> TODO

@@ -6,2 +6,3 @@ export class AddonStore {

this._channel = null;
this._preview = null;
}

@@ -17,2 +18,10 @@

getPreview() {
return this._preview;
}
setPreview(preview) {
this._preview = preview;
}
getPanels() {

@@ -19,0 +28,0 @@ return this._panels;

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