48786 Commits

Author SHA1 Message Date
Tom Coleman
47efd803f5 Update DocsContext tests 2023-03-06 10:10:26 +11:00
Tom Coleman
ade8805296 Fix types of useOf 2023-03-06 09:49:17 +11:00
Michael Shilman
0ae21db99d Merge branch 'next' of github.com:storybookjs/storybook into next 2023-03-05 08:02:47 +08:00
Kyle Gach
19bdc6837b Remove /docs/get-started/introduction.md
- Remove related assets
- Move `/docs/why-storybook` to `/docs/get-started/why-storybook`
2023-03-03 11:12:40 -07:00
Michael Shilman
2926a4281f 7.0.0-beta.61 next.json version file [skip ci] 2023-03-04 00:48:23 +08:00
Kyle Gach
3ea1a30e4d
Merge pull request #21361 from storybookjs/update-install-snippets 2023-03-03 09:45:40 -07:00
Michael Shilman
3497f7aba7 Update git head to 7.0.0-beta.61, update yarn.lock [ci skip] 2023-03-04 00:41:13 +08:00
Michael Shilman
c4707c66fa v7.0.0-beta.61 v7.0.0-beta.61 2023-03-04 00:40:01 +08:00
Michael Shilman
4fc5180396 Update root, peer deps, version.ts/json to 7.0.0-beta.61 [ci skip] 2023-03-04 00:37:39 +08:00
Michael Shilman
5ecbd1b546 7.0.0-beta.61 changelog 2023-03-04 00:37:23 +08:00
Michael Shilman
94c39840cd
Merge pull request #21380 from storybookjs/shilman/upgrade-react-docgen-typescript
Upgrade react-docgen-typescript-plugin for TS4.8
2023-03-04 00:35:24 +08:00
Michael Shilman
2e64fa40ad
Merge pull request #21367 from storybookjs/20728-fix-state-warnings
Core: Remove state deprecation warnings by default
2023-03-04 00:33:54 +08:00
Michael Shilman
4e58b0178c
Merge pull request #21369 from storybookjs/20841-show-docs-errors
Docs: Show MDX errors using our error overlay
2023-03-04 00:29:19 +08:00
Michael Shilman
66c5c5e0db
Merge pull request #21389 from storybookjs/shilman/fix-default-export-storysort
Core: Fix default export storySort handling
2023-03-04 00:25:48 +08:00
Michael Shilman
43558bafae Core: Fix default export storySort handling 2023-03-03 23:58:32 +08:00
Kyle Gach
73944af5b1 Wrap troubleshooting message in aside 2023-03-03 08:52:27 -07:00
Michael Shilman
a7ac939487 Upgrade react-docgen-typescript-plugin for TS4.8 2023-03-03 21:42:12 +08:00
Valentin Palkovic
ebb8cf2a50
Merge pull request #21377 from storybookjs/revert-21248-valentin/fix-providers-declared-twice
Revert "Fix Angular bug where forRoot() is called twice"
2023-03-03 13:53:53 +01:00
Chakir QATAB
df9fbd4462
Merge pull request #21359 from storybookjs/kasper/vue-slot-types
Vue3: Add slot TS types
2023-03-03 16:42:18 +04:00
Valentin Palkovic
6fb2114b8a
Revert "Fix Angular bug where forRoot() is called twice" 2023-03-03 13:22:58 +01:00
Mostafa Sherif
8a44e7b13d
Merge pull request #21248 from storybookjs/valentin/fix-providers-declared-twice
Fix Angular bug where forRoot() is called twice
2023-03-03 07:21:16 -05:00
Kasper Peulen
12e96a3938 Fix type tests 2023-03-03 12:56:43 +01:00
Valentin Palkovic
80a3cba00d Fix Angular bug where forRoot() is called twice 2023-03-03 12:15:45 +01:00
Kasper Peulen
cd150c0109 Allow both functions and values as type for slots 2023-03-03 12:10:10 +01:00
Tom Coleman
ce9bd7f094 Fix linting 2023-03-03 19:34:39 +11:00
Tom Coleman
c6ba7e124b Fix types 2023-03-03 19:16:05 +11:00
Tom Coleman
0a1fd7efc5 Use resolveOf to get global parameters in the ArgsTable 2023-03-03 17:20:23 +11:00
Tom Coleman
d5a3ba2c22 Refactor useOf to do the extra bit inside the docs context 2023-03-03 17:15:28 +11:00
Tom Coleman
949e057f7b Working on getting ArgsTable working unattached 2023-03-03 16:55:42 +11:00
Tom Coleman
11ee42ef96 Fix tests 2023-03-03 15:16:12 +11:00
Michael Shilman
8c8974884f
Merge pull request #21365 from storybookjs/20841-tweak-error
Docs: Update invalid `<Meta of={}>` error to be more helpful.
2023-03-03 11:58:14 +08:00
Michael Shilman
916873b924
Merge pull request #21348 from storybookjs/20958-fix-indexing-errors-referencing-non-stories
Docs:  Fix issue with referencing non-story files with names similar or equal to docs files
2023-03-03 11:56:34 +08:00
Tom Coleman
976b7ef404 Remove unneeded deletions 2023-03-03 13:28:37 +11:00
Tom Coleman
4f29a6d4ef Fix types 2023-03-03 13:09:22 +11:00
Tom Coleman
7bbc0e644f Add an intentionally failing MDX file
This reverts commit e7558619dd0121af19fc79ade7cf860cc054993c.
2023-03-03 13:03:06 +11:00
Tom Coleman
5628ed13ba Show errors using our error display when docs error
This reverts commit f77cdd1c2fe07636dcc8a19380aa1d946b4c5cea.
2023-03-03 13:02:49 +11:00
Tom Coleman
f77cdd1c2f Revert "Show errors using our error display when docs error"
This reverts commit fca188cb289e20d5a226d586a51d81fca28def44.
2023-03-03 13:01:54 +11:00
Tom Coleman
e7558619dd Revert "Add an intentionally failing MDX file"
This reverts commit 018ea7a304780d53955c4488e22a8171e5eeec72.
2023-03-03 13:01:36 +11:00
Tom Coleman
018ea7a304 Add an intentionally failing MDX file 2023-03-03 13:01:16 +11:00
Tom Coleman
fca188cb28 Show errors using our error display when docs error 2023-03-03 13:00:19 +11:00
Tom Coleman
9663f911a2 Move deprecation warnings for old state fields so they don't always trigger. 2023-03-03 12:27:20 +11:00
Tom Coleman
3bec5189c0 Update error to be more helpful.
See https://github.com/storybookjs/storybook/issues/20841#issuecomment-1452631764
2023-03-03 10:39:43 +11:00
Tom Coleman
71aee82a65 You can reference files by full path if you want 2023-03-03 10:36:46 +11:00
Kyle Gach
0bec35d204 Simplify init command snippets to common 2023-03-02 13:10:18 -07:00
Kyle Gach
270475d226 Convert installation instructions
- From FeatureSnippets to CodeSnippets
- Append `@next` to `storybook`
- Remove `ember` snippet
2023-03-02 13:09:43 -07:00
Michael Shilman
485fd3a0a0 7.0.0-beta.60 next.json version file [skip ci] 2023-03-03 01:45:14 +08:00
Michael Shilman
d60e3ffbe0 Update git head to 7.0.0-beta.60, update yarn.lock [ci skip] 2023-03-03 01:39:20 +08:00
Michael Shilman
325e0406b4 v7.0.0-beta.60 v7.0.0-beta.60 2023-03-03 01:37:47 +08:00
Michael Shilman
6416a0a631 Update root, peer deps, version.ts/json to 7.0.0-beta.60 [ci skip] 2023-03-03 01:10:51 +08:00
Michael Shilman
225b9283a0 7.0.0-beta.60 changelog 2023-03-03 01:10:41 +08:00