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
6604b497cd
Merge pull request #19461 from storybookjs/fix/inconsistent-button-props
...
make the button component accept a label prop, (not children) (used for sandboxes and renderAssets in cli)
2022-10-13 01:52:54 +03:00
Michael Shilman
ffea0c9211
Update git head to 7.0.0-alpha.37, update yarn.lock [ci skip]
2022-10-13 03:38:47 +08:00
Michael Shilman
82667a6551
v7.0.0-alpha.37
2022-10-13 03:33:26 +08:00
Michael Shilman
c7cab45bef
v7.0.0-alpha.36
2022-10-13 03:16:57 +08:00
Norbert de Langen
04922dfa67
convert even more children-props to label-props
2022-10-12 12:22:22 +02:00
Tom Coleman
548cd31817
Merge remote-tracking branch 'origin/next' into tom/sb-512-angular-14
2022-10-12 15:19:13 +11:00
Norbert de Langen
f798003dbc
Revert "upgrade to use node 16 everywhere"
...
This reverts commit 1fad1723dfebdbf481448b8219a8c30c5074960f.
2022-10-11 18:48:56 +02:00
Norbert de Langen
1fad1723df
upgrade to use node 16 everywhere
2022-10-11 18:47:37 +02:00
Norbert de Langen
e17aca4db7
remove framework angulars storymodule story-component handling
2022-10-11 18:11:19 +02:00
Kasper Peulen
1cf8658a9e
make args sound for CSF3 react types
2022-10-11 10:31:23 +02:00
Tom Coleman
157c2058bc
remove docgen components (already under argTypes)
2022-10-11 09:51:04 +11:00
Jeppe Reinhold
510eb744c9
Merge pull request #19292 from danielamram/replace-storybook-semver
2022-10-11 00:30:02 +02: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
Michael Shilman
70f21ae05b
Merge branch 'next' into shilman/generic-mdx-stories
2022-10-09 18:19:06 +08: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
danielamram
5f31096c36
Merge branch 'next' of https://github.com/danielamram/storybook into replace-storybook-semver
2022-10-06 15:38:49 +03:00
Kai Röder
17bd9211ab
refactor(angular): drop support for angular < 13
...
According to the Angular LTS plan, Angular 12
support ends in Nov 2022. A lot of code exists
to support Angular < 13 which increases the
maintenance effort and decreases the
contribution DX of framework/angular.
BREAKING CHANGE: Dropped support for Angular 12
2022-10-05 22:56:44 +02:00
Norbert de Langen
01064b7b4b
Merge pull request #19270 from storybookjs/install-scripts-bootstrap
...
Build: Add installScripts step in bootstrap command
2022-10-05 21:12:53 +03:00
Michael Shilman
d5bc809ae3
Update git head to 7.0.0-alpha.35, update yarn.lock [ci skip]
2022-10-06 00:24:15 +08:00
Michael Shilman
d8972df8c6
v7.0.0-alpha.35
2022-10-06 00:18:55 +08:00
Norbert de Langen
c12536d770
Merge branch 'tom/sb-512-angular-14' into tom/sb-606-migrate-stories-and-delete-angular-cli
2022-10-05 16:46:29 +02:00
Norbert de Langen
3c92d7fd9a
Merge branch 'next' into tom/sb-606-migrate-stories-and-delete-angular-cli
2022-10-05 16:45:49 +02:00
Norbert de Langen
4eebc48dd4
Merge branch 'next' into tom/sb-512-angular-14
2022-10-05 16:32:52 +02:00
Norbert de Langen
9d2abf79d0
Merge branch 'next' into install-scripts-bootstrap
2022-10-05 16:16:02 +02:00
Norbert de Langen
17a3e2c6fd
Merge branch 'next' into shilman/generic-mdx-stories
2022-10-05 16:13:54 +02:00
Jeppe Reinhold
0dcc3a0e2c
Merge branch 'next' of github.com:storybookjs/storybook into pr/danielamram/19292
2022-10-05 12:35:48 +02:00
Ian VanSchooten
63f6386b9e
Merge remote-tracking branch 'origin/next' into vite/svelte-docgen-options
...
# Conflicts:
# code/frameworks/svelte-vite/src/preset.ts
2022-10-04 14:57:57 -04:00
Ian VanSchooten
2674cc1baa
Merge pull request #19259 from storybookjs/vite/framework-plugins
...
Issue: https://github.com/storybookjs/builder-vite/issues/498
Closes https://github.com/storybookjs/storybook/pull/19245
## What I did
When we made the change in 7.0 to start using the user's `vite.config.js`, I made the (faulty) assumption that users would already have vite framework plugins (e.g. `@vitejs/plugin-react`) installed. But this isn't always true, for example, a project might just be a collection of components being exported, and there may not be an actual app.
So, this PR checks to see if the required framework plugin is already in the config, and if not, adds it. I created a utility function to check for the plugin, but ideally this would live in a `vite-core` instead of duplicated across each framework. This, combined with the duplication in https://github.com/storybookjs/storybook/pull/19216 , makes me lean towards creating such a package. But, it can be done any time and these duplications cleaned up at that point, so I don't think it's a blocker.
## How to test
Create a sandbox, delete `vite.config.js`, and start storybook. Without this change there would be a crash, but it should work just fine now.
2022-10-04 13:47:33 -04:00
Ian VanSchooten
313b1eeef6
Merge remote-tracking branch 'origin/next' into vite/framework-plugins
2022-10-04 09:52:13 -04:00
Ian VanSchooten
bc9d33b9cc
Merge remote-tracking branch 'origin/next' into vite/svelte-docgen-options
2022-10-04 09:42:45 -04:00
Norbert de Langen
bd0a420209
improve the tsconfig
...
So we do not get the warning:
ESM You have emitDecoratorMetadata enabled but @swc/core was not installed, skipping swc plugin
...anymore
2022-10-04 15:14:41 +02:00
Norbert de Langen
448f5f48c5
Merge pull request #19307 from bovandersteene/bovds/disable-ngcc
...
feat(angular): disable ngcc when not needed
2022-10-04 10:02:32 +03:00
Ian VanSchooten
77d28f8e7d
Add svelte csf addon for svelte-native stories
2022-10-03 22:21:40 -04:00
Ian VanSchooten
aefbc7e77b
Pass svelte options to docgen plugin
2022-10-03 22:09:30 -04:00
Bo Vandersteene
dfd38af1df
make options optional
2022-10-03 21:55:24 +02:00
Ian VanSchooten
c4c4f68549
Merge remote-tracking branch 'origin/next' into vite/framework-plugins
...
# Conflicts:
# code/frameworks/react-vite/src/preset.ts
2022-10-03 12:35:07 -04:00
Norbert de Langen
8adcd1e2e8
add required dependency
2022-10-03 17:45:43 +02:00
Norbert de Langen
edf0cc8201
Merge branch 'next' into tech/tsup-lib-client-api
2022-10-03 17:42:15 +02:00
Norbert de Langen
bba5c8c321
Merge branch 'next' into remove-react-classes-global
2022-10-03 17:46:26 +03:00
Ian VanSchooten
3bfce91637
Add missing dependency on "@storybook/addons"
2022-10-02 20:54:11 -04:00