3067 Commits

Author SHA1 Message Date
Matt Oakes
5e9478f4f6 Add react-dom to the devDependency list for React Native projects 2017-05-23 09:22:08 +01:00
Tom Coleman
52cffb85f2 Merge pull request #1090 from storybooks/component-with-ref-example
Added `snapshotWithOptions` to allow configuring rendering options in Storyshots
2017-05-23 12:55:27 +10:00
Norbert de Langen
abac423ed4 Merge branch 'master' into component-with-ref-example 2017-05-23 00:41:09 +02:00
Norbert de Langen
57809215f6 v3.0.0-alpha.4 v3.0.0-alpha.4 2017-05-23 00:09:21 +02:00
Norbert de Langen
8e9809823f v3.0.0-alpha.3 2017-05-23 00:08:11 +02:00
Daniel Duan
346968ddef Merge pull request #1097 from matt-oakes/issue-1061-react-native-config
Upgrade React Native webpack config to webpack 2
2017-05-22 17:55:41 -04:00
Matt Oakes
43a665c5a9 Upgrade React Native webpack config 2017-05-22 22:25:58 +01:00
Michael Shilman
b9aa42abd0 Merge pull request #1091 from nayucolony/master
Fix dead link to demo repository
2017-05-22 16:12:14 +10:00
Yuki nakamura
3a3c498a61 Update README.md 2017-05-22 15:05:17 +09:00
Tom Coleman
0644b216b3 Added some docs 2017-05-22 15:27:45 +10:00
Tom Coleman
b915b54397 Added a snapshotWithOptions test body and example
See for instance https://github.com/storybooks/storybook/pull/896/ -- it's a common problem to need mocked nodes. 

This solution is probably a bit of a bandaid, as large projects would probably want to set options per-story, this is a lot better than nothing in the meantime.
2017-05-22 15:25:58 +10:00
Norbert de Langen
d8af5ff96a Merge pull request #1089 from mkamakura/fix-doc-custom-webpack-config
Fixed a typo in webpack.config.js
2017-05-22 07:23:29 +02:00
mkamakura
5109729386 fixed a typo 2017-05-22 13:01:41 +09:00
Norbert de Langen
8aa4928b45 Merge pull request #1087 from storybooks/fix-postcss
FIX postcss options missing && UPDATE dependencies
2017-05-21 19:59:25 +02:00
Norbert de Langen
7da01739c2 Merge branch 'master' into fix-postcss 2017-05-21 19:44:29 +02:00
Norbert de Langen
6a41f71b0a FIX postcss options missing && UPDATE dependencies 2017-05-21 19:38:34 +02:00
Norbert de Langen
920c4b396e Merge pull request #1086 from storybooks/fix/increase-font-size-label
fix(knobs): increase font size label
2017-05-21 18:59:18 +02:00
mthuret
6b22be5d41 fix(knobs): increase font size label 2017-05-21 18:35:15 +02:00
Norbert de Langen
037ce6a728 Merge pull request #1082 from storybooks/fix-proptypes
CHANGE to prop-types package for notes & test-cra
2017-05-21 14:26:43 +02:00
Norbert de Langen
c7e676ff3b CHANGE to prop-types package for notes & test-cra 2017-05-21 14:16:21 +02:00
Tom Coleman
dd8e8611af Merge pull request #1035 from storybooks/configure-snapshot-test
Configure snapshot test
2017-05-21 21:26:48 +10:00
Tom Coleman
b00d4a43f1 Added some documentation about the test option 2017-05-21 21:10:36 +10:00
Tom Coleman
a92f352470 Allow passing a test function to storyshots
See https://github.com/storybooks/storybook/issues/1034
2017-05-21 21:10:34 +10:00
Tom Coleman
4026bd6983 Merge pull request #971 from storybooks/test-storyshots
Test storyshots
2017-05-21 20:53:49 +10:00
Tom Coleman
b5d7247128 Set up test-cra app to use storyshots
A few things involved:

1. Remove dependencies from storyshots

Storyshots wants to plugin to the version used by the app, not have its own version. So it should probably use a peer dep; however as some deps are optional (i.e. react vs react-native) this will lead to confusing warnings to the user.

This seems like an OK approach until we hear differently from users.

2. Update test-cra's react-scripts to get it's Jest version up to date

3. Add a `mode` option to storyshots to avoid it auto-detecting if `@storybooks/react[-native]` is installed (this was breaking Jest run from the top-level).

4. Ensure that travis installs the `test-cra` properly
2017-05-21 20:44:59 +10:00
Norbert de Langen
6f4566cde9 v3.0.0-alpha.2 v3.0.0-alpha.2 2017-05-20 21:04:36 +02:00
Norbert de Langen
2f476560d5 ADD lerna publish script 2017-05-20 20:55:07 +02:00
Norbert de Langen
cf49c27c99 Merge pull request #1080 from storybooks/update-reactscripts
update dependencies in cra-storybook
2017-05-20 19:58:23 +02:00
Norbert de Langen
285fa8278e Merge branch 'master' into update-reactscripts 2017-05-20 18:03:13 +02:00
Norbert de Langen
4efdb5b978 Merge pull request #1079 from storybooks/cli/improvement-versioning
IMPROVE cli
2017-05-20 18:02:50 +02:00
Norbert de Langen
8b3f8556c2 update dependencies in cra-storybook 2017-05-20 17:59:34 +02:00
Norbert de Langen
a52ab86c4f IMPROVE cli 2017-05-20 17:50:38 +02:00
Michael Shilman
2567684d0f Merge pull request #1078 from shilman/1046-package-repo
Update package.json with repository info
2017-05-20 19:59:17 +10:00
Michael Shilman
bc1bd2a4f9 Merge remote-tracking branch 'storybooks/master' into 1046-package-repo 2017-05-20 19:42:35 +10:00
Michael Shilman
80f375bea0 Add repository to package.json 2017-05-20 19:42:01 +10:00
Michael Shilman
e29c55da8e Merge pull request #1076 from stereodenis/patch-2
Update storyshots README.md example
2017-05-20 19:06:55 +10:00
Denis Evgrafov
4da63d1359 Update README.md 2017-05-20 11:41:32 +03:00
Norbert de Langen
a81757b333 v3.0.0-alpha.1 v3.0.0-alpha.1 2017-05-19 22:40:47 +02:00
Norbert de Langen
c7770841dc Merge pull request #1030 from bigassdragon/master
Added component description from __docgenInfo, Added the ability to get the PropType from __docgenInfo for prop table, Fixed an issue with PropVal rendering an object
2017-05-19 22:24:17 +02:00
Norbert de Langen
d08b51bfa0 Merge branch 'master' into master 2017-05-19 22:14:01 +02:00
Daniel Duan
a47d8d1a0f Merge pull request #1062 from danielduan/postcss-config
Upgraded webpack PostCSS plugin definition
2017-05-19 16:07:51 -04:00
Norbert de Langen
63e5dc2789 Merge branch 'master' into postcss-config 2017-05-19 22:02:18 +02:00
Norbert de Langen
38f8e92ea5 Merge pull request #1074 from stereodenis/patch-1
Update link to Storyshots addon
2017-05-19 21:35:47 +02:00
Denis Evgrafov
fce287ce4c Update README.md 2017-05-19 22:17:06 +03:00
Denis Evgrafov
83e29d2f1f Update link to Stroyshots addon 2017-05-19 21:23:43 +03:00
Nelson, Joe
3e7bc3c97c Merge branch 'master' of github.com:bigassdragon/storybook 2017-05-19 11:08:52 -07:00
Nelson, Joe
ad0fcfe94f fixed code style problems. 2017-05-19 11:06:14 -07:00
Nelson, Joe
622dadb4ef removed reference to window since it is not needed. 2017-05-19 11:06:14 -07:00
Nelson, Joe
8dc13690c5 removed version number. 2017-05-19 11:04:16 -07:00
Nelson, Joe
ad15e80cc2 added code to support js documentation for adding descriptions to a component, fixed issue with content was being rendered as an object and give errors for that, added a fix to when you use PropTypes from something other than React that you can get the type from docgen. 2017-05-19 11:04:16 -07:00