581 Commits

Author SHA1 Message Date
Michael Shilman
c9882e19c1 Merge branch 'feature/global-args' into feature/action-args 2020-03-03 12:00:03 +08:00
Michael Shilman
4cd2414f4d Addon-actions: Add args and argTypesRegex parameter enhancers 2020-03-02 21:36:54 +08:00
Tom Coleman
f39f61953d Added README 2020-03-03 00:05:18 +11:00
Tom Coleman
044cfa5902 Added global args initialization 2020-03-03 00:03:14 +11:00
Tom Coleman
fe95ffef3e Typing fixes 2020-03-02 23:43:51 +11:00
Tom Coleman
ecc1300f9f Added test for preview-side useGlobalArgs 2020-03-02 23:30:41 +11:00
Tom Coleman
71876af37d Re-render when global args change 2020-03-02 23:28:34 +11:00
Tom Coleman
d75b4e09a0 Added basic global args mechanism to story_store 2020-03-02 23:28:06 +11:00
Tom Coleman
c64b99d6b8 Fix merge issues that stopped stories rendering 2020-03-02 23:25:33 +11:00
Tom Coleman
cee92e2236 Fix merge issue 2020-03-02 22:46:28 +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
44e6f87f0a Change arg initial values to come from parameters.args 2020-03-02 16:40:43 +11:00
Tom Coleman
b9af9f672b Change ClientAPI HMR code to not call startConfiguring 2020-03-02 16:25:01 +11:00
Tom Coleman
6633c79d15 Change behaviour of parameter enhancers to not merge subkeys 2020-03-02 12:03:26 +11:00
Tom Coleman
ddb104bc06 Update README a little bit. 2020-03-02 11:58:36 +11:00
Tom Coleman
333ae484b0 Resolve circular dependency issue 2020-03-02 11:33:59 +11:00
Tom Coleman
811684a993 Remove selectedKind/selectedStory API 2020-03-02 11:09:24 +11:00
Tom Coleman
a849625504 Fix decorators test 2020-03-01 22:48:35 +11:00
Michael Shilman
192eea5581 Export combineParameters and types from client-api 2020-03-01 15:42:13 +08:00
Tom Coleman
4e7269ee93 Fixed client_api tests 2020-02-28 16:28:16 +11:00
Tom Coleman
a35c3a689e Add tests for StoryRenderer 2020-02-27 22:22:16 +11:00
Tom Coleman
95f84f00f0 Added tests for storyStore 2020-02-27 16:20:42 +11:00
Tom Coleman
d008c502d6 Added test for useStoryArgs 2020-02-27 15:25:01 +11:00
Tom Coleman
c1d8a8eb23 Added test for preview-side useGlobalArgs 2020-02-27 15:17:54 +11:00
Tom Coleman
1d04267a47 Re-render when global args change 2020-02-27 14:09:09 +11:00
Tom Coleman
2be2db6934 Added basic global args mechanism to story_store 2020-02-27 14:09:01 +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
Michael Shilman
b5b1bda641 v6.0.0-alpha.19 2020-02-24 22:28:05 +08:00
Michael Shilman
480370557a v6.0.0-alpha.18 2020-02-22 04:31:14 +08:00
Michael Shilman
36327ee08e v6.0.0-alpha.17 2020-02-21 11:58:31 +08:00
Michael Shilman
b2d08977a3 v6.0.0-alpha.16 2020-02-21 11:45:13 +08:00
Gaëtan Maisse
c42b1db400 refactor: regenerator-runtime as dependencies
`regenerator-runtime` is used as polyfill to backport async/await and generator to old browser (like core-js).
Any package that use async/await or generator will require `regenerator-runtime` at runtime without any import in the source (it's added by babel during transpilation).
To avoid any issue in the future `regenerator-runtime` is added to almost all packages, as it has been done for `core-js`

What I did?
- Add it when it was missing
- Move it from peerDep to dep when needed
- Use the same, and latest, version for all packages
2020-02-20 13:52:02 +01:00
Tom Coleman
c4a8c869a0 First part of refactor -- pull StoryRenderer out of start.js 2020-02-20 21:41:03 +11:00
Tom Coleman
da9576ca18 Move decorator test to TS 2020-02-20 20:18:01 +11:00
Michael Shilman
efd0256348 v6.0.0-alpha.15 2020-02-20 11:54:32 +08:00
Tom Coleman
5b56f443ee
Merge branch 'next' into refactor-client-api 2020-02-20 11:53:20 +11:00
Tom Coleman
f9f0b82594
Merge pull request #9868 from storybookjs/client-api-hot-refresh
Core: Add skip dispose option to ClientApi
2020-02-20 09:20:38 +11:00
Norbert de Langen
e8c41383a1
Merge branch 'next' into refactor-client-api 2020-02-19 15:13:13 +01:00
Gytis Vinclovas
fe1d45830f
Update types.ts 2020-02-19 13:04:47 +02:00
Tom Coleman
fc9f956964 Merge remote-tracking branch 'origin/refactor-client-api' into feature/args 2020-02-19 15:45:22 +11:00
Michael Shilman
4341bc65f7 v6.0.0-alpha.14 2020-02-19 06:53:15 +08:00
Lynn Chyi
23b7d9fde9 Add ts3.5 to package.json's "files" attr
(cherry picked from commit f0edad2d0cb5c74d2f03a13e1ca1cb27287f3625)
2020-02-18 20:37:59 +01:00
Lynn Chyi
d0289d919d Update packages w typesVersions for compatibility
(cherry picked from commit 3667fec36991c0315ac54f2c6b5dffcc098371b7)
2020-02-18 20:37:11 +01:00
Tom Coleman
13c7697373 Add useArgs 2020-02-18 21:24:10 +11:00
Tom Coleman
c7f7f199b9 Fixes 2020-02-18 20:04:50 +11:00
Tom Coleman
833c13becb Type fixes 2020-02-18 17:30:32 +11:00
Tom Coleman
95f713e849 Add addParameterEnhancer export to client api 2020-02-18 17:22:28 +11:00