94 Commits

Author SHA1 Message Date
Norbert de Langen
1ad46dbce8 fixes 2024-05-13 22:04:34 +02:00
Valentin Palkovic
7a0a1c7bd5 Angular: Add support for Angular's output signals
Support the new signal-based output function in Angular 17.3 and upwards in Storybook's helper types as StoryObj or StoryFn. I also ensured that TypeScript doesn't complain in Angular versions that don't support this feature.

Please be aware, that controls might not reflect the proper types when Signals are used. For component and property analysis, we are relying on Compodoc. Compodoc doesn't support the new output signal yet.
2024-03-18 09:05:14 +01:00
Valentin Palkovic
607e2bfbe1 Add argTypes to signal-based Angular stories 2024-03-18 08:17:05 +01:00
Valentin Palkovic
22a40ae041 Add Signal based stories for supported Angular sandboxes 2024-03-17 14:27:07 +01:00
Norbert de Langen
3fc8363c2c
Merge pull request #26351 from storybookjs/norbert/remove-testing-lib
Maintenance: Replace `@storybook/testing-library` with `@storybook/test` in monorepo
2024-03-07 19:06:11 +01:00
Kasper Peulen
dbef8b5881 Add explicit actions to CLI header story 2024-03-06 15:45:00 +01:00
Norbert de Langen
e4a47f577b replace testing-library with test in monorepo 2024-03-06 14:55:23 +01:00
Kasper Peulen
4f2c2fbbcb Merge remote-tracking branch 'origin/next' into kasper/update-linter 2024-01-16 10:01:44 +01:00
Valentin Palkovic
48539e8a72
Merge pull request #25564 from storybookjs/valentin/set-allow-function-to-false-telejson
Telejson: Update stringify options in codebase
2024-01-15 14:12:10 +01:00
Kasper Peulen
021c101faf Apply updated eslint rules 2024-01-15 13:33:41 +01:00
Valentin Palkovic
595c32dca1 Replace @storybook/jest by @storybook/test 2024-01-12 15:43:42 +01:00
Valentin Palkovic
8193242855 Update stringify options in codebase 2024-01-11 14:25:32 +01:00
Kasper Peulen
13c46e6c0b Prettier 2024-01-09 17:20:55 +01:00
Kasper Peulen
9ff64bc57e
Merge pull request #25238 from storybookjs/kasper/remove-ts-magic
Core: Error on explicit actions while rendering or playing
2024-01-04 09:38:15 +01:00
Kasper Peulen
90e96d05b2 Documentation over fn action arg 2024-01-03 10:50:24 +01:00
Yann Braga
3dcf056fed rename .stories.mdx to .mdx 2023-12-29 16:43:29 -03:00
Yann Braga
1be44eb1b4 remove .stories.mdx stories and fix tests 2023-12-29 16:26:32 -03:00
Kasper Peulen
7a6b26a8de Assign explicit actions to CLI stories 2023-12-28 10:03:39 +01:00
Mark berry
1883a750c5 Change Angular story files to lowercase 2023-12-08 11:40:35 -06:00
Mark berry
4a349dee5a Remove another unnecessary function 2023-12-08 10:55:57 -06:00
Mark berry
dcd8f3c813 Change more cli templates to standalone and remove more unnecessary 2023-12-08 10:52:09 -06:00
Mark berry
61f4fa20e3 Update Angular cli templates 2023-12-08 01:58:30 -06:00
Norbert de Langen
f75ef81403
Merge branch 'next' into release-8-0 2023-11-28 10:58:12 +01:00
Kyle Gach
975ad7604b Update TOC to use heading type
- Rename `introduction.md`, `overview.md`, `how-to-contribute.md` pages -> `index.md` pages
- Add all-new `index.md` pages for Sharing and API
- Find/replace `introduction.md`/`overview.md` -> `index.md`
- Find/replace `/introduction`/`/overview` -> `/`
- Add `hideRendererSelector: true` to frontmatter of (some) pages that aren't conditional on renderer
2023-11-27 20:57:51 -07:00
Kyle Gach
1fb8d01e25 Remove /<renderer> from URLs in CLI templates 2023-11-27 20:57:51 -07:00
Norbert de Langen
ee8d7b854b
Merge branch 'next' into release-8-0 2023-11-02 11:56:08 +01:00
Kasper Peulen
4647e9f2be Reformat 2023-10-31 10:49:58 +01:00
Kasper Peulen
76c3821987 Remove await from getByX 2023-10-31 08:58:58 +01:00
Yann Braga
11d1e031e5 use @storybook/test in CLI templates 2023-10-27 16:00:46 +02:00
Norbert de Langen
9e32e32a7d
Merge branch 'release-8-0' into norbert/remove-storyshots 2023-10-12 12:33:10 +02:00
Norbert de Langen
ac7dad0e4c
remove storyshots 2023-10-11 12:58:36 +02:00
Valentin Palkovic
a1fdb683b6 Add Stories to cover argsToTemplate functionality 2023-10-11 11:31:22 +02:00
Valentin Palkovic
7bec7b3a79 Replace 'storyName' with 'name' in Angular stories 2023-10-11 11:31:22 +02:00
Valentin Palkovic
c769e4b5da Rewrite Angular Stories to CSF 3 2023-10-11 11:31:22 +02:00
Charles de Dreuille
04ab1d23ff Remove NoControlWarning 2023-08-01 11:26:57 +02:00
Yann Braga
de35e3eb05 fix sandbox template Form components
- for Vue, Vue3, HTML, Svelte, Preact, HTML and Angular
2023-06-19 21:10:36 +02:00
Yann Braga
ecbcad7b9d remove unnecessary wrapper css class 2023-04-19 12:20:04 +02:00
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