43 Commits

Author SHA1 Message Date
Tom Coleman
884b865779 Allow importing addParameters/Decorators from client-api after all 2020-02-18 17:21:41 +11:00
Tom Coleman
0dd3937388 Fix type problem with add() 2020-02-18 15:21:49 +11:00
Tom Coleman
93ad5e5821 Throw from global addDecorator etc 2020-02-18 13:22:17 +11:00
Tom Coleman
40190580a6 Describe changes in MIGRATION.md 2020-02-18 13:14:32 +11:00
Tom Coleman
3a54cd3114 Bring global/local metadata into the story store
Bring this handling all into one place and make it easier to understand what is going on. Still needs tests and to resolve some loose ends.
2020-02-17 11:40:30 +11:00
Tom Coleman
2357bca92b Clean up Story Store and remove legacy data
Fixes #9507
2020-02-11 16:21:26 +11:00
Norbert de Langen
dcbbdbb778
I think this is all deprecated & should be removed 2019-12-23 17:08:53 +01:00
Michael Shilman
b436339376 Refactor router utils into CSF library 2019-12-09 12:16:01 +08:00
Michael Shilman
45a9d462dc Merge branch 'next' into 8793-deprecate-hierarchy-separators 2019-11-14 15:23:09 +08:00
Michael Shilman
7b4a6c2577 Clean up parameter handling 2019-11-14 11:01:40 +08:00
Tom Coleman
6c6138d88e Remove unused import 2019-11-12 16:24:17 +11:00
Tom Coleman
8c13c4b6bf Update ClientApi.getSeparators w/ new logic 2019-11-12 16:23:57 +11:00
Tom Coleman
db9f277b4b Create a showRoots option and drive behaviour with it. 2019-11-12 12:43:33 +11:00
Michael Shilman
63c539b9e1 CSF: Deprecate displayName parameter 2019-11-09 23:18:37 +08:00
Michael Shilman
c0a5c3f884 Core: Revert addDecorator framework arg; use param.framework instead 2019-10-27 18:43:02 +08:00
Michael Shilman
85637aa9d5 Addon-docs: Clean up config using global addParameters 2019-10-26 16:46:19 +08:00
Michael Shilman
56a04729ce Client-API: Add framework argument to global addDecorator 2019-10-26 13:44:40 +08:00
Michael Shilman
f0138494d1 Core: Global addDecorator/addParameters in client-api 2019-10-26 11:45:59 +08:00
Michael Shilman
945e1c9ea0
CSF: Warn when CSF and storiesOf mixed in one file (#8411)
CSF: Warn when CSF and `storiesOf` mixed in one file
2019-10-14 15:30:50 +08:00
Michael Shilman
bf1123baef CSF: Forbid mixing CSF and storiesOf calls in one file 2019-10-14 11:34:35 +08:00
Carolyn Stransky
c426715d0a Removed instances of simply 2019-10-12 17:04:33 +02:00
Norbert de Langen
28fed37f0d ESlint upgrade 2019-10-03 11:08:40 +02:00
Michael Shilman
8f89fbed39 CSF: Refactor to stabilize export to storyName transform 2019-08-29 10:25:48 +08:00
Michael Shilman
9203521b98 defaultMakeDisplayName => makeDisplayName 2019-08-28 22:44:42 +08:00
Michael Shilman
b2cbeb8152 CSF: Remove makeDisplayName configurability 2019-08-28 22:40:42 +08:00
Michael Shilman
f8f8de7a55 Merge branch 'next' into 7599-display-name-option 2019-08-28 01:03:49 +08:00
Michael Shilman
b1a872ba34 CSF: displayName => makeDisplayName per review feedback 2019-08-27 23:41:34 +08:00
Michael Shilman
062dc3ba4a Fix typescript 2019-08-27 19:18:50 +08:00
Michael Shilman
c992646c03 CSF: Transform CSF named exports with a displayName option 2019-08-27 18:02:34 +08:00
Michael Shilman
d8f96a7e13 Addon-docs: Make configuration API consistent with other addons 2019-08-27 15:40:06 +08:00
Norbert de Langen
64f34315b6 RENAME TApi to StoryFnReturnType & FIX DecoratorFn being a subtype of StoryFnReturnType 2019-07-26 21:57:21 +02:00
Michael Shilman
424a97b7f6 Merge branch 'next' into fix/decoratestory 2019-07-15 08:58:27 +08:00
Norbert de Langen
9571fe1572 Merge branch 'next' into preview-hooks
# Conflicts:
#	addons/actions/package.json
#	addons/events/package.json
#	addons/events/src/index.ts
#	addons/ondevice-notes/package.json
#	dev-kits/addon-roundtrip/package.json
#	examples/dev-kits/package.json
#	examples/html-kitchen-sink/package.json
#	lib/client-api/package.json
#	lib/client-api/src/client_api.ts
#	lib/client-api/src/typings.d.ts
#	lib/client-api/tsconfig.json
#	lib/ui/src/index.js
#	yarn.lock
2019-07-10 16:08:11 +02:00
Norbert de Langen
e87c329e90 Do not merge p if not provided, if provided, no conditional is needed 2019-07-08 21:34:09 +02:00
Norbert de Langen
06c57aec43 FIX types of client-api & storystore
the function to merge all decorators & storyFn has been changed to no longer mutate
the storyFn called from within decorators must be called with a StoryContext
add a story for vue to test the behaviour
2019-07-08 15:07:20 +02:00
Michael Shilman
ae178d4539 Fix breaking change in client_api due to #7147 2019-07-08 12:05:24 +08:00
Norbert de Langen
74e48c5e09 FIX minor issues after client-api TS migration merge 2019-07-06 15:40:45 +02:00
Norbert de Langen
ff924d72f2 IMPROVE types 2019-07-05 08:56:36 +02:00
Norbert de Langen
bcf18cc95c FIX types 2019-07-02 02:09:43 +02:00
Jessica-Koch
239e73e48e add some dependencies 2019-07-01 00:33:09 -07:00
Jessica-Koch
ffc63188ae complete typings of items except
Committer: Jessica-Koch <jessicakoch136@icloud.com>
2019-07-01 00:31:44 -07:00
Jessica Koch
f3fbfe0793 correct some linting errors 2019-06-19 01:32:39 -07:00
Norbert de Langen
fcbff29ffd CHANGE versions again, sorry, CLI tests use published version, we should really fix that! 2019-06-17 21:18:42 -07:00