107 Commits

Author SHA1 Message Date
Yann Braga
ca3144ea55 add storybook-header to angular template component 2023-04-19 12:09:46 +02:00
JW
1ae534cfaf Scope page.css 2023-04-19 12:09:24 +02:00
Kyle Gach
988c69baa3
Merge pull request #21845 from storybookjs/chore_update_7_0_refs_templates
Chore: (Templates) Updates code references to 7.0
2023-04-05 11:45:55 -06:00
Mostafa Sherif
510f71e6e6
Merge pull request #21807 from storybookjs/valentin/remove-deprecated-props-in-angular
Remove deprecated `component` and `propsMeta` field from Angular Story type
2023-04-01 16:34:39 -04:00
Valentin Palkovic
31700c09c2 Export applicationConfig decorator and adjust documentation for usage 2023-03-31 08:49:38 +02:00
jonniebigodes
85adfc2986 Updates code references to 7.0 2023-03-30 21:05:45 +01:00
Valentin Palkovic
9baf46a5a9 Remove deprecated component and propsMeta field from Angular Story type 2023-03-30 14:03:07 +02:00
Valentin Palkovic
4029c7110f Introduce applicationConfig decorator for Angular
The applicationConfig decorator allows it to set provider and environment providers on the application level by passing them to the bootstrapApplication API, which is used to bootstrap the application to the DOM. It accepts a provider array, which should be used to setup application-wide providers, like the ones from BrowserAnimationModule
2023-03-29 11:45:34 +02:00
Valentin Palkovic
c1b5094ab8 Merge remote-tracking branch 'origin/next' into HEAD 2023-02-17 17:15:32 +01:00
Valentin Palkovic
e483723de5 Add some stories for angular 2023-02-17 09:51:45 +01:00
Valentin Palkovic
0b54569d2c importProviders from ngModules on boostrapApplication 2023-02-16 17:24:28 +01:00
Mostafa Sherif
4d163568c2 chore(typescript): fix @ts-expect-error strict types 2023-02-07 05:41:37 -05:00
Valentin Palkovic
9c59ea82d0 Support NoopAnimationsModule 2023-02-01 15:17:10 +01:00
Valentin Palkovic
c550dbb503 Angular: Fix issue if BrowserAnimationsModule is imported 2023-01-24 11:34:41 +01:00
Valentin Palkovic
103fc7a608 Adjust preserveWhitespace example 2023-01-17 15:40:39 +01:00
Valentin Palkovic
6918b6c756 Remove legacy rendering option Story 2023-01-17 15:40:39 +01:00
Valentin Palkovic
e0dbbf253f Use Angular Standalone component to bootstrap application
Fix Angular story related to forRoot Module

Add back platform reset

Fix provider override issue in Angular stories
2023-01-17 15:40:39 +01:00
Michael Arestad
29910b71db Remove vandalism 2022-12-27 12:54:21 -07:00
Tom Coleman
427ec4433d Rename docsPage to autodocs
And change semantics: `docsPage:true` = `autodocs: 'tag'` and `docsPage: 'automatic'` = `autodocs: true`.
2022-12-21 21:49:57 +11:00
Norbert de Langen
3342776320
fix references to global in template dirs 2022-12-09 22:03:35 +01:00
Norbert de Langen
f5260920ca
fixing typings issues 2022-12-09 20:44:55 +01:00
Kasper Peulen
fb2cc54f0a Update layout comment 2022-11-17 16:55:37 +01:00
Kasper Peulen
da9433f91c Update Page stories template for 7 docs 2022-11-17 16:55:37 +01:00
Kasper Peulen
6f1588ff8e Update Header stories template for 7 docs 2022-11-17 16:55:37 +01:00
Kasper Peulen
b3e708b45d Update Button stories template for 7 docs 2022-11-17 16:55:37 +01:00
Tom Coleman
43f75b1fed Add docsPage tag to all Button/Header CLI templates 2022-11-02 17:02:43 +11:00
Kasper Peulen
c907472849 Migrate TS templates to CSF3 2022-10-31 11:57:34 +01:00
Kasper Peulen
960426dba3 Move all templates out of cli into renderers 2022-10-31 10:59:17 +01:00
Ian VanSchooten
f87e73ec1c Do not split type and value imports in Angular 2022-10-27 19:33:39 -04:00
Ian VanSchooten
393a12aac3 Use explicit type imports 2022-10-27 19:33:39 -04:00
Norbert de Langen
2e4219ddc4
hopefully fix TS4111 errors 2022-10-26 10:28:23 +02:00
Norbert de Langen
8bc4b24f3b
fixing linting 2022-10-26 10:02:19 +02:00
Norbert de Langen
e65080986a
hopefully some fixes for this problem:
https://app.circleci.com/pipelines/github/storybookjs/storybook/30782/workflows/35765dcb-08b4-461f-90bb-5967f20cd2e5/jobs/431118/steps
2022-10-26 09:17:06 +02:00
Norbert de Langen
6be12c24d8
deal with the aftermath of upgrading eslint 2022-10-24 14:57:37 +02:00
Tom Coleman
6f9452db68 Fix null valued props 2022-10-13 17:49:41 +11:00
Tom Coleman
eaf6cef6f1 Refactor stories that used component: , which is no longer supported 2022-10-13 17:13:57 +11:00
Tom Coleman
92b7404a19 Fix angular MDX story 2022-10-13 15:47:32 +11:00
Tom Coleman
3492b4c423 Update button component to use label 2022-10-13 13:29:49 +11:00
Tom Coleman
45231e4d2f Merge remote-tracking branch 'origin/next' into tom/sb-512-angular-14 2022-10-13 12:38:52 +11:00
Norbert de Langen
04922dfa67
convert even more children-props to label-props 2022-10-12 12:22:22 +02:00
Tom Coleman
157c2058bc remove docgen components (already under argTypes) 2022-10-11 09:51:04 +11:00
Tom Coleman
4ebdcdaa74
Merge pull request #19202 from storybookjs/tom/sb-606-migrate-stories-and-delete-angular-cli
Remove `angular-cli` example
2022-10-10 22:32:37 +11:00
Tom Coleman
c4ad8b31ab Merge remote-tracking branch 'origin/next' into tom/sb-512-angular-14 2022-10-10 21:48:44 +11:00
Tom Coleman
f4441141e4 Merge branch 'tom/sb-512-angular-14' into tom/sb-606-migrate-stories-and-delete-angular-cli 2022-10-10 17:14:38 +11:00
Tom Coleman
2ed71af946 Distinguish button components 2022-10-10 17:14:20 +11:00
Tom Coleman
904353b3fd Add types 2022-10-10 17:02:48 +11:00
Tom Coleman
f8e3232367 Allow style/text to be unset 2022-10-10 17:00:08 +11:00
Tom Coleman
6343f99da8 Remove snapshots 2022-10-07 16:32:53 +11:00
Tom Coleman
2529fa7ef7 Move angular docs stories to framework 2022-10-07 16:32:43 +11:00
Michael Shilman
bcb4722860 Refactor MDX examples to sandboxes 2022-09-30 11:45:16 +08:00