12347 Commits

Author SHA1 Message Date
t_hammb
cb7e790d2e fixing issues with storybook build. 2018-07-19 14:58:17 -07:00
t_hammb
912e9198e6 fixing errors from unsuccessful checks. 2018-07-19 14:14:09 -07:00
t_hammb
698e828a4e fixing issues with unsuccessful checks. 2018-07-19 13:46:20 -07:00
t_hammb
34e74f8f92 refining code more and fixing more issues found within the code. 2018-07-19 11:26:20 -07:00
t_hammb
525bee5a07 fixing more errors and cleaning up code. 2018-07-18 11:28:29 -07:00
t_hammb
ac0394c215 fixing changes that needed to be made after PR was reviewed. 2018-07-18 11:13:21 -07:00
t_hammb
a805407623 adding information about radio button addon to documentation 2018-07-17 20:26:50 -07:00
Bryce Hammond
28a14d322f Add radio buttons knob type 2018-07-17 16:17:57 -07:00
Norbert de Langen
6ca316800d
Merge pull request #3884 from storybooks/move-official-example-ui
MOVE ui into it's own group
2018-07-16 10:17:26 -07:00
Norbert de Langen
42a7769292
Merge pull request #3866 from IanVS/fix-knobs-for-older-react
Fix knobs for React < 16.3
2018-07-13 23:05:10 -07:00
Norbert de Langen
267b999995
MOVE ui into it's own group 2018-07-13 22:42:52 -07:00
Igor
a588f4d6b7
Merge pull request #3876 from rwieruch/patch-1
[addon-a11y] improve documentation
2018-07-12 18:45:20 +03:00
Robin Wieruch
e655d22995
add JS syntax highlight 2018-07-12 17:15:13 +02:00
Igor
5196cf247a
Merge pull request #3877 from rwieruch/patch-2
storybook with Node HTTP Server
2018-07-12 18:07:29 +03:00
Robin Wieruch
44473ad7f4
storybook with Node HTTP Server 2018-07-12 14:34:06 +02:00
Robin Wieruch
269d6bf199
[addon-a11y] improve documentation 2018-07-12 13:34:27 +02:00
Ian VanSchooten
1652d64635 Use shouldComponentUpdate instead of PureComponent
Because the `knob` object prop is being regenerated each time the
parent re-renders, we can’t use the shallow prop comparison that 
PureComponent does.  So this uses a `shouldComponentUpdate` instead,
which in most cases just compares the `knob.value` prop to see if it
has changed.  I don’t believe that the `name` is changed between
renders.  Same goes for number range configurations and array
separators.
2018-07-12 11:53:16 +02:00
Ian VanSchooten
554da3b295 Expand NumberType PropTypes
It seems that some were not being accounted for.
2018-07-12 11:47:25 +02:00
Michael Shilman
cdca2e892c 4.0.0-alpha.14 snapshots 2018-07-11 17:20:40 -07:00
Michael Shilman
e5e1e3aff8 v4.0.0-alpha.14 v4.0.0-alpha.14 2018-07-11 17:13:57 -07:00
Michael Shilman
08f2898670 4.0.0-alpha.14 changelog 2018-07-11 17:13:06 -07:00
Michael Shilman
45a9d904eb
Merge pull request #3874 from storybooks/3830-universal-dotenv2
Upgrade universal-dotenv to fix core-js dependency
2018-07-11 17:10:55 -07:00
Michael Shilman
6cb4b93fcd Upgrade universal-dotenv 2018-07-11 16:50:11 -07:00
Ian VanSchooten
4629403896 Fix dirty lockfile 2018-07-10 12:50:02 +02:00
Ian VanSchooten
cd544662bb Fix knobs for React < 16.3
The `getDerivedStateFromProps` lifecycle method was added in React 16.3,
and older versions of react won’t execute it.  Many of the knob components
were relying on this function to initialize component state, and so in
older versions of react state was undefined, and grabbing `value` would
blow up.

Most of the usages in these components were to memoize props, but that
can be handled more cleanly through the use of `PureComponent`, as 
mentioned in:
https://reactjs.org/blog/2018/06/07/you-probably-dont-need-derived-state.html#what-about-memoization
2018-07-10 12:34:25 +02:00
Michael Shilman
957c74e019 4.0.0-alpha.13 snapshots 2018-07-09 21:42:23 -07:00
Michael Shilman
681869bfcd v4.0.0-alpha.13 v4.0.0-alpha.13 2018-07-09 21:31:07 -07:00
Michael Shilman
ebea286da7 4.0.0-alpha.13 changelog 2018-07-09 20:31:42 -07:00
Michael Shilman
27af2715e2
Merge pull request #3863 from storybooks/3830-universal-dotenv
Upgrade universal-dotenv to fix babel-runtime
2018-07-09 20:22:24 -07:00
Michael Shilman
2131f49785 Updatded yarn.lock 2018-07-09 17:58:27 -07:00
Michael Shilman
98fb48d262 Bump universal-dotenv version to try to fix babel problem 2018-07-09 17:44:33 -07:00
Igor
2863fe8a61
Merge pull request #3859 from jamesgorrie/patch-1
[Documentation] Fix inline documentation on info plugin readme
2018-07-09 20:26:38 +03:00
Igor
c1c1625fa8
Merge pull request #3856 from choznerol/patch-1
Fix typo
2018-07-09 19:58:10 +03:00
James Gorrie
dd41addcc7
Fix inline documentation on info plugin readme 2018-07-09 17:38:54 +01:00
Lawrence Chou
3d33ff7ea5
Fix typo 2018-07-09 23:31:24 +08:00
Tom Coleman
f49c444826
Merge pull request #3844 from storybooks/tmeasday/add-tests-for-parameters
Added a test for parameter combination
2018-07-07 13:18:58 +10:00
Tom Coleman
682bc08cf6
Merge pull request #3845 from storybooks/tmeasday/clean-up-addon-usage-docs
Removed usages of hoc-style addons from the docs
2018-07-06 16:38:33 +10:00
Tom Coleman
7fa35c910f Typo 2018-07-06 14:56:27 +10:00
Tom Coleman
d1d8138fa7 Removed usages of hoc-style addons from the docs 2018-07-06 14:51:37 +10:00
Tom Coleman
0d8968ee08 Added a test for parameter combination 2018-07-06 11:49:25 +10:00
Michael Shilman
fa9779ed28
Merge pull request #3838 from storybooks/tmeasday/got-disable-wrong
Small readme bugfix
2018-07-05 09:49:56 +08:00
Tom Coleman
6b52885398 Re formatted with correct prettier rules 2018-07-05 11:29:07 +10:00
Tom Coleman
db5100e80d Small readme bugfix 2018-07-05 11:18:11 +10:00
Filipp Riabchun
dbf243d371
Merge pull request #3831 from storybooks/tmeasday/document-parameters-for-addons
Document `makeDecorators` for addons authors
2018-07-04 17:27:08 +03:00
root
466b8dff9e Merge branch 'dependencies.io-update-build-357.1.0' 2018-07-04 12:21:56 +00:00
Dependencies.io Bot
e602115863 Update prop-types from 15.6.1 to 15.6.2 2018-07-04 11:53:05 +00:00
Dependencies.io Bot
6b3a05e066 Update gatsby from 1.9.270 to 1.9.273 2018-07-04 11:50:14 +00:00
Dependencies.io Bot
eb812c6274 Update gatsby-transformer-remark from 1.7.42 to 1.7.44 2018-07-04 11:47:27 +00:00
Dependencies.io Bot
5a8cb6fec2 Update gatsby-source-filesystem from 1.5.38 to 1.5.39 2018-07-04 11:44:47 +00:00
Dependencies.io Bot
88c5083488 Update gatsby-remark-images from 1.5.66 to 1.5.67 2018-07-04 11:42:07 +00:00