589 Commits

Author SHA1 Message Date
Hypnosphi
e92a82e8e0 Revert "Make nodeModulesBabelLoader compatible with Babel 6"
This reverts commit 1bcb78fa
2019-02-23 10:31:54 +01:00
Norbert de Langen
72b28e99e0 MOVE all aliases to @storybook/ui/paths 2019-02-22 13:35:22 +01:00
Norbert de Langen
a618512a58 ADD options to a11y addon so it's doesn't do the damn scrolly scrolly buggy buggy stuff
MOVE the scrollTop to after the component rendered
ADD stories to test the behavior properly
2019-02-21 21:28:32 +01:00
Michael Shilman
67b11d594b Point to the next CHANGELOG which will also include prereleases 2019-02-21 15:09:00 +08:00
Michael Shilman
d7a51453da Clean up CLI version update notice 2019-02-21 15:06:48 +08:00
Norbert de Langen
2bcb9a9ac8 Merge branch 'next' into fix/5651 2019-02-20 16:18:38 +01:00
Norbert de Langen
0f1a1cf2cd Merge branch 'next' into fix/storysource-not-updating
# Conflicts:
#	lib/client-api/src/client_api.js
#	lib/client-api/src/story_store.js
#	lib/client-api/src/story_store.test.js
2019-02-20 13:55:12 +01:00
Norbert de Langen
94563cf232 FIX broken error reporting 2019-02-20 12:23:14 +01:00
Norbert de Langen
190d7dd969 ADD webpack aliases for storybook packages, enforcing singleton modules
Fixing https://github.com/storybooks/storybook/issues/5663
2019-02-20 12:22:20 +01:00
Norbert de Langen
a1c3ea0cac ADD toId back to core for chromatic 2019-02-19 22:16:35 +01:00
Norbert de Langen
54faca3793 CHANGE storysource addon to use storyId instead of kind + name && ADD toId to router package
CHANGE storysource to use toId from router package
CHANGE core tp use toId from router package
CHANGE client-api to use toId from router package
CHANGE storyshots-puppeteer to use toId from router package
2019-02-19 20:14:15 +01:00
Norbert de Langen
08cd875e33 CLEANUP naming of story, storyFn in apps
RENAME `component` to `element` where applicable for consistency.
2019-02-19 16:06:09 +01:00
Norbert de Langen
6730b4d26a
Merge pull request #5573 from petersendidit/FixAbsoluteOutputPath
fix for when outputDir is an absolute path
2019-02-15 00:27:13 +01:00
Norbert de Langen
fedcff8019
Merge pull request #5565 from redeyeapps/fix-port-suggestion-false-negative
Fix: Avoid false-negative checks for port
2019-02-15 00:00:22 +01:00
David Petersen
0ccdc2d44b
fix for when outputDir is an absolute path
Fixes #5334
2019-02-13 09:52:12 -06:00
Lochlan Bunn
87e73a6f87 Fix: Prioritise programatic configuration 2019-02-13 14:31:04 +10:00
Lochlan Bunn
ec1f75e3a8 Fix: Avoid false-negative checks for port
When a port is provided via env vars, we're usually told
by the CLI that it's unavailable, only to be suggested the
same port next.
2019-02-13 10:07:30 +10:00
Pascal Duez
80ebd006f3 Fix: Don't mangle function names for production builds 2019-02-11 19:09:14 +01:00
Norbert de Langen
d9cd83c2d5
Merge pull request #5498 from storybooks/transpile-safe-eval
Transpile safe-eval package
2019-02-10 00:29:06 +01:00
Hypnosphi
1bcb78fa32 Make nodeModulesBabelLoader compatible with Babel 6 2019-02-09 12:20:59 +01:00
Michael Shilman
eaf0bff99b
Merge pull request #5444 from storybooks/v5-style-refinements
V5 style refinements
2019-02-09 11:09:02 +08:00
Igor
1dfb31f9b3
Merge pull request #5523 from storybooks/core/ignore-preview-bundle
Core - Allow ignoring preview bundle building in core
2019-02-08 17:37:44 +02:00
igor
27d1cddda1 Allow ignoring preview bundle in core 2019-02-08 16:53:21 +02:00
igor
3be2ac095b Move ConfigApi to the client-api pkg 2019-02-08 13:56:27 +02:00
igor
3b819e4873 Fix refs in client-api and use it back in core 2019-02-08 13:19:33 +02:00
Igor
f60cf4c8ac Emergency commit 2019-02-08 12:24:42 +02:00
Norbert de Langen
280552deae Merge branch 'next' into v5-style-refinements
# Conflicts:
#	addons/backgrounds/src/Tool.js
#	addons/viewport/src/Tool.js
2019-02-05 02:51:56 +01:00
Hypnosphi
b8675aa2ad Transpile safe-eval package 2019-02-04 18:22:25 +01:00
Pascal Duez
522eed601a Workaround the dev cli -h shorthand conflict 2019-02-03 16:53:48 +01:00
domyen
b886b0f486 Capitalize proper noun 2019-02-02 17:45:37 -05:00
Norbert de Langen
6904617a8b Merge branch 'next' into tech/v5-theming 2019-01-28 00:10:59 +01:00
Norbert de Langen
fe3afbab3f FIX issue with dev-server 2019-01-28 00:10:04 +01:00
Norbert de Langen
292d9152f7 REFACTOR preview in prep for Addon type wrapper
I think we even need need an addon type Context... hmm
2019-01-27 10:53:49 +01:00
Jessica Koch
e7bdda6787 FIX keybindings were pointing to null events 2019-01-25 23:45:33 -08:00
Tom Coleman
ae4373d973 Send key events from the preview directly
Rather than trying to convert them to shortcuts on the client (not going to work as well w/ user updateable shortcuts)
2019-01-24 22:11:32 +11:00
Tom Coleman
3f3f0afb92 ADD a STORY_UNCHANGED event
Emit when the STORY_RENDER event is received but nothing has changed, so we aren't re-rendering.
2019-01-23 16:15:41 +11:00
Michael Shilman
f8eaa8f7c8 Formatting 2019-01-21 15:34:12 +08:00
Norbert de Langen
43e10ba1f3 FIX issue where webpack process would hang when manager build failed
Also cleaned up a little making the whole code path simpler
2019-01-18 12:29:48 +01:00
Michael Shilman
02fbc4b3bb Until test StoryStore URL handling 2019-01-17 15:42:19 +08:00
Michael Shilman
f36c9c1203 Clean up URL params 2019-01-17 11:37:10 +08:00
Michael Shilman
08edcc1ceb ENABLE user-specified parameters on iframe 2019-01-17 11:27:57 +08:00
Michael Shilman
1e9affad41 Update with story viewMode 2019-01-16 21:40:09 +08:00
Michael Shilman
6b44e75e30 Support legacy path and story/kind params in iframe 2019-01-16 16:50:34 +08:00
Michael Shilman
0b296e141c
Merge pull request #5238 from storybooks/fix/dll
ADD a `no-dll` option to CLI to disable DllReferencePlugin, fix polyfills missing in manager
2019-01-14 23:32:53 +08:00
Norbert de Langen
3822e58364
FIX the reference path of the dll 2019-01-14 16:20:28 +01:00
Norbert de Langen
2dd4b2d0d7
ADD a no-dll option to CLI to disable DllReferencePlugin, fix polyfills missing in manager 2019-01-14 15:46:07 +01:00
Tom Coleman
d82afe6245 Added a deprecation message 2019-01-14 16:58:56 +11:00
Tom Coleman
5eaf939d88 FIX incorrect order of name/kind 2019-01-14 16:07:49 +11:00
Tom Coleman
4cad93844f Continue to support {name, kind} on the SET_CURRENT_STORY event
Tools like Chromatic use this to change the story programmatically
2019-01-14 16:01:54 +11:00
Michael Shilman
f0217c18b8 Merge branch 'release/5.0' into 5.0-update-from-next 2019-01-12 10:49:45 +08:00