49 Commits

Author SHA1 Message Date
Carolyn Stransky
c426715d0a Removed instances of simply 2019-10-12 17:04:33 +02:00
Kitten King
0282b18a65
Fix some more typos 2019-07-22 06:29:57 +00:00
Michael Shilman
fc0c2d1b09 Update from next 2019-06-17 15:54:31 +08:00
Benoit Dion
d6e21d181e rm readme to fix casing 2019-04-07 15:47:23 -04:00
igor
5a56263b44 Merge remote-tracking branch 'origin/next' into react-native/use-core-for-server
# Conflicts:
#	addons/ondevice-knobs/package.json
#	app/react-native/package.json
#	app/react-native/readme.md
#	examples-native/crna-kitchen-sink/package.json
#	lib/addons/package.json
#	lib/addons/src/make-decorator.test.ts
#	lib/client-api/package.json
#	lib/client-api/src/client_api.test.js
#	lib/client-api/src/index.js
#	lib/client-api/src/story_store.js
#	lib/client-api/src/story_store.test.js
#	lib/core/package.json
#	lib/core/src/client/preview/index.js
#	lib/core/src/client/preview/start.js
#	lib/core/src/server/build-dev.js
#	lib/core/src/server/dev-server.js
#	lib/core/src/server/manager/manager-preset.js
#	yarn.lock
2019-02-08 22:47:10 +02:00
Gytis Vinclovas
511d89a5d6 updated argument 2019-01-17 13:04:36 +02:00
Gytis Vinclovas
ab18fc214e Updated documentation. 2019-01-17 12:53:50 +02:00
Norbert de Langen
efbf470d6a
Merge branch 'next' into tech/overhaul-ui
# Conflicts:
#	CHANGELOG.md
#	addons/actions/package.json
#	addons/backgrounds/package.json
#	addons/notes/package.json
#	addons/storyshots/storyshots-core/package.json
#	addons/storyshots/storyshots-puppeteer/package.json
#	examples/cra-kitchen-sink/.storybook/config.js
#	examples/cra-kitchen-sink/src/stories/index.stories.js
#	lib/addons/package.json
#	lib/channel-websocket/package.json
#	lib/components/package.json
#	lib/components/src/addon_panel/__snapshots__/index.stories.storyshot
#	lib/components/src/header/__snapshots__/header.stories.storyshot
#	lib/components/src/layout/__snapshots__/index.stories.storyshot
#	lib/components/src/theme.js
#	lib/ui/package.json
#	lib/ui/src/modules/ui/components/stories_panel/__snapshots__/index.stories.storyshot
#	lib/ui/src/modules/ui/components/stories_panel/__snapshots__/text_filter.stories.storyshot
#	lib/ui/src/modules/ui/components/stories_panel/stories_tree/__snapshots__/index.stories.storyshot
#	lib/ui/src/modules/ui/configs/handle_routing.js
#	yarn.lock
2018-11-28 17:01:29 +01:00
Estevão Lucas
7acadb1fe0 feat(react-native): add option to set keyboarVerticalOffset to KeyboardAvoidingView wrapping Storybook's view 2018-11-26 14:01:42 -05:00
Estevão Lucas
5d1dac6f2e feat: wrap storybook on react-native with KeyboardAvoidingView 2018-11-22 22:18:00 -05:00
Norbert de Langen
8b33fe8714
Merge branch 'next' into tech/overhaul-ui
# Conflicts:
#	lib/components/src/header/header.js
#	lib/components/src/icons/chevronRight.js
#	lib/components/src/layout/desktop.js
#	lib/components/src/layout/mobile.js
#	lib/components/src/navigation/MenuLink.js
#	lib/components/src/theme.js
#	lib/ui/src/modules/ui/components/stories_panel/__snapshots__/index.stories.storyshot
#	lib/ui/src/modules/ui/components/stories_panel/stories_tree/__snapshots__/index.stories.storyshot
#	lib/ui/src/modules/ui/components/stories_panel/stories_tree/tree_decorators.js
#	lib/ui/src/modules/ui/components/stories_panel/stories_tree/tree_header.js
#	lib/ui/src/modules/ui/components/stories_panel/text_filter.js
2018-11-09 14:24:29 +01:00
Norbert de Langen
65f5703b10 CHANGE tests to not output webpack build progress 2018-11-08 15:44:29 +01:00
Norbert de Langen
13781c39e5 Merge branch 'next' into tech/overhaul-ui 2018-11-08 12:03:03 +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
a313e277bd 4.0 release 2018-10-29 11:47:01 +08:00
Michael Shilman
4818baa55c
Revert "Clean up alpha/rc for 4.0 release" 2018-10-26 00:25:17 +08:00
Michael Shilman
a82d866280 Clean up 4.0 alpha/rc references 2018-10-25 21:30:01 +08:00
Michael Shilman
ac807f3075 Move storybook to rc (release canddiate) 2018-10-18 15:39:43 +08:00
Norbert de Langen
3f85893e6d
Merge branch 'master' into tech/overhaul-ui
# Conflicts:
#	ADDONS_SUPPORT.md
#	CHANGELOG.md
#	MIGRATION.md
#	README.md
#	addons/a11y/package.json
#	addons/a11y/src/components/Panel.js
#	addons/actions/package.json
#	addons/backgrounds/package.json
#	addons/centered/package.json
#	addons/events/package.json
#	addons/graphql/package.json
#	addons/info/package.json
#	addons/jest/package.json
#	addons/jest/src/index.js
#	addons/jest/src/register.js
#	addons/knobs/package.json
#	addons/knobs/src/components/types/Array.js
#	addons/links/package.json
#	addons/notes/package.json
#	addons/notes/src/index.js
#	addons/options/package.json
#	addons/storyshots/storyshots-core/package.json
#	addons/storyshots/storyshots-puppeteer/package.json
#	addons/storysource/package.json
#	addons/viewport/package.json
#	app/angular/package.json
#	app/angular/src/server/angular-cli_config.js
#	app/ember/README.md
#	app/ember/package.json
#	app/ember/src/server/index.js
#	app/html/package.json
#	app/marko/package.json
#	app/mithril/package.json
#	app/polymer/package.json
#	app/react-native/package.json
#	app/react-native/readme.md
#	app/react-native/src/bin/storybook-start.js
#	app/react/package.json
#	app/riot/package.json
#	app/svelte/package.json
#	app/vue/package.json
#	docs/src/pages/basics/guide-angular/index.md
#	docs/src/pages/basics/guide-ember/index.md
#	docs/src/pages/basics/quick-start-guide/index.md
#	docs/yarn.lock
#	examples/angular-cli/package.json
#	examples/cra-kitchen-sink/package.json
#	examples/ember-cli/package.json
#	examples/html-kitchen-sink/package.json
#	examples/marko-cli/package.json
#	examples/mithril-kitchen-sink/package.json
#	examples/official-storybook/package.json
#	examples/polymer-cli/package.json
#	examples/riot-kitchen-sink/package.json
#	examples/svelte-kitchen-sink/package.json
#	examples/vue-kitchen-sink/package.json
#	lerna.json
#	lib/addons/package.json
#	lib/channel-postmessage/package.json
#	lib/channel-websocket/package.json
#	lib/channels/package.json
#	lib/cli/generators/EMBER/index.js
#	lib/cli/lib/detect.js
#	lib/cli/lib/initiate.js
#	lib/cli/package.json
#	lib/client-logger/package.json
#	lib/codemod/package.json
#	lib/components/package.json
#	lib/components/src/layout/desktop.js
#	lib/core-events/package.json
#	lib/core/package.json
#	lib/core/src/server/templates/index.html.ejs
#	lib/node-logger/package.json
#	lib/ui/package.json
#	lib/ui/src/modules/api/actions/api.js
#	lib/ui/src/modules/shortcuts/actions/shortcuts.js
#	lib/ui/src/modules/ui/components/stories_panel/index.js
#	lib/ui/src/modules/ui/components/stories_panel/text_filter.js
#	lib/ui/src/modules/ui/components/stories_panel/text_filter.test.js
#	lib/ui/src/modules/ui/containers/header.js
#	lib/ui/src/modules/ui/containers/layout.js
#	lib/ui/src/modules/ui/libs/filters.js
#	yarn.lock
2018-10-13 16:34:21 +02:00
Michael Shilman
b66c4dc9d6 Update CLI docs with rename 2018-10-13 16:05:06 +08: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
fef21c26a7
Merge branch 'master' into tech/overhaul-ui
# Conflicts:
#	addons/actions/package.json
#	addons/backgrounds/package.json
#	addons/jest/src/register.js
#	addons/knobs/src/components/types/Array.js
#	addons/notes/package.json
#	addons/notes/src/index.js
#	addons/storyshots/storyshots-core/package.json
#	lib/channel-websocket/package.json
#	lib/components/package.json
#	lib/components/src/layout/desktop.js
#	lib/ui/package.json
#	lib/ui/src/modules/api/actions/api.js
#	lib/ui/src/modules/shortcuts/actions/shortcuts.js
#	lib/ui/src/modules/ui/components/stories_panel/index.js
#	lib/ui/src/modules/ui/components/stories_panel/text_filter.js
#	lib/ui/src/modules/ui/components/stories_panel/text_filter.test.js
#	lib/ui/src/modules/ui/containers/header.js
#	lib/ui/src/modules/ui/containers/layout.js
#	lib/ui/src/modules/ui/libs/filters.js
#	yarn.lock
2018-10-11 11:21:31 +02:00
Gytis Vinclovas
5fb627f6b8 Removing the packager from storybook. 2018-10-02 11:38:49 +03:00
Keraito
e09dec60d7 Update getstorybook occurences in docs 2018-09-12 00:38:05 +02:00
Павел Иванов
35b228f6a8 fixed wrong start script in docs 2018-09-03 12:01:54 +03:00
Norbert de Langen
4c283f205f
Update readme.md 2018-08-06 10:19:09 +02:00
Uri Klar
5be876fc54
Fix Seamless Typescript Integration section in readme
The readme specifies using the ```--metro-config``` option which according to https://github.com/storybooks/storybook/issues/3700#issuecomment-394093968 was only added in ```4.0.0.alpha.2```
2018-08-06 09:19:15 +03:00
igor-dv
6ee44ad4d5 Remove badges from the inner READMEs 2018-07-31 19:34:05 +03:00
Gytis Vinclovas
55668667f8
Update readme.md 2018-05-30 11:49:20 +03:00
Christian Poplawski
52e410f84c
Remove unnecessary spaces 2018-05-18 22:49:15 +02:00
Christian Poplawski
1751e96506
Add start command parameters to RN Readme 2018-05-18 22:37:16 +02:00
cliedeman
3b6003add0 Added a cli flag to allow passing custom config to the metro bundler 2018-03-14 18:26:15 +02:00
Norbert de Langen
a76f2a61ec
UPDATE readme with new slackin link 2017-12-22 18:06:27 +01:00
Norbert de Langen
cdc0d9ff23
Update readme.md 2017-10-31 22:40:00 +01:00
Evgeniy Zaitsev
854c8ebffb #2128 Add plutform option for haul bundler 2017-10-26 13:06:08 +03:00
Luke Williams
289a77933f Clarify where left pane is
I thought at first the left pane would be somewhere in my app, but this is referring to a left pane in the web browser.
2017-09-27 15:03:49 -04:00
Billydubb
a09146010c Update readme.md 2017-08-04 11:25:57 +02:00
Michael Shilman
f7e2e6257c Minor formatting 2017-06-16 22:13:37 +10:00
Michael Shilman
e2b06372a7 fix typos 2017-06-16 22:11:46 +10:00
Eric Wooley
d97699fcdc add haul support 2017-06-15 17:17:54 -07:00
Michael Shilman
86405f72bd Document stories not showing up on storybook UI until device connects 2017-06-08 23:49:49 +12:00
Norbert de Langen
d75bcb896f FIX linting 2017-06-06 15:55:44 +02:00
Norbert de Langen
db3cd0b6eb FIX spelling 2017-05-27 22:10:34 +02:00
Norbert de Langen
67d902f237 FIX listing for markdown 2017-05-26 11:21:46 +02:00
Michael Shilman
3e2673b962 Add CRNA support
1. detect CRNA projects
2. simplify RN and CRNA templates by consolidating app into single
`index.js` instead of `index.ios.js` and `index.android.js`
3. notify user of extra setup steps in CLI
4. document CRNA idiosyncrasies in README
2017-05-24 23:34:29 +10:00
Norbert de Langen
33197654ad MOVE & RENAME and storyshots && CHANGE “React Storybook” > “Storybook” 2017-05-17 09:04:22 +02:00
Norbert de Langen
991edf3f45 UPDATE readmes 2017-05-17 00:21:36 +02:00
Norbert de Langen
69b91f6e53 CHANGE folder structure && CHANGE package-names 2017-05-15 00:08:46 +02:00