1612 Commits

Author SHA1 Message Date
Michael Shilman
3d1d35534e v6.0.0-alpha.27 2020-03-13 20:29:55 +08:00
Michael Shilman
7552ab0717 Better logging 2020-03-13 16:30:03 +08:00
Michael Shilman
ac1a98c38e Core: Added args/argTypes sanity checks with warnings/errors 2020-03-13 13:26:21 +08:00
Michael Shilman
6b07833a9a Core: Add globalArgs/globalArgTypes exports to preview.js 2020-03-13 12:41:13 +08:00
Michael Shilman
870ff062f3 v6.0.0-alpha.26 2020-03-12 20:53:10 +08:00
Michael Shilman
396f1962ac
Merge pull request #10099 from yannbf/feat/main-ts-support
Core: Improve support for main.ts/preview.ts files
2020-03-12 18:10:52 +08:00
Michael Shilman
d39ed3e851 Merge branch 'next' into pr/10099 2020-03-12 18:08:30 +08:00
Michael Shilman
a0dd54bdfa Remove unused import 2020-03-12 18:00:26 +08:00
Michael Shilman
5c0cbb3936 CSF: Promote args/argTypes to first-class metadata 2020-03-12 15:25:29 +08:00
Michael Shilman
70c3ac72d6 Merge branch 'next' into 7101-docs-svelte-preset 2020-03-11 19:12:34 +08:00
Michael Shilman
cbe0da787a v6.0.0-alpha.25 2020-03-11 18:53:09 +08:00
Michael Shilman
83111091bd Merge branch 'next' into 7101-docs-svelte-preset 2020-03-11 17:44:59 +08:00
Michael Shilman
7a68f72411 v6.0.0-alpha.24 2020-03-11 16:56:16 +08:00
Michael Shilman
fbd0c3c0b6 v6.0.0-alpha.23 2020-03-11 16:43:16 +08:00
Michael Shilman
1fb159bdd4 Merge branch 'next' into feature/global-args 2020-03-11 10:57:37 +08:00
Michael Shilman
15279518c0 Core: Throw error when docs page is set but no container 2020-03-11 09:35:31 +08:00
Yann Braga
c695a8a6fa chore: add @babel/register to core
- it's useful to add support to load files within storybook config.
- with this you have support for .ts files!
2020-03-10 21:28:21 +01:00
Norbert de Langen
0cbede6ce0
FIX rendering "no story selected" initially 2020-03-10 14:35:46 +01:00
Michael Shilman
6cb32b3d98 v6.0.0-alpha.22 2020-03-10 18:44:26 +08:00
Michael Shilman
31fb72996e
Merge pull request #10014 from storybookjs/feature/args
Core: Add args feature
2020-03-10 14:08:40 +08:00
Norbert de Langen
2eae03e89d
ADD CORS to dev-server 2020-03-09 18:04:26 +01:00
Norbert de Langen
212c86d498
Few minor improvements extracted from the inception feature PR 2020-03-07 01:40:54 +01:00
Michael Shilman
7970836309 v6.0.0-alpha.21 2020-03-05 17:26:05 +08:00
Norbert de Langen
46c9ae7222
ADD safety check for docs-mode without a story (can happen on initial render) 2020-03-04 20:51:38 +01:00
Tom Coleman
92cb3724dc Merge branch 'feature/args' into feature/global-args 2020-03-04 19:43:16 +11:00
Tom Coleman
9cb74bc010 More changed=>updated for global args 2020-03-04 19:38:57 +11:00
Tom Coleman
16cbd5cf45 Change event name to use UPDATE too 2020-03-04 17:25:36 +11:00
Diondre Edwards
49172d9059 fix: Disables html-webpack-plugin's option to remove script tag types 2020-03-03 09:44:12 -04:00
Tom Coleman
71876af37d Re-render when global args change 2020-03-02 23:28:34 +11:00
Tom Coleman
c64b99d6b8 Fix merge issues that stopped stories rendering 2020-03-02 23:25:33 +11:00
Tom Coleman
6c5b216be9 Merge remote-tracking branch 'origin/next' into feature/args 2020-03-02 17:42:51 +11:00
Michael Shilman
aee887311f
Merge pull request #9914 from storybookjs/refactor-client-api-events
Core: Overhaul start.js and event emitting/listening
2020-03-02 14:10:00 +08:00
Tom Coleman
ac9b13f377 Replace selectedKind/Story with kind/name in docs 2020-03-02 15:59:10 +11:00
Tom Coleman
aada77f97d Fix DeepScan again 2020-03-02 11:36:02 +11:00
Tom Coleman
333ae484b0 Resolve circular dependency issue 2020-03-02 11:33:59 +11:00
Tom Coleman
976e30d5d5 Fix some DeepScan issues 2020-03-02 11:23:21 +11:00
Tom Coleman
574570554a Add a README to lib/core to explain the basics 2020-03-02 11:21:27 +11:00
Tom Coleman
811684a993 Remove selectedKind/selectedStory API 2020-03-02 11:09:24 +11:00
Tom Coleman
eafa6d1d10 Fix types in test 2020-03-01 23:35:53 +11:00
Tom Coleman
e777d59276 Fix type change that didn't quite work in storyshots
cc @kroeder -- perhaps we need to make the type here "not quite a node module" -- I suppose the issue here is that the require-context hook we use doesn't implement `req.resolve()`: https://www.npmjs.com/package/@storybook/addon-storyshots#configure-jest-to-work-with-webpacks-requirecontext

We should probably just fix it so it does, but for now.
2020-03-01 23:06:53 +11:00
Tom Coleman
c7264a4aee Fix URL test 2020-03-01 22:45:07 +11:00
Tom Coleman
2a190be01b Added tests for makeConfigure 2020-03-01 22:32:19 +11:00
Tom Coleman
0d4049ed13 Fixed start.test.js 2020-02-28 16:30:10 +11:00
Tom Coleman
29d7dd0bee Start doesn't need to be a tsx file any more 2020-02-28 15:35:24 +11:00
Tom Coleman
a35c3a689e Add tests for StoryRenderer 2020-02-27 22:22:16 +11:00
Tom Coleman
4c52896bde Channel can be null if there is no browser 2020-02-27 22:21:55 +11:00
Tom Coleman
f07dbaf243 Fix url.test.js 2020-02-27 16:30:35 +11:00
Tom Coleman
cd89d722ad Merge remote-tracking branch 'origin/next' into feature/args 2020-02-27 13:54:07 +11:00
Michael Shilman
dac6752d47 v6.0.0-alpha.20 2020-02-27 08:26:52 +08:00
Tom Coleman
7616d76326 Basics working 2020-02-26 22:46:44 +11:00