488 Commits

Author SHA1 Message Date
Jeppe Reinhold
858aa9d49f
Merge pull request #20592 from storybookjs/prepareMeta
prepareMeta function similar to prepareStory
2023-01-13 22:17:00 +01:00
Norbert de Langen
13edba59be
Merge pull request #20451 from Jacob-mns/next
add children to CanvasProps
2023-01-13 20:24:36 +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
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
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
31e44f066e handle undefined extractComponentDescription 2023-01-12 13:35:12 +01: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
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
Jeppe Reinhold
19cba6e6ae fix getDescriptionFromResolvedOf name 2023-01-11 12:09:09 +01:00
Jeppe Reinhold
36e6a83c50
rename getDescriptionFromModuleExport to getDescriptionFromResolvedOf
Co-authored-by: Tom Coleman <tom@chromatic.com>
2023-01-11 12:08:17 +01:00
Jeppe Reinhold
b8ff9f251a use combineParameters 2023-01-11 09:26:20 +01:00
Jeppe Reinhold
678168eb7b move useOf to component to adhere to rules-of-hooks 2023-01-11 09:22:16 +01:00
Jeppe Reinhold
4052c1b096 add string of to stories 2023-01-11 00:21:13 +01:00
Jeppe Reinhold
ddb256e274 migration notes and links 2023-01-11 00:17:13 +01:00
Jeppe Reinhold
ad9ecf9058 fix type imports 2023-01-10 22:03:45 +01:00
Jeppe Reinhold
92e9362c2c export useOf 2023-01-10 20:48:19 +01:00
Jeppe Reinhold
722013bb0e cleanup 2023-01-10 20:43:41 +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
Jeppe Reinhold
d21b9de642 describe useOf 2023-01-10 16:59:44 +01:00
Norbert de Langen
0e679edc84
Merge branch 'next' into norbert/cleanup-babel 2023-01-10 16:58:36 +01:00
Jeppe Reinhold
35f1fcdd03 cleanup Description 2023-01-10 16:55:50 +01: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
Jeppe Reinhold
48f1c44e5e support undefined of 2023-01-10 16:35:46 +01: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
abb2890019 use projectAnnotations in Description block 2023-01-10 16:03:28 +01:00
Jeppe Reinhold
0746c20072 add projectAnnotations to useOf 2023-01-10 16:03:09 +01:00
Jeppe Reinhold
5640ab7171 Merge branch 'next' of github.com:storybookjs/storybook into block-description-improvements 2023-01-10 11:36:03 +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
996880b4b4 Simplify resolveModuleExport API, pass the meta exports elsewhere. 2023-01-10 15:45:06 +11:00
Jeppe Reinhold
605629531d use new resolveModuleExports functionality in Description 2023-01-09 23:17:44 +01:00
Jeppe Reinhold
17524d1ceb add useOf 2023-01-09 23:17:07 +01:00
Jeppe Reinhold
8e669be7ba Merge branch 'tom/sb-1122-sb19964-bug-unable-to-use-description-2' of github.com:storybookjs/storybook into block-description-improvements 2023-01-09 21:48:54 +01:00
Jeppe Reinhold
a77aed915c better Description stories 2023-01-09 21:42:49 +01:00
Norbert de Langen
9581cd0322
Merge branch 'next' into norbert/cleanup-babel 2023-01-09 14:50:38 +01: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
Norbert de Langen
11a758c629
delete enzyme from codebase where not strictly needed 2023-01-08 00:03:16 +01:00
Tom Coleman
15dd0ad689 More fixes to loader 2023-01-07 17:13:10 +11:00
Tom Coleman
781fc0baba Fix up docs context loader 2023-01-07 17:11:27 +11:00
Tom Coleman
25f9950609 Fix attachment logic 2023-01-07 17:09:49 +11:00
Tom Coleman
94c41cd1a0 Fix story block 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