Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Some open points and notes:
compodoc
allows to not specify the argTypes in every story; when the storybook script is launched, adocumentation.json
file is created with the information about stories parameters;render
function in themeta
object, while for components it would not be strictly needed;fn
function doesn't workStory
typing:because arguments in kebab-case are marked as error, and if passed in camelCase they don't work; this is possibly related to our underlying web-components, because in a 'normal' Angular project the (typing + camelCase) works;
argsToTemplate
function doesn't work and i added a improvablespreadArgs
function;storybook init
the CLI requires an Angular project to start with; if we want to have the stories at the same level of TS components, a different configuration needs to be set to 'merge' the two storybook (angular and angular-experimental) in a single one