649 Commits

Author SHA1 Message Date
Norbert de Langen
3d31fd33a4
CHANGE start command for RN to allow --quiet 2018-11-08 17:47:20 +01:00
Norbert de Langen
65f5703b10 CHANGE tests to not output webpack build progress 2018-11-08 15:44:29 +01:00
Estevão Lucas
4808646ca1 feat: add support for initialSelection param 2018-11-07 08:28:46 -05:00
Estevão Lucas
a8497064ca feat: persist last displayed story
Add supports for persistent selection with getStorybookUI's shouldPersistSelection param
2018-11-07 08:28:46 -05:00
Michael Shilman
253a667e68 v4.1.0-alpha.1 2018-11-06 17:15:42 +08:00
Michael Shilman
627a075c37 v4.1.0-alpha.0 2018-11-06 17:01:48 +08:00
Michael Shilman
0cc22e4b27 v4.0.4 2018-11-06 13:38:03 +08:00
Michael Shilman
b9ae585f9c v4.0.3 2018-11-06 12:49:45 +08:00
Michael Shilman
a986ce8b74 Merge branch 'master' into release/4.0 2018-11-06 10:22:38 +08:00
Okamuuu
e7de7b6b91 [documentation] Improve doc for React Native (#4680)
* fix a error message: ReferenceError: Can't find variable: React
* fix a warning message:  Missing 'module' parameter for story with a kind
of 'CenteredView'. It will break your HMR
* doc: write more detail about app entry
2018-11-05 10:08:03 +02:00
Estevão Lucas
571c6b4d59 feat(react-native): close StoryListView after tap again in the current story (#4714)
Issue: N/A

## What I did

Close automatically `<StoryListView>` panel after the user tap again in the current story. The idea is to remove some friction to select a story and view it.
2018-11-05 09:38:37 +02:00
Michael Shilman
037f6cf3a5 v4.0.2 2018-10-31 16:47:37 +08:00
Michael Shilman
9d9f3ed7bb v4.0.1 2018-10-31 15:10:34 +08:00
Filipp Riabchun
ff66e6bae0
Merge pull request #4636 from storybooks/dependabot/npm_and_yarn/react-dev-utils-6.1.0
Bump react-dev-utils from 6.0.5 to 6.1.0
2018-10-30 13:54:39 +01:00
Estevão Lucas
96b5132645 fix(reactnative): fix accessibility for component preview (iOS+VoiceOver) (#4601) 2018-10-30 10:34:52 +02:00
Robin Cussol
118097c507 Fix: markdown typo (#4638) 2018-10-30 10:32:05 +02:00
dependabot[bot]
4ea841bbe3
Bump react-dev-utils from 6.0.5 to 6.1.0
Bumps [react-dev-utils](https://github.com/facebook/create-react-app) from 6.0.5 to 6.1.0.
- [Release notes](https://github.com/facebook/create-react-app/releases)
- [Changelog](https://github.com/facebook/create-react-app/blob/master/CHANGELOG-1.x.md)
- [Commits](https://github.com/facebook/create-react-app/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-30 05:36:31 +00:00
Michael Shilman
a313e277bd 4.0 release 2018-10-29 11:47:01 +08:00
Michael Shilman
2d90f0d75d Update docs to 4.0 2018-10-29 11:26:36 +08:00
Michael Shilman
8dd9bb3461 v4.0.0 2018-10-29 10:30:28 +08:00
Michael Shilman
4818baa55c
Revert "Clean up alpha/rc for 4.0 release" 2018-10-26 00:25:17 +08:00
Michael Shilman
e40353e6d1
Merge pull request #4563 from storybooks/shilman/40-release-cleanup
Clean up alpha/rc for 4.0 release
2018-10-26 00:16:18 +08:00
Michael Shilman
a82d866280 Clean up 4.0 alpha/rc references 2018-10-25 21:30:01 +08:00
Michael Shilman
bfda942e89 Upgrade webpack to 4.23.1 2018-10-25 20:50:12 +08:00
Michael Shilman
b3417c8134 v4.0.0-rc.6 2018-10-25 12:35:35 +08:00
Michael Shilman
9cc644cdde v4.0.0-rc.5 2018-10-25 11:41:38 +08:00
Michael Shilman
d7bbaeb132 v4.0.0-rc.4 2018-10-25 10:55:02 +08:00
Michael Shilman
284fb1b4c2 v4.0.0-rc.3 2018-10-24 00:18:05 +08:00
Michael Shilman
8fb0caa37e v4.0.0-rc.2 2018-10-22 21:39:03 +08:00
Filipp Riabchun
922ec486f6
Merge pull request #4477 from storybooks/dependabot/npm_and_yarn/webpack-4.21.0
Bump webpack from 4.20.2 to 4.21.0
2018-10-18 23:57:54 +02:00
Michael Shilman
ac807f3075 Move storybook to rc (release canddiate) 2018-10-18 15:39:43 +08:00
dependabot[bot]
cbca5fea9c
Bump webpack from 4.20.2 to 4.21.0
Bumps [webpack](https://github.com/webpack/webpack) from 4.20.2 to 4.21.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.20.2...v4.21.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-18 06:10:10 +00:00
Michael Shilman
46d89b3e61 v4.0.0-rc.1 2018-10-18 09:54:01 +08:00
Michael Shilman
76b3c817a1 v4.0.0-rc.0 2018-10-15 23:39:49 +08:00
dependabot[bot]
89612227c6
Bump react-dev-utils from 6.0.4 to 6.0.5 (#4416) 2018-10-15 12:28:12 +00:00
dependabot[bot]
babc442f0d
Bump html-webpack-plugin from 4.0.0-beta.1 to 4.0.0-beta.2
Bumps [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin) from 4.0.0-beta.1 to 4.0.0-beta.2.
- [Release notes](https://github.com/jantimon/html-webpack-plugin/releases)
- [Changelog](https://github.com/jantimon/html-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jantimon/html-webpack-plugin/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-15 08:31:56 +00:00
dependabot[bot]
04000f99ce
Bump lazy-universal-dotenv from 1.9.1 to 2.0.0
Bumps [lazy-universal-dotenv](https://github.com/storybooks/lazy-universal-dotenv) from 1.9.1 to 2.0.0.
- [Release notes](https://github.com/storybooks/lazy-universal-dotenv/releases)
- [Commits](https://github.com/storybooks/lazy-universal-dotenv/compare/1.9.1...v2.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-15 06:27:42 +00:00
Pavan Kumar Sunkara
d854660fd9 Get loadEnv working 2018-10-14 17:39:35 +02:00
Michael Shilman
155afad695 v4.0.0-alpha.25 2018-10-13 17:36:43 +08:00
Filipp Riabchun
7312406fe5
Merge pull request #4308 from kevincolten/patch-1
Remove deprecated attempt to load default addons
2018-10-13 11:07:53 +02:00
Michael Shilman
b66c4dc9d6 Update CLI docs with rename 2018-10-13 16:05:06 +08:00
Filipp Riabchun
54bc1fec7e
Merge branch 'master' into patch-1 2018-10-13 01:18:00 +02:00
Norbert de Langen
f29b163e2b
Merge pull request #4375 from storybooks/tech/reapply-html-plugin
CHANGE back to use html-webpack-plugin to keep compatibility with plugins that depend on it
2018-10-12 15:39:42 +00:00
Gytis Vinclovas
82a2cc73cb
Fixed prop name to tabOpen, just like docs describe. (#4383) 2018-10-12 16:08:24 +03:00
Gytis Vinclovas
2dd7b1008e
Navigator panel had 1 px visible line on screen. (#4382) 2018-10-12 14:02:09 +03:00
Gytis Vinclovas
e413ec2e05
[onDeviceUI] Add ability to render addons in React Native (#4381)
* Reducing the size of the ui.

* Addon scrollview with addon names

* Updated style, shows addons list with loaded addons.

* Updated status bar, so content would not be drawn below it on android.

* Added some addons to example.

* Moved out of state

* Fixed event on android.

* Temporary disabled yellow box.

* Adding two options for storybook ui:

isUIOpen - whether to initially show top bar - default true.
isStoryMenuOpen - should show story menu open by default - default false.

* Creating rn-addons.js file inside generators.

* Removed separate addon store.

* Using active prop.

* Rewrote addons wrapper without using modal.
We cannot use modal since addons expect to be rendered all the time.
So now we display the wrapper as position absolute and make it 0 0 size when it is not visible.

* Fixing yellow box warnings.

* Addon window by default is scrollable.

* Removed yellow box disabling, cleared up example index.

* Reverted accidentally deleted line.

* Updated dependencies.

* Dependency bump

* Updated UI. Removed modal, displaying menus as panels appearing from sides.

* Clearing up the style a little bit.

* Temporary disabling some examples

* Updating the readmes.

* Updating the readme.

* Added notes addon that support rn

* Updated addon documentation regarding setTimeout.

* Fixed proptypes issue, properly set initial tab from the props.

* Reduced the amount of rerenders, if you use onDeviceUI it only listens to story change events once instead of twice.

* Adding more addons.

* OnDeviceUI is now set to true by default.

* Updated the notes addon so it renders markdown properly.

* Fixes endless cycle when initially rendering when both onDeviceUI and server are enabled.

* Selection prop is not required ( it is not set when not using onDeviceUI).

* Renamed rn-notes to ondevice-notes addon.

* Added option to use channels as async.

* Using async channel if onDeviceUI is set to true.

* Updated notes documentation/tests.

* Adding backgrounds addon.

* Updated notes readme.

* Adding ondevice knobs addon.

* Updated example

* Reverted accidental merge issue.

* Updating documentation.

* Fixed knobs entry file.

* Updating documentation.

* Updating documentation.

* Removed packager completely.

* Updated cli.

* Added missing dependency.

* Websocket doesn't throw red screen on connection fail anymore.

* Takes children from props instead out of state..

* Fixed bug where selecting story didn't actually select it.

* Removed ondeviceUI in example.

* If it fails to connect it selects initial story.

* Knobs are properly reset on change.

* Proper import in example

* Reverts to localhost if no host is defined.

* Ui doesnt jump when hiding bottom bar, should handle keyboard correctly on ios.

* Updated background addon to unregister on unmount.

* Properly handles animations on android.

* Creates channel as soon as getStorybookUI is called instead of during the render.

* Displays message if no addons are loaded.

* setOptions called without timeout.

* Sets initial story if connection to websocket server fail.

* Updating style.

* Removed margin bottom.

* Added swiping on the nav bar, touching preview maximizes it.

* Fixed keyboard aware view.

* Fixed background panel so it doesn't lose color immediately.

* Uses preview width for panels.

* Moving class inside preview.

* All react native installations receive same template.

* Removed react_native fixture.

* Fixing lint.

* Lint fix.

* Improving performance dramatically.

* Adding on device addons.

* Reverted back fixtures change.

* Reverting file change

* Updating readmes.

* Updated readme about server.

* Reverted yarn.lock

* Fixing propTypes.

* Splitting out onDeviceUI/index to smaller components.

* Splitting up onDeviceUI.

* Removed unused dependency.

* Properly uses whole screen for preview.

* Updated visibility button.

* Few code review fixes

Updated readme,
Renamed handlers.

* Fixed where width is taken from.
2018-10-12 12:22:28 +03:00
Norbert de Langen
9f180d45a1
FIX RN template refs 2018-10-12 08:21:19 +02:00
Norbert de Langen
b15048aa8f
FIX RN 2018-10-12 03:21:12 +02:00
Norbert de Langen
8c7e176365
more UPGRADES 2018-10-10 23:37:13 +02:00
Norbert de Langen
41483e2160
UPGRADES 2018-10-10 22:23:35 +02:00