Extend the Storybook UI provider from the base Provider.

This commit is contained in:
Arunoda Susiripala 2016-06-16 10:56:16 +05:30
parent 373b530050
commit d5ae6920cc
4 changed files with 20 additions and 18 deletions

30
dist/manager.js vendored

File diff suppressed because one or more lines are too long

2
dist/manager.js.map vendored
View File

@ -1 +1 @@
{"version":3,"file":"manager.js","sources":["webpack:///manager.js","webpack:///"],"mappings":"AAAA;ACwoIA;;;;;;;;;;;;;;AA0+EA;;;;;;;;;;;AA2/EA;AA89IA;;;;;;;;;AAmDA;AAyzEA;AAqkGA;AA+6FA;AA80EA;;;;;AAoBA;;;AAm4BA;AAuuHA;AA+8HA;AA2lHA","sourceRoot":""}
{"version":3,"file":"manager.js","sources":["webpack:///manager.js","webpack:///"],"mappings":"AAAA;ACwoIA;;;;;;;;;;;;;;AA0+EA;;;;;;;;;;;AAqlFA;AAk8IA;;;;;;;;;AAgCA;AAyzEA;AAqkGA;AA26FA;AAg1EA;;;;;AAuBA;;;AAm4BA;AAuuHA;AA+8HA;AA2lHA","sourceRoot":""}

View File

@ -21,7 +21,7 @@
"dev": "DEV_BUILD=1 nodemon --watch src --exec 'npm run prepublish'"
},
"dependencies": {
"@kadira/storybook-ui": "^2.0.0",
"@kadira/storybook-ui": "^2.1.0",
"airbnb-js-shims": "^1.0.0",
"babel-core": "^6.3.15",
"babel-loader": "^6.2.0",

View File

@ -3,9 +3,11 @@ import qs from 'qs';
import UUID from 'uuid';
import React from 'react';
import createPageBus from 'page-bus';
import { Provider } from '@kadira/storybook-ui';
export default class ReactProvider {
export default class ReactProvider extends Provider {
constructor() {
super();
this.dataId = UUID.v4();
}