Ian VanSchooten
f3a44f0c96
Do not try to named import from global
2021-05-25 15:59:46 -04:00
Jakob-Em
4f9e72277d
Pass bootstrapOptions to angular
2021-05-17 20:14:04 +02:00
Michael Shilman
ddcb3bd37e
Extract addon-knobs from monorepo
2021-05-10 16:50:58 +08:00
Michael Shilman
06eb833d5f
Fix doc blocks imports to import from ESM/CJS
2021-05-07 11:51:52 +08:00
Michael Shilman
0d6a894d9e
Fix typo
2021-05-02 16:22:01 +08:00
ThibaudAv
97631ce193
feat(angular): only keeps args with a control or an action in argTypes
2021-05-01 14:53:09 +02:00
Michael Shilman
21e28be5f8
Merge branch 'next' into pr/14299
2021-04-15 10:26:12 +08:00
Michael Shilman
123cc75365
Create template.stories.storyshot
2021-04-15 09:11:37 +08:00
Michael Shilman
268f2c5b9f
Angular: Add template MDX example
2021-04-14 22:26:51 +08:00
Michael Shilman
6da9430496
Fix deepscan
2021-04-14 09:59:13 +08:00
Michael Shilman
253fe525b8
Update examples/angular-cli/src/stories/others/ngx-translate/README.stories.mdx
...
Co-authored-by: Yngve Bakken Nilsen <yngve.nilsen@gmail.com>
2021-04-13 11:24:55 +02:00
ThibaudAv
26b664eecb
docs(angular): add readme for ngx-translate
2021-04-13 11:24:55 +02:00
ThibaudAv
d64e49ba1a
feat(angular): force the rendering if the metadata structure has changed
...
After the first rendering of a story, the next changes of `agrs` by addon controls or `globals` (for example) are not necessarily properties of the component (or template).
but can change other things like an Angular provider
With this additional verification if the stringify `moduleMetadata` structure changes then a complete rendering is done
2021-04-13 11:24:54 +02:00
Michael Shilman
b6a3428796
Remove outdated snapshot
2021-03-22 23:41:07 +08:00
Jakob-Em
e5c0f571c7
Create actions for angular Outputs by default
2021-03-22 11:51:29 +01:00
brett.upton
8fe441d411
Implement PR feedback
2021-03-16 10:13:12 +02:00
brett.upton
972cb876d0
#14079 - Allow usage of all component valid selectors
2021-03-13 21:33:51 +02:00
ThibaudAv
c2c7a9554e
fix(angular): keep story templates with an empty value
2021-03-03 19:14:09 +01:00
Michael Shilman
7a125797d4
Merge pull request #13939 from storybookjs/angular/component-without-selector
...
Angular: Support angular components without selector
2021-02-20 21:32:09 +08:00
ThibaudAv
890cb09c52
fix(angular): correctly destroy angular application between each render
...
Avoids a lot of memory leakage 😵
2021-02-18 20:46:02 +01:00
ThibaudAv
703187f0d3
fixup! feat(angular): handle angular components without selector
2021-02-18 19:27:26 +01:00
ThibaudAv
59c7bc8ed8
feat(angular): handle angular components without selector
2021-02-18 19:23:28 +01:00
ThibaudAv
ddac2cf61b
refactor(angular): rename Basics / Component with / ...
to Basics / Component / With ...
2021-02-15 11:17:22 +01:00
ThibaudAv
e9d7b0036b
refactor(angular): replace storiesOf by CSF in ngrx store
2021-02-15 11:17:22 +01:00
ThibaudAv
a9b7ebecca
refactor(angular): replace knobs by args in all examples
2021-02-15 11:17:22 +01:00
ThibaudAv
0ae146b987
refactor(angular): improve ng-content basics examples
2021-02-15 11:17:22 +01:00
ThibaudAv
41eb56f6a9
refactor(angular): improve action addon examples
2021-02-15 11:17:22 +01:00
ThibaudAv
0337a6445a
chore(angular): add README in each stories part
...
In order to try to keep the examples clean
2021-02-15 11:17:21 +01:00
ThibaudAv
22f9e4b0fa
refactor(angular): move "issues" and "ngrx" examples in Others / *
2021-02-15 11:17:21 +01:00
ThibaudAv
05b2759bf8
refactor(angular): rework module-context examples
2021-02-15 11:17:21 +01:00
ThibaudAv
2d689210bf
refactor(angular): move "ModuleMetadata" and "Story host styles" in "Core" examples
2021-02-15 09:28:36 +01:00
ThibaudAv
d7f0e0f011
refactor(angular): move decorators examples in Core / Decorators / ***
2021-02-15 09:28:36 +01:00
ThibaudAv
e366cab513
refactor(angular): move ControlValueAccessor example in Basics / Angular forms
2021-02-15 09:28:36 +01:00
ThibaudAv
643fcf7085
refactor(angular): improve Addons / Backgrounds
stories
2021-02-15 09:28:36 +01:00
ThibaudAv
1411e03b67
refactor(angular): rework Parameters / Layout
examples
2021-02-15 09:28:36 +01:00
ThibaudAv
e34d7527d1
refactor(angular): rework Welcome examples
2021-02-15 09:28:35 +01:00
ThibaudAv
97f4104bf7
refactor(angular): rework deprecated examples in Deprecated
2021-02-15 09:28:35 +01:00
ThibaudAv
8c0ebcacf6
refactor(angular): rework examples to place them in Basics / Component with
& Basics / ModuleMetadata
& Basics / Styles
2021-02-15 09:28:35 +01:00
ThibaudAv
da69c2322b
refactor(angular): move all core examples in Core/*
2021-02-15 09:28:35 +01:00
ThibaudAv
20db482479
refactor(angular): move all knobs examples in Addons/Knobs
2021-02-15 09:28:34 +01:00
ThibaudAv
b4d4e57c7a
refactor(angular): move all links examples in Addons/Links
2021-02-15 09:28:34 +01:00
ThibaudAv
78b62d6906
refactor(angular): move all jest examples in Addons/Jest
2021-02-15 09:28:34 +01:00
ThibaudAv
2cdf01a07b
refactor(angular): move all actions examples in Addons/Controls
2021-02-15 09:28:34 +01:00
ThibaudAv
c2f451fb0c
refactor(angular): move all actions examples in Addons/Actions
2021-02-15 09:28:34 +01:00
ThibaudAv
d6ea0156cc
refactor(angular): move all backgroud examples in Addons/Backgrouds
2021-02-15 09:28:34 +01:00
ThibaudAv
5b0637674e
refactor(angular): move all docs examples in Addons/Docs
2021-02-15 09:28:33 +01:00
Yngve Bakken-Nilsen
b4f62da0c4
Angular: implement dynamic snippet
2021-02-10 08:54:39 +01:00
ThibaudAv
53248cafb4
chore(angular): add theme-decorator example
2021-01-28 18:20:23 +01:00
ThibaudAv
9113153f2a
chore(angular): add more examples for docs addon
2021-01-28 18:20:22 +01:00
ThibaudAv
104002269e
refactor(angular): move docs stories in Addon/Docs
2021-01-28 18:20:11 +01:00