254 Commits

Author SHA1 Message Date
Michael Shilman
4364bb449f Merge branch 'next' of github.com:storybookjs/storybook into next 2023-01-14 18:50:09 +08:00
Michael Shilman
33a517844a Update git head to 7.0.0-beta.27, update yarn.lock [ci skip] 2023-01-14 17:49:14 +08:00
Michael Shilman
1abdc0888c v7.0.0-beta.27 2023-01-14 17:48:15 +08:00
Norbert de Langen
0476d11ebd
Merge branch 'next' into deprecate/argType-defaultValue 2023-01-14 00:38:09 +01:00
Jeppe Reinhold
858aa9d49f
Merge pull request #20592 from storybookjs/prepareMeta
prepareMeta function similar to prepareStory
2023-01-13 22:17:00 +01:00
Michael Shilman
4da7e82102 Update git head to 7.0.0-beta.26, update yarn.lock [ci skip] 2023-01-14 00:15:09 +08:00
Michael Shilman
4d3ed5ec2e v7.0.0-beta.26 2023-01-14 00:13:56 +08:00
Jeppe Reinhold
be52514c4d
fix __id typo 2023-01-13 14:47:35 +01:00
Norbert de Langen
0199ca3e52
Merge pull request #20605 from storybookjs/norbert/make-typescript-check-work-valid-next
make changes to typings files to ensure this the check command succeeds
2023-01-13 13:32:18 +01:00
Norbert de Langen
6627160577
fix 2023-01-13 12:56:55 +01:00
Norbert de Langen
6568153a09
Update code/lib/preview-api/src/modules/addons/hooks.ts 2023-01-13 12:41:36 +01:00
Norbert de Langen
ed47574d17
Merge branch 'next' into fix-use-args-types 2023-01-13 12:14:37 +01:00
Norbert de Langen
128c2a795c
make changes to typings files to ensure this the check command succeeds 2023-01-13 11:13:24 +01:00
Jeppe Reinhold
f7f46f067d refactor prepareMeta and prepareStory 2023-01-13 00:00:22 +01:00
Norbert de Langen
48828c75ca
make changes to typings files to ensure this the check command succeeds 2023-01-12 18:58:54 +01:00
Jeppe Reinhold
3063e85ed7 Merge branch 'next' of github.com:storybookjs/storybook into prepareMeta 2023-01-12 15:52:05 +01:00
Jeppe Reinhold
3fbc3b8ad2 use prepareMeta in useOf 2023-01-12 15:44:30 +01:00
Jeppe Reinhold
82fddd4571 add argTypes to tests 2023-01-12 13:26:12 +01:00
Jeppe Reinhold
5c274eddae initial prepareMeta 2023-01-12 10:06:56 +01:00
Tom Coleman
68f1975e93 Merge remote-tracking branch 'origin/next' into tom/sb-1123-sb20250-vite-does-not-show-a-spinner-2 2023-01-12 13:47:51 +11:00
Michael Shilman
5f8f3d0d37 Update git head to 7.0.0-beta.25, update yarn.lock [ci skip] 2023-01-12 00:35:01 +08:00
Michael Shilman
2109ab8d7c v7.0.0-beta.25 2023-01-12 00:33:53 +08:00
Tom Coleman
5f105af6f4 Drop some logs 2023-01-11 22:55:06 +11:00
Jeppe Reinhold
f7826d5382
Merge pull request #20563 from storybookjs/block-description-improvements
Blocks: new Description API, introduce useOf
2023-01-11 12:40:48 +01:00
Michael Shilman
16c4a693de Update git head to 7.0.0-beta.24, update yarn.lock [ci skip] 2023-01-11 00:34:39 +08:00
Michael Shilman
cf402923a5 v7.0.0-beta.24 2023-01-11 00:33:22 +08:00
Michael Shilman
2aa4912552 Update git head to 7.0.0-beta.23, update yarn.lock [ci skip] 2023-01-10 23:42:36 +08:00
Michael Shilman
540859f1e7 v7.0.0-beta.23 2023-01-10 23:36:08 +08:00
Michael Shilman
c78afe1ffc Update git head to 7.0.0-beta.22, update yarn.lock [ci skip] 2023-01-10 23:32:01 +08:00
Michael Shilman
3b05d5a407 v7.0.0-beta.22 2023-01-10 23:31:45 +08:00
Jeppe Reinhold
dca31c70ee add projectAnnotations to DocsContext 2023-01-10 16:02:43 +01:00
Tom Coleman
b0eca3f221
Merge pull request #20517 from storybookjs/add-componentOrStoryIdByModuleExport
Rename `storyByModuleExport` to `resolveModuleExport`
2023-01-10 17:01:07 +11:00
Tom Coleman
b69f31b7fb Drop unusued imports 2023-01-10 16:40:21 +11:00
Tom Coleman
796871f91e Allow passing a resovled module type to get it back 2023-01-10 16:03:30 +11:00
Tom Coleman
996880b4b4 Simplify resolveModuleExport API, pass the meta exports elsewhere. 2023-01-10 15:45:06 +11:00
Michael Shilman
42697c3fc4 Update git head to 7.0.0-beta.21, update yarn.lock [ci skip] 2023-01-09 09:19:08 +08:00
Michael Shilman
fb45d85484 v7.0.0-beta.21 2023-01-09 09:14:56 +08:00
Tom Coleman
5575b4d660 Don't set ready until we are actually ready! 2023-01-09 10:07:06 +11:00
Tom Coleman
25f9950609 Fix attachment logic 2023-01-07 17:09:49 +11:00
Tom Coleman
f91a6b1160 Add tests for resolveModuleExport 2023-01-07 16:22:12 +11:00
Tom Coleman
2cabc30328 Cleanup 2023-01-07 16:22:12 +11:00
Tom Coleman
b56044ecc3 Update to return actual object and component when necessary 2023-01-07 16:22:12 +11:00
Tom Coleman
be3d912323 Rename to componentOrStoryIdByModuleExport
So it can return either, allowing generic uses of `of={}`
2023-01-07 16:21:54 +11:00
Michael Shilman
b1fbbeed6f Update git head to 7.0.0-beta.20, update yarn.lock [ci skip] 2023-01-06 20:14:37 +08:00
Michael Shilman
22701aedf5 v7.0.0-beta.20 2023-01-06 20:09:53 +08:00
Tom Coleman
7ec1104a23 Show docs immediately on first load 2023-01-03 11:18:14 +11:00
Michael Shilman
7822167dcf Update git head to 7.0.0-beta.19, update yarn.lock [ci skip] 2023-01-01 18:20:28 +08:00
Michael Shilman
da902f312e v7.0.0-beta.19 2023-01-01 18:16:24 +08:00
Michael Shilman
5eed2f78e6 Update git head to 7.0.0-beta.18, update yarn.lock [ci skip] 2023-01-01 18:07:50 +08:00
Michael Shilman
fd0c69d276 v7.0.0-beta.18 2023-01-01 18:02:45 +08:00