581 Commits

Author SHA1 Message Date
Tom Coleman
62edab6947 Add globals stories 2022-09-06 11:33:46 +10:00
Tom Coleman
7835e77ad0 Add argtype stories 2022-09-06 11:27:47 +10:00
Tom Coleman
efbfaf4b1d Add args stories 2022-09-05 21:36:20 +10:00
Tom Coleman
754d7a72b2 Update svelte dependencies 2022-09-05 21:09:37 +10:00
Tom Coleman
89fbda6e0c Deepscan 2022-09-05 21:09:21 +10:00
Tom Coleman
2f9373d879 Add Pre components to svelte and vue3 2022-09-05 17:08:08 +10:00
Tom Coleman
835ec8461d Added decorator stories 2022-09-05 15:37:03 +10:00
Tom Coleman
66a94ae6b2 Merge remote-tracking branch 'origin' into tom/sb-586-core-features-loaders-parameters 2022-09-05 15:26:46 +10:00
Tom Coleman
44f1d1859a Setup system to create preview annotations in sandboxes
And use in loaders/parameters stories
2022-09-05 15:23:56 +10:00
Tom Coleman
cd6dc91546 Simplify stories to not need special render/decorators 2022-09-05 15:09:31 +10:00
Tom Coleman
8cd02317bd Refactor Code -> Pre 2022-09-05 11:32:19 +10:00
Tom Coleman
80b64da752 Added loader stories 2022-09-05 10:31:19 +10:00
Tom Coleman
7cc44aceab Add parameters story 2022-09-05 10:19:01 +10:00
Tom Coleman
3a7958b5af Add Code component and method of using it 2022-09-05 10:05:33 +10:00
Michael Shilman
252a26cd9b Update git head to 7.0.0-alpha.29, update yarn.lock [ci skip] 2022-09-03 00:09:51 +08:00
Michael Shilman
87ce9b91ce v7.0.0-alpha.29 2022-09-03 00:03:50 +08:00
Michael Shilman
296bb470e3 Update root, peer deps, version.ts/json to 7.0.0-alpha.29 [ci skip] 2022-09-03 00:00:43 +08:00
Michael Shilman
d1418038d3 Vite: Fix framework typing issues with a hack 2022-09-02 23:54:15 +08:00
Michael Shilman
ee43d69dcf
Merge pull request #19088 from storybookjs/vite/no-install-babel
Vite: Don't add babel dependencies during init
2022-09-02 23:29:31 +08:00
Michael Shilman
9e5d3e0261
Merge pull request #19086 from storybookjs/norbert/sb-580-addon-viewport
Addon-viewport: Move stories into addon
2022-09-02 23:25:49 +08:00
Michael Shilman
7f4c7a378b
Merge pull request #19085 from storybookjs/norbert/sb-575-addon-backgrounds
Addon-backgrounds: Move stories into addon
2022-09-02 23:25:26 +08:00
Michael Shilman
78391bcbd6
Merge pull request #19082 from storybookjs/norbert/sb-573-addon-actions
Addon-actions: Move stories into addon
2022-09-02 23:24:34 +08:00
Michael Shilman
7dadf5059a
Merge pull request #19087 from storybookjs/vite/plugin-cleanup
Vite: cleanup custom plugins
2022-09-02 21:45:58 +08:00
Norbert de Langen
0880c84e4f
rename 2022-09-02 14:25:02 +02:00
Norbert de Langen
5dbdfd5c0f
Merge branch 'norbert/sb-575-addon-backgrounds' into norbert/sb-580-addon-viewport 2022-09-02 14:24:39 +02:00
Norbert de Langen
b6cf506359
rename 2022-09-02 14:24:15 +02:00
Norbert de Langen
2a5ca3a011
Merge branch 'norbert/sb-573-addon-actions' into norbert/sb-575-addon-backgrounds 2022-09-02 14:23:30 +02:00
Norbert de Langen
906d5746fb
fix 2022-09-02 13:59:03 +02:00
Norbert de Langen
4ea9c59e27
Merge branch 'norbert/sb-575-addon-backgrounds' into norbert/sb-580-addon-viewport 2022-09-02 13:38:58 +02:00
Norbert de Langen
ed5c983eb4
Merge branch 'norbert/sb-573-addon-actions' into norbert/sb-575-addon-backgrounds 2022-09-02 13:38:42 +02:00
Norbert de Langen
699ce93104
remove types 2022-09-02 13:36:41 +02:00
Michael Shilman
bc41d6666c Merge branch 'next' into vite/plugin-cleanup 2022-09-02 18:41:42 +08:00
Michael Shilman
6ff0621ded
Merge pull request #19091 from storybookjs/shilman/fix-sb-init
CLI: Fix sb init to use renderer assets instead of frameworks
2022-09-02 18:39:10 +08:00
Norbert de Langen
fbb6c9f479
Merge branch 'norbert/sb-575-addon-backgrounds' into norbert/sb-580-addon-viewport 2022-09-02 12:38:17 +02:00
Norbert de Langen
7f71e3549e
rename files 2022-09-02 12:38:00 +02:00
Norbert de Langen
7f1a7e6e53
rename file 2022-09-02 12:37:03 +02:00
Norbert de Langen
a347cfe27d
Merge branch 'norbert/sb-575-addon-backgrounds' into norbert/sb-580-addon-viewport 2022-09-02 12:35:06 +02:00
Norbert de Langen
2e01fb2fcc
Merge branch 'norbert/sb-573-addon-actions' into norbert/sb-575-addon-backgrounds 2022-09-02 12:34:22 +02:00
Norbert de Langen
802f349c49
add stories for argTypes and rename files to .js extention 2022-09-02 12:28:08 +02:00
Norbert de Langen
606c00dff9
Merge branch 'next' into norbert/sb-573-addon-actions 2022-09-02 12:20:21 +02:00
Norbert de Langen
9cc9803178
fix typos 2022-09-02 12:01:28 +02:00
Michael Shilman
54503208a6 CLI: Fix sb init to use renderer assets instead of frameworks
In 6.5 the `framework` config option was one of `react`, `angular`, etc. and included Webpack settings.

In the 7.0, we’ve updated it so that these are now called `renderers`, and are builder-independent. Now, frameworks contain specific builder information, such as `cra` or `nextjs` (for specific app environments) or `react-webpack5` / `react-vite` (for custom apps).

This fixes the `sb init` CLI command to use renderer-specific templates. I also call out some follow-up work to fix automigrations & telemetry
2022-09-02 15:35:27 +08:00
Tom Coleman
5407c0c6e2
Merge pull request #19071 from storybookjs/tom/sb-699-sb19015-70-vite-storybook-crashes-when
Ensure if a docs render is torndown during preparation, it throws
2022-09-02 14:26:29 +10:00
Ian VanSchooten
f968c85fc2 Don't add babel dependencies for vite projects 2022-09-01 23:53:53 -04:00
Michael Shilman
e1646400e4
Revert "chore: rename prepare script to prep" 2022-09-02 11:26:42 +08:00
Tom Coleman
f84161b14b Fix jest issues 2022-09-02 13:08:10 +10:00
Ian VanSchooten
9a5adca82e Fix paths to input files 2022-09-01 21:52:51 -04:00
Ian VanSchooten
b70251e25a Use Vite 3.1.0-beta.1 in dev
We need this to support the new object hooks
2022-09-01 16:18:50 -04:00
Ian VanSchooten
351b4f1ad6 Handle rollup hook objects 2022-09-01 16:12:45 -04:00
Ian VanSchooten
119a2d45f1 Use consistent vite plugin names
This will make them easier to understand in debug logs, for instance.
2022-09-01 16:02:57 -04:00