Merge remote-tracking branch 'origin/master' into addon-stories

# Conflicts:
#	examples/angular-cli/package.json
#	examples/official-storybook/package.json
#	examples/polymer-cli/package.json
#	examples/vue-kitchen-sink/package.json
#	yarn.lock
This commit is contained in:
igor 2018-02-13 18:46:20 +02:00
commit cb061ed3ea
78 changed files with 1920 additions and 1125 deletions

View File

@ -1,59 +0,0 @@
const error = 2;
const warn = 1;
const ignore = 0;
module.exports = {
root: true,
extends: ['eslint-config-airbnb', 'plugin:jest/recommended', 'prettier'],
plugins: ['prettier', 'jest', 'react'],
parser: 'babel-eslint',
parserOptions: {
sourceType: 'module',
},
env: {
es6: true,
node: true,
'jest/globals': true,
},
globals: {
storiesOf: true,
addonAPI: true,
__DEV__: true,
fetch: true,
},
rules: {
strict: [error, 'never'],
'prettier/prettier': [
warn,
{
printWidth: 100,
tabWidth: 2,
bracketSpacing: true,
trailingComma: 'es5',
singleQuote: true,
},
],
'no-console': ignore,
'global-require': ignore,
quotes: [warn, 'single'],
'no-unused-vars': ignore,
'class-methods-use-this': ignore,
'arrow-parens': [warn, 'as-needed'],
'space-before-function-paren': ignore,
'import/no-unresolved': ignore,
'import/extensions': ignore,
'import/no-extraneous-dependencies': ignore,
'import/prefer-default-export': ignore,
'react/prop-types': ignore,
'react/jsx-wrap-multilines': ignore,
'react/jsx-uses-react': error,
'react/jsx-uses-vars': error,
'react/react-in-jsx-scope': ignore,
'react/jsx-filename-extension': ignore,
'jsx-a11y/accessible-emoji': ignore,
'jsx-a11y/href-no-hash': ignore,
'jsx-a11y/label-has-for': ignore,
'jsx-a11y/anchor-is-valid': ['warn', { aspects: ['invalidHref'] }],
'react/no-unescaped-entities': ignore,
},
};

View File

@ -1,18 +1,3 @@
module.exports = {
plugins: [
'remark-preset-lint-recommended',
['remark-lint-list-item-indent', false],
[
'remark-lint-code',
{
js: {
module: 'node_modules/remark-lint-code-eslint',
options: {
fix: true,
configFile: '.eslintrc-markdown.js',
},
},
},
],
],
plugins: ['remark-preset-lint-recommended', ['remark-lint-list-item-indent', false]],
};

View File

@ -1,3 +1,139 @@
# 3.4.0-alpha.8
2018-February-11
#### Bug Fixes
- React-Native: Fix by moving managerPath export to `server.js` [#2947](https://github.com/storybooks/storybook/pull/2947)
- Addon-Info: Add type check to PropType on OneOf [#2653](https://github.com/storybooks/storybook/pull/2653)
- Vue: Support .vue extension resolving [#2896](https://github.com/storybooks/storybook/pull/2896)
#### Documentation
- Update writing addons documentation [#2951](https://github.com/storybooks/storybook/pull/2951)
- Update docs on LinkTo in addon-links [#2926](https://github.com/storybooks/storybook/pull/2926)
#### Maintenance
- Fix "dev" script to be cross-platform [#2922](https://github.com/storybooks/storybook/pull/2922)
#### Dependency Upgrades
<details>
<summary>
98 Updates
</summary>
- Upgraded `jest-cli` in `/` from "22.2.1" to "22.2.2" [#2957](https://github.com/storybooks/storybook/pull/2957)
- Upgraded `jest-config` in `/` from "22.2.1" to "22.2.2" [#2957](https://github.com/storybooks/storybook/pull/2957)
- Upgraded `jest-environment-jsdom` in `/` from "22.2.0" to "22.2.2" [#2957](https://github.com/storybooks/storybook/pull/2957)
- Upgraded `jest-jasmine2` in `/` from "22.2.1" to "22.2.2" [#2957](https://github.com/storybooks/storybook/pull/2957)
- Upgraded `autoprefixer` in `lib/core` from "7.2.5" to "7.2.6" [#2957](https://github.com/storybooks/storybook/pull/2957)
- Upgraded `webpack` in `lib/core` from "3.10.0" to "3.11.0" [#2957](https://github.com/storybooks/storybook/pull/2957)
- Upgraded `autoprefixer` in `app/angular` from "7.2.5" to "7.2.6" [#2957](https://github.com/storybooks/storybook/pull/2957)
- Upgraded `webpack` in `app/angular` from "3.10.0" to "3.11.0" [#2957](https://github.com/storybooks/storybook/pull/2957)
- Upgraded `autoprefixer` in `app/polymer` from "7.2.5" to "7.2.6" [#2957](https://github.com/storybooks/storybook/pull/2957)
- Upgraded `webpack` in `app/polymer` from "3.10.0" to "3.11.0" [#2957](https://github.com/storybooks/storybook/pull/2957)
- Upgraded `autoprefixer` in `app/react-native` from "7.2.5" to "7.2.6" [#2957](https://github.com/storybooks/storybook/pull/2957)
- Upgraded `webpack` in `app/react-native` from "3.10.0" to "3.11.0" [#2957](https://github.com/storybooks/storybook/pull/2957)
- Upgraded `autoprefixer` in `app/react` from "7.2.5" to "7.2.6" [#2957](https://github.com/storybooks/storybook/pull/2957)
- Upgraded `webpack` in `app/react` from "3.10.0" to "3.11.0" [#2957](https://github.com/storybooks/storybook/pull/2957)
- Upgraded `autoprefixer` in `app/vue` from "7.2.5" to "7.2.6" [#2957](https://github.com/storybooks/storybook/pull/2957)
- Upgraded `webpack` in `app/vue` from "3.10.0" to "3.11.0" [#2957](https://github.com/storybooks/storybook/pull/2957)
- Upgraded `webpack` in `examples/polymer-cli` from "3.10.0" to "3.11.0" [#2957](https://github.com/storybooks/storybook/pull/2957)
- Upgraded `@types/node` in `examples/angular-cli` from "6.0.99" to "6.0.100" [#2957](https://github.com/storybooks/storybook/pull/2957)
- Upgraded `webpack` in `examples/vue-kitchen-sink` from "3.10.0" to "3.11.0" [#2957](https://github.com/storybooks/storybook/pull/2957)
- Upgraded `eslint-plugin-jest` in `/` from "21.7.0" to "21.8.0" [#2952](https://github.com/storybooks/storybook/pull/2952)
- Upgraded `react-datetime` in `addons/knobs` from "2.12.0" to "2.13.0" [#2952](https://github.com/storybooks/storybook/pull/2952)
- Upgraded `react-modal` in `lib/ui` from "3.1.12" to "3.1.13" [#2952](https://github.com/storybooks/storybook/pull/2952)
- Upgraded `react-modal` in `app/angular` from "3.1.12" to "3.1.13" [#2952](https://github.com/storybooks/storybook/pull/2952)
- Upgraded `react-modal` in `app/polymer` from "3.1.12" to "3.1.13" [#2952](https://github.com/storybooks/storybook/pull/2952)
- Upgraded `babel-jest` in `examples/cra-kitchen-sink` from "22.2.0" to "22.2.2" [#2952](https://github.com/storybooks/storybook/pull/2952)
- Upgraded `jest` in `examples/cra-kitchen-sink` from "22.2.1" to "22.2.2" [#2952](https://github.com/storybooks/storybook/pull/2952)
- Upgraded `react-scripts` in `examples/cra-kitchen-sink` from "1.1.0" to "1.1.1" [#2952](https://github.com/storybooks/storybook/pull/2952)
- Update gatsby in /docs from 1.9.184 to 1.9.187 [#2950](https://github.com/storybooks/storybook/pull/2950)
- Upgraded `copy-webpack-plugin` in `app/polymer` from "4.3.1" to "4.4.0" [#2945](https://github.com/storybooks/storybook/pull/2945)
- Upgraded `copy-webpack-plugin` in `examples/polymer-cli` from "4.3.1" to "4.4.0" [#2945](https://github.com/storybooks/storybook/pull/2945)
- Upgraded `@angular/cli` in `examples/angular-cli` from "1.6.7" to "1.6.8" [#2945](https://github.com/storybooks/storybook/pull/2945)
- Upgraded `@types/node` in `examples/angular-cli` from "6.0.97" to "6.0.99" [#2945](https://github.com/storybooks/storybook/pull/2945)
- Upgraded `jasmine-core` in `examples/angular-cli` from "2.99.0" to "2.99.1" [#2945](https://github.com/storybooks/storybook/pull/2945)
- Upgraded `gatsby-remark-images` in `/docs` from "1.5.42" to "1.5.43" [#2944](https://github.com/storybooks/storybook/pull/2944)
- Upgraded `gatsby-transformer-remark` in `/docs` from "1.7.30" to "1.7.31" [#2944](https://github.com/storybooks/storybook/pull/2944)
- Upgraded `gatsby-remark-images` in `/docs` from "1.5.41" to "1.5.42" [#2939](https://github.com/storybooks/storybook/pull/2939)
- Upgraded `gatsby` in `/docs` from "1.9.183" to "1.9.184" [#2939](https://github.com/storybooks/storybook/pull/2939)
- Upgraded `@angular/common` in `/` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybooks/storybook/pull/2938)
- Upgraded `@angular/compiler` in `/` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybooks/storybook/pull/2938)
- Upgraded `@angular/core` in `/` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybooks/storybook/pull/2938)
- Upgraded `@angular/forms` in `/` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybooks/storybook/pull/2938)
- Upgraded `@angular/platform-browser` in `/` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybooks/storybook/pull/2938)
- Upgraded `@angular/platform-browser-dynamic` in `/` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybooks/storybook/pull/2938)
- Upgraded `commander` in `/` from "2.14.0" to "2.14.1" [#2938](https://github.com/storybooks/storybook/pull/2938)
- Upgraded `jest` in `/` from "22.1.4" to "22.2.0" [#2938](https://github.com/storybooks/storybook/pull/2938)
- Upgraded `jest-cli` in `/` from "22.1.4" to "22.2.0" [#2938](https://github.com/storybooks/storybook/pull/2938)
- Upgraded `jest-config` in `/` from "22.1.4" to "22.2.0" [#2938](https://github.com/storybooks/storybook/pull/2938)
- Upgraded `jest-environment-jsdom` in `/` from "22.1.4" to "22.2.0" [#2938](https://github.com/storybooks/storybook/pull/2938)
- Upgraded `jest-jasmine2` in `/` from "22.1.4" to "22.2.0" [#2938](https://github.com/storybooks/storybook/pull/2938)
- Upgraded `graphql` in `addons/graphql` from "0.12.3" to "0.13.0" [#2938](https://github.com/storybooks/storybook/pull/2938)
- Upgraded `commander` in `lib/core` from "2.14.0" to "2.14.1" [#2938](https://github.com/storybooks/storybook/pull/2938)
- Upgraded `commander` in `app/react-native` from "2.14.0" to "2.14.1" [#2938](https://github.com/storybooks/storybook/pull/2938)
- Upgraded `commander` in `lib/cli` from "2.14.0" to "2.14.1" [#2938](https://github.com/storybooks/storybook/pull/2938)
- Upgraded `@angular/animations` in `examples/angular-cli` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybooks/storybook/pull/2938)
- Upgraded `@angular/common` in `examples/angular-cli` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybooks/storybook/pull/2938)
- Upgraded `@angular/compiler` in `examples/angular-cli` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybooks/storybook/pull/2938)
- Upgraded `@angular/core` in `examples/angular-cli` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybooks/storybook/pull/2938)
- Upgraded `@angular/forms` in `examples/angular-cli` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybooks/storybook/pull/2938)
- Upgraded `@angular/http` in `examples/angular-cli` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybooks/storybook/pull/2938)
- Upgraded `@angular/platform-browser` in `examples/angular-cli` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybooks/storybook/pull/2938)
- Upgraded `@angular/platform-browser-dynamic` in `examples/angular-cli` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybooks/storybook/pull/2938)
- Upgraded `@angular/router` in `examples/angular-cli` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybooks/storybook/pull/2938)
- Upgraded `@angular/compiler-cli` in `examples/angular-cli` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybooks/storybook/pull/2938)
- Upgraded `@angular/language-service` in `examples/angular-cli` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybooks/storybook/pull/2938)
- Upgraded `babel-jest` in `examples/cra-kitchen-sink` from "22.1.0" to "22.2.0" [#2938](https://github.com/storybooks/storybook/pull/2938)
- Upgraded `jest` in `examples/cra-kitchen-sink` from "22.1.4" to "22.2.0" [#2938](https://github.com/storybooks/storybook/pull/2938)
- Upgraded `eventemitter3` in `examples/official-storybook` from "3.0.0" to "3.0.1" [#2938](https://github.com/storybooks/storybook/pull/2938)
- Update @types/node in examples/angular-cli from 6.0.96 to 6.0.97 [#2932](https://github.com/storybooks/storybook/pull/2932)
- Update gatsby in /docs from 1.9.181 to 1.9.182 [#2929](https://github.com/storybooks/storybook/pull/2929)
- Update jasmine-core in examples/angular-cli from 2.9.1 to 2.99.0 [#2930](https://github.com/storybooks/storybook/pull/2930)
- Upgraded `commander` in `/` from "2.13.0" to "2.14.0" [#2928](https://github.com/storybooks/storybook/pull/2928)
- Upgraded `make-error` in `addons/actions` from "1.3.2" to "1.3.3" [#2928](https://github.com/storybooks/storybook/pull/2928)
- Upgraded `commander` in `app/angular` from "2.13.0" to "2.14.0" [#2928](https://github.com/storybooks/storybook/pull/2928)
- Upgraded `commander` in `app/polymer` from "2.13.0" to "2.14.0" [#2928](https://github.com/storybooks/storybook/pull/2928)
- Upgraded `commander` in `app/react-native` from "2.13.0" to "2.14.0" [#2928](https://github.com/storybooks/storybook/pull/2928)
- Upgraded `react-native` in `app/react-native` from "0.52.2" to "0.53.0" [#2928](https://github.com/storybooks/storybook/pull/2928)
- Upgraded `commander` in `app/react` from "2.13.0" to "2.14.0" [#2928](https://github.com/storybooks/storybook/pull/2928)
- Upgraded `commander` in `app/vue` from "2.13.0" to "2.14.0" [#2928](https://github.com/storybooks/storybook/pull/2928)
- Upgraded `commander` in `lib/cli` from "2.13.0" to "2.14.0" [#2928](https://github.com/storybooks/storybook/pull/2928)
- Upgraded `jest-enzyme` in `/` from "4.1.1" to "4.2.0" [#2919](https://github.com/storybooks/storybook/pull/2919)
- Upgraded `react-modal` in `lib/ui` from "3.1.11" to "3.1.12" [#2919](https://github.com/storybooks/storybook/pull/2919)
- Upgraded `react-modal` in `app/angular` from "3.1.11" to "3.1.12" [#2919](https://github.com/storybooks/storybook/pull/2919)
- Upgraded `react-modal` in `app/polymer` from "3.1.11" to "3.1.12" [#2919](https://github.com/storybooks/storybook/pull/2919)
- Upgraded `gatsby-remark-copy-linked-files` in `/docs` from "1.5.25" to "1.5.26" [#2927](https://github.com/storybooks/storybook/pull/2927)
- Upgraded `gatsby-source-filesystem` in `/docs` from "1.5.16" to "1.5.18" [#2927](https://github.com/storybooks/storybook/pull/2927)
- Upgraded `gatsby` in `/docs` from "1.9.178" to "1.9.179" [#2927](https://github.com/storybooks/storybook/pull/2927)
- Update lodash in /docs from 4.17.4 to 4.17.5 [#2914](https://github.com/storybooks/storybook/pull/2914)
- Update lodash in / from 4.17.4 to 4.17.5 [#2915](https://github.com/storybooks/storybook/pull/2915)
- Upgraded `gatsby-link` in `/docs` from "1.6.35" to "1.6.36" [#2908](https://github.com/storybooks/storybook/pull/2908)
- Upgraded `gatsby` in `/docs` from "1.9.175" to "1.9.177" [#2908](https://github.com/storybooks/storybook/pull/2908)
- Upgraded `@storybook/addon-actions` in `/docs` from "3.3.11" to "3.3.12" [#2911](https://github.com/storybooks/storybook/pull/2911)
- Upgraded `@storybook/addon-links` in `/docs` from "3.3.11" to "3.3.12" [#2911](https://github.com/storybooks/storybook/pull/2911)
- Upgraded `@storybook/addons` in `/docs` from "3.3.11" to "3.3.12" [#2911](https://github.com/storybooks/storybook/pull/2911)
- Upgraded `@storybook/react` in `/docs` from "3.3.11" to "3.3.12" [#2911](https://github.com/storybooks/storybook/pull/2911)
- Upgraded `gatsby` in `/docs` from "1.9.175" to "1.9.178" [#2911](https://github.com/storybooks/storybook/pull/2911)
- Upgraded `eslint` in `/` from "4.16.0" to "4.17.0" [#2912](https://github.com/storybooks/storybook/pull/2912)
- Upgraded `ts-jest` in `/` from "22.0.1" to "22.0.3" [#2912](https://github.com/storybooks/storybook/pull/2912)
- Upgraded `@polymer/polymer` in `examples/polymer-cli` from "2.4.0" to "2.5.0" [#2912](https://github.com/storybooks/storybook/pull/2912)
</details>
# 3.3.13
2018-February-11
#### Bug Fixes
- Angular: add rule for .md to webpack.config.prod.js [#2924](https://github.com/storybooks/storybook/pull/2924)
- Check for correct props in Flow or prop-types [#2902](https://github.com/storybooks/storybook/pull/2902)
# 3.4.0-alpha.7
2018-February-03
@ -142,7 +278,7 @@
#### Maintenance
- ADD autolabeler.yml for https://github.com/probot/autolabeler [#2809](https://github.com/storybooks/storybook/pull/2809)
- ADD autolabeler.yml for <https://github.com/probot/autolabeler> [#2809](https://github.com/storybooks/storybook/pull/2809)
- Fix css warning in angular-cli example [#2789](https://github.com/storybooks/storybook/pull/2789)
- Move more things to core [#2788](https://github.com/storybooks/storybook/pull/2788)

View File

@ -86,7 +86,7 @@ addressed before a release can go out by adding them to the milestone. For examp
Adding bugs to the milestone helps people looking for good ways to contribute,
or to understand what is blocking the release so they can actually do something
about it. Discussion about which bugs are critical happens in the `#maintenance`
channel [in our Slack](https://now-examples-slackin-rrirkqohko.now.sh/) [![Storybook Slack](https://now-examples-slackin-rrirkqohko.now.sh/badge.svg)].(https://now-examples-slackin-rrirkqohko.now.sh/)
channel [in our Slack](https://now-examples-slackin-rrirkqohko.now.sh/) [![Storybook Slack](https://now-examples-slackin-rrirkqohko.now.sh/badge.svg)](https://now-examples-slackin-rrirkqohko.now.sh/)
If you're experiencing a bug, the best way to make sure that it gets attention

View File

@ -2,22 +2,22 @@
## Table of contents
* [New features](#new-features)
+ [Responsive + multi-device viewports preview.](#responsive--multi-device-viewports-preview)
+ [Automatic story detection](#automatic-story-detection)
+ [Theme ability and override core UI components](#theme-ability-and-override-core-ui-components)
+ [Add a playground addon](#add-a-playground-addon)
+ [See multiple (or all) stories in 1 preview.](#see-multiple--or-all--stories-in-1-preview)
* [Supporting other frameworks and libraries](#supporting-other-frameworks-and-libraries)
+ [Polymer & Webcomponents](#polymer---webcomponents)
+ [Aurelia](#aurelia)
+ [Ember](#ember)
* [Breaking changes](#breaking-changes)
+ [Addon API](#addon-api)
+ [API for adding stories](#api-for-adding-stories)
* [Documentation](#documentation)
+ [Better design](#better-design)
+ [Record videos and write blog post on how to use, tweak & develop storybook](#record-videos-and-write-blog-post-on-how-to-use--tweak---develop-storybook)
* [New features](#new-features)
+ [Responsive + multi-device viewports preview.](#responsive--multi-device-viewports-preview)
+ [Automatic story detection](#automatic-story-detection)
+ [Theme ability and override core UI components](#theme-ability-and-override-core-ui-components)
+ [Add a playground addon](#add-a-playground-addon)
+ [See multiple (or all) stories in 1 preview.](#see-multiple--or-all--stories-in-1-preview)
* [Supporting other frameworks and libraries](#supporting-other-frameworks-and-libraries)
+ [Polymer & Webcomponents](#polymer---webcomponents)
+ [Aurelia](#aurelia)
+ [Ember](#ember)
* [Breaking changes](#breaking-changes)
+ [Addon API](#addon-api)
+ [API for adding stories](#api-for-adding-stories)
* [Documentation](#documentation)
+ [Better design](#better-design)
+ [Record videos and write blog post on how to use, tweak & develop storybook](#record-videos-and-write-blog-post-on-how-to-use--tweak---develop-storybook)
## New features

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-a11y",
"version": "3.4.0-alpha.7",
"version": "3.4.0-alpha.8",
"description": "a11y addon for storybook",
"keywords": [
"a11y",
@ -25,7 +25,7 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/components": "^3.4.0-alpha.7",
"@storybook/components": "^3.4.0-alpha.8",
"axe-core": "^2.6.1",
"glamorous": "^4.11.4",
"prop-types": "^15.6.0"

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-actions",
"version": "3.4.0-alpha.7",
"version": "3.4.0-alpha.8",
"description": "Action Logger addon for storybook",
"keywords": [
"storybook"

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-backgrounds",
"version": "3.4.0-alpha.7",
"version": "3.4.0-alpha.8",
"description": "A storybook addon to show different backgrounds for your preview",
"keywords": [
"addon",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-centered",
"version": "3.4.0-alpha.7",
"version": "3.4.0-alpha.8",
"description": "Storybook decorator to center components",
"license": "MIT",
"author": "Muhammed Thanish <mnmtanish@gmail.com>",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-events",
"version": "3.4.0-alpha.7",
"version": "3.4.0-alpha.8",
"description": "Add events to your Storybook stories.",
"keywords": [
"addon",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-graphql",
"version": "3.4.0-alpha.7",
"version": "3.4.0-alpha.8",
"description": "Storybook addon to display the GraphiQL IDE",
"keywords": [
"storybook"

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-info",
"version": "3.4.0-alpha.7",
"version": "3.4.0-alpha.8",
"description": "A Storybook addon to show additional information for your stories.",
"license": "MIT",
"main": "dist/index.js",
@ -15,8 +15,8 @@
"storybook": "start-storybook -p 9010"
},
"dependencies": {
"@storybook/client-logger": "^3.4.0-alpha.7",
"@storybook/components": "^3.4.0-alpha.7",
"@storybook/client-logger": "^3.4.0-alpha.8",
"@storybook/components": "^3.4.0-alpha.8",
"babel-runtime": "^6.26.0",
"glamorous": "^4.11.4",
"global": "^4.3.2",

View File

@ -113,8 +113,8 @@ storiesOf('MyComponent', module)
### withTests(options)
- **options.results**: [OBJECT] jest output results. *mandatory*
- **filteExt**: [STRING] test file extention. *optionnal*. This allow you to write "MyComponent" and not "MyComponent.test.js". It will be used as regex to find your file results. Default value is `((\\.specs?)|(\\.tests?))?(\\.js)?$`. That mean it will match: MyComponent.js, MyComponent.test.js, MyComponent.tests.js, MyComponent.spec.js, MyComponent.specs.js...
- **options.results**: OBJECT jest output results. *mandatory*
- **filteExt**: STRING test file extention. *optionnal*. This allow you to write "MyComponent" and not "MyComponent.test.js". It will be used as regex to find your file results. Default value is `((\\.specs?)|(\\.tests?))?(\\.js)?$`. That mean it will match: MyComponent.js, MyComponent.test.js, MyComponent.tests.js, MyComponent.spec.js, MyComponent.specs.js...
## TODO

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-jest",
"version": "3.4.0-alpha.7",
"version": "3.4.0-alpha.8",
"description": "React storybook addon that show component jest report",
"keywords": [
"addon",
@ -25,7 +25,7 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/components": "^3.4.0-alpha.7",
"@storybook/components": "^3.4.0-alpha.8",
"glamor": "^2.20.40",
"glamorous": "^4.11.4",
"global": "^4.3.2",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-knobs",
"version": "3.4.0-alpha.7",
"version": "3.4.0-alpha.8",
"description": "Storybook Addon Prop Editor Component",
"license": "MIT",
"main": "dist/index.js",
@ -23,7 +23,7 @@
"moment": "^2.20.1",
"prop-types": "^15.6.0",
"react-color": "^2.11.4",
"react-datetime": "^2.12.0",
"react-datetime": "^2.14.0",
"react-textarea-autosize": "^5.2.1",
"util-deprecate": "^1.0.2"
},

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-links",
"version": "3.4.0-alpha.7",
"version": "3.4.0-alpha.8",
"description": "Story Links addon for storybook",
"keywords": [
"storybook"
@ -22,7 +22,7 @@
"storybook": "start-storybook -p 9001"
},
"dependencies": {
"@storybook/components": "^3.4.0-alpha.7",
"@storybook/components": "^3.4.0-alpha.8",
"global": "^4.3.2",
"prop-types": "^15.5.10"
},

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-notes",
"version": "3.4.0-alpha.7",
"version": "3.4.0-alpha.8",
"description": "Write notes for your Storybook stories.",
"keywords": [
"addon",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-options",
"version": "3.4.0-alpha.7",
"version": "3.4.0-alpha.8",
"description": "Options addon for storybook",
"keywords": [
"storybook"

View File

@ -153,8 +153,8 @@ initStoryshots({
Internally, it uses [jest-image-snapshot](https://github.com/americanexpress/jest-image-snapshot).
When willing to generate and compare image snapshots for your stories, you have two options:
- Have a storybook running (ie. accessible via http(s), for instance using `yarn run storybook`)
- Have a static build of the storybook (for instance, using `yarn run build-storybook`)
- Have a storybook running (ie. accessible via http(s), for instance using `yarn run storybook`)
- Have a static build of the storybook (for instance, using `yarn run build-storybook`)
Then you will need to reference the storybook URL (`file://...` if local, `http(s)://...` if served)
@ -166,10 +166,10 @@ import initStoryshots, { imageSnapshot } from '@storybook/addon-storyshots';
initStoryshots({suite: 'Image storyshots', test: imageSnapshot});
```
This will assume you have a storybook running on at _http://localhost:6006_.
This will assume you have a storybook running on at _<http://localhost:6006>_.
Internally here are the steps:
- Launches a Chrome headless using [puppeteer](https://github.com/GoogleChrome/puppeteer)
- Browses each stories (calling _http://localhost:6006/iframe.html?..._ URL),
- Browses each stories (calling _<http://localhost:6006/iframe.html?...>_ URL),
- Take screenshots & save all images under _\_image_snapshots\__ folder.
### Specifying the storybook URL
@ -180,7 +180,7 @@ import initStoryshots, { imageSnapshot } from '@storybook/addon-storyshots';
initStoryshots({suite: 'Image storyshots', test: imageSnapshot({storybookUrl: 'http://my-specific-domain.com:9010'})});
```
The above config will use _https://my-specific-domain.com:9010_ for screenshots.
The above config will use _<https://my-specific-domain.com:9010>_ for screenshots.
You may also use a local static build of storybook if you do not want to run the webpack dev-server:

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-storyshots",
"version": "3.4.0-alpha.7",
"version": "3.4.0-alpha.8",
"description": "StoryShots is a Jest Snapshot Testing Addon for Storybook.",
"license": "MIT",
"main": "dist/index.js",
@ -16,7 +16,7 @@
"storybook": "start-storybook -p 6006"
},
"dependencies": {
"@storybook/channels": "^3.4.0-alpha.7",
"@storybook/channels": "^3.4.0-alpha.8",
"babel-runtime": "^6.26.0",
"glob": "^7.1.2",
"global": "^4.3.2",
@ -27,22 +27,22 @@
"read-pkg-up": "^3.0.0"
},
"devDependencies": {
"@storybook/addons": "^3.4.0-alpha.7",
"@storybook/react": "^3.4.0-alpha.7",
"@storybook/addons": "^3.4.0-alpha.8",
"@storybook/react": "^3.4.0-alpha.8",
"babel-cli": "^6.26.0",
"babel-jest": "^20.0.3",
"babel-jest": "^22.1.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"enzyme-to-json": "^3.3.1",
"jest": "^20.0.4",
"jest-cli": "^20.0.4",
"jest": "^22.1.4",
"jest-cli": "^22.1.4",
"react": "^16.1.0",
"react-dom": "^16.1.0"
},
"peerDependencies": {
"@storybook/addons": "^3.4.0-alpha.7",
"@storybook/addons": "^3.4.0-alpha.8",
"babel-core": "^6.26.0 || ^7.0.0-0"
}
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-storysource",
"version": "3.4.0-alpha.7",
"version": "3.4.0-alpha.8",
"description": "Stories addon for storybook",
"keywords": [
"storybook"

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-viewport",
"version": "3.4.0-alpha.7",
"version": "3.4.0-alpha.8",
"description": "Storybook addon to change the viewport size to mobile",
"keywords": [
"storybook"
@ -11,7 +11,7 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/components": "^3.4.0-alpha.7",
"@storybook/components": "^3.4.0-alpha.8",
"global": "^4.3.2",
"prop-types": "^15.5.10"
},

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/angular",
"version": "3.4.0-alpha.7",
"version": "3.4.0-alpha.8",
"description": "Storybook for Angular: Develop Angular Components in isolation with Hot Reloading.",
"homepage": "https://github.com/storybooks/storybook/tree/master/apps/angular",
"bugs": {
@ -23,16 +23,16 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addon-actions": "^3.4.0-alpha.7",
"@storybook/addon-links": "^3.4.0-alpha.7",
"@storybook/addons": "^3.4.0-alpha.7",
"@storybook/channel-postmessage": "^3.4.0-alpha.7",
"@storybook/core": "^3.4.0-alpha.7",
"@storybook/node-logger": "^3.4.0-alpha.7",
"@storybook/ui": "^3.4.0-alpha.7",
"@storybook/addon-actions": "^3.4.0-alpha.8",
"@storybook/addon-links": "^3.4.0-alpha.8",
"@storybook/addons": "^3.4.0-alpha.8",
"@storybook/channel-postmessage": "^3.4.0-alpha.8",
"@storybook/core": "^3.4.0-alpha.8",
"@storybook/node-logger": "^3.4.0-alpha.8",
"@storybook/ui": "^3.4.0-alpha.8",
"airbnb-js-shims": "^1.4.1",
"angular2-template-loader": "^0.6.2",
"autoprefixer": "^7.2.5",
"autoprefixer": "^7.2.6",
"babel-core": "^6.26.0",
"babel-loader": "^7.0.0",
"babel-plugin-macros": "^2.1.0",
@ -69,7 +69,7 @@
"react": "^16.0.0",
"react-dev-utils": "^5.0.0",
"react-dom": "^16.0.0",
"react-modal": "^3.1.12",
"react-modal": "^3.1.13",
"redux": "^3.6.0",
"request": "^2.81.0",
"rxjs": "^5.4.2",
@ -79,14 +79,14 @@
"uglifyjs-webpack-plugin": "^1.1.7",
"url-loader": "^0.6.2",
"util-deprecate": "^1.0.2",
"webpack": "^2.5.1 || ^3.0.0",
"webpack": "^3.11.0",
"zone.js": "^0.8.20"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-plugin-transform-decorators": "^6.24.1",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"codelyzer": "^3.1.2",
"codelyzer": "^4.1.0",
"mock-fs": "^4.3.0",
"nodemon": "^1.14.12",
"typescript": "^2.7.1"

View File

@ -4,8 +4,7 @@ import Dotenv from 'dotenv-webpack';
import InterpolateHtmlPlugin from 'react-dev-utils/InterpolateHtmlPlugin';
import CaseSensitivePathsPlugin from 'case-sensitive-paths-webpack-plugin';
import HtmlWebpackPlugin from 'html-webpack-plugin';
import { WatchMissingNodeModulesPlugin } from '@storybook/core/server';
import { managerPath } from '@storybook/core/client';
import { WatchMissingNodeModulesPlugin, managerPath } from '@storybook/core/server';
import { includePaths, excludePaths, nodeModulesPaths, loadEnv, nodePaths } from './utils';
import babelLoaderConfig from './babel';

View File

@ -4,7 +4,7 @@ import UglifyJsPlugin from 'uglifyjs-webpack-plugin';
import Dotenv from 'dotenv-webpack';
import InterpolateHtmlPlugin from 'react-dev-utils/InterpolateHtmlPlugin';
import HtmlWebpackPlugin from 'html-webpack-plugin';
import { managerPath } from '@storybook/core/client';
import { managerPath } from '@storybook/core/server';
import babelLoaderConfig from './babel.prod';
import { includePaths, excludePaths, loadEnv, nodePaths } from './utils';

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/polymer",
"version": "3.4.0-alpha.7",
"version": "3.4.0-alpha.8",
"description": "Storybook for Polymer: Develop Polymer components in isolation with Hot Reloading.",
"homepage": "https://github.com/storybooks/storybook/tree/master/apps/polymer",
"bugs": {
@ -22,15 +22,15 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "^3.4.0-alpha.7",
"@storybook/channel-postmessage": "^3.4.0-alpha.7",
"@storybook/client-logger": "^3.4.0-alpha.7",
"@storybook/core": "^3.4.0-alpha.7",
"@storybook/node-logger": "^3.4.0-alpha.7",
"@storybook/ui": "^3.4.0-alpha.7",
"@storybook/addons": "^3.4.0-alpha.8",
"@storybook/channel-postmessage": "^3.4.0-alpha.8",
"@storybook/client-logger": "^3.4.0-alpha.8",
"@storybook/core": "^3.4.0-alpha.8",
"@storybook/node-logger": "^3.4.0-alpha.8",
"@storybook/ui": "^3.4.0-alpha.8",
"@webcomponents/webcomponentsjs": "^1.1.0",
"airbnb-js-shims": "^1.4.1",
"autoprefixer": "^7.1.6",
"autoprefixer": "^7.2.6",
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-plugin-macros": "^2.1.0",
@ -68,14 +68,14 @@
"react": "^16.0.0",
"react-dev-utils": "^5.0.0",
"react-dom": "^16.0.0",
"react-modal": "^3.1.12",
"react-modal": "^3.1.13",
"redux": "^3.7.2",
"request": "^2.83.0",
"style-loader": "^0.20.1",
"uglifyjs-webpack-plugin": "^1.1.7",
"url-loader": "^0.6.2",
"util-deprecate": "^1.0.2",
"webpack": "^3.6.0"
"webpack": "^3.11.0"
},
"devDependencies": {
"babel-cli": "^6.26.0",

View File

@ -5,8 +5,7 @@ import InterpolateHtmlPlugin from 'react-dev-utils/InterpolateHtmlPlugin';
import CaseSensitivePathsPlugin from 'case-sensitive-paths-webpack-plugin';
import HtmlWebpackPlugin from 'html-webpack-plugin';
import CopyWebpackPlugin from 'copy-webpack-plugin';
import { WatchMissingNodeModulesPlugin } from '@storybook/core/server';
import { managerPath } from '@storybook/core/client';
import { WatchMissingNodeModulesPlugin, managerPath } from '@storybook/core/server';
import { includePaths, excludePaths, nodeModulesPaths, loadEnv, nodePaths } from './utils';
import { getPreviewHeadHtml, getManagerHeadHtml } from '../utils';

View File

@ -4,7 +4,7 @@ import Dotenv from 'dotenv-webpack';
import InterpolateHtmlPlugin from 'react-dev-utils/InterpolateHtmlPlugin';
import HtmlWebpackPlugin from 'html-webpack-plugin';
import CopyWebpackPlugin from 'copy-webpack-plugin';
import { managerPath } from '@storybook/core/client';
import { managerPath } from '@storybook/core/server';
import babelLoaderConfig from './babel.prod';
import { includePaths, excludePaths, loadEnv, nodePaths } from './utils';
import { getPreviewHeadHtml, getManagerHeadHtml } from '../utils';

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/react-native",
"version": "3.4.0-alpha.7",
"version": "3.4.0-alpha.8",
"description": "A better way to develop React Native Components for your app",
"keywords": [
"react",
@ -25,13 +25,13 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addon-actions": "^3.4.0-alpha.7",
"@storybook/addon-links": "^3.4.0-alpha.7",
"@storybook/addons": "^3.4.0-alpha.7",
"@storybook/channel-websocket": "^3.4.0-alpha.7",
"@storybook/core": "^3.4.0-alpha.7",
"@storybook/ui": "^3.4.0-alpha.7",
"autoprefixer": "^7.2.5",
"@storybook/addon-actions": "^3.4.0-alpha.8",
"@storybook/addon-links": "^3.4.0-alpha.8",
"@storybook/addons": "^3.4.0-alpha.8",
"@storybook/channel-websocket": "^3.4.0-alpha.8",
"@storybook/core": "^3.4.0-alpha.8",
"@storybook/ui": "^3.4.0-alpha.8",
"autoprefixer": "^7.2.6",
"babel-loader": "^7.1.2",
"babel-plugin-macros": "^2.1.0",
"babel-plugin-syntax-async-functions": "^6.13.0",
@ -68,7 +68,7 @@
"url-parse": "^1.1.9",
"util-deprecate": "^1.0.2",
"uuid": "^3.2.1",
"webpack": "^3.10.0",
"webpack": "^3.11.0",
"webpack-dev-middleware": "^1.12.2",
"webpack-hot-middleware": "^2.21.0",
"ws": "^3.3.3"

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/react",
"version": "3.4.0-alpha.7",
"version": "3.4.0-alpha.8",
"description": "Storybook for React: Develop React Component in isolation with Hot Reloading.",
"homepage": "https://github.com/storybooks/storybook/tree/master/app/react",
"bugs": {
@ -23,16 +23,16 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addon-actions": "^3.4.0-alpha.7",
"@storybook/addon-links": "^3.4.0-alpha.7",
"@storybook/addons": "^3.4.0-alpha.7",
"@storybook/channel-postmessage": "^3.4.0-alpha.7",
"@storybook/client-logger": "^3.4.0-alpha.7",
"@storybook/core": "^3.4.0-alpha.7",
"@storybook/node-logger": "^3.4.0-alpha.7",
"@storybook/ui": "^3.4.0-alpha.7",
"@storybook/addon-actions": "^3.4.0-alpha.8",
"@storybook/addon-links": "^3.4.0-alpha.8",
"@storybook/addons": "^3.4.0-alpha.8",
"@storybook/channel-postmessage": "^3.4.0-alpha.8",
"@storybook/client-logger": "^3.4.0-alpha.8",
"@storybook/core": "^3.4.0-alpha.8",
"@storybook/node-logger": "^3.4.0-alpha.8",
"@storybook/ui": "^3.4.0-alpha.8",
"airbnb-js-shims": "^1.4.1",
"autoprefixer": "^7.2.5",
"autoprefixer": "^7.2.6",
"babel-loader": "^7.1.2",
"babel-plugin-macros": "^2.1.0",
"babel-plugin-react-docgen": "^1.8.2",
@ -75,7 +75,7 @@
"uglifyjs-webpack-plugin": "^1.1.7",
"url-loader": "^0.6.2",
"util-deprecate": "^1.0.2",
"webpack": "^3.10.0"
"webpack": "^3.11.0"
},
"devDependencies": {
"nodemon": "^1.14.12"

View File

@ -4,8 +4,7 @@ import Dotenv from 'dotenv-webpack';
import InterpolateHtmlPlugin from 'react-dev-utils/InterpolateHtmlPlugin';
import CaseSensitivePathsPlugin from 'case-sensitive-paths-webpack-plugin';
import HtmlWebpackPlugin from 'html-webpack-plugin';
import { WatchMissingNodeModulesPlugin } from '@storybook/core/server';
import { managerPath } from '@storybook/core/client';
import { WatchMissingNodeModulesPlugin, managerPath } from '@storybook/core/server';
import { includePaths, excludePaths, nodeModulesPaths, loadEnv, nodePaths } from './utils';
import babelLoaderConfig from './babel';

View File

@ -3,7 +3,7 @@ import UglifyJsPlugin from 'uglifyjs-webpack-plugin';
import Dotenv from 'dotenv-webpack';
import InterpolateHtmlPlugin from 'react-dev-utils/InterpolateHtmlPlugin';
import HtmlWebpackPlugin from 'html-webpack-plugin';
import { managerPath } from '@storybook/core/client';
import { managerPath } from '@storybook/core/server';
import babelLoaderConfig from './babel.prod';
import { includePaths, excludePaths, loadEnv, nodePaths } from './utils';
import { getPreviewHeadHtml, getManagerHeadHtml } from '../utils';

View File

@ -28,7 +28,7 @@ getstorybook
For more information visit: [storybook.js.org](https://storybook.js.org)
## Starter Storybook-for-Vue Boilerplate project with [Vuetify](https://github.com/vuetifyjs/vuetify) Material Component Framework
https://github.com/white-rabbit-japan/vuetify-storyboard-boilerplate
<https://github.com/white-rabbit-japan/vuetify-storyboard-boilerplate>
* * *

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/vue",
"version": "3.4.0-alpha.7",
"version": "3.4.0-alpha.8",
"description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.",
"homepage": "https://github.com/storybooks/storybook/tree/master/apps/vue",
"bugs": {
@ -23,14 +23,14 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addon-actions": "^3.4.0-alpha.7",
"@storybook/addon-links": "^3.4.0-alpha.7",
"@storybook/addons": "^3.4.0-alpha.7",
"@storybook/channel-postmessage": "^3.4.0-alpha.7",
"@storybook/core": "^3.4.0-alpha.7",
"@storybook/ui": "^3.4.0-alpha.7",
"@storybook/addon-actions": "^3.4.0-alpha.8",
"@storybook/addon-links": "^3.4.0-alpha.8",
"@storybook/addons": "^3.4.0-alpha.8",
"@storybook/channel-postmessage": "^3.4.0-alpha.8",
"@storybook/core": "^3.4.0-alpha.8",
"@storybook/ui": "^3.4.0-alpha.8",
"airbnb-js-shims": "^1.4.1",
"autoprefixer": "^7.2.5",
"autoprefixer": "^7.2.6",
"babel-loader": "^7.1.2",
"babel-plugin-macros": "^2.1.0",
"babel-plugin-react-docgen": "^1.8.2",
@ -73,7 +73,7 @@
"util-deprecate": "^1.0.2",
"vue-hot-reload-api": "^2.2.4",
"vue-style-loader": "^3.1.2",
"webpack": "^3.10.0"
"webpack": "^3.11.0"
},
"devDependencies": {
"nodemon": "^1.14.12",

View File

@ -4,8 +4,7 @@ import Dotenv from 'dotenv-webpack';
import InterpolateHtmlPlugin from 'react-dev-utils/InterpolateHtmlPlugin';
import CaseSensitivePathsPlugin from 'case-sensitive-paths-webpack-plugin';
import HtmlWebpackPlugin from 'html-webpack-plugin';
import { WatchMissingNodeModulesPlugin } from '@storybook/core/server';
import { managerPath } from '@storybook/core/client';
import { WatchMissingNodeModulesPlugin, managerPath } from '@storybook/core/server';
import { includePaths, excludePaths, nodeModulesPaths, loadEnv, nodePaths } from './utils';
import { getPreviewHeadHtml, getManagerHeadHtml } from '../utils';
@ -84,7 +83,7 @@ export default function(configDir) {
resolve: {
// Since we ship with json-loader always, it's better to move extensions to here
// from the default config.
extensions: ['.js', '.json', '.jsx'],
extensions: ['.js', '.json', '.jsx', '.vue'],
// Add support to NODE_PATH. With this we could avoid relative path imports.
// Based on this CRA feature: https://github.com/facebookincubator/create-react-app/issues/253
modules: ['node_modules'].concat(nodePaths),

View File

@ -3,7 +3,7 @@ import UglifyJsPlugin from 'uglifyjs-webpack-plugin';
import Dotenv from 'dotenv-webpack';
import InterpolateHtmlPlugin from 'react-dev-utils/InterpolateHtmlPlugin';
import HtmlWebpackPlugin from 'html-webpack-plugin';
import { managerPath } from '@storybook/core/client';
import { managerPath } from '@storybook/core/server';
import babelLoaderConfig from './babel.prod';
import { includePaths, excludePaths, loadEnv, nodePaths } from './utils';
import { getPreviewHeadHtml, getManagerHeadHtml } from '../utils';
@ -94,7 +94,7 @@ export default function(configDir) {
resolve: {
// Since we ship with json-loader always, it's better to move extensions to here
// from the default config.
extensions: ['.js', '.json', '.jsx'],
extensions: ['.js', '.json', '.jsx', '.vue'],
// Add support to NODE_PATH. With this we could avoid relative path imports.
// Based on this CRA feature: https://github.com/facebookincubator/create-react-app/issues/253
modules: ['node_modules'].concat(nodePaths),

View File

@ -18,10 +18,10 @@
"storybook": "start-storybook -p 9009 -s src/pages"
},
"dependencies": {
"@storybook/addon-actions": "^3.3.12",
"@storybook/addon-links": "^3.3.12",
"@storybook/addons": "^3.3.12",
"@storybook/react": "^3.3.12",
"@storybook/addon-actions": "^3.3.13",
"@storybook/addon-links": "^3.3.13",
"@storybook/addons": "^3.3.13",
"@storybook/react": "^3.3.13",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-loader": "^6.4.1",
@ -31,7 +31,7 @@
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"bootstrap": "^3.3.7",
"gatsby": "^1.9.184",
"gatsby": "^1.9.193",
"gatsby-link": "^1.6.36",
"gatsby-plugin-sharp": "^1.6.27",
"gatsby-remark-autolink-headers": "^1.4.11",

View File

@ -104,7 +104,77 @@ In the above case, it will emit the notes' text to the channel, so our panel can
Then add the following code to the register.js.
See: <https://gist.github.com/arunoda/fb3859840ff616cc5ea0fa3ef8e3f358>
```js
import React from 'react';
import addons from '@storybook/addons';
const styles = {
notesPanel: {
margin: 10,
fontFamily: 'Arial',
fontSize: 14,
color: '#444',
width: '100%',
overflow: 'auto',
}
};
class Notes extends React.Component {
constructor(...args) {
super(...args);
this.state = {text: ''};
this.onAddNotes = this.onAddNotes.bind(this);
}
onAddNotes(text) {
this.setState({text});
}
componentDidMount() {
const { channel, api } = this.props;
// Listen to the notes and render it.
channel.on('kadira/notes/add_notes', this.onAddNotes);
// Clear the current notes on every story change.
this.stopListeningOnStory = api.onStory(() => {
this.onAddNotes('');
});
}
render() {
const { text } = this.state;
const textAfterFormatted = text? text.trim().replace(/\n/g, '<br />') : "";
return (
<div style={styles.notesPanel}>
<div dangerouslySetInnerHTML={{__html: textAfterFormatted}} />
</div>
);
}
// This is some cleanup tasks when the Notes panel is unmounting.
componentWillUnmount() {
if(this.stopListeningOnStory) {
this.stopListeningOnStory();
}
this.unmounted = true;
const { channel, api } = this.props;
channel.removeListener('kadira/notes/add_notes', this.onAddNotes);
}
}
// Register the addon with a unique name.
addons.register('kadira/notes', (api) => {
// Also need to set a unique name to the panel.
addons.addPanel('kadira/notes/panel', {
title: 'Notes',
render: () => (
<Notes channel={addons.getChannel()} api={api}/>
),
})
})
```
It will register our addon and add a panel. In this case, the panel represents a React component called `Notes`. That component has access to the channel and storybook api.

View File

@ -36,7 +36,7 @@ module.exports = {
Since this config file stays in the Storybook directory, you need to set the include path as above. If the config directory stays in a different directory, you need to set the include path relative to that.
You also need to install the loaders (style, css, and sass) used in above config manually.
You also need to install the loaders (style, css, sass, as well as node-sass) used in above config manually.
> Once you create this `webpack.config.js` file, Storybook won't load the [default Webpack config](/configurations/default-config/) other than loading JS files with the Babel loader. This will disable included functionality like svg loading. Read on to learn how to [retain defaults](#full-control-mode--default).

View File

@ -2,9 +2,9 @@
# yarn lockfile v1
"@storybook/addon-actions@^3.3.12":
version "3.3.12"
resolved "https://registry.yarnpkg.com/@storybook/addon-actions/-/addon-actions-3.3.12.tgz#1bd2668918a62f32c0907af14946cdd0c6be66f5"
"@storybook/addon-actions@^3.3.13":
version "3.3.13"
resolved "https://registry.yarnpkg.com/@storybook/addon-actions/-/addon-actions-3.3.13.tgz#6ba603e5254ab01d16f9ff97c1656f3746710059"
dependencies:
deep-equal "^1.0.1"
global "^4.3.2"
@ -13,37 +13,37 @@
react-inspector "^2.2.2"
uuid "^3.1.0"
"@storybook/addon-links@^3.3.12":
version "3.3.12"
resolved "https://registry.yarnpkg.com/@storybook/addon-links/-/addon-links-3.3.12.tgz#e1bb6e207506a45bea9e5f64cd78c045327412b7"
"@storybook/addon-links@^3.3.13":
version "3.3.13"
resolved "https://registry.yarnpkg.com/@storybook/addon-links/-/addon-links-3.3.13.tgz#ea27db37e609a9036e4e6164ed52edf768b99eef"
dependencies:
"@storybook/components" "^3.3.12"
"@storybook/components" "^3.3.13"
global "^4.3.2"
prop-types "^15.5.10"
"@storybook/addons@^3.3.12":
version "3.3.12"
resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-3.3.12.tgz#682927b5ac4baad796922eec505a7e956a3f79d9"
"@storybook/addons@^3.3.13":
version "3.3.13"
resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-3.3.13.tgz#b5c0395494b856cadc5bcb946cab7c206bc4f9af"
"@storybook/channel-postmessage@^3.3.12":
version "3.3.12"
resolved "https://registry.yarnpkg.com/@storybook/channel-postmessage/-/channel-postmessage-3.3.12.tgz#a4e7ac32ff84d2cc41bf3a5f30608ce5f82bcf82"
"@storybook/channel-postmessage@^3.3.13":
version "3.3.13"
resolved "https://registry.yarnpkg.com/@storybook/channel-postmessage/-/channel-postmessage-3.3.13.tgz#35eda62a97d0d1479452dc3a5338d320d5117083"
dependencies:
"@storybook/channels" "^3.3.12"
"@storybook/channels" "^3.3.13"
global "^4.3.2"
json-stringify-safe "^5.0.1"
"@storybook/channels@^3.3.12":
version "3.3.12"
resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-3.3.12.tgz#aa4106888971f9e689511093b0e6f2b569973a09"
"@storybook/channels@^3.3.13":
version "3.3.13"
resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-3.3.13.tgz#892b80c89329198096761f4f3ddf11d9b252fc61"
"@storybook/client-logger@^3.3.12":
version "3.3.12"
resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-3.3.12.tgz#5307eba4d63d6dc54676e14a40bc0d4be3439d92"
"@storybook/client-logger@^3.3.13":
version "3.3.13"
resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-3.3.13.tgz#a8d3120cf7e013a9e467c05dd440f529b3a93254"
"@storybook/components@^3.3.12":
version "3.3.12"
resolved "https://registry.yarnpkg.com/@storybook/components/-/components-3.3.12.tgz#e2571ca7150488f4ac3fa1cd1f70fa91ce38da8b"
"@storybook/components@^3.3.13":
version "3.3.13"
resolved "https://registry.yarnpkg.com/@storybook/components/-/components-3.3.13.tgz#003addacf9c98d61a35246eb7c76908d38d323c4"
dependencies:
glamor "^2.20.40"
glamorous "^4.11.2"
@ -57,9 +57,9 @@
"@storybook/react-simple-di" "^1.2.1"
babel-runtime "6.x.x"
"@storybook/node-logger@^3.3.12":
version "3.3.12"
resolved "https://registry.yarnpkg.com/@storybook/node-logger/-/node-logger-3.3.12.tgz#97251cfa46be4a0d856b394f5dbbf32d6ab2f2cd"
"@storybook/node-logger@^3.3.13":
version "3.3.13"
resolved "https://registry.yarnpkg.com/@storybook/node-logger/-/node-logger-3.3.13.tgz#ecc26dca0cdea4cf0b182e3b3c0c3e8466ca7764"
dependencies:
chalk "^2.3.0"
npmlog "^4.1.2"
@ -87,17 +87,17 @@
dependencies:
babel-runtime "^6.5.0"
"@storybook/react@^3.3.12":
version "3.3.12"
resolved "https://registry.yarnpkg.com/@storybook/react/-/react-3.3.12.tgz#f1f6587499e0aaa7b14be911a53d09a61e219ccd"
"@storybook/react@^3.3.13":
version "3.3.13"
resolved "https://registry.yarnpkg.com/@storybook/react/-/react-3.3.13.tgz#5b610e09158582d24a7e748663e27372185c2a19"
dependencies:
"@storybook/addon-actions" "^3.3.12"
"@storybook/addon-links" "^3.3.12"
"@storybook/addons" "^3.3.12"
"@storybook/channel-postmessage" "^3.3.12"
"@storybook/client-logger" "^3.3.12"
"@storybook/node-logger" "^3.3.12"
"@storybook/ui" "^3.3.12"
"@storybook/addon-actions" "^3.3.13"
"@storybook/addon-links" "^3.3.13"
"@storybook/addons" "^3.3.13"
"@storybook/channel-postmessage" "^3.3.13"
"@storybook/client-logger" "^3.3.13"
"@storybook/node-logger" "^3.3.13"
"@storybook/ui" "^3.3.13"
airbnb-js-shims "^1.4.0"
autoprefixer "^7.2.3"
babel-loader "^7.1.2"
@ -149,11 +149,11 @@
webpack-dev-middleware "^1.12.2"
webpack-hot-middleware "^2.21.0"
"@storybook/ui@^3.3.12":
version "3.3.12"
resolved "https://registry.yarnpkg.com/@storybook/ui/-/ui-3.3.12.tgz#b0a9cd83423c4d6cded0a0340fc4f48d5bdf3bc0"
"@storybook/ui@^3.3.13":
version "3.3.13"
resolved "https://registry.yarnpkg.com/@storybook/ui/-/ui-3.3.13.tgz#97656822a6503bf07b66a0288c757768f5451805"
dependencies:
"@storybook/components" "^3.3.12"
"@storybook/components" "^3.3.13"
"@storybook/mantra-core" "^1.7.2"
"@storybook/react-komposer" "^2.0.3"
babel-runtime "^6.26.0"
@ -4352,9 +4352,9 @@ gatsby-1-config-css-modules@^1.0.8:
dependencies:
babel-runtime "^6.26.0"
gatsby-cli@^1.1.37:
version "1.1.37"
resolved "https://registry.yarnpkg.com/gatsby-cli/-/gatsby-cli-1.1.37.tgz#2d86e766211a39e94ba38ecdfc426c8b9c4fcbf3"
gatsby-cli@^1.1.39:
version "1.1.39"
resolved "https://registry.yarnpkg.com/gatsby-cli/-/gatsby-cli-1.1.39.tgz#f2f4bf67d081de88c0a9a3728d9fcf0e215e182d"
dependencies:
babel-code-frame "^6.26.0"
babel-runtime "^6.26.0"
@ -4500,9 +4500,9 @@ gatsby-transformer-remark@^1.7.31:
unist-util-select "^1.5.0"
unist-util-visit "^1.1.1"
gatsby@^1.9.184:
version "1.9.184"
resolved "https://registry.yarnpkg.com/gatsby/-/gatsby-1.9.184.tgz#03ee3b39fb4056180140ebaed041a7523acf955a"
gatsby@^1.9.193:
version "1.9.193"
resolved "https://registry.yarnpkg.com/gatsby/-/gatsby-1.9.193.tgz#95cfb31b834dac124a0b2922948ea54c983f8682"
dependencies:
async "^2.1.2"
babel-code-frame "^6.22.0"
@ -4542,7 +4542,7 @@ gatsby@^1.9.184:
front-matter "^2.1.0"
fs-extra "^4.0.1"
gatsby-1-config-css-modules "^1.0.8"
gatsby-cli "^1.1.37"
gatsby-cli "^1.1.39"
gatsby-link "^1.6.36"
gatsby-module-loader "^1.0.9"
gatsby-react-router-scroll "^1.0.10"

View File

@ -1,6 +1,6 @@
{
"name": "angular-cli",
"version": "3.4.0-alpha.7",
"version": "3.4.0-alpha.8",
"private": true,
"license": "MIT",
"scripts": {
@ -30,26 +30,26 @@
"@angular/cli": "1.6.8",
"@angular/compiler-cli": "^5.2.4",
"@angular/language-service": "^5.2.4",
"@storybook/addon-actions": "^3.4.0-alpha.7",
"@storybook/addon-links": "^3.4.0-alpha.7",
"@storybook/addon-notes": "^3.4.0-alpha.7",
"@storybook/addon-storysource": "^3.4.0-alpha.7",
"@storybook/addon-storyshots": "^3.4.0-alpha.7",
"@storybook/addons": "^3.4.0-alpha.7",
"@storybook/angular": "^3.4.0-alpha.7",
"@storybook/addon-actions": "^3.4.0-alpha.8",
"@storybook/addon-links": "^3.4.0-alpha.8",
"@storybook/addon-notes": "^3.4.0-alpha.8",
"@storybook/addon-storysource": "^3.4.0-alpha.8",
"@storybook/addon-storyshots": "^3.4.0-alpha.8",
"@storybook/addons": "^3.4.0-alpha.8",
"@storybook/angular": "^3.4.0-alpha.8",
"@types/jasmine": "~2.8.6",
"@types/node": "~6.0.99",
"@types/node": "~9.4.5",
"global": "^4.3.2",
"jasmine-core": "~2.99.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~1.7.0",
"karma": "~2.0.0",
"karma-chrome-launcher": "~2.2.0",
"karma-cli": "~1.0.1",
"karma-coverage-istanbul-reporter": "^1.4.1",
"karma-jasmine": "~1.1.0",
"karma-jasmine-html-reporter": "^0.2.2",
"protractor": "~5.3.0",
"ts-node": "~3.3.0",
"ts-node": "~4.1.0",
"typescript": "^2.7.1"
}
}

View File

@ -1,6 +1,6 @@
{
"name": "cra-kitchen-sink",
"version": "3.4.0-alpha.7",
"version": "3.4.0-alpha.8",
"private": true,
"scripts": {
"build": "react-scripts build",
@ -19,28 +19,28 @@
"react-dom": "^16.2.0"
},
"devDependencies": {
"@storybook/addon-a11y": "^3.4.0-alpha.7",
"@storybook/addon-actions": "^3.4.0-alpha.7",
"@storybook/addon-backgrounds": "^3.4.0-alpha.7",
"@storybook/addon-centered": "^3.4.0-alpha.7",
"@storybook/addon-events": "^3.4.0-alpha.7",
"@storybook/addon-info": "^3.4.0-alpha.7",
"@storybook/addon-jest": "^3.4.0-alpha.7",
"@storybook/addon-knobs": "^3.4.0-alpha.7",
"@storybook/addon-links": "^3.4.0-alpha.7",
"@storybook/addon-notes": "^3.4.0-alpha.7",
"@storybook/addon-options": "^3.4.0-alpha.7",
"@storybook/addon-storyshots": "^3.4.0-alpha.7",
"@storybook/addon-viewport": "^3.4.0-alpha.7",
"@storybook/addons": "^3.4.0-alpha.7",
"@storybook/client-logger": "^3.4.0-alpha.7",
"@storybook/components": "^3.4.0-alpha.7",
"@storybook/react": "^3.4.0-alpha.7",
"babel-jest": "^22.2.0",
"@storybook/addon-a11y": "^3.4.0-alpha.8",
"@storybook/addon-actions": "^3.4.0-alpha.8",
"@storybook/addon-backgrounds": "^3.4.0-alpha.8",
"@storybook/addon-centered": "^3.4.0-alpha.8",
"@storybook/addon-events": "^3.4.0-alpha.8",
"@storybook/addon-info": "^3.4.0-alpha.8",
"@storybook/addon-jest": "^3.4.0-alpha.8",
"@storybook/addon-knobs": "^3.4.0-alpha.8",
"@storybook/addon-links": "^3.4.0-alpha.8",
"@storybook/addon-notes": "^3.4.0-alpha.8",
"@storybook/addon-options": "^3.4.0-alpha.8",
"@storybook/addon-storyshots": "^3.4.0-alpha.8",
"@storybook/addon-viewport": "^3.4.0-alpha.8",
"@storybook/addons": "^3.4.0-alpha.8",
"@storybook/client-logger": "^3.4.0-alpha.8",
"@storybook/components": "^3.4.0-alpha.8",
"@storybook/react": "^3.4.0-alpha.8",
"babel-jest": "^22.2.2",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.0",
"enzyme-to-json": "^3.3.1",
"jest": "^22.2.0",
"react-scripts": "^1.1.0"
"jest": "^22.2.2",
"react-scripts": "^1.1.1"
}
}

View File

@ -2,7 +2,7 @@
This storybook includes stories for:
- `@storybook/components` - reusable UI components for addon authors
- `@storybook/ui` - the UI of storybook itself
- `@storybook/addon-*` - various addons.
- `@storybook/other-*` - various examples.
- `@storybook/components` - reusable UI components for addon authors
- `@storybook/ui` - the UI of storybook itself
- `@storybook/addon-*` - various addons.
- `@storybook/other-*` - various examples.

View File

@ -1,6 +1,6 @@
{
"name": "official-storybook",
"version": "3.4.0-alpha.7",
"version": "3.4.0-alpha.8",
"private": true,
"scripts": {
"build-storybook": "build-storybook -c ./",
@ -10,31 +10,31 @@
"storybook": "start-storybook -p 9010 -c ./"
},
"devDependencies": {
"@storybook/addon-a11y": "^3.4.0-alpha.7",
"@storybook/addon-actions": "^3.4.0-alpha.7",
"@storybook/addon-backgrounds": "^3.4.0-alpha.7",
"@storybook/addon-centered": "^3.4.0-alpha.7",
"@storybook/addon-events": "^3.4.0-alpha.7",
"@storybook/addon-info": "^3.4.0-alpha.7",
"@storybook/addon-jest": "^3.4.0-alpha.7",
"@storybook/addon-knobs": "^3.4.0-alpha.7",
"@storybook/addon-links": "^3.4.0-alpha.7",
"@storybook/addon-notes": "^3.4.0-alpha.7",
"@storybook/addon-options": "^3.4.0-alpha.7",
"@storybook/addon-storysource": "^3.4.0-alpha.7",
"@storybook/addon-storyshots": "^3.4.0-alpha.7",
"@storybook/addon-viewport": "^3.4.0-alpha.7",
"@storybook/addons": "^3.4.0-alpha.7",
"@storybook/components": "^3.4.0-alpha.7",
"@storybook/react": "^3.4.0-alpha.7",
"babel-jest": "^21.2.0",
"@storybook/addon-a11y": "^3.4.0-alpha.8",
"@storybook/addon-actions": "^3.4.0-alpha.8",
"@storybook/addon-backgrounds": "^3.4.0-alpha.8",
"@storybook/addon-centered": "^3.4.0-alpha.8",
"@storybook/addon-events": "^3.4.0-alpha.8",
"@storybook/addon-info": "^3.4.0-alpha.8",
"@storybook/addon-jest": "^3.4.0-alpha.8",
"@storybook/addon-knobs": "^3.4.0-alpha.8",
"@storybook/addon-links": "^3.4.0-alpha.8",
"@storybook/addon-notes": "^3.4.0-alpha.8",
"@storybook/addon-options": "^3.4.0-alpha.8",
"@storybook/addon-storysource": "^3.4.0-alpha.8",
"@storybook/addon-storyshots": "^3.4.0-alpha.8",
"@storybook/addon-viewport": "^3.4.0-alpha.8",
"@storybook/addons": "^3.4.0-alpha.8",
"@storybook/components": "^3.4.0-alpha.8",
"@storybook/react": "^3.4.0-alpha.8",
"babel-jest": "^22.1.0",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.0",
"enzyme-to-json": "^3.3.1",
"eventemitter3": "^3.0.1",
"format-json": "^1.0.3",
"global": "^4.3.2",
"jest": "^21.2.1",
"jest": "^22.1.4",
"paths.macro": "^2.0.2",
"prop-types": "^15.6.0",
"react": "^16.2.0",

View File

@ -1,6 +1,6 @@
{
"name": "polymer-cli",
"version": "3.4.0-alpha.7",
"version": "3.4.0-alpha.8",
"private": true,
"scripts": {
"start": "webpack-dev-server",
@ -8,16 +8,16 @@
},
"dependencies": {
"@polymer/polymer": "^2.5.0",
"@storybook/addon-actions": "^3.4.0-alpha.7",
"@storybook/addon-knobs": "^3.4.0-alpha.7",
"@storybook/addon-notes": "^3.4.0-alpha.7",
"@storybook/addon-storysource": "^3.4.0-alpha.7",
"@storybook/addon-viewport": "^3.4.0-alpha.7",
"@storybook/polymer": "^3.4.0-alpha.7",
"@storybook/addon-actions": "^3.4.0-alpha.8",
"@storybook/addon-knobs": "^3.4.0-alpha.8",
"@storybook/addon-notes": "^3.4.0-alpha.8",
"@storybook/addon-storysource": "^3.4.0-alpha.8",
"@storybook/addon-viewport": "^3.4.0-alpha.8",
"@storybook/polymer": "^3.4.0-alpha.8",
"@webcomponents/webcomponentsjs": "^1.1.0",
"global": "^4.3.2",
"polymer-webpack-loader": "^2.0.0",
"webpack": "^3.8.1"
"webpack": "^3.11.0"
},
"devDependencies": {
"babel": "^6.23.0",

View File

@ -1,6 +1,6 @@
{
"name": "vue-example",
"version": "3.4.0-alpha.7",
"version": "3.4.0-alpha.8",
"private": true,
"scripts": {
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
@ -13,20 +13,20 @@
"vuex": "^3.0.0"
},
"devDependencies": {
"@storybook/addon-actions": "^3.4.0-alpha.7",
"@storybook/addon-centered": "^3.4.0-alpha.7",
"@storybook/addon-knobs": "^3.4.0-alpha.7",
"@storybook/addon-links": "^3.4.0-alpha.7",
"@storybook/addon-notes": "^3.4.0-alpha.7",
"@storybook/addon-storysource": "^3.4.0-alpha.7",
"@storybook/addon-storyshots": "^3.4.0-alpha.7",
"@storybook/addon-viewport": "^3.4.0-alpha.7",
"@storybook/addons": "^3.4.0-alpha.7",
"@storybook/vue": "^3.4.0-alpha.7",
"@storybook/addon-actions": "^3.4.0-alpha.8",
"@storybook/addon-centered": "^3.4.0-alpha.8",
"@storybook/addon-knobs": "^3.4.0-alpha.8",
"@storybook/addon-links": "^3.4.0-alpha.8",
"@storybook/addon-notes": "^3.4.0-alpha.8",
"@storybook/addon-storysource": "^3.4.0-alpha.8",
"@storybook/addon-storyshots": "^3.4.0-alpha.8",
"@storybook/addon-viewport": "^3.4.0-alpha.8",
"@storybook/addons": "^3.4.0-alpha.8",
"@storybook/vue": "^3.4.0-alpha.8",
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-preset-env": "^1.6.0",
"babel-preset-vue": "^1.2.1",
"babel-preset-vue": "^2.0.1",
"cross-env": "^5.1.3",
"css-loader": "^0.28.9",
"file-loader": "^1.1.6",
@ -34,7 +34,7 @@
"vue-loader": "^13.7.1",
"vue-style-loader": "^3.1.2",
"vue-template-compiler": "^2.5.13",
"webpack": "^3.10.0",
"webpack": "^3.11.0",
"webpack-dev-server": "^2.11.1"
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 124 KiB

After

Width:  |  Height:  |  Size: 132 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 240 KiB

After

Width:  |  Height:  |  Size: 243 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 124 KiB

After

Width:  |  Height:  |  Size: 136 KiB

View File

@ -1,5 +1,5 @@
{
"lerna": "2.5.1",
"lerna": "2.8.0",
"npmClient": "yarn",
"useWorkspaces": true,
"commands": {
@ -8,5 +8,5 @@
}
},
"concurrency": 1,
"version": "3.4.0-alpha.7"
"version": "3.4.0-alpha.8"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addons",
"version": "3.4.0-alpha.7",
"version": "3.4.0-alpha.8",
"description": "Storybook addons store",
"keywords": [
"storybook"

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/channel-postmessage",
"version": "3.4.0-alpha.7",
"version": "3.4.0-alpha.8",
"description": "",
"license": "MIT",
"main": "dist/index.js",
@ -9,7 +9,7 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/channels": "^3.4.0-alpha.7",
"@storybook/channels": "^3.4.0-alpha.8",
"global": "^4.3.2",
"json-stringify-safe": "^5.0.1"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/channel-websocket",
"version": "3.4.0-alpha.7",
"version": "3.4.0-alpha.8",
"description": "",
"license": "MIT",
"main": "dist/index.js",
@ -9,7 +9,7 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/channels": "^3.4.0-alpha.7",
"@storybook/channels": "^3.4.0-alpha.8",
"global": "^4.3.2"
}
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/channels",
"version": "3.4.0-alpha.7",
"version": "3.4.0-alpha.8",
"description": "",
"license": "MIT",
"main": "dist/index.js",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/cli",
"version": "3.4.0-alpha.7",
"version": "3.4.0-alpha.8",
"description": "Storybook's CLI - easiest method of adding storybook to your projects",
"keywords": [
"cli",
@ -25,12 +25,12 @@
"test-latest-cra": "cd test && ./test_latest_cra.sh"
},
"dependencies": {
"@storybook/codemod": "^3.4.0-alpha.7",
"@storybook/codemod": "^3.4.0-alpha.8",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.0",
"babel-register": "^6.26.0",
"babel-runtime": "^6.26.0",
"chalk": "^2.3.0",
"chalk": "^2.3.1",
"child-process-promise": "^2.2.1",
"commander": "^2.14.1",
"cross-spawn": "^5.0.1",
@ -43,26 +43,26 @@
"update-notifier": "^2.3.0"
},
"devDependencies": {
"@storybook/addon-actions": "^3.4.0-alpha.7",
"@storybook/addon-centered": "^3.4.0-alpha.7",
"@storybook/addon-graphql": "^3.4.0-alpha.7",
"@storybook/addon-info": "^3.4.0-alpha.7",
"@storybook/addon-knobs": "^3.4.0-alpha.7",
"@storybook/addon-links": "^3.4.0-alpha.7",
"@storybook/addon-notes": "^3.4.0-alpha.7",
"@storybook/addon-options": "^3.4.0-alpha.7",
"@storybook/addon-storyshots": "^3.4.0-alpha.7",
"@storybook/addons": "^3.4.0-alpha.7",
"@storybook/angular": "^3.4.0-alpha.7",
"@storybook/channel-postmessage": "^3.4.0-alpha.7",
"@storybook/channel-websocket": "^3.4.0-alpha.7",
"@storybook/channels": "^3.4.0-alpha.7",
"@storybook/polymer": "^3.4.0-alpha.7",
"@storybook/react": "^3.4.0-alpha.7",
"@storybook/react-native": "^3.4.0-alpha.7",
"@storybook/ui": "^3.4.0-alpha.7",
"@storybook/vue": "^3.4.0-alpha.7",
"check-node-version": "2.1.0",
"@storybook/addon-actions": "^3.4.0-alpha.8",
"@storybook/addon-centered": "^3.4.0-alpha.8",
"@storybook/addon-graphql": "^3.4.0-alpha.8",
"@storybook/addon-info": "^3.4.0-alpha.8",
"@storybook/addon-knobs": "^3.4.0-alpha.8",
"@storybook/addon-links": "^3.4.0-alpha.8",
"@storybook/addon-notes": "^3.4.0-alpha.8",
"@storybook/addon-options": "^3.4.0-alpha.8",
"@storybook/addon-storyshots": "^3.4.0-alpha.8",
"@storybook/addons": "^3.4.0-alpha.8",
"@storybook/angular": "^3.4.0-alpha.8",
"@storybook/channel-postmessage": "^3.4.0-alpha.8",
"@storybook/channel-websocket": "^3.4.0-alpha.8",
"@storybook/channels": "^3.4.0-alpha.8",
"@storybook/polymer": "^3.4.0-alpha.8",
"@storybook/react": "^3.4.0-alpha.8",
"@storybook/react-native": "^3.4.0-alpha.8",
"@storybook/ui": "^3.4.0-alpha.8",
"@storybook/vue": "^3.4.0-alpha.8",
"check-node-version": "3.2.0",
"npx": "9.7.1"
}
}

View File

@ -44,11 +44,11 @@
"ts-node": "1.2.1",
"tslint": "^4.3.0",
"typescript": "~2.4.0",
"@storybook/angular": "^3.4.0-alpha.7",
"@storybook/addon-notes": "^3.4.0-alpha.7",
"@storybook/addon-actions": "^3.4.0-alpha.7",
"@storybook/addon-links": "^3.4.0-alpha.7",
"@storybook/addons": "^3.4.0-alpha.7",
"@storybook/angular": "^3.4.0-alpha.8",
"@storybook/addon-notes": "^3.4.0-alpha.8",
"@storybook/addon-actions": "^3.4.0-alpha.8",
"@storybook/addon-links": "^3.4.0-alpha.8",
"@storybook/addons": "^3.4.0-alpha.8",
"babel-core": "^6.26.0"
}
}

View File

@ -19,9 +19,9 @@
"babel-preset-react": "^6.24.1",
"babel-preset-stage-1": "^6.24.1",
"babel-root-slash-import": "^1.1.0",
"@storybook/react": "^3.4.0-alpha.7",
"@storybook/addon-actions": "^3.4.0-alpha.7",
"@storybook/addon-links": "^3.4.0-alpha.7",
"@storybook/addons": "^3.4.0-alpha.7"
"@storybook/react": "^3.4.0-alpha.8",
"@storybook/addon-actions": "^3.4.0-alpha.8",
"@storybook/addon-links": "^3.4.0-alpha.8",
"@storybook/addons": "^3.4.0-alpha.8"
}
}

View File

@ -12,6 +12,6 @@
"@polymer/polymer": "^2.2.0"
},
"devDependencies": {
"@storybook/polymer": "^3.4.0-alpha.7"
"@storybook/polymer": "^3.4.0-alpha.8"
}
}

View File

@ -20,10 +20,10 @@
"rollup-plugin-commonjs": "^8.2.0",
"rollup-plugin-node-resolve": "^3.0.0",
"rollup-plugin-replace": "^1.1.1",
"@storybook/react": "^3.4.0-alpha.7",
"@storybook/addon-actions": "^3.4.0-alpha.7",
"@storybook/addon-links": "^3.4.0-alpha.7",
"@storybook/addons": "^3.4.0-alpha.7",
"@storybook/react": "^3.4.0-alpha.8",
"@storybook/addon-actions": "^3.4.0-alpha.8",
"@storybook/addon-links": "^3.4.0-alpha.8",
"@storybook/addons": "^3.4.0-alpha.8",
"babel-core": "^6.26.0"
}
}

View File

@ -16,10 +16,10 @@
"babel-preset-react-native": "3.0.1",
"jest": "20.0.4",
"react-test-renderer": "16.0.0-alpha.12",
"@storybook/react-native": "^3.4.0-alpha.7",
"@storybook/addon-actions": "^3.4.0-alpha.7",
"@storybook/addon-links": "^3.4.0-alpha.7",
"@storybook/addons": "^3.4.0-alpha.7",
"@storybook/react-native": "^3.4.0-alpha.8",
"@storybook/addon-actions": "^3.4.0-alpha.8",
"@storybook/addon-links": "^3.4.0-alpha.8",
"@storybook/addons": "^3.4.0-alpha.8",
"babel-core": "^6.26.0",
"react-dom": "16.0.0-alpha.12",
"prop-types": "^15.6.0"

View File

@ -6,10 +6,10 @@
"react-native-scripts": "1.3.1",
"jest-expo": "~20.0.0",
"react-test-renderer": "16.0.0-alpha.12",
"@storybook/react-native": "^3.4.0-alpha.7",
"@storybook/addon-actions": "^3.4.0-alpha.7",
"@storybook/addon-links": "^3.4.0-alpha.7",
"@storybook/addons": "^3.4.0-alpha.7",
"@storybook/react-native": "^3.4.0-alpha.8",
"@storybook/addon-actions": "^3.4.0-alpha.8",
"@storybook/addon-links": "^3.4.0-alpha.8",
"@storybook/addons": "^3.4.0-alpha.8",
"babel-core": "^6.26.0",
"react-dom": "16.0.0-alpha.12",
"prop-types": "^15.6.0"

View File

@ -13,10 +13,10 @@
"babel-preset-react": "^6.24.1",
"react": "^15.6.1",
"react-dom": "^15.6.1",
"@storybook/react": "^3.4.0-alpha.7",
"@storybook/addon-actions": "^3.4.0-alpha.7",
"@storybook/addon-links": "^3.4.0-alpha.7",
"@storybook/addons": "^3.4.0-alpha.7",
"@storybook/react": "^3.4.0-alpha.8",
"@storybook/addon-actions": "^3.4.0-alpha.8",
"@storybook/addon-links": "^3.4.0-alpha.8",
"@storybook/addons": "^3.4.0-alpha.8",
"babel-core": "^6.26.0"
},
"peerDependencies": {

View File

@ -16,10 +16,10 @@
"build-storybook": "build-storybook -s public"
},
"devDependencies": {
"@storybook/react": "^3.4.0-alpha.7",
"@storybook/addon-actions": "^3.4.0-alpha.7",
"@storybook/addon-links": "^3.4.0-alpha.7",
"@storybook/addons": "^3.4.0-alpha.7",
"@storybook/react": "^3.4.0-alpha.8",
"@storybook/addon-actions": "^3.4.0-alpha.8",
"@storybook/addon-links": "^3.4.0-alpha.8",
"@storybook/addons": "^3.4.0-alpha.8",
"babel-core": "^6.26.0"
}
}

View File

@ -49,10 +49,10 @@
"webpack-dev-middleware": "^1.10.0",
"webpack-hot-middleware": "^2.18.0",
"webpack-merge": "^4.1.0",
"@storybook/vue": "^3.4.0-alpha.7",
"@storybook/addon-actions": "^3.4.0-alpha.7",
"@storybook/addon-links": "^3.4.0-alpha.7",
"@storybook/addons": "^3.4.0-alpha.7",
"@storybook/vue": "^3.4.0-alpha.8",
"@storybook/addon-actions": "^3.4.0-alpha.8",
"@storybook/addon-links": "^3.4.0-alpha.8",
"@storybook/addons": "^3.4.0-alpha.8",
"babel-preset-vue": "^2.0.1"
},
"engines": {

View File

@ -8,8 +8,8 @@
"react-scripts": "0.9.x"
},
"devDependencies": {
"@storybook/react": "^3.4.0-alpha.7",
"@storybook/addons": "^3.4.0-alpha.7",
"@storybook/react": "^3.4.0-alpha.8",
"@storybook/addons": "^3.4.0-alpha.8",
"babel-core": "^6.26.0"
},
"scripts": {

View File

@ -34,10 +34,10 @@
"rollup-plugin-serve": "^0.4.0",
"rollup-plugin-vue": "^2.4.0",
"rollup-watch": "^4.0.0",
"@storybook/vue": "^3.4.0-alpha.7",
"@storybook/addon-actions": "^3.4.0-alpha.7",
"@storybook/addon-links": "^3.4.0-alpha.7",
"@storybook/addons": "^3.4.0-alpha.7",
"@storybook/vue": "^3.4.0-alpha.8",
"@storybook/addon-actions": "^3.4.0-alpha.8",
"@storybook/addon-links": "^3.4.0-alpha.8",
"@storybook/addons": "^3.4.0-alpha.8",
"babel-preset-vue": "^2.0.1"
}
}

View File

@ -17,9 +17,9 @@
"babel-loader": "^7.1.2",
"babel-preset-react": "^6.24.1",
"webpack": "^3.5.5",
"@storybook/react": "^3.4.0-alpha.7",
"@storybook/addon-actions": "^3.4.0-alpha.7",
"@storybook/addon-links": "^3.4.0-alpha.7",
"@storybook/addons": "^3.4.0-alpha.7"
"@storybook/react": "^3.4.0-alpha.8",
"@storybook/addon-actions": "^3.4.0-alpha.8",
"@storybook/addon-links": "^3.4.0-alpha.8",
"@storybook/addons": "^3.4.0-alpha.8"
}
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/client-logger",
"version": "3.4.0-alpha.7",
"version": "3.4.0-alpha.8",
"description": "",
"license": "MIT",
"main": "dist/index.js",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/codemod",
"version": "3.4.0-alpha.7",
"version": "3.4.0-alpha.8",
"description": "A collection of codemod scripts written with JSCodeshift",
"license": "MIT",
"main": "dist/index.js",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/components",
"version": "3.4.0-alpha.7",
"version": "3.4.0-alpha.8",
"description": "Core Storybook Components",
"license": "MIT",
"main": "dist/index.js",
@ -24,8 +24,8 @@
"react-dom": "*"
},
"devDependencies": {
"@storybook/addon-actions": "^3.4.0-alpha.7",
"@storybook/addon-knobs": "^3.4.0-alpha.7",
"@storybook/react": "^3.4.0-alpha.7"
"@storybook/addon-actions": "^3.4.0-alpha.8",
"@storybook/addon-knobs": "^3.4.0-alpha.8",
"@storybook/react": "^3.4.0-alpha.8"
}
}

View File

@ -1,6 +1 @@
const assign = require('babel-runtime/core-js/object/assign').default;
const client = require('./dist/client').default;
module.exports = assign({}, client, {
managerPath: require.resolve('./dist/client/manager'),
});
module.exports = require('./dist/client').default;

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/core",
"version": "3.4.0-alpha.7",
"version": "3.4.0-alpha.8",
"description": "Storybook framework-agnostic API",
"homepage": "https://github.com/storybooks/storybook/tree/master/lib/core",
"bugs": {
@ -17,14 +17,14 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "^3.4.0-alpha.7",
"@storybook/channel-postmessage": "^3.4.0-alpha.7",
"@storybook/client-logger": "^3.4.0-alpha.7",
"@storybook/node-logger": "^3.4.0-alpha.7",
"@storybook/ui": "^3.4.0-alpha.7",
"autoprefixer": "^7.2.5",
"@storybook/addons": "^3.4.0-alpha.8",
"@storybook/channel-postmessage": "^3.4.0-alpha.8",
"@storybook/client-logger": "^3.4.0-alpha.8",
"@storybook/node-logger": "^3.4.0-alpha.8",
"@storybook/ui": "^3.4.0-alpha.8",
"autoprefixer": "^7.2.6",
"babel-runtime": "^6.26.0",
"chalk": "^2.3.0",
"chalk": "^2.3.1",
"commander": "^2.14.1",
"css-loader": "^0.28.9",
"dotenv": "^4.0.0",
@ -43,7 +43,7 @@
"shelljs": "^0.8.1",
"style-loader": "^0.20.1",
"url-loader": "^0.6.2",
"webpack": "^3.10.0",
"webpack": "^3.11.0",
"webpack-dev-middleware": "^1.12.2",
"webpack-hot-middleware": "^2.21.0"
},

View File

@ -6,4 +6,5 @@ const buildDev = require('./dist/server/build-dev');
module.exports = assign({}, defaultWebpackConfig, buildStatic, buildDev, {
WatchMissingNodeModulesPlugin,
managerPath: require.resolve('./dist/client/manager'),
});

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/node-logger",
"version": "3.4.0-alpha.7",
"version": "3.4.0-alpha.8",
"description": "",
"license": "MIT",
"main": "dist/index.js",
@ -9,7 +9,7 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"chalk": "^2.3.0",
"chalk": "^2.3.1",
"npmlog": "^4.1.2"
}
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/ui",
"version": "3.4.0-alpha.7",
"version": "3.4.0-alpha.8",
"description": "Core Storybook UI",
"license": "MIT",
"main": "dist/index.js",
@ -15,7 +15,7 @@
"storybook": "start-storybook -p 9010"
},
"dependencies": {
"@storybook/components": "^3.4.0-alpha.7",
"@storybook/components": "^3.4.0-alpha.8",
"@storybook/mantra-core": "^1.7.2",
"@storybook/react-komposer": "^2.0.3",
"babel-runtime": "^6.26.0",
@ -31,11 +31,11 @@
"podda": "^1.2.2",
"prop-types": "^15.6.0",
"qs": "^6.5.1",
"react-fuzzy": "^0.5.1",
"react-fuzzy": "^0.5.2",
"react-icons": "^2.2.7",
"react-inspector": "^2.2.2",
"react-modal": "^3.1.12",
"react-split-pane": "^0.1.75",
"react-modal": "^3.1.13",
"react-split-pane": "^0.1.77",
"react-treebeard": "^2.1.0",
"redux": "^3.7.2"
},
@ -44,7 +44,7 @@
"react-dom": "*"
},
"devDependencies": {
"@storybook/addon-actions": "^3.4.0-alpha.7",
"@storybook/react": "^3.4.0-alpha.7"
"@storybook/addon-actions": "^3.4.0-alpha.8",
"@storybook/react": "^3.4.0-alpha.8"
}
}

View File

@ -52,20 +52,20 @@
"babel-plugin-macros": "^2.1.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"chalk": "^2.3.0",
"chalk": "^2.3.1",
"codecov": "^3.0.0",
"codelyzer": "^3.1.2",
"codelyzer": "^4.1.0",
"commander": "^2.14.1",
"concurrently": "^3.5.1",
"cross-env": "^5.1.3",
"danger": "^2.1.10",
"danger": "^3.1.6",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^4.17.0",
"eslint-config-airbnb": "^16.1.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jest": "^21.7.0",
"eslint-plugin-jest": "^21.12.1",
"eslint-plugin-json": "^1.2.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-prettier": "^2.6.0",
@ -74,36 +74,34 @@
"github-release-from-changelog": "^1.3.1",
"glob": "^7.1.2",
"husky": "^0.14.3",
"inquirer": "^4.0.2",
"inquirer": "^5.1.0",
"jest": "^22.2.0",
"jest-cli": "^22.2.0",
"jest-config": "^22.2.0",
"jest-cli": "^22.2.2",
"jest-config": "^22.2.2",
"jest-diff": "^22.1.0",
"jest-environment-jsdom": "^22.2.0",
"jest-environment-jsdom": "^22.2.2",
"jest-enzyme": "^4.2.0",
"jest-image-snapshot": "^2.3.0",
"jest-jasmine2": "^22.2.0",
"jest-jasmine2": "^22.2.2",
"jest-preset-angular": "^5.0.0",
"jest-vue-preprocessor": "^1.3.1",
"lerna": "2.6.0",
"lerna": "2.8.0",
"lint-staged": "^6.1.0",
"lodash": "^4.17.5",
"nodemon": "^1.14.12",
"npmlog": "^4.1.2",
"prettier": "^1.10.2",
"puppeteer": "^0.13.0",
"puppeteer": "^1.0.0",
"raf": "^3.4.0",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-test-renderer": "^16.2.0",
"remark-cli": "^4.0.0",
"remark-cli": "^5.0.0",
"remark-lint": "^6.0.1",
"remark-lint-code": "^2.0.0",
"remark-lint-code-eslint": "^2.0.0",
"remark-preset-lint-recommended": "^3.0.1",
"shelljs": "^0.8.1",
"symlink-dir": "^1.1.1",
"ts-jest": "^22.0.3",
"ts-jest": "^22.0.4",
"tslint": "~5.9.1",
"tslint-config-prettier": "^1.7.0",
"tslint-plugin-prettier": "^1.3.0",

View File

@ -142,10 +142,7 @@
"use-life-cycle-interface": true,
"use-pipe-transform-interface": true,
"component-class-suffix": true,
"directive-class-suffix": true,
"no-access-missing-member": true,
"templates-use-public": true,
"invoke-injectable": true
"directive-class-suffix": true
},
"linterOptions": {
"exclude": [

2026
yarn.lock

File diff suppressed because it is too large Load Diff