192 Commits

Author SHA1 Message Date
abhiaiyer91
5bee33f0c1 fix(react-inspector): update react inspector to fix #1385 2017-07-04 16:46:54 -07:00
Gytis Vinclovas
e0fe7742f6 Updated addon knob readme. 2017-07-04 17:55:15 +03:00
Michael Shilman
dbd6842bbb v3.1.7 2017-06-28 05:23:31 -07:00
Michael Shilman
d8f22cdb85 v3.1.6 2017-06-26 16:32:38 +10:00
Michael Shilman
cc4abb1b98 Linting fixes 2017-06-26 16:06:30 +10:00
Michael Shilman
188876ee43 Merge pull request #1350 from storybooks/1254-storyshots-babel-problem
Remove the `cacheDirectory` option from babel config
2017-06-26 15:50:50 +10:00
Michael Shilman
f0b4141330 Merge branch 'master' into 1254-storyshots-babel-problem 2017-06-26 14:22:33 +10:00
Tom Coleman
1c0978f83a Only add the cacheDirectory option as we assemble the webpack config. 2017-06-26 10:49:19 +10:00
Michael Shilman
886dfbf6a8 Merge branch 'master' into marc-actions-uuid 2017-06-25 16:17:50 +10:00
Norbert de Langen
152630be57 Merge pull request #1351 from thomasbertet/fix-1307-invalid-node-type-to-props
Fix invalid prop 'node.type' supplied to 'Props'
2017-06-23 17:18:53 +02:00
Michael Shilman
4710321b9c Merge pull request #1326 from blairanderson/patch-1
fixes #1299 - addons/info: update readme
2017-06-23 23:56:46 +10:00
Norbert de Langen
51f4c9de71 Merge branch 'master' into fix-1307-invalid-node-type-to-props 2017-06-23 15:45:07 +02:00
Michael Shilman
235bb99130 Merge branch 'master' into marc-actions-uuid 2017-06-23 23:26:39 +10:00
Michael Shilman
10ba79923a Merge branch 'master' into patch-1 2017-06-23 23:12:52 +10:00
Michael Shilman
e32629f31b Merge branch 'master' into addon-info-omit-empty-inline-header 2017-06-23 23:01:46 +10:00
Thomas Bertet
0bfb068b6f fix invalid prop node.type to Props 2017-06-23 11:16:40 +02:00
Tom Coleman
e1dfd2e117 Remove the cacheDirectory option from babel config
In storyshots, we are running babel directly, not through webpack, so we can't use this option, which applies to `babel-loader`. See https://github.com/storybooks/storybook/blob/master/app/react/src/server/config/babel.js#L15

https://github.com/storybooks/storybook/issues/1254
2017-06-23 14:40:41 +10:00
Marc Fallows
d8fb794362 Use uuid for action IDs instead of Math.random (fixes #1109) 2017-06-23 13:39:00 +10:00
Duncan Beevers
549e55e05b
Addon Info: Omit empty inline info header 2017-06-22 10:55:16 -07:00
Michael Shilman
b20e6f5091 Remove package-lock.json 2017-06-23 01:03:45 +10:00
Michael Shilman
a620cfed2a v3.1.5 2017-06-22 16:36:43 +10:00
Michael Shilman
f496deba0b Create @storybook/react/demo exports 2017-06-22 15:05:19 +10:00
Tom Coleman
45300c361c Revert removing @storybook/react from storyshots 2017-06-22 12:20:25 +10:00
Michael Shilman
e5041fa06a Add package-lock.json
Per discussion with @tmeasday 😉
2017-06-22 11:17:16 +10:00
Michael Shilman
d04f2239bb Merge branch 'master' into 1266-fix-components-deps 2017-06-22 00:59:57 +10:00
Michael Shilman
5fcd85b311 Remove @storybook/react dependencies from storyshots
This is a hack. Currently the build is broken because `test-cra`
requires `@storybook/addon-storyshots` AND `@storybook/react`, but
`@storybook/addon-storyshots` requires `@storybook/react`. Before this
change, two versions of `@storybook/react` are getting loaded, and this
leads to a test error “Your test suite must contain at least one test.”

After this “fix” the error goes away. However,
`@storybook/addon-storyshots` should have a dev- dependency on
`@storybook/react`, because it uses it for its examples. But it only
has a peer-dep for now.
2017-06-22 00:24:33 +10:00
Natsathorn
62b2651456 add step for import addon-action to addons.js file before start using it 2017-06-21 13:08:31 +07:00
Blair Anderson
e4634420f2 addons/info: update readme
- include the defaults/options that are useable
2017-06-20 18:46:43 -07:00
Norbert de Langen
37141d675f Merge branch 'master' into 1266-fix-components-deps 2017-06-19 11:50:23 +02:00
Allan Lukwago
3761ebb143 snapshot testing inverse regex example documentation 2017-06-18 16:36:43 +03:00
Michael Shilman
600b9bd79c Move demo components from @storybook/components to @storybook/react 2017-06-17 23:49:04 +10:00
Michael Shilman
db5b5a6504 Fix prop-type warning in date knob 2017-06-17 19:46:16 +10:00
Michael Shilman
0664a7cd69 Add test cases to kitchen sink, fix object/boolean knobs 2017-06-17 18:36:25 +10:00
Norbert de Langen
2424f90e09 Merge branch 'master' into #1265-addon-knobs-proptypes-deserialization 2017-06-16 14:39:30 +02:00
Norbert de Langen
59d4cc2b15 Merge branch 'master' into add-lib-components
# Conflicts:
#	examples/cra-kitchen-sink/src/stories/Button.js
#	examples/cra-kitchen-sink/src/stories/Welcome.js
2017-06-16 08:49:59 +02:00
Norbert de Langen
81925f927f Merge branch 'master' into #1265-addon-knobs-proptypes-deserialization 2017-06-16 00:42:39 +02:00
Gytis Vinclovas
7371ce8288 Simpler check. 2017-06-15 17:02:45 +03:00
Gytis Vinclovas
1ad0d2ba88 Fixed issue with bad propType on boolean knob.
Deserializing now doesn't return array anymore.
2017-06-15 17:01:34 +03:00
Joe Kohlmann
0989765e43 Merge branch 'master' into patch-1 2017-06-15 09:43:24 -04:00
Michael Shilman
f64f5b7482 v3.1.4 2017-06-15 22:08:24 +10:00
Tom Coleman
c254d17732 Create README.md 2017-06-15 10:53:31 +10:00
Alexander Nilsson
1288dfbc64 Merge branch 'master' into master 2017-06-13 07:22:13 +02:00
Norbert de Langen
abac2be0af Merge branch 'master' into add-lib-components 2017-06-12 19:39:50 +02:00
Norbert de Langen
294923bac3 Use new common demo-components 2017-06-12 18:09:37 +02:00
Joe Kohlmann
9035f43af2 Info add-on: update z-index of container 2017-06-12 10:41:44 -04:00
Michael Hsu (徐承志)
106514f6f2 feat(Addon/info): use external links 2017-06-12 16:44:38 +08:00
Alexander Nilsson
b85904e524 Merge branch 'master' into master 2017-06-12 09:32:36 +02:00
Michael Hsu
71a48df16c isRequired 2017-06-12 11:41:47 +08:00
Michael Hsu
13939bdb46 update propTypes 2017-06-12 11:31:59 +08:00
Michael Hsu
a7ddf63169 add propTypes 2017-06-12 11:14:46 +08:00