55 Commits

Author SHA1 Message Date
Evgeniy Zaitsev
6be7f418f9 fix stories 2017-05-31 13:05:54 +03:00
Evgeniy Zaitsev
c46d701bb1 replace context with props 2017-05-31 13:05:43 +03:00
Evgeniy Zaitsev
c6ebe9a4a0 Merge branch 'master' into addon-info-new-options 2017-05-30 17:10:51 +03:00
Evgeniy Zaitsev
ab611bdc6a add new options to info addon 2017-05-30 17:10:08 +03:00
Michael Shilman
af41dd1c48 v3.0.0 2017-05-31 01:39:35 +12:00
Michael Shilman
470c22f92a v3.0.0-rc.3 2017-05-30 20:46:11 +12:00
Joscha Feth
d37adc791c Add Typescript definitions 2017-05-30 11:42:37 +10:00
Joscha Feth
034476a8bc add storybook-addon-links.d.ts 2017-05-30 11:41:22 +10:00
Norbert de Langen
3da805f273 Update README.md 2017-05-28 17:44:52 +02:00
tomracia
8b9e7302ea Use strict equality to distinguish 0 from an empty string 2017-05-28 15:16:47 +02:00
Norbert de Langen
db3cd0b6eb FIX spelling 2017-05-27 22:10:34 +02:00
Norbert de Langen
4a2bc9333a v3.0.0-rc.2 2017-05-27 13:46:50 +02:00
Norbert de Langen
67d902f237 FIX listing for markdown 2017-05-26 11:21:46 +02:00
Norbert de Langen
474d6c7945 FIX linting 2017-05-26 10:05:20 +02:00
Norbert de Langen
8d5c4bacf8 FIX linting 2017-05-26 09:36:45 +02:00
Norbert de Langen
8be2c88085 FIX cyclical dependencies 2017-05-25 22:22:33 +02:00
Norbert de Langen
f88dfc37ea v3.0.0-rc.0 2017-05-25 18:28:23 +02:00
Norbert de Langen
6be44e9788 FIX linting 2017-05-25 17:42:27 +02:00
Norbert de Langen
d293261051 ADD a global to storyshots to make it work for series with info addon 2017-05-25 17:36:31 +02:00
Norbert de Langen
ad08ab3d8e Merge branch 'master' into master 2017-05-25 14:58:59 +02:00
Tom Coleman
3618a1aa17 This was a mistake, should not have been included
See https://github.com/storybooks/storybook/issues/995#issuecomment-303733775
2017-05-25 09:59:44 +10:00
Gytis Vinclovas
7a920bd4be Fixed lint issues. 2017-05-24 07:54:33 +02:00
Gytis Vinclovas
50a781d4e3 Fixing performance issues. Added timestamps to setKnobs event. Added ability to pass debounce option when adding decorator 2017-05-24 07:54:33 +02:00
Michael Shilman
ffe31ef676 Update all package.json with monorepo metadata
- correct repository/homepage/bugs info
2017-05-24 13:48:13 +10:00
Michael Shilman
f5237574cd v3.0.0-alpha.5 2017-05-24 08:59:26 +10:00
Norbert de Langen
a593145cd0 FIX a few things 2017-05-23 20:56:54 +02: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 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
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
mthuret
6b22be5d41 fix(knobs): increase font size label 2017-05-21 18:35:15 +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
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
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 2017-05-20 21:04:36 +02:00
Denis Evgrafov
4da63d1359 Update README.md 2017-05-20 11:41:32 +03:00
Norbert de Langen
a81757b333 v3.0.0-alpha.1 2017-05-19 22:40:47 +02: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
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
Nelson, Joe
edd6b6920a working on getting more documentation. 2017-05-19 11:01:28 -07:00
Daniel Duan
cd75e24917 Removed > typo in Info prop table header 2017-05-18 16:09:24 -04:00
Norbert de Langen
bf7db99e6d v3.0.0-alpha.0 2017-05-17 21:49:25 +02:00
Norbert de Langen
f7570d2710 FIX review comment 2017-05-17 12:17:30 +02:00
Norbert de Langen
9596ea1ca0 FIX a few bithound listing issues 2017-05-17 09:18:50 +02:00
Norbert de Langen
33197654ad MOVE & RENAME and storyshots && CHANGE “React Storybook” > “Storybook” 2017-05-17 09:04:22 +02:00
Norbert de Langen
36c7ca7c1d FIX linting 2017-05-17 00:34:34 +02:00