mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 11:11:53 +08:00
Merge branch 'next' into pr/snowystinger/6410
This commit is contained in:
commit
2297f1bd5e
12
.babelrc.js
12
.babelrc.js
@ -1,14 +1,15 @@
|
||||
module.exports = {
|
||||
presets: [
|
||||
['@babel/preset-env', { shippedProposals: true, useBuiltIns: 'usage' }],
|
||||
'@babel/preset-typescript',
|
||||
'@babel/preset-react',
|
||||
'@babel/preset-flow',
|
||||
],
|
||||
plugins: [
|
||||
['@babel/plugin-proposal-object-rest-spread', { loose: true, useBuiltIns: true }],
|
||||
['@babel/plugin-proposal-class-properties', { loose: true }],
|
||||
'@babel/plugin-proposal-export-default-from',
|
||||
'@babel/plugin-syntax-dynamic-import',
|
||||
['@babel/plugin-proposal-class-properties', { loose: true }],
|
||||
['@babel/plugin-proposal-object-rest-spread', { loose: true, useBuiltIns: true }],
|
||||
'babel-plugin-macros',
|
||||
['emotion', { sourceMap: true, autoLabel: true }],
|
||||
],
|
||||
@ -62,6 +63,13 @@ module.exports = {
|
||||
},
|
||||
],
|
||||
],
|
||||
plugins: [
|
||||
'emotion',
|
||||
'babel-plugin-macros',
|
||||
['@babel/plugin-proposal-class-properties', { loose: true }],
|
||||
'@babel/plugin-proposal-object-rest-spread',
|
||||
'@babel/plugin-proposal-export-default-from',
|
||||
],
|
||||
},
|
||||
],
|
||||
};
|
||||
|
19
CHANGELOG.md
19
CHANGELOG.md
@ -1,3 +1,22 @@
|
||||
## 5.1.0-alpha.21 (April 4, 2019)
|
||||
|
||||
### Features
|
||||
|
||||
* Addon-centered: Fix horizontal scrolling overflow ([#6361](https://github.com/storybooks/storybook/pull/6361))
|
||||
* Angular: Support OnPush change detection for class-specified components ([#6360](https://github.com/storybooks/storybook/pull/6360))
|
||||
* Addon-storysource: Reuase clientApi when possible ([#6154](https://github.com/storybooks/storybook/pull/6154))
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* React-native: Fix backgrounds addon ([#6393](https://github.com/storybooks/storybook/pull/6393))
|
||||
* UI: Fix 'read full changelog' link on about page ([#6385](https://github.com/storybooks/storybook/pull/6385))
|
||||
* Addon-a11y: Fix addon initialization with 'makeDecorator' ([#6354](https://github.com/storybooks/storybook/pull/6354))
|
||||
* Typescript: Fix a11y build by adding hoist-non-react-statics ([#6348](https://github.com/storybooks/storybook/pull/6348))
|
||||
|
||||
### Maintenance
|
||||
|
||||
* Typescript: Use Babel instead of tsc ([#5109](https://github.com/storybooks/storybook/pull/5109))
|
||||
|
||||
## 5.0.6 (April 1, 2019)
|
||||
|
||||
### Bug Fixes
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-a11y",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "a11y addon for storybook",
|
||||
"keywords": [
|
||||
"a11y",
|
||||
@ -26,20 +26,20 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "5.1.0-alpha.20",
|
||||
"@storybook/api": "5.1.0-alpha.20",
|
||||
"@storybook/client-logger": "5.1.0-alpha.20",
|
||||
"@storybook/components": "5.1.0-alpha.20",
|
||||
"@storybook/core-events": "5.1.0-alpha.20",
|
||||
"@storybook/theming": "5.1.0-alpha.20",
|
||||
"@storybook/addons": "5.1.0-alpha.21",
|
||||
"@storybook/api": "5.1.0-alpha.21",
|
||||
"@storybook/client-logger": "5.1.0-alpha.21",
|
||||
"@storybook/components": "5.1.0-alpha.21",
|
||||
"@storybook/core-events": "5.1.0-alpha.21",
|
||||
"@storybook/theming": "5.1.0-alpha.21",
|
||||
"axe-core": "^3.2.2",
|
||||
"common-tags": "^1.8.0",
|
||||
"core-js": "^2.6.5",
|
||||
"global": "^4.3.2",
|
||||
"hoist-non-react-statics": "^3.3.0",
|
||||
"memoizerific": "^1.11.3",
|
||||
"react": "^16.8.4",
|
||||
"react-redux": "^6.0.1",
|
||||
"hoist-non-react-statics": "^3.3.0",
|
||||
"redux": "^4.0.1",
|
||||
"util-deprecate": "^1.0.2"
|
||||
},
|
||||
|
@ -78,25 +78,13 @@ exports[`HighlightToggle component should match snapshot 1`] = `
|
||||
"toString": [Function],
|
||||
},
|
||||
"hoverable": Object {
|
||||
"map": undefined,
|
||||
"name": "wpaw6f",
|
||||
"next": undefined,
|
||||
"styles": "
|
||||
transition: all 150ms ease-out;
|
||||
transform: translate3d(0, 0, 0);
|
||||
|
||||
&:hover {
|
||||
transform: translate3d(0, -2px, 0);
|
||||
}
|
||||
|
||||
&:active {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
",
|
||||
"map": "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9hbmltYXRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBd0NxQiIsImZpbGUiOiIuLi9zcmMvYW5pbWF0aW9uLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzLCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9jb3JlJztcblxuZXhwb3J0IGNvbnN0IGVhc2luZyA9IHtcbiAgcnViYmVyOiAnY3ViaWMtYmV6aWVyKDAuMTc1LCAwLjg4NSwgMC4zMzUsIDEuMDUpJyxcbn07XG5cbmNvbnN0IHJvdGF0ZTM2MCA9IGtleWZyYW1lc2Bcblx0ZnJvbSB7XG5cdFx0dHJhbnNmb3JtOiByb3RhdGUoMGRlZyk7XG5cdH1cblx0dG8ge1xuXHRcdHRyYW5zZm9ybTogcm90YXRlKDM2MGRlZyk7XG5cdH1cbmA7XG5cbmNvbnN0IGdsb3cgPSBrZXlmcmFtZXNgXG4gIDAlLCAxMDAlIHsgb3BhY2l0eTogMTsgfVxuICA1MCUgeyBvcGFjaXR5OiAuNDsgfVxuYDtcblxuY29uc3QgZmxvYXQgPSBrZXlmcmFtZXNgXG4gIDAlIHsgdHJhbnNmb3JtOiB0cmFuc2xhdGVZKDFweCk7IH1cbiAgMjUlIHsgdHJhbnNmb3JtOiB0cmFuc2xhdGVZKDBweCk7IH1cbiAgNTAlIHsgdHJhbnNmb3JtOiB0cmFuc2xhdGVZKC0zcHgpOyB9XG4gIDEwMCUgeyB0cmFuc2Zvcm06IHRyYW5zbGF0ZVkoMXB4KTsgfVxuYDtcblxuY29uc3QgamlnZ2xlID0ga2V5ZnJhbWVzYFxuICAwJSwgMTAwJSB7IHRyYW5zZm9ybTp0cmFuc2xhdGUzZCgwLDAsMCk7IH1cbiAgMTIuNSUsIDYyLjUlIHsgdHJhbnNmb3JtOnRyYW5zbGF0ZTNkKC00cHgsMCwwKTsgfVxuICAzNy41JSwgODcuNSUgeyAgdHJhbnNmb3JtOiB0cmFuc2xhdGUzZCg0cHgsMCwwKTsgIH1cbmA7XG5cbmNvbnN0IGlubGluZUdsb3cgPSBjc3NgXG4gIGFuaW1hdGlvbjogJHtnbG93fSAxLjVzIGVhc2UtaW4tb3V0IGluZmluaXRlO1xuICBjb2xvcjogdHJhbnNwYXJlbnQ7XG4gIGN1cnNvcjogcHJvZ3Jlc3M7XG5gO1xuXG4vLyBob3ZlciAmIGFjdGl2ZSBzdGF0ZSBmb3IgbGlua3MgYW5kIGJ1dHRvbnNcbmNvbnN0IGhvdmVyYWJsZSA9IGNzc2BcbiAgdHJhbnNpdGlvbjogYWxsIDE1MG1zIGVhc2Utb3V0O1xuICB0cmFuc2Zvcm06IHRyYW5zbGF0ZTNkKDAsIDAsIDApO1xuXG4gICY6aG92ZXIge1xuICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlM2QoMCwgLTJweCwgMCk7XG4gIH1cblxuICAmOmFjdGl2ZSB7XG4gICAgdHJhbnNmb3JtOiB0cmFuc2xhdGUzZCgwLCAwLCAwKTtcbiAgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGFuaW1hdGlvbiA9IHtcbiAgcm90YXRlMzYwLFxuICBnbG93LFxuICBmbG9hdCxcbiAgamlnZ2xlLFxuICBpbmxpbmVHbG93LFxuICBob3ZlcmFibGUsXG59O1xuIl19 */",
|
||||
"name": "1023qba-hoverable",
|
||||
"styles": "transition:all 150ms ease-out;transform:translate3d(0,0,0);&:hover{transform:translate3d(0,-2px,0);}&:active{transform:translate3d(0,0,0);}label:hoverable;",
|
||||
},
|
||||
"inlineGlow": Object {
|
||||
"map": undefined,
|
||||
"name": "zv3h0s",
|
||||
"map": "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9hbmltYXRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBaUNzQiIsImZpbGUiOiIuLi9zcmMvYW5pbWF0aW9uLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzLCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9jb3JlJztcblxuZXhwb3J0IGNvbnN0IGVhc2luZyA9IHtcbiAgcnViYmVyOiAnY3ViaWMtYmV6aWVyKDAuMTc1LCAwLjg4NSwgMC4zMzUsIDEuMDUpJyxcbn07XG5cbmNvbnN0IHJvdGF0ZTM2MCA9IGtleWZyYW1lc2Bcblx0ZnJvbSB7XG5cdFx0dHJhbnNmb3JtOiByb3RhdGUoMGRlZyk7XG5cdH1cblx0dG8ge1xuXHRcdHRyYW5zZm9ybTogcm90YXRlKDM2MGRlZyk7XG5cdH1cbmA7XG5cbmNvbnN0IGdsb3cgPSBrZXlmcmFtZXNgXG4gIDAlLCAxMDAlIHsgb3BhY2l0eTogMTsgfVxuICA1MCUgeyBvcGFjaXR5OiAuNDsgfVxuYDtcblxuY29uc3QgZmxvYXQgPSBrZXlmcmFtZXNgXG4gIDAlIHsgdHJhbnNmb3JtOiB0cmFuc2xhdGVZKDFweCk7IH1cbiAgMjUlIHsgdHJhbnNmb3JtOiB0cmFuc2xhdGVZKDBweCk7IH1cbiAgNTAlIHsgdHJhbnNmb3JtOiB0cmFuc2xhdGVZKC0zcHgpOyB9XG4gIDEwMCUgeyB0cmFuc2Zvcm06IHRyYW5zbGF0ZVkoMXB4KTsgfVxuYDtcblxuY29uc3QgamlnZ2xlID0ga2V5ZnJhbWVzYFxuICAwJSwgMTAwJSB7IHRyYW5zZm9ybTp0cmFuc2xhdGUzZCgwLDAsMCk7IH1cbiAgMTIuNSUsIDYyLjUlIHsgdHJhbnNmb3JtOnRyYW5zbGF0ZTNkKC00cHgsMCwwKTsgfVxuICAzNy41JSwgODcuNSUgeyAgdHJhbnNmb3JtOiB0cmFuc2xhdGUzZCg0cHgsMCwwKTsgIH1cbmA7XG5cbmNvbnN0IGlubGluZUdsb3cgPSBjc3NgXG4gIGFuaW1hdGlvbjogJHtnbG93fSAxLjVzIGVhc2UtaW4tb3V0IGluZmluaXRlO1xuICBjb2xvcjogdHJhbnNwYXJlbnQ7XG4gIGN1cnNvcjogcHJvZ3Jlc3M7XG5gO1xuXG4vLyBob3ZlciAmIGFjdGl2ZSBzdGF0ZSBmb3IgbGlua3MgYW5kIGJ1dHRvbnNcbmNvbnN0IGhvdmVyYWJsZSA9IGNzc2BcbiAgdHJhbnNpdGlvbjogYWxsIDE1MG1zIGVhc2Utb3V0O1xuICB0cmFuc2Zvcm06IHRyYW5zbGF0ZTNkKDAsIDAsIDApO1xuXG4gICY6aG92ZXIge1xuICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlM2QoMCwgLTJweCwgMCk7XG4gIH1cblxuICAmOmFjdGl2ZSB7XG4gICAgdHJhbnNmb3JtOiB0cmFuc2xhdGUzZCgwLCAwLCAwKTtcbiAgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGFuaW1hdGlvbiA9IHtcbiAgcm90YXRlMzYwLFxuICBnbG93LFxuICBmbG9hdCxcbiAgamlnZ2xlLFxuICBpbmxpbmVHbG93LFxuICBob3ZlcmFibGUsXG59O1xuIl19 */",
|
||||
"name": "1euta6d-inlineGlow",
|
||||
"next": Object {
|
||||
"name": "animation-r0iffl",
|
||||
"next": undefined,
|
||||
@ -105,12 +93,7 @@ exports[`HighlightToggle component should match snapshot 1`] = `
|
||||
50% { opacity: .4; }
|
||||
}",
|
||||
},
|
||||
"styles": "
|
||||
animation: animation-r0iffl 1.5s ease-in-out infinite;
|
||||
background: rgba(0,0,0,.1);
|
||||
color: transparent;
|
||||
cursor: progress;
|
||||
",
|
||||
"styles": "animation:animation-r0iffl 1.5s ease-in-out infinite;color:transparent;cursor:progress;label:inlineGlow;",
|
||||
},
|
||||
"jiggle": Object {
|
||||
"anim": 1,
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-actions",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "Action Logger addon for storybook",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -21,11 +21,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "5.1.0-alpha.20",
|
||||
"@storybook/api": "5.1.0-alpha.20",
|
||||
"@storybook/components": "5.1.0-alpha.20",
|
||||
"@storybook/core-events": "5.1.0-alpha.20",
|
||||
"@storybook/theming": "5.1.0-alpha.20",
|
||||
"@storybook/addons": "5.1.0-alpha.21",
|
||||
"@storybook/api": "5.1.0-alpha.21",
|
||||
"@storybook/components": "5.1.0-alpha.21",
|
||||
"@storybook/core-events": "5.1.0-alpha.21",
|
||||
"@storybook/theming": "5.1.0-alpha.21",
|
||||
"core-js": "^2.6.5",
|
||||
"fast-deep-equal": "^2.0.1",
|
||||
"global": "^4.3.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-backgrounds",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "A storybook addon to show different backgrounds for your preview",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -25,12 +25,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "5.1.0-alpha.20",
|
||||
"@storybook/api": "5.1.0-alpha.20",
|
||||
"@storybook/client-logger": "5.1.0-alpha.20",
|
||||
"@storybook/components": "5.1.0-alpha.20",
|
||||
"@storybook/core-events": "5.1.0-alpha.20",
|
||||
"@storybook/theming": "5.1.0-alpha.20",
|
||||
"@storybook/addons": "5.1.0-alpha.21",
|
||||
"@storybook/api": "5.1.0-alpha.21",
|
||||
"@storybook/client-logger": "5.1.0-alpha.21",
|
||||
"@storybook/components": "5.1.0-alpha.21",
|
||||
"@storybook/core-events": "5.1.0-alpha.21",
|
||||
"@storybook/theming": "5.1.0-alpha.21",
|
||||
"core-js": "^2.6.5",
|
||||
"memoizerific": "^1.11.3",
|
||||
"react": "^16.8.4",
|
||||
|
18
addons/centered/angular.d.ts
vendored
18
addons/centered/angular.d.ts
vendored
@ -1,6 +1,22 @@
|
||||
// tslint:disable-next-line:no-implicit-dependencies
|
||||
import { IStory } from '@storybook/angular';
|
||||
export interface ICollection {
|
||||
[p: string]: any;
|
||||
}
|
||||
|
||||
export interface NgModuleMetadata {
|
||||
declarations?: any[];
|
||||
entryComponents?: any[];
|
||||
imports?: any[];
|
||||
schemas?: any[];
|
||||
providers?: any[];
|
||||
}
|
||||
|
||||
export interface IStory {
|
||||
props?: ICollection;
|
||||
moduleMetadata?: Partial<NgModuleMetadata>;
|
||||
component?: any;
|
||||
template?: string;
|
||||
}
|
||||
declare module '@storybook/addon-centered/angular' {
|
||||
export function centered(story: IStory): IStory;
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-centered",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "Storybook decorator to center components",
|
||||
"keywords": [
|
||||
"addon",
|
||||
|
@ -7,12 +7,12 @@ const styles = {
|
||||
right: 0,
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
overflow: 'auto'
|
||||
overflow: 'auto',
|
||||
},
|
||||
innerStyle: {
|
||||
margin: 'auto',
|
||||
maxHeight: '100%', // Hack for centering correctly in IE11
|
||||
overflow: 'auto'
|
||||
overflow: 'auto',
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-cssresources",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "A storybook addon to switch between css resources at runtime for your story",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -25,10 +25,10 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "5.1.0-alpha.20",
|
||||
"@storybook/api": "5.1.0-alpha.20",
|
||||
"@storybook/components": "5.1.0-alpha.20",
|
||||
"@storybook/core-events": "5.1.0-alpha.20",
|
||||
"@storybook/addons": "5.1.0-alpha.21",
|
||||
"@storybook/api": "5.1.0-alpha.21",
|
||||
"@storybook/components": "5.1.0-alpha.21",
|
||||
"@storybook/core-events": "5.1.0-alpha.21",
|
||||
"core-js": "^2.6.5",
|
||||
"global": "^4.3.2",
|
||||
"react": "^16.8.4"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-events",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "Add events to your Storybook stories.",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -24,9 +24,9 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "5.1.0-alpha.20",
|
||||
"@storybook/core-events": "5.1.0-alpha.20",
|
||||
"@storybook/theming": "5.1.0-alpha.20",
|
||||
"@storybook/addons": "5.1.0-alpha.21",
|
||||
"@storybook/core-events": "5.1.0-alpha.21",
|
||||
"@storybook/theming": "5.1.0-alpha.21",
|
||||
"core-js": "^2.6.5",
|
||||
"format-json": "^1.0.3",
|
||||
"prop-types": "^15.7.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-google-analytics",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "Storybook addon for google analytics",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -20,8 +20,8 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "5.1.0-alpha.20",
|
||||
"@storybook/core-events": "5.1.0-alpha.20",
|
||||
"@storybook/addons": "5.1.0-alpha.21",
|
||||
"@storybook/core-events": "5.1.0-alpha.21",
|
||||
"core-js": "^2.6.5",
|
||||
"global": "^4.3.2",
|
||||
"react-ga": "^2.5.7"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-graphql",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "Storybook addon to display the GraphiQL IDE",
|
||||
"keywords": [
|
||||
"addon",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-info",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "A Storybook addon to show additional information for your stories.",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -22,10 +22,10 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "5.1.0-alpha.20",
|
||||
"@storybook/client-logger": "5.1.0-alpha.20",
|
||||
"@storybook/components": "5.1.0-alpha.20",
|
||||
"@storybook/theming": "5.1.0-alpha.20",
|
||||
"@storybook/addons": "5.1.0-alpha.21",
|
||||
"@storybook/client-logger": "5.1.0-alpha.21",
|
||||
"@storybook/components": "5.1.0-alpha.21",
|
||||
"@storybook/theming": "5.1.0-alpha.21",
|
||||
"core-js": "^2.6.5",
|
||||
"global": "^4.3.2",
|
||||
"marksy": "^6.1.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-jest",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "React storybook addon that show component jest report",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -28,10 +28,10 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "5.1.0-alpha.20",
|
||||
"@storybook/components": "5.1.0-alpha.20",
|
||||
"@storybook/core-events": "5.1.0-alpha.20",
|
||||
"@storybook/theming": "5.1.0-alpha.20",
|
||||
"@storybook/addons": "5.1.0-alpha.21",
|
||||
"@storybook/components": "5.1.0-alpha.21",
|
||||
"@storybook/core-events": "5.1.0-alpha.21",
|
||||
"@storybook/theming": "5.1.0-alpha.21",
|
||||
"core-js": "^2.6.5",
|
||||
"global": "^4.3.2",
|
||||
"prop-types": "^15.7.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-knobs",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "Storybook Addon Prop Editor Component",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -22,10 +22,10 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "5.1.0-alpha.20",
|
||||
"@storybook/components": "5.1.0-alpha.20",
|
||||
"@storybook/core-events": "5.1.0-alpha.20",
|
||||
"@storybook/theming": "5.1.0-alpha.20",
|
||||
"@storybook/addons": "5.1.0-alpha.21",
|
||||
"@storybook/components": "5.1.0-alpha.21",
|
||||
"@storybook/core-events": "5.1.0-alpha.21",
|
||||
"@storybook/theming": "5.1.0-alpha.21",
|
||||
"copy-to-clipboard": "^3.0.8",
|
||||
"core-js": "^2.6.5",
|
||||
"escape-html": "^1.0.3",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-links",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "Story Links addon for storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -22,9 +22,9 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "5.1.0-alpha.20",
|
||||
"@storybook/core-events": "5.1.0-alpha.20",
|
||||
"@storybook/router": "5.1.0-alpha.20",
|
||||
"@storybook/addons": "5.1.0-alpha.21",
|
||||
"@storybook/core-events": "5.1.0-alpha.21",
|
||||
"@storybook/router": "5.1.0-alpha.21",
|
||||
"common-tags": "^1.8.0",
|
||||
"core-js": "^2.6.5",
|
||||
"global": "^4.3.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-notes",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "Write notes for your Storybook stories.",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -23,12 +23,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "5.1.0-alpha.20",
|
||||
"@storybook/api": "5.1.0-alpha.20",
|
||||
"@storybook/client-logger": "5.1.0-alpha.20",
|
||||
"@storybook/components": "5.1.0-alpha.20",
|
||||
"@storybook/core-events": "5.1.0-alpha.20",
|
||||
"@storybook/theming": "5.1.0-alpha.20",
|
||||
"@storybook/addons": "5.1.0-alpha.21",
|
||||
"@storybook/api": "5.1.0-alpha.21",
|
||||
"@storybook/client-logger": "5.1.0-alpha.21",
|
||||
"@storybook/components": "5.1.0-alpha.21",
|
||||
"@storybook/core-events": "5.1.0-alpha.21",
|
||||
"@storybook/theming": "5.1.0-alpha.21",
|
||||
"core-js": "^2.6.5",
|
||||
"markdown-to-jsx": "^6.9.3",
|
||||
"prop-types": "^15.7.2",
|
||||
|
@ -1,10 +1,8 @@
|
||||
# Storybook Addon On Device Backgrounds
|
||||
# Storybook Backgrounds Addon for react-native
|
||||
|
||||
Storybook On Device Background Addon can be used to change background colors inside the the simulator in [Storybook](https://storybook.js.org).
|
||||
Storybook Backgrounds Addon for react-native can be used to change background colors of your stories right from the device.
|
||||
|
||||
[Framework Support](https://github.com/storybooks/storybook/blob/master/ADDONS_SUPPORT.md)
|
||||
|
||||

|
||||
<img src="docs/demo.gif" alt="Storybook Backgrounds Addon Demo" width="400" />
|
||||
|
||||
## Installation
|
||||
|
||||
@ -27,9 +25,10 @@ Then import `rn-addons.js` next to your `getStorybookUI` call.
|
||||
import './rn-addons';
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
react-native users will have to import `storiesOf` from `@storybook/react-native` and are required to add the `withBackgrounds` decorator.
|
||||
|
||||
Then write your stories like this:
|
||||
|
||||
```js
|
||||
@ -37,53 +36,16 @@ import React from 'react';
|
||||
import { storiesOf } from '@storybook/react-native';
|
||||
import { withBackgrounds } from '@storybook/addon-ondevice-backgrounds';
|
||||
|
||||
storiesOf('Button', module)
|
||||
.addDecorator(
|
||||
withBackgrounds([
|
||||
{ name: 'twitter', value: '#00aced', default: true },
|
||||
{ name: 'facebook', value: '#3b5998' },
|
||||
])
|
||||
)
|
||||
.add('with text', () => <Text>Click me</Text>);
|
||||
```
|
||||
|
||||
You can add the backgrounds to all stories with `addDecorator` in `.storybook/config.js`:
|
||||
|
||||
```js
|
||||
import { addDecorator } from '@storybook/react-native'; // <- or your storybook framework
|
||||
import { withBackgrounds } from '@storybook/addon-ondevice-backgrounds';
|
||||
|
||||
addDecorator(
|
||||
withBackgrounds([
|
||||
{ name: 'twitter', value: '#00aced', default: true },
|
||||
{ name: 'facebook', value: '#3b5998' },
|
||||
])
|
||||
);
|
||||
```
|
||||
|
||||
If you want to override backgrounds for a single story or group of stories, pass the `backgrounds` parameter:
|
||||
|
||||
```js
|
||||
import React from 'react';
|
||||
import { storiesOf } from '@storybook/react-native';
|
||||
addDecorator(withBackgrounds);
|
||||
|
||||
storiesOf('Button', module)
|
||||
.addParameters({
|
||||
backgrounds: [
|
||||
{ name: 'red', value: '#F44336' },
|
||||
{ name: 'blue', value: '#2196F3', default: true },
|
||||
{ name: 'dark', value: '#222222' },
|
||||
{ name: 'light', value: '#eeeeee', default: true },
|
||||
],
|
||||
})
|
||||
.add('with text', () => <button>Click me</button>);
|
||||
.add('with text', () => <Text>Click me</Text>);
|
||||
```
|
||||
|
||||
If you don't want to use backgrounds for a story, you can set the `backgrounds` parameter to `[]`, or use `{ disable: true }` to skip the addon:
|
||||
|
||||
```js
|
||||
import React from 'react';
|
||||
import { storiesOf } from '@storybook/react-native';
|
||||
|
||||
storiesOf('Button', module).add('with text', () => <button>Click me</button>, {
|
||||
backgrounds: { disable: true },
|
||||
});
|
||||
```
|
||||
See [web backgrounds addon](../backgrounds#usage) for detailed usage and the [crna-kitchen-sink app](../../examples-native/crna-kitchen-sink) for more examples.
|
||||
|
BIN
addons/ondevice-backgrounds/docs/demo.gif
Normal file
BIN
addons/ondevice-backgrounds/docs/demo.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.9 MiB |
Binary file not shown.
Before Width: | Height: | Size: 230 KiB |
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@storybook/addon-ondevice-backgrounds",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"description": "A storybook addon to show different backgrounds for your preview",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "A react-native storybook addon to show different backgrounds for your preview",
|
||||
"keywords": [
|
||||
"addon",
|
||||
"background",
|
||||
@ -24,7 +24,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "5.1.0-alpha.20",
|
||||
"@storybook/addons": "5.1.0-alpha.21",
|
||||
"core-js": "^2.6.5",
|
||||
"prop-types": "^15.7.2"
|
||||
},
|
||||
|
@ -1,16 +1,14 @@
|
||||
import React, { Component } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { View, Text } from 'react-native';
|
||||
import Events from './constants';
|
||||
import Events from '@storybook/core-events';
|
||||
import Swatch from './Swatch';
|
||||
import Constants from './constants';
|
||||
|
||||
const defaultBackground = {
|
||||
name: 'default',
|
||||
value: 'transparent',
|
||||
};
|
||||
|
||||
const instructionsHtml = `
|
||||
const codeSample = `
|
||||
import { storiesOf } from '@storybook/react-native';
|
||||
import { withBackgrounds } from '@storybook/addon-ondevice-backgrounds';
|
||||
|
||||
addDecorator(withBackgrounds);
|
||||
|
||||
storiesOf('First Component', module)
|
||||
.addParameters({
|
||||
@ -19,7 +17,7 @@ storiesOf('First Component', module)
|
||||
{ name: 'cool', value: 'deepskyblue' },
|
||||
],
|
||||
})
|
||||
.add("First Button", () => <button>Click me</button>);
|
||||
.add("First Button", () => <Button>Click me</Button>);
|
||||
`.trim();
|
||||
|
||||
const Instructions = () => (
|
||||
@ -33,81 +31,51 @@ const Instructions = () => (
|
||||
<Text>
|
||||
Below is an example of how to add the background decorator to your story definition.
|
||||
</Text>
|
||||
<Text>{instructionsHtml}</Text>
|
||||
<Text>{codeSample}</Text>
|
||||
</View>
|
||||
);
|
||||
|
||||
export default class BackgroundPanel extends Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
|
||||
this.state = { backgrounds: [] };
|
||||
}
|
||||
setBackgroundFromSwatch = background => {
|
||||
this.props.channel.emit(Constants.UPDATE_BACKGROUND, background);
|
||||
};
|
||||
|
||||
componentDidMount() {
|
||||
const { channel } = this.props;
|
||||
|
||||
this.onSet = channel.on(Events.SET, data => {
|
||||
const backgrounds = [...data];
|
||||
|
||||
this.setState({ backgrounds });
|
||||
});
|
||||
|
||||
this.onUnset = channel.on(Events.UNSET, () => {
|
||||
this.setState({ backgrounds: [] });
|
||||
});
|
||||
this.props.channel.on(Events.SELECT_STORY, this.onStorySelected);
|
||||
}
|
||||
|
||||
componentWillUnmount() {
|
||||
const { channel } = this.props;
|
||||
channel.removeListener(Events.SET, this.onSet);
|
||||
channel.removeListener(Events.UNSET, this.onUnset);
|
||||
this.props.channel.removeListener(Events.SELECT_STORY, this.onStorySelected);
|
||||
}
|
||||
|
||||
setBackgroundFromSwatch = background => {
|
||||
this.update(background);
|
||||
onStorySelected = selection => {
|
||||
this.setState({ selection });
|
||||
};
|
||||
|
||||
update(background) {
|
||||
const { channel } = this.props;
|
||||
channel.emit(Events.UPDATE_BACKGROUND, background);
|
||||
}
|
||||
|
||||
render() {
|
||||
const { active } = this.props;
|
||||
const { backgrounds = [] } = this.state;
|
||||
const { active, api } = this.props;
|
||||
|
||||
if (!active) {
|
||||
return null;
|
||||
}
|
||||
if (!backgrounds.length) return <Instructions />;
|
||||
|
||||
const hasDefault = backgrounds.filter(x => x.default).length;
|
||||
if (!hasDefault) backgrounds.push(defaultBackground);
|
||||
const story = api
|
||||
.store()
|
||||
.getStoryAndParameters(this.state.selection.kind, this.state.selection.story);
|
||||
const backgrounds = story.parameters[Constants.PARAM_KEY];
|
||||
|
||||
return (
|
||||
<View>
|
||||
{backgrounds.map(({ value, name }) => (
|
||||
<View key={`${name} ${value}`}>
|
||||
<Swatch value={value} name={name} setBackground={this.setBackgroundFromSwatch} />
|
||||
</View>
|
||||
))}
|
||||
{backgrounds ? (
|
||||
backgrounds.map(({ value, name }) => (
|
||||
<View key={`${name} ${value}`}>
|
||||
<Swatch value={value} name={name} setBackground={this.setBackgroundFromSwatch} />
|
||||
</View>
|
||||
))
|
||||
) : (
|
||||
<Instructions />
|
||||
)}
|
||||
</View>
|
||||
);
|
||||
}
|
||||
}
|
||||
BackgroundPanel.propTypes = {
|
||||
active: PropTypes.bool.isRequired,
|
||||
api: PropTypes.shape({
|
||||
getQueryParam: PropTypes.func,
|
||||
setQueryParams: PropTypes.func,
|
||||
}).isRequired,
|
||||
channel: PropTypes.shape({
|
||||
emit: PropTypes.func,
|
||||
on: PropTypes.func,
|
||||
removeListener: PropTypes.func,
|
||||
}),
|
||||
};
|
||||
BackgroundPanel.defaultProps = {
|
||||
channel: undefined,
|
||||
};
|
||||
|
@ -5,4 +5,5 @@ export default {
|
||||
SET: `${ADDON_ID}:set`,
|
||||
UNSET: `${ADDON_ID}:unset`,
|
||||
UPDATE_BACKGROUND: `${ADDON_ID}:update`,
|
||||
PARAM_KEY: 'backgrounds',
|
||||
};
|
||||
|
@ -1,28 +1,25 @@
|
||||
import React from 'react';
|
||||
import { View } from 'react-native';
|
||||
import PropTypes from 'prop-types';
|
||||
import Events from './constants';
|
||||
import Constants from './constants';
|
||||
|
||||
export default class Container extends React.Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
this.state = { background: props.initialBackground || '' };
|
||||
this.onBackgroundChange = this.onBackgroundChange.bind(this);
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
const { channel } = this.props;
|
||||
// Listen to the notes and render it.
|
||||
channel.on(Events.UPDATE_BACKGROUND, this.onBackgroundChange);
|
||||
channel.on(Constants.UPDATE_BACKGROUND, this.onBackgroundChange);
|
||||
}
|
||||
|
||||
// This is some cleanup tasks when the Notes panel is unmounting.
|
||||
componentWillUnmount() {
|
||||
const { channel } = this.props;
|
||||
channel.removeListener(Events.UPDATE_BACKGROUND, this.onBackgroundChange);
|
||||
channel.removeListener(Constants.UPDATE_BACKGROUND, this.onBackgroundChange);
|
||||
}
|
||||
|
||||
onBackgroundChange(background) {
|
||||
onBackgroundChange = (background) => {
|
||||
this.setState({ background });
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-ondevice-knobs",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "Display storybook story knobs on your deviced.",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -21,8 +21,8 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "5.1.0-alpha.20",
|
||||
"@storybook/core-events": "5.1.0-alpha.20",
|
||||
"@storybook/addons": "5.1.0-alpha.21",
|
||||
"@storybook/core-events": "5.1.0-alpha.21",
|
||||
"core-js": "^2.6.5",
|
||||
"deep-equal": "^1.0.1",
|
||||
"prop-types": "^15.7.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-ondevice-notes",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "Write notes for your Storybook stories.",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -19,7 +19,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "5.1.0-alpha.20",
|
||||
"@storybook/addons": "5.1.0-alpha.21",
|
||||
"core-js": "^2.6.5",
|
||||
"prop-types": "^15.7.2",
|
||||
"react-native-simple-markdown": "^1.1.0"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-options",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "Options addon for storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -21,7 +21,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "5.1.0-alpha.20",
|
||||
"@storybook/addons": "5.1.0-alpha.21",
|
||||
"core-js": "^2.6.5",
|
||||
"util-deprecate": "^1.0.2"
|
||||
},
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-storyshots",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "StoryShots is a Jest Snapshot Testing Addon for Storybook.",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -25,7 +25,7 @@
|
||||
"storybook": "start-storybook -p 6006"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "5.1.0-alpha.20",
|
||||
"@storybook/addons": "5.1.0-alpha.21",
|
||||
"core-js": "^2.6.5",
|
||||
"glob": "^7.1.3",
|
||||
"global": "^4.3.2",
|
||||
|
@ -1,9 +1,15 @@
|
||||
import 'core-js';
|
||||
import 'core-js/es6/reflect';
|
||||
import 'core-js/es7/reflect';
|
||||
import hasDependency from '../hasDependency';
|
||||
import configure from '../configure';
|
||||
|
||||
function setupAngularJestPreset() {
|
||||
// Needed to prevent "Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten."
|
||||
require.requireActual('core-js');
|
||||
require.requireActual('core-js/modules/es6.promise');
|
||||
// require.requireActual('core-js/es6/reflect');
|
||||
// require.requireActual('core-js/es7/reflect');
|
||||
|
||||
// Angular + Jest + Storyshots = Crazy Shit:
|
||||
// We need to require 'jest-preset-angular/setupJest' before any storybook code
|
||||
|
@ -3,8 +3,8 @@
|
||||
"include": [
|
||||
"src/**/*.ts"
|
||||
],
|
||||
"compileOnSave": false,
|
||||
"compilerOptions": {
|
||||
"rootDir": "./src"
|
||||
"rootDir": "./src",
|
||||
"experimentalDecorators": true
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-storyshots-puppeteer",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "Image snappshots addition to StoryShots base on puppeteer",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -22,8 +22,8 @@
|
||||
"prepare": "node ../../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/node-logger": "5.1.0-alpha.20",
|
||||
"@storybook/router": "5.1.0-alpha.20",
|
||||
"@storybook/node-logger": "5.1.0-alpha.21",
|
||||
"@storybook/router": "5.1.0-alpha.21",
|
||||
"core-js": "^2.6.5",
|
||||
"jest-image-snapshot": "^2.8.1",
|
||||
"puppeteer": "^1.12.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-storysource",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "Stories addon for storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -22,10 +22,10 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "5.1.0-alpha.20",
|
||||
"@storybook/components": "5.1.0-alpha.20",
|
||||
"@storybook/router": "5.1.0-alpha.20",
|
||||
"@storybook/theming": "5.1.0-alpha.20",
|
||||
"@storybook/addons": "5.1.0-alpha.21",
|
||||
"@storybook/components": "5.1.0-alpha.21",
|
||||
"@storybook/router": "5.1.0-alpha.21",
|
||||
"@storybook/theming": "5.1.0-alpha.21",
|
||||
"core-js": "^2.6.5",
|
||||
"estraverse": "^4.2.0",
|
||||
"loader-utils": "^1.2.3",
|
||||
|
@ -25,6 +25,7 @@ Then, add following content to .storybook/addons.js
|
||||
```js
|
||||
import '@storybook/addon-viewport/register';
|
||||
```
|
||||
You should now be able to see the viewport addon icon in the the toolbar at the top of the screen.
|
||||
|
||||
## Configuration
|
||||
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 193 KiB After Width: | Height: | Size: 121 KiB |
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-viewport",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "Storybook addon to change the viewport size to mobile",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -21,11 +21,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "5.1.0-alpha.20",
|
||||
"@storybook/client-logger": "5.1.0-alpha.20",
|
||||
"@storybook/components": "5.1.0-alpha.20",
|
||||
"@storybook/core-events": "5.1.0-alpha.20",
|
||||
"@storybook/theming": "5.1.0-alpha.20",
|
||||
"@storybook/addons": "5.1.0-alpha.21",
|
||||
"@storybook/client-logger": "5.1.0-alpha.21",
|
||||
"@storybook/components": "5.1.0-alpha.21",
|
||||
"@storybook/core-events": "5.1.0-alpha.21",
|
||||
"@storybook/theming": "5.1.0-alpha.21",
|
||||
"core-js": "^2.6.5",
|
||||
"global": "^4.3.2",
|
||||
"memoizerific": "^1.11.3",
|
||||
|
33
app/angular/index.d.ts
vendored
33
app/angular/index.d.ts
vendored
@ -1,5 +1,28 @@
|
||||
import { NgModuleMetadata, ICollection } from './dist/client/preview/angular/types';
|
||||
export { moduleMetadata } from './dist/client/preview/angular/decorators';
|
||||
/*
|
||||
* ATTENTION:
|
||||
* - moduleMetadata
|
||||
* - NgModuleMetadata
|
||||
* - ICollection
|
||||
*
|
||||
* These typings are coped out of decorators.d.ts and types.d.ts in order to fix a bug with tsc
|
||||
* It was imported out of dist before which was not the proper way of exporting public API
|
||||
*
|
||||
* This can be fixed by migrating app/angular to typescript
|
||||
*/
|
||||
export declare const moduleMetadata: (
|
||||
metadata: Partial<NgModuleMetadata>
|
||||
) => (storyFn: () => any) => any;
|
||||
|
||||
export interface NgModuleMetadata {
|
||||
declarations?: any[];
|
||||
entryComponents?: any[];
|
||||
imports?: any[];
|
||||
schemas?: any[];
|
||||
providers?: any[];
|
||||
}
|
||||
export interface ICollection {
|
||||
[p: string]: any;
|
||||
}
|
||||
|
||||
export interface IStorybookStory {
|
||||
name: string;
|
||||
@ -36,10 +59,16 @@ export interface IApi {
|
||||
|
||||
declare module '@storybook/angular' {
|
||||
export function storiesOf(kind: string, module: NodeModule): IApi;
|
||||
|
||||
export function setAddon(addon: any): void;
|
||||
|
||||
export function addDecorator(decorator: any): IApi;
|
||||
|
||||
export function addParameters(parameters: any): IApi;
|
||||
|
||||
export function configure(loaders: () => void, module: NodeModule): void;
|
||||
|
||||
export function getStorybook(): IStoribookSection[];
|
||||
|
||||
export function forceReRender(): void;
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/angular",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "Storybook for Angular: Develop Angular Components in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -26,8 +26,8 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/core": "5.1.0-alpha.20",
|
||||
"@storybook/node-logger": "5.1.0-alpha.20",
|
||||
"@storybook/core": "5.1.0-alpha.21",
|
||||
"@storybook/node-logger": "5.1.0-alpha.21",
|
||||
"angular2-template-loader": "^0.6.2",
|
||||
"core-js": "^2.6.5",
|
||||
"fork-ts-checker-webpack-plugin": "^0.5.2",
|
||||
|
2
app/angular/src/client/preview/index.d.ts
vendored
2
app/angular/src/client/preview/index.d.ts
vendored
@ -1,3 +1,5 @@
|
||||
import { IApi, IStoribookSection } from '../../../index';
|
||||
|
||||
export function storiesOf(kind: string, module: NodeModule): IApi;
|
||||
export function setAddon(addon: any): void;
|
||||
export function addDecorator(decorator: any): IApi;
|
||||
|
0
app/angular/src/server/build.js
vendored
Executable file → Normal file
0
app/angular/src/server/build.js
vendored
Executable file → Normal file
0
app/angular/src/server/index.js
vendored
Executable file → Normal file
0
app/angular/src/server/index.js
vendored
Executable file → Normal file
@ -5,6 +5,14 @@
|
||||
],
|
||||
"compileOnSave": false,
|
||||
"compilerOptions": {
|
||||
"rootDir": "./src"
|
||||
"outDir": "dist",
|
||||
"emitDecoratorMetadata": true,
|
||||
"experimentalDecorators": true,
|
||||
"declaration": true,
|
||||
"rootDir": "./src",
|
||||
"lib": [
|
||||
"es2017",
|
||||
"dom"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/ember",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.",
|
||||
"homepage": "https://github.com/storybooks/storybook/tree/master/app/ember",
|
||||
"bugs": {
|
||||
@ -24,7 +24,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@ember/test-helpers": "^1.5.0",
|
||||
"@storybook/core": "5.1.0-alpha.20",
|
||||
"@storybook/core": "5.1.0-alpha.21",
|
||||
"common-tags": "^1.8.0",
|
||||
"core-js": "^2.6.5",
|
||||
"global": "^4.3.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/html",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -25,7 +25,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/core": "5.1.0-alpha.20",
|
||||
"@storybook/core": "5.1.0-alpha.21",
|
||||
"common-tags": "^1.8.0",
|
||||
"core-js": "^2.6.5",
|
||||
"global": "^4.3.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/marko",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "Storybook for Marko: Develop Marko Component in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -26,7 +26,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/core": "5.1.0-alpha.20",
|
||||
"@storybook/core": "5.1.0-alpha.21",
|
||||
"common-tags": "^1.8.0",
|
||||
"core-js": "^2.6.5",
|
||||
"global": "^4.3.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/mithril",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "Storybook for Mithril: Develop Mithril Component in isolation.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -27,7 +27,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/plugin-transform-react-jsx": "^7.3.0",
|
||||
"@storybook/core": "5.1.0-alpha.20",
|
||||
"@storybook/core": "5.1.0-alpha.21",
|
||||
"common-tags": "^1.8.0",
|
||||
"core-js": "^2.6.5",
|
||||
"global": "^4.3.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/polymer",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "Storybook for Polymer: Develop Polymer components in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -25,7 +25,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/core": "5.1.0-alpha.20",
|
||||
"@storybook/core": "5.1.0-alpha.21",
|
||||
"@webcomponents/webcomponentsjs": "^1.2.0",
|
||||
"common-tags": "^1.8.0",
|
||||
"core-js": "^2.6.5",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/preact",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "Storybook for Preact: Develop Preact Component in isolation.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -27,7 +27,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/plugin-transform-react-jsx": "^7.3.0",
|
||||
"@storybook/core": "5.1.0-alpha.20",
|
||||
"@storybook/core": "5.1.0-alpha.21",
|
||||
"common-tags": "^1.8.0",
|
||||
"core-js": "^2.6.5",
|
||||
"global": "^4.3.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/react-native-server",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "A better way to develop React Native Components for your app",
|
||||
"keywords": [
|
||||
"react",
|
||||
@ -24,12 +24,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "5.1.0-alpha.20",
|
||||
"@storybook/api": "5.1.0-alpha.20",
|
||||
"@storybook/channel-websocket": "5.1.0-alpha.20",
|
||||
"@storybook/core": "5.1.0-alpha.20",
|
||||
"@storybook/core-events": "5.1.0-alpha.20",
|
||||
"@storybook/ui": "5.1.0-alpha.20",
|
||||
"@storybook/addons": "5.1.0-alpha.21",
|
||||
"@storybook/api": "5.1.0-alpha.21",
|
||||
"@storybook/channel-websocket": "5.1.0-alpha.21",
|
||||
"@storybook/core": "5.1.0-alpha.21",
|
||||
"@storybook/core-events": "5.1.0-alpha.21",
|
||||
"@storybook/ui": "5.1.0-alpha.21",
|
||||
"commander": "^2.19.0",
|
||||
"global": "^4.3.2",
|
||||
"react": "^16.6.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/react-native",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "A better way to develop React Native Components for your app",
|
||||
"keywords": [
|
||||
"react",
|
||||
@ -23,11 +23,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "5.1.0-alpha.20",
|
||||
"@storybook/channel-websocket": "5.1.0-alpha.20",
|
||||
"@storybook/channels": "5.1.0-alpha.20",
|
||||
"@storybook/client-api": "5.1.0-alpha.20",
|
||||
"@storybook/core-events": "5.1.0-alpha.20",
|
||||
"@storybook/addons": "5.1.0-alpha.21",
|
||||
"@storybook/channel-websocket": "5.1.0-alpha.21",
|
||||
"@storybook/channels": "5.1.0-alpha.21",
|
||||
"@storybook/client-api": "5.1.0-alpha.21",
|
||||
"@storybook/core-events": "5.1.0-alpha.21",
|
||||
"core-js": "^2.6.5",
|
||||
"prop-types": "^15.7.2",
|
||||
"react-native-swipe-gestures": "^1.0.3",
|
||||
|
@ -9,8 +9,6 @@ import style from '../style';
|
||||
export default class Addons extends PureComponent {
|
||||
constructor() {
|
||||
super();
|
||||
|
||||
addons.loadAddons({});
|
||||
this.panels = addons.getElements('panel');
|
||||
|
||||
this.state = {
|
||||
|
2
app/react-native/src/preview/index.js
vendored
2
app/react-native/src/preview/index.js
vendored
@ -106,6 +106,8 @@ export default class Preview {
|
||||
|
||||
const preview = this;
|
||||
|
||||
addons.loadAddons(this._clientApi);
|
||||
|
||||
// react-native hot module loader must take in a Class - https://github.com/facebook/react-native/issues/10991
|
||||
// eslint-disable-next-line react/prefer-stateless-function
|
||||
return class StorybookRoot extends React.PureComponent {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/react",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "Storybook for React: Develop React Component in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -29,8 +29,8 @@
|
||||
"@babel/plugin-transform-react-constant-elements": "^7.2.0",
|
||||
"@babel/preset-flow": "^7.0.0",
|
||||
"@babel/preset-react": "^7.0.0",
|
||||
"@storybook/core": "5.1.0-alpha.20",
|
||||
"@storybook/node-logger": "5.1.0-alpha.20",
|
||||
"@storybook/core": "5.1.0-alpha.21",
|
||||
"@storybook/node-logger": "5.1.0-alpha.21",
|
||||
"@svgr/webpack": "^4.0.3",
|
||||
"babel-plugin-named-asset-import": "^0.3.1",
|
||||
"babel-plugin-react-docgen": "^3.0.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/riot",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "Storybook for riot.js: View riot snippets in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -25,7 +25,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/core": "5.1.0-alpha.20",
|
||||
"@storybook/core": "5.1.0-alpha.21",
|
||||
"common-tags": "^1.8.0",
|
||||
"core-js": "^2.6.5",
|
||||
"global": "^4.3.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/svelte",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -26,7 +26,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/core": "5.1.0-alpha.20",
|
||||
"@storybook/core": "5.1.0-alpha.21",
|
||||
"common-tags": "^1.8.0",
|
||||
"core-js": "^2.6.5",
|
||||
"global": "^4.3.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/vue",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -26,7 +26,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/core": "5.1.0-alpha.20",
|
||||
"@storybook/core": "5.1.0-alpha.21",
|
||||
"common-tags": "^1.8.0",
|
||||
"core-js": "^2.6.5",
|
||||
"global": "^4.3.2",
|
||||
|
@ -181,6 +181,27 @@ storiesOf('My App/Buttons/Emoji', module).add('with some emoji', () => (
|
||||
));
|
||||
```
|
||||
|
||||
## Organising stories with titles
|
||||
|
||||
Stories can be organized under a title using "|" as a separator:
|
||||
|
||||
```jsx
|
||||
import React from 'react';
|
||||
import { storiesOf } from '@storybook/react';
|
||||
import Button from '../components/Button';
|
||||
|
||||
/**
|
||||
* The Button stories will show up underneath the 'Components' title.
|
||||
*/
|
||||
storiesOf('Components|Button', module).add('base', () => (
|
||||
<Button onClick={() => console.log('Clicked')}>Example Button</Button>
|
||||
));
|
||||
```
|
||||
|
||||
If you would prefer to use another character as the separator then you can
|
||||
configure it using the `hierarchyRootSeparator` config option. Visit the
|
||||
[configuration options parameter](/configurations/options-parameter) page to learn more.
|
||||
|
||||
## Generating nesting path based on \_\_dirname
|
||||
|
||||
Nesting paths can be programmatically generated with template literals because story names are strings.
|
||||
|
@ -1 +1 @@
|
||||
{"version":"5.1.0-alpha.20","info":{"plain":"### Features\n\n* Addons: Manage local/session storage access with store2 ([#6310](https://github.com/storybooks/storybook/pull/6310))\n\n### Bug Fixes\n\n* Addon-cssresources: Fix panel layout ([#6263](https://github.com/storybooks/storybook/pull/6263))\n* Addon-info: Fixed contrast of Show Info button for a11y ([#6301](https://github.com/storybooks/storybook/pull/6301))\n\n### Maintenance\n\n* Migrate options and decorators in examples to new api ([#5954](https://github.com/storybooks/storybook/pull/5954))"}}
|
||||
{"version":"5.1.0-alpha.21","info":{"plain":"### Features\n\n* Addon-centered: Fix horizontal scrolling overflow ([#6361](https://github.com/storybooks/storybook/pull/6361))\n* Angular: Support OnPush change detection for class-specified components ([#6360](https://github.com/storybooks/storybook/pull/6360))\n* Addon-storysource: Reuase clientApi when possible ([#6154](https://github.com/storybooks/storybook/pull/6154))\n\n### Bug Fixes\n\n* React-native: Fix backgrounds addon ([#6393](https://github.com/storybooks/storybook/pull/6393))\n* UI: Fix 'read full changelog' link on about page ([#6385](https://github.com/storybooks/storybook/pull/6385))\n* Addon-a11y: Fix addon initialization with 'makeDecorator' ([#6354](https://github.com/storybooks/storybook/pull/6354))\n* Typescript: Fix a11y build by adding hoist-non-react-statics ([#6348](https://github.com/storybooks/storybook/pull/6348))\n\n### Maintenance\n\n* Typescript: Use Babel instead of tsc ([#5109](https://github.com/storybooks/storybook/pull/5109))"}}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "crna-kitchen-sink",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"private": true,
|
||||
"main": "node_modules/expo/AppEntry.js",
|
||||
"scripts": {
|
||||
@ -24,11 +24,12 @@
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.2.2",
|
||||
"@babel/plugin-transform-react-jsx-source": "^7.2.0",
|
||||
"@storybook/addon-knobs": "5.1.0-alpha.20",
|
||||
"@storybook/addon-ondevice-knobs": "5.1.0-alpha.20",
|
||||
"@storybook/addon-ondevice-notes": "5.1.0-alpha.20",
|
||||
"@storybook/addons": "5.1.0-alpha.20",
|
||||
"@storybook/react-native": "5.1.0-alpha.20",
|
||||
"@storybook/addon-knobs": "5.1.0-alpha.21",
|
||||
"@storybook/addon-ondevice-backgrounds": "5.1.0-alpha.21",
|
||||
"@storybook/addon-ondevice-knobs": "5.1.0-alpha.21",
|
||||
"@storybook/addon-ondevice-notes": "5.1.0-alpha.21",
|
||||
"@storybook/addons": "5.1.0-alpha.21",
|
||||
"@storybook/react-native": "5.1.0-alpha.21",
|
||||
"babel-loader": "^8.0.4",
|
||||
"babel-plugin-module-resolver": "^3.2.0",
|
||||
"babel-preset-expo": "^5.1.1",
|
||||
|
@ -6,17 +6,19 @@ import { action } from '@storybook/addon-actions';
|
||||
import { linkTo } from '@storybook/addon-links';
|
||||
import { withKnobs } from '@storybook/addon-knobs';
|
||||
import { withNotes } from '@storybook/addon-ondevice-notes';
|
||||
import { withBackgrounds } from '@storybook/addon-ondevice-backgrounds';
|
||||
import knobsWrapper from './Knobs';
|
||||
import Button from './Button';
|
||||
import CenterView from './CenterView';
|
||||
import Welcome from './Welcome';
|
||||
|
||||
addDecorator(withNotes);
|
||||
addDecorator(withBackgrounds);
|
||||
|
||||
addParameters({
|
||||
backgrounds: [
|
||||
{ name: 'light', value: '#eeeeee' },
|
||||
{ name: 'dark', value: '#222222', default: true },
|
||||
{ name: 'dark', value: '#222222' },
|
||||
{ name: 'white', value: '#ffffff', default: true },
|
||||
],
|
||||
});
|
||||
|
||||
@ -31,8 +33,8 @@ storiesOf('Welcome', module).add('to Storybook', () => <Welcome showApp={linkTo(
|
||||
storiesOf('Button', module)
|
||||
.addParameters({
|
||||
backgrounds: [
|
||||
{ name: 'light', value: '#eeeeee' },
|
||||
{ name: 'dark', value: '#222222', default: true },
|
||||
{ name: 'dark', value: '#222222' },
|
||||
{ name: 'light', value: '#eeeeee', default: true },
|
||||
],
|
||||
notes: `
|
||||
# Custom note\n
|
||||
|
@ -1,6 +1,6 @@
|
||||
const path = require('path');
|
||||
import { resolve } from 'path';
|
||||
|
||||
module.exports = async ({ config }) => {
|
||||
module.exports = async ({ config }: { config: any }) => {
|
||||
config.module.rules.push({
|
||||
test: [/\.stories\.tsx?$/, /index\.ts$/],
|
||||
loaders: [
|
||||
@ -11,7 +11,7 @@ module.exports = async ({ config }) => {
|
||||
},
|
||||
},
|
||||
],
|
||||
include: [path.resolve(__dirname, '../src')],
|
||||
include: [resolve(__dirname, '../src')],
|
||||
enforce: 'pre',
|
||||
});
|
||||
return config;
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "angular-cli",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"private": true,
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
@ -34,18 +34,18 @@
|
||||
"@angular-devkit/build-angular": "^0.13.4",
|
||||
"@angular/cli": "^7.3.6",
|
||||
"@angular/compiler-cli": "^7.2.6",
|
||||
"@storybook/addon-actions": "5.1.0-alpha.20",
|
||||
"@storybook/addon-backgrounds": "5.1.0-alpha.20",
|
||||
"@storybook/addon-centered": "5.1.0-alpha.20",
|
||||
"@storybook/addon-jest": "5.1.0-alpha.20",
|
||||
"@storybook/addon-knobs": "5.1.0-alpha.20",
|
||||
"@storybook/addon-links": "5.1.0-alpha.20",
|
||||
"@storybook/addon-notes": "5.1.0-alpha.20",
|
||||
"@storybook/addon-options": "5.1.0-alpha.20",
|
||||
"@storybook/addon-storyshots": "5.1.0-alpha.20",
|
||||
"@storybook/addon-storysource": "5.1.0-alpha.20",
|
||||
"@storybook/addons": "5.1.0-alpha.20",
|
||||
"@storybook/angular": "5.1.0-alpha.20",
|
||||
"@storybook/addon-actions": "5.1.0-alpha.21",
|
||||
"@storybook/addon-backgrounds": "5.1.0-alpha.21",
|
||||
"@storybook/addon-centered": "5.1.0-alpha.21",
|
||||
"@storybook/addon-jest": "5.1.0-alpha.21",
|
||||
"@storybook/addon-knobs": "5.1.0-alpha.21",
|
||||
"@storybook/addon-links": "5.1.0-alpha.21",
|
||||
"@storybook/addon-notes": "5.1.0-alpha.21",
|
||||
"@storybook/addon-options": "5.1.0-alpha.21",
|
||||
"@storybook/addon-storyshots": "5.1.0-alpha.21",
|
||||
"@storybook/addon-storysource": "5.1.0-alpha.21",
|
||||
"@storybook/addons": "5.1.0-alpha.21",
|
||||
"@storybook/angular": "5.1.0-alpha.21",
|
||||
"@types/core-js": "^2.5.0",
|
||||
"@types/jest": "^24.0.11",
|
||||
"@types/node": "~11.11.0",
|
||||
@ -57,6 +57,6 @@
|
||||
"jest-preset-angular": "^6.0.1",
|
||||
"protractor": "~5.4.2",
|
||||
"ts-node": "~8.0.3",
|
||||
"typescript": "^3.3.3333"
|
||||
"typescript": "^3.4.1"
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,6 @@
|
||||
"compilerOptions": {
|
||||
"outDir": "./dist/out-tsc",
|
||||
"sourceMap": true,
|
||||
"declaration": false,
|
||||
"moduleResolution": "node",
|
||||
"emitDecoratorMetadata": true,
|
||||
"experimentalDecorators": true,
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cra-kitchen-sink",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "react-scripts build",
|
||||
@ -19,22 +19,22 @@
|
||||
"react-lifecycles-compat": "^3.0.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "5.1.0-alpha.20",
|
||||
"@storybook/addon-actions": "5.1.0-alpha.20",
|
||||
"@storybook/addon-backgrounds": "5.1.0-alpha.20",
|
||||
"@storybook/addon-centered": "5.1.0-alpha.20",
|
||||
"@storybook/addon-events": "5.1.0-alpha.20",
|
||||
"@storybook/addon-info": "5.1.0-alpha.20",
|
||||
"@storybook/addon-jest": "5.1.0-alpha.20",
|
||||
"@storybook/addon-knobs": "5.1.0-alpha.20",
|
||||
"@storybook/addon-links": "5.1.0-alpha.20",
|
||||
"@storybook/addon-notes": "5.1.0-alpha.20",
|
||||
"@storybook/addon-options": "5.1.0-alpha.20",
|
||||
"@storybook/addon-storyshots": "5.1.0-alpha.20",
|
||||
"@storybook/addons": "5.1.0-alpha.20",
|
||||
"@storybook/client-logger": "5.1.0-alpha.20",
|
||||
"@storybook/react": "5.1.0-alpha.20",
|
||||
"@storybook/theming": "5.1.0-alpha.20",
|
||||
"@storybook/addon-a11y": "5.1.0-alpha.21",
|
||||
"@storybook/addon-actions": "5.1.0-alpha.21",
|
||||
"@storybook/addon-backgrounds": "5.1.0-alpha.21",
|
||||
"@storybook/addon-centered": "5.1.0-alpha.21",
|
||||
"@storybook/addon-events": "5.1.0-alpha.21",
|
||||
"@storybook/addon-info": "5.1.0-alpha.21",
|
||||
"@storybook/addon-jest": "5.1.0-alpha.21",
|
||||
"@storybook/addon-knobs": "5.1.0-alpha.21",
|
||||
"@storybook/addon-links": "5.1.0-alpha.21",
|
||||
"@storybook/addon-notes": "5.1.0-alpha.21",
|
||||
"@storybook/addon-options": "5.1.0-alpha.21",
|
||||
"@storybook/addon-storyshots": "5.1.0-alpha.21",
|
||||
"@storybook/addons": "5.1.0-alpha.21",
|
||||
"@storybook/client-logger": "5.1.0-alpha.21",
|
||||
"@storybook/react": "5.1.0-alpha.21",
|
||||
"@storybook/theming": "5.1.0-alpha.21",
|
||||
"enzyme": "^3.9.0",
|
||||
"enzyme-adapter-react-16": "^1.9.1",
|
||||
"enzyme-to-json": "^3.3.5",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cra-ts-kitchen-sink",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build-storybook": "build-storybook -s public",
|
||||
@ -20,11 +20,11 @@
|
||||
"react-dom": "^16.8.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-actions": "5.1.0-alpha.20",
|
||||
"@storybook/addon-info": "5.1.0-alpha.20",
|
||||
"@storybook/addon-options": "5.1.0-alpha.20",
|
||||
"@storybook/addons": "5.1.0-alpha.20",
|
||||
"@storybook/react": "5.1.0-alpha.20",
|
||||
"@storybook/addon-actions": "5.1.0-alpha.21",
|
||||
"@storybook/addon-info": "5.1.0-alpha.21",
|
||||
"@storybook/addon-options": "5.1.0-alpha.21",
|
||||
"@storybook/addons": "5.1.0-alpha.21",
|
||||
"@storybook/react": "5.1.0-alpha.21",
|
||||
"@types/enzyme": "^3.9.0",
|
||||
"@types/react": "^16.8.4",
|
||||
"@types/react-dom": "^16.8.2",
|
||||
@ -39,6 +39,6 @@
|
||||
"react-scripts": "^2.1.3",
|
||||
"tslint": "^5.14.0",
|
||||
"tslint-config-airbnb": "^5.11.1",
|
||||
"typescript": "^3.3.3333"
|
||||
"typescript": "^3.4.1"
|
||||
}
|
||||
}
|
||||
|
@ -12,10 +12,12 @@
|
||||
"strict": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"resolveJsonModule": true,
|
||||
"isolatedModules": true,
|
||||
"noEmit": true
|
||||
"isolatedModules": true
|
||||
},
|
||||
"include": [
|
||||
"src"
|
||||
],
|
||||
"exclude": [
|
||||
"src/setupTests.js"
|
||||
]
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ember-example",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "ember build",
|
||||
@ -15,18 +15,18 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.3.4",
|
||||
"@storybook/addon-a11y": "5.1.0-alpha.20",
|
||||
"@storybook/addon-actions": "5.1.0-alpha.20",
|
||||
"@storybook/addon-backgrounds": "5.1.0-alpha.20",
|
||||
"@storybook/addon-centered": "5.1.0-alpha.20",
|
||||
"@storybook/addon-knobs": "5.1.0-alpha.20",
|
||||
"@storybook/addon-links": "5.1.0-alpha.20",
|
||||
"@storybook/addon-notes": "5.1.0-alpha.20",
|
||||
"@storybook/addon-options": "5.1.0-alpha.20",
|
||||
"@storybook/addon-storysource": "5.1.0-alpha.20",
|
||||
"@storybook/addon-viewport": "5.1.0-alpha.20",
|
||||
"@storybook/addons": "5.1.0-alpha.20",
|
||||
"@storybook/ember": "5.1.0-alpha.20",
|
||||
"@storybook/addon-a11y": "5.1.0-alpha.21",
|
||||
"@storybook/addon-actions": "5.1.0-alpha.21",
|
||||
"@storybook/addon-backgrounds": "5.1.0-alpha.21",
|
||||
"@storybook/addon-centered": "5.1.0-alpha.21",
|
||||
"@storybook/addon-knobs": "5.1.0-alpha.21",
|
||||
"@storybook/addon-links": "5.1.0-alpha.21",
|
||||
"@storybook/addon-notes": "5.1.0-alpha.21",
|
||||
"@storybook/addon-options": "5.1.0-alpha.21",
|
||||
"@storybook/addon-storysource": "5.1.0-alpha.21",
|
||||
"@storybook/addon-viewport": "5.1.0-alpha.21",
|
||||
"@storybook/addons": "5.1.0-alpha.21",
|
||||
"@storybook/ember": "5.1.0-alpha.21",
|
||||
"babel-loader": "^8",
|
||||
"broccoli-asset-rev": "^3.0.0",
|
||||
"cross-env": "^5.2.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "html-kitchen-sink",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"private": true,
|
||||
"description": "",
|
||||
"keywords": [],
|
||||
@ -14,23 +14,23 @@
|
||||
"storybook": "start-storybook -p 9006"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "5.1.0-alpha.20",
|
||||
"@storybook/addon-actions": "5.1.0-alpha.20",
|
||||
"@storybook/addon-backgrounds": "5.1.0-alpha.20",
|
||||
"@storybook/addon-centered": "5.1.0-alpha.20",
|
||||
"@storybook/addon-events": "5.1.0-alpha.20",
|
||||
"@storybook/addon-jest": "5.1.0-alpha.20",
|
||||
"@storybook/addon-knobs": "5.1.0-alpha.20",
|
||||
"@storybook/addon-links": "5.1.0-alpha.20",
|
||||
"@storybook/addon-notes": "5.1.0-alpha.20",
|
||||
"@storybook/addon-options": "5.1.0-alpha.20",
|
||||
"@storybook/addon-storyshots": "5.1.0-alpha.20",
|
||||
"@storybook/addon-storysource": "5.1.0-alpha.20",
|
||||
"@storybook/addon-viewport": "5.1.0-alpha.20",
|
||||
"@storybook/addons": "5.1.0-alpha.20",
|
||||
"@storybook/core": "5.1.0-alpha.20",
|
||||
"@storybook/core-events": "5.1.0-alpha.20",
|
||||
"@storybook/html": "5.1.0-alpha.20",
|
||||
"@storybook/addon-a11y": "5.1.0-alpha.21",
|
||||
"@storybook/addon-actions": "5.1.0-alpha.21",
|
||||
"@storybook/addon-backgrounds": "5.1.0-alpha.21",
|
||||
"@storybook/addon-centered": "5.1.0-alpha.21",
|
||||
"@storybook/addon-events": "5.1.0-alpha.21",
|
||||
"@storybook/addon-jest": "5.1.0-alpha.21",
|
||||
"@storybook/addon-knobs": "5.1.0-alpha.21",
|
||||
"@storybook/addon-links": "5.1.0-alpha.21",
|
||||
"@storybook/addon-notes": "5.1.0-alpha.21",
|
||||
"@storybook/addon-options": "5.1.0-alpha.21",
|
||||
"@storybook/addon-storyshots": "5.1.0-alpha.21",
|
||||
"@storybook/addon-storysource": "5.1.0-alpha.21",
|
||||
"@storybook/addon-viewport": "5.1.0-alpha.21",
|
||||
"@storybook/addons": "5.1.0-alpha.21",
|
||||
"@storybook/core": "5.1.0-alpha.21",
|
||||
"@storybook/core-events": "5.1.0-alpha.21",
|
||||
"@storybook/html": "5.1.0-alpha.21",
|
||||
"eventemitter3": "^3.1.0",
|
||||
"format-json": "^1.0.3",
|
||||
"global": "^4.3.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "marko-cli",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"private": true,
|
||||
"description": "Demo of how to build an app using marko-starter",
|
||||
"repository": {
|
||||
@ -24,12 +24,12 @@
|
||||
"marko-starter": "^2.0.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-actions": "5.1.0-alpha.20",
|
||||
"@storybook/addon-knobs": "5.1.0-alpha.20",
|
||||
"@storybook/addon-options": "5.1.0-alpha.20",
|
||||
"@storybook/addon-storysource": "5.1.0-alpha.20",
|
||||
"@storybook/addons": "5.1.0-alpha.20",
|
||||
"@storybook/marko": "5.1.0-alpha.20",
|
||||
"@storybook/addon-actions": "5.1.0-alpha.21",
|
||||
"@storybook/addon-knobs": "5.1.0-alpha.21",
|
||||
"@storybook/addon-options": "5.1.0-alpha.21",
|
||||
"@storybook/addon-storysource": "5.1.0-alpha.21",
|
||||
"@storybook/addons": "5.1.0-alpha.21",
|
||||
"@storybook/marko": "5.1.0-alpha.21",
|
||||
"prettier": "^1.16.4",
|
||||
"webpack": "^4.28.0"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "mithril-example",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build-storybook": "build-storybook",
|
||||
@ -11,18 +11,18 @@
|
||||
"mithril": "^1.1.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-actions": "5.1.0-alpha.20",
|
||||
"@storybook/addon-backgrounds": "5.1.0-alpha.20",
|
||||
"@storybook/addon-centered": "5.1.0-alpha.20",
|
||||
"@storybook/addon-knobs": "5.1.0-alpha.20",
|
||||
"@storybook/addon-links": "5.1.0-alpha.20",
|
||||
"@storybook/addon-notes": "5.1.0-alpha.20",
|
||||
"@storybook/addon-options": "5.1.0-alpha.20",
|
||||
"@storybook/addon-storyshots": "5.1.0-alpha.20",
|
||||
"@storybook/addon-storysource": "5.1.0-alpha.20",
|
||||
"@storybook/addon-viewport": "5.1.0-alpha.20",
|
||||
"@storybook/addons": "5.1.0-alpha.20",
|
||||
"@storybook/mithril": "5.1.0-alpha.20",
|
||||
"@storybook/addon-actions": "5.1.0-alpha.21",
|
||||
"@storybook/addon-backgrounds": "5.1.0-alpha.21",
|
||||
"@storybook/addon-centered": "5.1.0-alpha.21",
|
||||
"@storybook/addon-knobs": "5.1.0-alpha.21",
|
||||
"@storybook/addon-links": "5.1.0-alpha.21",
|
||||
"@storybook/addon-notes": "5.1.0-alpha.21",
|
||||
"@storybook/addon-options": "5.1.0-alpha.21",
|
||||
"@storybook/addon-storyshots": "5.1.0-alpha.21",
|
||||
"@storybook/addon-storysource": "5.1.0-alpha.21",
|
||||
"@storybook/addon-viewport": "5.1.0-alpha.21",
|
||||
"@storybook/addons": "5.1.0-alpha.21",
|
||||
"@storybook/mithril": "5.1.0-alpha.21",
|
||||
"webpack": "^4.28.0"
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "official-storybook",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build-storybook": "build-storybook -c ./ -s built-storybooks",
|
||||
@ -13,29 +13,29 @@
|
||||
"storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 -c ./ -s built-storybooks --no-dll"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "5.1.0-alpha.20",
|
||||
"@storybook/addon-actions": "5.1.0-alpha.20",
|
||||
"@storybook/addon-backgrounds": "5.1.0-alpha.20",
|
||||
"@storybook/addon-centered": "5.1.0-alpha.20",
|
||||
"@storybook/addon-cssresources": "5.1.0-alpha.20",
|
||||
"@storybook/addon-events": "5.1.0-alpha.20",
|
||||
"@storybook/addon-graphql": "5.1.0-alpha.20",
|
||||
"@storybook/addon-info": "5.1.0-alpha.20",
|
||||
"@storybook/addon-jest": "5.1.0-alpha.20",
|
||||
"@storybook/addon-knobs": "5.1.0-alpha.20",
|
||||
"@storybook/addon-links": "5.1.0-alpha.20",
|
||||
"@storybook/addon-notes": "5.1.0-alpha.20",
|
||||
"@storybook/addon-options": "5.1.0-alpha.20",
|
||||
"@storybook/addon-storyshots": "5.1.0-alpha.20",
|
||||
"@storybook/addon-storyshots-puppeteer": "5.1.0-alpha.20",
|
||||
"@storybook/addon-storysource": "5.1.0-alpha.20",
|
||||
"@storybook/addon-viewport": "5.1.0-alpha.20",
|
||||
"@storybook/addons": "5.1.0-alpha.20",
|
||||
"@storybook/components": "5.1.0-alpha.20",
|
||||
"@storybook/core-events": "5.1.0-alpha.20",
|
||||
"@storybook/node-logger": "5.1.0-alpha.20",
|
||||
"@storybook/react": "5.1.0-alpha.20",
|
||||
"@storybook/theming": "5.1.0-alpha.20",
|
||||
"@storybook/addon-a11y": "5.1.0-alpha.21",
|
||||
"@storybook/addon-actions": "5.1.0-alpha.21",
|
||||
"@storybook/addon-backgrounds": "5.1.0-alpha.21",
|
||||
"@storybook/addon-centered": "5.1.0-alpha.21",
|
||||
"@storybook/addon-cssresources": "5.1.0-alpha.21",
|
||||
"@storybook/addon-events": "5.1.0-alpha.21",
|
||||
"@storybook/addon-graphql": "5.1.0-alpha.21",
|
||||
"@storybook/addon-info": "5.1.0-alpha.21",
|
||||
"@storybook/addon-jest": "5.1.0-alpha.21",
|
||||
"@storybook/addon-knobs": "5.1.0-alpha.21",
|
||||
"@storybook/addon-links": "5.1.0-alpha.21",
|
||||
"@storybook/addon-notes": "5.1.0-alpha.21",
|
||||
"@storybook/addon-options": "5.1.0-alpha.21",
|
||||
"@storybook/addon-storyshots": "5.1.0-alpha.21",
|
||||
"@storybook/addon-storyshots-puppeteer": "5.1.0-alpha.21",
|
||||
"@storybook/addon-storysource": "5.1.0-alpha.21",
|
||||
"@storybook/addon-viewport": "5.1.0-alpha.21",
|
||||
"@storybook/addons": "5.1.0-alpha.21",
|
||||
"@storybook/components": "5.1.0-alpha.21",
|
||||
"@storybook/core-events": "5.1.0-alpha.21",
|
||||
"@storybook/node-logger": "5.1.0-alpha.21",
|
||||
"@storybook/react": "5.1.0-alpha.21",
|
||||
"@storybook/theming": "5.1.0-alpha.21",
|
||||
"cors": "^2.8.5",
|
||||
"cross-env": "^5.2.0",
|
||||
"enzyme-to-json": "^3.3.5",
|
||||
|
@ -7891,7 +7891,6 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = `
|
||||
.emotion-11.emotion-11 > * {
|
||||
-webkit-animation: animation-0 1.5s ease-in-out infinite;
|
||||
animation: animation-0 1.5s ease-in-out infinite;
|
||||
background: rgba(0,0,0,.1);
|
||||
color: transparent;
|
||||
cursor: progress;
|
||||
}
|
||||
@ -7924,7 +7923,6 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = `
|
||||
.emotion-19.emotion-19 > * {
|
||||
-webkit-animation: animation-0 1.5s ease-in-out infinite;
|
||||
animation: animation-0 1.5s ease-in-out infinite;
|
||||
background: rgba(0,0,0,.1);
|
||||
color: transparent;
|
||||
cursor: progress;
|
||||
}
|
||||
@ -7957,7 +7955,6 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = `
|
||||
.emotion-27.emotion-27 > * {
|
||||
-webkit-animation: animation-0 1.5s ease-in-out infinite;
|
||||
animation: animation-0 1.5s ease-in-out infinite;
|
||||
background: rgba(0,0,0,.1);
|
||||
color: transparent;
|
||||
cursor: progress;
|
||||
}
|
||||
@ -7990,7 +7987,6 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = `
|
||||
.emotion-31.emotion-31 > * {
|
||||
-webkit-animation: animation-0 1.5s ease-in-out infinite;
|
||||
animation: animation-0 1.5s ease-in-out infinite;
|
||||
background: rgba(0,0,0,.1);
|
||||
color: transparent;
|
||||
cursor: progress;
|
||||
}
|
||||
@ -8254,7 +8250,6 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = `
|
||||
.emotion-11.emotion-11 > * {
|
||||
-webkit-animation: animation-0 1.5s ease-in-out infinite;
|
||||
animation: animation-0 1.5s ease-in-out infinite;
|
||||
background: rgba(0,0,0,.1);
|
||||
color: transparent;
|
||||
cursor: progress;
|
||||
}
|
||||
@ -8287,7 +8282,6 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = `
|
||||
.emotion-19.emotion-19 > * {
|
||||
-webkit-animation: animation-0 1.5s ease-in-out infinite;
|
||||
animation: animation-0 1.5s ease-in-out infinite;
|
||||
background: rgba(0,0,0,.1);
|
||||
color: transparent;
|
||||
cursor: progress;
|
||||
}
|
||||
@ -8320,7 +8314,6 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = `
|
||||
.emotion-27.emotion-27 > * {
|
||||
-webkit-animation: animation-0 1.5s ease-in-out infinite;
|
||||
animation: animation-0 1.5s ease-in-out infinite;
|
||||
background: rgba(0,0,0,.1);
|
||||
color: transparent;
|
||||
cursor: progress;
|
||||
}
|
||||
@ -8353,7 +8346,6 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = `
|
||||
.emotion-31.emotion-31 > * {
|
||||
-webkit-animation: animation-0 1.5s ease-in-out infinite;
|
||||
animation: animation-0 1.5s ease-in-out infinite;
|
||||
background: rgba(0,0,0,.1);
|
||||
color: transparent;
|
||||
cursor: progress;
|
||||
}
|
||||
@ -12939,7 +12931,6 @@ exports[`Storyshots UI|Sidebar/SidebarItem loading 1`] = `
|
||||
.emotion-3.emotion-3 > * {
|
||||
-webkit-animation: animation-0 1.5s ease-in-out infinite;
|
||||
animation: animation-0 1.5s ease-in-out infinite;
|
||||
background: rgba(0,0,0,.1);
|
||||
color: transparent;
|
||||
cursor: progress;
|
||||
}
|
||||
@ -13044,7 +13035,6 @@ exports[`Storyshots UI|Sidebar/SidebarItem loading 1`] = `
|
||||
.emotion-3.emotion-3 > * {
|
||||
-webkit-animation: animation-0 1.5s ease-in-out infinite;
|
||||
animation: animation-0 1.5s ease-in-out infinite;
|
||||
background: rgba(0,0,0,.1);
|
||||
color: transparent;
|
||||
cursor: progress;
|
||||
}
|
||||
@ -15154,7 +15144,6 @@ exports[`Storyshots UI|Sidebar/SidebarStories loading 1`] = `
|
||||
.emotion-3.emotion-3 > * {
|
||||
-webkit-animation: animation-0 1.5s ease-in-out infinite;
|
||||
animation: animation-0 1.5s ease-in-out infinite;
|
||||
background: rgba(0,0,0,.1);
|
||||
color: transparent;
|
||||
cursor: progress;
|
||||
}
|
||||
@ -15187,7 +15176,6 @@ exports[`Storyshots UI|Sidebar/SidebarStories loading 1`] = `
|
||||
.emotion-11.emotion-11 > * {
|
||||
-webkit-animation: animation-0 1.5s ease-in-out infinite;
|
||||
animation: animation-0 1.5s ease-in-out infinite;
|
||||
background: rgba(0,0,0,.1);
|
||||
color: transparent;
|
||||
cursor: progress;
|
||||
}
|
||||
@ -15220,7 +15208,6 @@ exports[`Storyshots UI|Sidebar/SidebarStories loading 1`] = `
|
||||
.emotion-19.emotion-19 > * {
|
||||
-webkit-animation: animation-0 1.5s ease-in-out infinite;
|
||||
animation: animation-0 1.5s ease-in-out infinite;
|
||||
background: rgba(0,0,0,.1);
|
||||
color: transparent;
|
||||
cursor: progress;
|
||||
}
|
||||
@ -15253,7 +15240,6 @@ exports[`Storyshots UI|Sidebar/SidebarStories loading 1`] = `
|
||||
.emotion-23.emotion-23 > * {
|
||||
-webkit-animation: animation-0 1.5s ease-in-out infinite;
|
||||
animation: animation-0 1.5s ease-in-out infinite;
|
||||
background: rgba(0,0,0,.1);
|
||||
color: transparent;
|
||||
cursor: progress;
|
||||
}
|
||||
@ -15366,7 +15352,6 @@ exports[`Storyshots UI|Sidebar/SidebarStories loading 1`] = `
|
||||
.emotion-3.emotion-3 > * {
|
||||
-webkit-animation: animation-0 1.5s ease-in-out infinite;
|
||||
animation: animation-0 1.5s ease-in-out infinite;
|
||||
background: rgba(0,0,0,.1);
|
||||
color: transparent;
|
||||
cursor: progress;
|
||||
}
|
||||
@ -15399,7 +15384,6 @@ exports[`Storyshots UI|Sidebar/SidebarStories loading 1`] = `
|
||||
.emotion-11.emotion-11 > * {
|
||||
-webkit-animation: animation-0 1.5s ease-in-out infinite;
|
||||
animation: animation-0 1.5s ease-in-out infinite;
|
||||
background: rgba(0,0,0,.1);
|
||||
color: transparent;
|
||||
cursor: progress;
|
||||
}
|
||||
@ -15432,7 +15416,6 @@ exports[`Storyshots UI|Sidebar/SidebarStories loading 1`] = `
|
||||
.emotion-19.emotion-19 > * {
|
||||
-webkit-animation: animation-0 1.5s ease-in-out infinite;
|
||||
animation: animation-0 1.5s ease-in-out infinite;
|
||||
background: rgba(0,0,0,.1);
|
||||
color: transparent;
|
||||
cursor: progress;
|
||||
}
|
||||
@ -15465,7 +15448,6 @@ exports[`Storyshots UI|Sidebar/SidebarStories loading 1`] = `
|
||||
.emotion-23.emotion-23 > * {
|
||||
-webkit-animation: animation-0 1.5s ease-in-out infinite;
|
||||
animation: animation-0 1.5s ease-in-out infinite;
|
||||
background: rgba(0,0,0,.1);
|
||||
color: transparent;
|
||||
cursor: progress;
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "polymer-cli",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build-storybook": "build-storybook",
|
||||
@ -10,15 +10,15 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@polymer/polymer": "^2.6.0",
|
||||
"@storybook/addon-actions": "5.1.0-alpha.20",
|
||||
"@storybook/addon-backgrounds": "5.1.0-alpha.20",
|
||||
"@storybook/addon-knobs": "5.1.0-alpha.20",
|
||||
"@storybook/addon-links": "5.1.0-alpha.20",
|
||||
"@storybook/addon-notes": "5.1.0-alpha.20",
|
||||
"@storybook/addon-options": "5.1.0-alpha.20",
|
||||
"@storybook/addon-storysource": "5.1.0-alpha.20",
|
||||
"@storybook/addon-viewport": "5.1.0-alpha.20",
|
||||
"@storybook/polymer": "5.1.0-alpha.20",
|
||||
"@storybook/addon-actions": "5.1.0-alpha.21",
|
||||
"@storybook/addon-backgrounds": "5.1.0-alpha.21",
|
||||
"@storybook/addon-knobs": "5.1.0-alpha.21",
|
||||
"@storybook/addon-links": "5.1.0-alpha.21",
|
||||
"@storybook/addon-notes": "5.1.0-alpha.21",
|
||||
"@storybook/addon-options": "5.1.0-alpha.21",
|
||||
"@storybook/addon-storysource": "5.1.0-alpha.21",
|
||||
"@storybook/addon-viewport": "5.1.0-alpha.21",
|
||||
"@storybook/polymer": "5.1.0-alpha.21",
|
||||
"@webcomponents/webcomponentsjs": "^1.2.0",
|
||||
"global": "^4.3.2",
|
||||
"lit-html": "^1.0.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "preact-example",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
|
||||
@ -16,18 +16,18 @@
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.3.4",
|
||||
"@babel/plugin-transform-runtime": "^7.2.0",
|
||||
"@storybook/addon-actions": "5.1.0-alpha.20",
|
||||
"@storybook/addon-backgrounds": "5.1.0-alpha.20",
|
||||
"@storybook/addon-centered": "5.1.0-alpha.20",
|
||||
"@storybook/addon-knobs": "5.1.0-alpha.20",
|
||||
"@storybook/addon-links": "5.1.0-alpha.20",
|
||||
"@storybook/addon-notes": "5.1.0-alpha.20",
|
||||
"@storybook/addon-options": "5.1.0-alpha.20",
|
||||
"@storybook/addon-storyshots": "5.1.0-alpha.20",
|
||||
"@storybook/addon-storysource": "5.1.0-alpha.20",
|
||||
"@storybook/addon-viewport": "5.1.0-alpha.20",
|
||||
"@storybook/addons": "5.1.0-alpha.20",
|
||||
"@storybook/preact": "5.1.0-alpha.20",
|
||||
"@storybook/addon-actions": "5.1.0-alpha.21",
|
||||
"@storybook/addon-backgrounds": "5.1.0-alpha.21",
|
||||
"@storybook/addon-centered": "5.1.0-alpha.21",
|
||||
"@storybook/addon-knobs": "5.1.0-alpha.21",
|
||||
"@storybook/addon-links": "5.1.0-alpha.21",
|
||||
"@storybook/addon-notes": "5.1.0-alpha.21",
|
||||
"@storybook/addon-options": "5.1.0-alpha.21",
|
||||
"@storybook/addon-storyshots": "5.1.0-alpha.21",
|
||||
"@storybook/addon-storysource": "5.1.0-alpha.21",
|
||||
"@storybook/addon-viewport": "5.1.0-alpha.21",
|
||||
"@storybook/addons": "5.1.0-alpha.21",
|
||||
"@storybook/preact": "5.1.0-alpha.21",
|
||||
"babel-loader": "^8.0.4",
|
||||
"cross-env": "^5.2.0",
|
||||
"file-loader": "^3.0.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "riot-example",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
|
||||
@ -16,18 +16,18 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.3.4",
|
||||
"@storybook/addon-actions": "5.1.0-alpha.20",
|
||||
"@storybook/addon-backgrounds": "5.1.0-alpha.20",
|
||||
"@storybook/addon-centered": "5.1.0-alpha.20",
|
||||
"@storybook/addon-knobs": "5.1.0-alpha.20",
|
||||
"@storybook/addon-links": "5.1.0-alpha.20",
|
||||
"@storybook/addon-notes": "5.1.0-alpha.20",
|
||||
"@storybook/addon-options": "5.1.0-alpha.20",
|
||||
"@storybook/addon-storyshots": "5.1.0-alpha.20",
|
||||
"@storybook/addon-storysource": "5.1.0-alpha.20",
|
||||
"@storybook/addon-viewport": "5.1.0-alpha.20",
|
||||
"@storybook/addons": "5.1.0-alpha.20",
|
||||
"@storybook/riot": "5.1.0-alpha.20",
|
||||
"@storybook/addon-actions": "5.1.0-alpha.21",
|
||||
"@storybook/addon-backgrounds": "5.1.0-alpha.21",
|
||||
"@storybook/addon-centered": "5.1.0-alpha.21",
|
||||
"@storybook/addon-knobs": "5.1.0-alpha.21",
|
||||
"@storybook/addon-links": "5.1.0-alpha.21",
|
||||
"@storybook/addon-notes": "5.1.0-alpha.21",
|
||||
"@storybook/addon-options": "5.1.0-alpha.21",
|
||||
"@storybook/addon-storyshots": "5.1.0-alpha.21",
|
||||
"@storybook/addon-storysource": "5.1.0-alpha.21",
|
||||
"@storybook/addon-viewport": "5.1.0-alpha.21",
|
||||
"@storybook/addons": "5.1.0-alpha.21",
|
||||
"@storybook/riot": "5.1.0-alpha.21",
|
||||
"babel-loader": "^8.0.4",
|
||||
"cross-env": "^5.2.0",
|
||||
"file-loader": "^3.0.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "svelte-example",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build-storybook": "build-storybook -s public",
|
||||
@ -11,17 +11,17 @@
|
||||
"global": "^4.3.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-actions": "5.1.0-alpha.20",
|
||||
"@storybook/addon-backgrounds": "5.1.0-alpha.20",
|
||||
"@storybook/addon-centered": "5.1.0-alpha.20",
|
||||
"@storybook/addon-knobs": "5.1.0-alpha.20",
|
||||
"@storybook/addon-links": "5.1.0-alpha.20",
|
||||
"@storybook/addon-notes": "5.1.0-alpha.20",
|
||||
"@storybook/addon-options": "5.1.0-alpha.20",
|
||||
"@storybook/addon-storyshots": "5.1.0-alpha.20",
|
||||
"@storybook/addon-storysource": "5.1.0-alpha.20",
|
||||
"@storybook/addon-viewport": "5.1.0-alpha.20",
|
||||
"@storybook/addons": "5.1.0-alpha.20",
|
||||
"@storybook/svelte": "5.1.0-alpha.20"
|
||||
"@storybook/addon-actions": "5.1.0-alpha.21",
|
||||
"@storybook/addon-backgrounds": "5.1.0-alpha.21",
|
||||
"@storybook/addon-centered": "5.1.0-alpha.21",
|
||||
"@storybook/addon-knobs": "5.1.0-alpha.21",
|
||||
"@storybook/addon-links": "5.1.0-alpha.21",
|
||||
"@storybook/addon-notes": "5.1.0-alpha.21",
|
||||
"@storybook/addon-options": "5.1.0-alpha.21",
|
||||
"@storybook/addon-storyshots": "5.1.0-alpha.21",
|
||||
"@storybook/addon-storysource": "5.1.0-alpha.21",
|
||||
"@storybook/addon-viewport": "5.1.0-alpha.21",
|
||||
"@storybook/addons": "5.1.0-alpha.21",
|
||||
"@storybook/svelte": "5.1.0-alpha.21"
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vue-example",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
|
||||
@ -15,18 +15,18 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.3.4",
|
||||
"@storybook/addon-actions": "5.1.0-alpha.20",
|
||||
"@storybook/addon-backgrounds": "5.1.0-alpha.20",
|
||||
"@storybook/addon-centered": "5.1.0-alpha.20",
|
||||
"@storybook/addon-knobs": "5.1.0-alpha.20",
|
||||
"@storybook/addon-links": "5.1.0-alpha.20",
|
||||
"@storybook/addon-notes": "5.1.0-alpha.20",
|
||||
"@storybook/addon-options": "5.1.0-alpha.20",
|
||||
"@storybook/addon-storyshots": "5.1.0-alpha.20",
|
||||
"@storybook/addon-storysource": "5.1.0-alpha.20",
|
||||
"@storybook/addon-viewport": "5.1.0-alpha.20",
|
||||
"@storybook/addons": "5.1.0-alpha.20",
|
||||
"@storybook/vue": "5.1.0-alpha.20",
|
||||
"@storybook/addon-actions": "5.1.0-alpha.21",
|
||||
"@storybook/addon-backgrounds": "5.1.0-alpha.21",
|
||||
"@storybook/addon-centered": "5.1.0-alpha.21",
|
||||
"@storybook/addon-knobs": "5.1.0-alpha.21",
|
||||
"@storybook/addon-links": "5.1.0-alpha.21",
|
||||
"@storybook/addon-notes": "5.1.0-alpha.21",
|
||||
"@storybook/addon-options": "5.1.0-alpha.21",
|
||||
"@storybook/addon-storyshots": "5.1.0-alpha.21",
|
||||
"@storybook/addon-storysource": "5.1.0-alpha.21",
|
||||
"@storybook/addon-viewport": "5.1.0-alpha.21",
|
||||
"@storybook/addons": "5.1.0-alpha.21",
|
||||
"@storybook/vue": "5.1.0-alpha.21",
|
||||
"babel-core": "^7.0.0-bridge.0",
|
||||
"babel-loader": "^8.0.5",
|
||||
"cross-env": "^5.2.0",
|
||||
|
@ -11,5 +11,5 @@
|
||||
"npmClient": "yarn",
|
||||
"useWorkspaces": true,
|
||||
"registry": "https://registry.npmjs.org",
|
||||
"version": "5.1.0-alpha.20"
|
||||
"version": "5.1.0-alpha.21"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addons",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "Storybook addons store",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -21,9 +21,9 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/api": "5.1.0-alpha.20",
|
||||
"@storybook/channels": "5.1.0-alpha.20",
|
||||
"@storybook/client-logger": "5.1.0-alpha.20",
|
||||
"@storybook/api": "5.1.0-alpha.21",
|
||||
"@storybook/channels": "5.1.0-alpha.21",
|
||||
"@storybook/client-logger": "5.1.0-alpha.21",
|
||||
"core-js": "^2.6.5",
|
||||
"global": "^4.3.2",
|
||||
"util-deprecate": "^1.0.2"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/api",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "Core Storybook API & Context",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -20,11 +20,11 @@
|
||||
"prepare": "node ./scripts/generateVersion.js && node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/channels": "5.1.0-alpha.20",
|
||||
"@storybook/client-logger": "5.1.0-alpha.20",
|
||||
"@storybook/core-events": "5.1.0-alpha.20",
|
||||
"@storybook/router": "5.1.0-alpha.20",
|
||||
"@storybook/theming": "5.1.0-alpha.20",
|
||||
"@storybook/channels": "5.1.0-alpha.21",
|
||||
"@storybook/client-logger": "5.1.0-alpha.21",
|
||||
"@storybook/core-events": "5.1.0-alpha.21",
|
||||
"@storybook/router": "5.1.0-alpha.21",
|
||||
"@storybook/theming": "5.1.0-alpha.21",
|
||||
"core-js": "^2.6.5",
|
||||
"fast-deep-equal": "^2.0.1",
|
||||
"global": "^4.3.2",
|
||||
|
@ -1 +1 @@
|
||||
export const version = '5.1.0-alpha.20';
|
||||
export const version = '5.1.0-alpha.21';
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/channel-postmessage",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -21,8 +21,8 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/channels": "5.1.0-alpha.20",
|
||||
"@storybook/client-logger": "5.1.0-alpha.20",
|
||||
"@storybook/channels": "5.1.0-alpha.21",
|
||||
"@storybook/client-logger": "5.1.0-alpha.21",
|
||||
"core-js": "^2.6.5",
|
||||
"global": "^4.3.2",
|
||||
"telejson": "^2.1.1"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/channel-websocket",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -21,7 +21,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/channels": "5.1.0-alpha.20",
|
||||
"@storybook/channels": "5.1.0-alpha.21",
|
||||
"core-js": "^2.6.5",
|
||||
"global": "^4.3.2",
|
||||
"json-fn": "^1.1.1"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/channels",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/cli",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "Storybook's CLI - easiest method of adding storybook to your projects",
|
||||
"keywords": [
|
||||
"cli",
|
||||
@ -30,7 +30,7 @@
|
||||
"@babel/core": "^7.3.4",
|
||||
"@babel/preset-env": "^7.4.1",
|
||||
"@babel/register": "^7.0.0",
|
||||
"@storybook/codemod": "5.1.0-alpha.20",
|
||||
"@storybook/codemod": "5.1.0-alpha.21",
|
||||
"chalk": "^2.4.1",
|
||||
"commander": "^2.19.0",
|
||||
"core-js": "^2.6.5",
|
||||
@ -44,32 +44,32 @@
|
||||
"update-notifier": "^2.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-actions": "5.1.0-alpha.20",
|
||||
"@storybook/addon-centered": "5.1.0-alpha.20",
|
||||
"@storybook/addon-graphql": "5.1.0-alpha.20",
|
||||
"@storybook/addon-info": "5.1.0-alpha.20",
|
||||
"@storybook/addon-knobs": "5.1.0-alpha.20",
|
||||
"@storybook/addon-links": "5.1.0-alpha.20",
|
||||
"@storybook/addon-notes": "5.1.0-alpha.20",
|
||||
"@storybook/addon-options": "5.1.0-alpha.20",
|
||||
"@storybook/addon-storyshots": "5.1.0-alpha.20",
|
||||
"@storybook/addons": "5.1.0-alpha.20",
|
||||
"@storybook/angular": "5.1.0-alpha.20",
|
||||
"@storybook/channel-postmessage": "5.1.0-alpha.20",
|
||||
"@storybook/channel-websocket": "5.1.0-alpha.20",
|
||||
"@storybook/channels": "5.1.0-alpha.20",
|
||||
"@storybook/ember": "5.1.0-alpha.20",
|
||||
"@storybook/html": "5.1.0-alpha.20",
|
||||
"@storybook/marko": "5.1.0-alpha.20",
|
||||
"@storybook/mithril": "5.1.0-alpha.20",
|
||||
"@storybook/polymer": "5.1.0-alpha.20",
|
||||
"@storybook/preact": "5.1.0-alpha.20",
|
||||
"@storybook/react": "5.1.0-alpha.20",
|
||||
"@storybook/react-native": "5.1.0-alpha.20",
|
||||
"@storybook/riot": "5.1.0-alpha.20",
|
||||
"@storybook/svelte": "5.1.0-alpha.20",
|
||||
"@storybook/ui": "5.1.0-alpha.20",
|
||||
"@storybook/vue": "5.1.0-alpha.20"
|
||||
"@storybook/addon-actions": "5.1.0-alpha.21",
|
||||
"@storybook/addon-centered": "5.1.0-alpha.21",
|
||||
"@storybook/addon-graphql": "5.1.0-alpha.21",
|
||||
"@storybook/addon-info": "5.1.0-alpha.21",
|
||||
"@storybook/addon-knobs": "5.1.0-alpha.21",
|
||||
"@storybook/addon-links": "5.1.0-alpha.21",
|
||||
"@storybook/addon-notes": "5.1.0-alpha.21",
|
||||
"@storybook/addon-options": "5.1.0-alpha.21",
|
||||
"@storybook/addon-storyshots": "5.1.0-alpha.21",
|
||||
"@storybook/addons": "5.1.0-alpha.21",
|
||||
"@storybook/angular": "5.1.0-alpha.21",
|
||||
"@storybook/channel-postmessage": "5.1.0-alpha.21",
|
||||
"@storybook/channel-websocket": "5.1.0-alpha.21",
|
||||
"@storybook/channels": "5.1.0-alpha.21",
|
||||
"@storybook/ember": "5.1.0-alpha.21",
|
||||
"@storybook/html": "5.1.0-alpha.21",
|
||||
"@storybook/marko": "5.1.0-alpha.21",
|
||||
"@storybook/mithril": "5.1.0-alpha.21",
|
||||
"@storybook/polymer": "5.1.0-alpha.21",
|
||||
"@storybook/preact": "5.1.0-alpha.21",
|
||||
"@storybook/react": "5.1.0-alpha.21",
|
||||
"@storybook/react-native": "5.1.0-alpha.21",
|
||||
"@storybook/riot": "5.1.0-alpha.21",
|
||||
"@storybook/svelte": "5.1.0-alpha.21",
|
||||
"@storybook/ui": "5.1.0-alpha.21",
|
||||
"@storybook/vue": "5.1.0-alpha.21"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
|
@ -38,7 +38,7 @@
|
||||
// import 'classlist.js'; // Run `npm install --save classlist.js`.
|
||||
|
||||
/** IE10 and IE11 requires the following for the Reflect API. */
|
||||
// import 'core-js/es6/reflect';
|
||||
import 'core-js/es6/reflect';
|
||||
|
||||
|
||||
/** Evergreen browsers require these. **/
|
||||
|
@ -45,7 +45,8 @@
|
||||
// import 'classlist.js'; // Run `npm install --save classlist.js`.
|
||||
|
||||
/** IE10 and IE11 requires the following for the Reflect API. */
|
||||
// import 'core-js/es6/reflect';
|
||||
import 'core-js/es6/reflect';
|
||||
import 'core-js/es7/reflect';
|
||||
|
||||
/**
|
||||
* Web Animations `@angular/platform-browser/animations`
|
||||
|
@ -4,10 +4,10 @@
|
||||
"private": true,
|
||||
"main": "node_modules/expo/AppEntry.js",
|
||||
"scripts": {
|
||||
"start": "expo start",
|
||||
"android": "expo start --android",
|
||||
"eject": "expo eject",
|
||||
"ios": "expo start --ios",
|
||||
"eject": "expo eject"
|
||||
"start": "expo start"
|
||||
},
|
||||
"dependencies": {
|
||||
"expo": "^32.0.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/client-api",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "Storybook Client API",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -20,10 +20,10 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "5.1.0-alpha.20",
|
||||
"@storybook/client-logger": "5.1.0-alpha.20",
|
||||
"@storybook/core-events": "5.1.0-alpha.20",
|
||||
"@storybook/router": "5.1.0-alpha.20",
|
||||
"@storybook/addons": "5.1.0-alpha.21",
|
||||
"@storybook/client-logger": "5.1.0-alpha.21",
|
||||
"@storybook/core-events": "5.1.0-alpha.21",
|
||||
"@storybook/router": "5.1.0-alpha.21",
|
||||
"common-tags": "^1.8.0",
|
||||
"core-js": "^2.6.5",
|
||||
"eventemitter3": "^3.1.0",
|
||||
|
@ -249,4 +249,8 @@ This is probably not what you intended. Read more here: https://github.com/story
|
||||
});
|
||||
|
||||
raw = () => this._storyStore.raw();
|
||||
|
||||
// FIXME: temporary expose the store for react-native
|
||||
// Longer term react-native should use the Provider/Consumer api
|
||||
store = () => this._storyStore;
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/client-logger",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -20,10 +20,10 @@
|
||||
"scripts": {
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"dependencies": {
|
||||
"core-js": "^2.6.5"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/codemod",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "A collection of codemod scripts written with JSCodeshift",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/components",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "Core Storybook Components",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -21,11 +21,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "5.1.0-alpha.20",
|
||||
"@storybook/client-logger": "5.1.0-alpha.20",
|
||||
"@storybook/core-events": "5.1.0-alpha.20",
|
||||
"@storybook/router": "5.1.0-alpha.20",
|
||||
"@storybook/theming": "5.1.0-alpha.20",
|
||||
"@storybook/addons": "5.1.0-alpha.21",
|
||||
"@storybook/client-logger": "5.1.0-alpha.21",
|
||||
"@storybook/core-events": "5.1.0-alpha.21",
|
||||
"@storybook/router": "5.1.0-alpha.21",
|
||||
"@storybook/theming": "5.1.0-alpha.21",
|
||||
"core-js": "^2.6.5",
|
||||
"global": "^4.3.2",
|
||||
"js-beautify": "^1.8.9",
|
||||
|
@ -242,7 +242,6 @@ exports[`Storyshots basics|Tooltip/ListItem all 1`] = `
|
||||
color: #333333;
|
||||
-webkit-animation: animation-0 1.5s ease-in-out infinite;
|
||||
animation: animation-0 1.5s ease-in-out infinite;
|
||||
background: rgba(0,0,0,.1);
|
||||
color: transparent;
|
||||
cursor: progress;
|
||||
}
|
||||
@ -947,7 +946,6 @@ exports[`Storyshots basics|Tooltip/ListItem loading 1`] = `
|
||||
color: #333333;
|
||||
-webkit-animation: animation-0 1.5s ease-in-out infinite;
|
||||
animation: animation-0 1.5s ease-in-out infinite;
|
||||
background: rgba(0,0,0,.1);
|
||||
color: transparent;
|
||||
cursor: progress;
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/core-events",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "Event names used in storybook core",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -20,10 +20,10 @@
|
||||
"scripts": {
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"dependencies": {
|
||||
"core-js": "^2.6.5"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/core",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "Storybook framework-agnostic API",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -25,14 +25,14 @@
|
||||
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
|
||||
"@babel/plugin-transform-react-constant-elements": "^7.2.0",
|
||||
"@babel/preset-env": "^7.4.1",
|
||||
"@storybook/addons": "5.1.0-alpha.20",
|
||||
"@storybook/channel-postmessage": "5.1.0-alpha.20",
|
||||
"@storybook/client-api": "5.1.0-alpha.20",
|
||||
"@storybook/client-logger": "5.1.0-alpha.20",
|
||||
"@storybook/core-events": "5.1.0-alpha.20",
|
||||
"@storybook/node-logger": "5.1.0-alpha.20",
|
||||
"@storybook/router": "5.1.0-alpha.20",
|
||||
"@storybook/ui": "5.1.0-alpha.20",
|
||||
"@storybook/addons": "5.1.0-alpha.21",
|
||||
"@storybook/channel-postmessage": "5.1.0-alpha.21",
|
||||
"@storybook/client-api": "5.1.0-alpha.21",
|
||||
"@storybook/client-logger": "5.1.0-alpha.21",
|
||||
"@storybook/core-events": "5.1.0-alpha.21",
|
||||
"@storybook/node-logger": "5.1.0-alpha.21",
|
||||
"@storybook/router": "5.1.0-alpha.21",
|
||||
"@storybook/ui": "5.1.0-alpha.21",
|
||||
"airbnb-js-shims": "^1 || ^2",
|
||||
"autoprefixer": "^9.4.9",
|
||||
"babel-plugin-add-react-displayname": "^0.0.5",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/node-logger",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/router",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "Core Storybook Router",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -22,20 +22,20 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@reach/router": "^1.2.1",
|
||||
"@storybook/theming": "5.1.0-alpha.20",
|
||||
"@storybook/theming": "5.1.0-alpha.21",
|
||||
"core-js": "^2.6.5",
|
||||
"global": "^4.3.2",
|
||||
"memoizerific": "^1.11.3",
|
||||
"qs": "^6.6.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/reach__router": "^1.2.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "*",
|
||||
"react-dom": "*"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/reach__router": "^1.2.3"
|
||||
}
|
||||
}
|
||||
|
@ -8,7 +8,6 @@
|
||||
"src/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"dist",
|
||||
"src/tests/**/*",
|
||||
"src/__tests__/**/*"
|
||||
]
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/theming",
|
||||
"version": "5.1.0-alpha.20",
|
||||
"version": "5.1.0-alpha.21",
|
||||
"description": "Core Storybook Components",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -23,7 +23,7 @@
|
||||
"dependencies": {
|
||||
"@emotion/core": "^10.0.9",
|
||||
"@emotion/styled": "^10.0.7",
|
||||
"@storybook/client-logger": "5.1.0-alpha.20",
|
||||
"@storybook/client-logger": "5.1.0-alpha.21",
|
||||
"common-tags": "^1.8.0",
|
||||
"core-js": "^2.6.5",
|
||||
"deep-object-diff": "^1.1.0",
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user