216 Commits

Author SHA1 Message Date
Jeppe Reinhold
b83cda6c37 move code/lib/components to code/ui/components 2022-10-17 10:09:41 +02:00
Michael Shilman
1b45114031 Update git head to 7.0.0-alpha.38, update yarn.lock [ci skip] 2022-10-15 10:54:35 +08:00
Michael Shilman
438114fcf6 v7.0.0-alpha.38 2022-10-15 10:50:44 +08:00
Norbert de Langen
56ec4438f9
Merge branch 'next' into tech/use-node-16 2022-10-13 15:11:46 +02:00
Norbert de Langen
ad4c01e695
Merge pull request #19467 from storybookjs/remove/angular-example
remove angular example from monorepo
2022-10-13 16:08:48 +03:00
Norbert de Langen
86f13c86df
fix linting & CI setup after removal 2022-10-13 14:25:02 +02:00
Norbert de Langen
2b8bd47535
just a few random fixes, enjoy reviewing! 2022-10-13 13:37:32 +02:00
Norbert de Langen
9a57cf918d
Merge branch 'next' into tech/use-node-16 2022-10-13 09:23:22 +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
4a8a09d253
Merge branch 'next' into tech/use-node-16 2022-10-13 00:58:38 +02: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
Norbert de Langen
14937e5c5f
Merge branch 'next' into tech/use-node-16 2022-10-12 09:38:03 +02:00
Norbert de Langen
9f35b2c2fa
switch to node16 2022-10-12 09:37:30 +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