299 Commits

Author SHA1 Message Date
Kyle Gach
1dca308bf4 Snippetize examples 2024-04-30 22:21:31 -06:00
Kyle Gach
01c65098a8 Address feedback
- Re-order TOC items
- Fix conditional content
- Improve nextjs module API references
- Make example snippets more consistent
- Re-organize subpath imports section of module mocking guide
- Fix typos, grammar
2024-04-30 13:54:10 -06:00
Kyle Gach
f4914e3215 Prettify snippets 2024-04-19 10:44:52 -06:00
Kyle Gach
8eaeb944e9 Address MSW snippets feedback 2024-04-19 10:35:42 -06:00
Kyle Gach
3f7e44ca6e Improve MSW snippets
- Use MSW 2.0 API
- Use loader instead of decorator
- Improve snippet filename format
2024-04-18 20:37:34 -06:00
Jeppe Reinhold
46c31ebbd9 remove docs on default router and navigation contexts 2024-04-18 13:14:20 +02:00
Kyle Gach
1efccbe464 WIP 2024-04-15 12:24:59 -06:00
Kyle Gach
82e9f71cc7 Update multiple components guidance
- Remove guidance to reuse entire stories
- Clarify other guidance
2024-04-01 08:58:57 -06:00
Kyle Gach
df0bf8bce9 Revert "WIP: Update multiple components guidance"
This reverts commit dba4179e2f4ca8a9c8669ecd28f36ca41f449a08.
2024-04-01 08:58:57 -06:00
Kyle Gach
e6bbb1411f WIP: Update multiple components guidance 2024-04-01 08:58:57 -06:00
Kyle Gach
84d4214432 Improve portable stories docs 2024-03-18 11:16:32 -06:00
Yann Braga
d67ef707eb document vue limitations 2024-03-18 08:48:20 +01:00
Yann Braga
773f98f0f5 Merge branch 'next' into feature/portable-stories-improvements 2024-03-12 13:19:25 +01:00
Kyle Gach
d392a90776 Add react-webpack5 framework doc 2024-03-11 08:20:01 -06:00
Kyle Gach
116fd4acd4 Add react-vite framework doc 2024-03-11 08:16:19 -06:00
Yann Braga
6933131242
Merge pull request #26081 from storybookjs/api-ref-portable-stories
Documentation: API reference for portable stories
2024-03-05 18:53:07 +01:00
Yann Braga
8b21aebead minor adjustments 2024-03-05 17:59:34 +01:00
jonniebigodes
9fdc7a23a9 Docs: Snapshot testing updates 2024-03-05 12:12:20 +00:00
Yann Braga
e611085624 update snippets 2024-03-05 10:26:42 +01:00
jonniebigodes
470ff2344b Docs: Snippets fix testing package imports 2024-02-29 14:30:28 +00:00
Kyle Gach
1298ee107a Format snippets 2024-02-27 11:17:53 -07:00
Kyle Gach
08477aeaab Simplify play function calls 2024-02-27 11:10:26 -07:00
Kyle Gach
b09d37a0bb Add callouts for nextjs 2024-02-27 11:10:18 -07:00
Kyle Gach
9df8ed368f Address comments
- Improve `addonAnnotations` callout
- Fix Playwright override globals snippet
- Fix jest imports in snippets
- Replace `globalTypes` with `globals` in snippets
2024-02-27 11:09:55 -07:00
Kyle Gach
e09480aefb Split into three separate pages
- Organizational and prose improvements
- Remove Cypress, for now
2024-02-27 11:09:42 -07:00
Kyle Gach
8355abdf3c Add conditional content and snippets 2024-02-27 11:09:30 -07:00
jonniebigodes
8b0f6d037e
Merge branch 'next' into docs_react_ts_updates 2024-01-31 17:12:26 +00:00
jonniebigodes
d1ce421e18 address feedback 2024-01-31 12:27:55 +00:00
Kyle Gach
fd87a7f3e4 Address comments
- Update un-reverted snippets for v8
2024-01-30 10:15:12 -07:00
Kyle Gach
8ab95188f9 Re-document subcomponents
- Largely reverted relevant portions of #20233 & #21742
2024-01-30 10:15:12 -07:00
jonniebigodes
c90ebebd66
Merge branch 'next' into docs_react_ts_updates 2024-01-27 19:11:57 +00:00
jonniebigodes
56ad82da3c additional changes 2024-01-27 18:56:55 +00:00
Kyle Gach
7bdefcb15a Address comments
- Simplify navigation/router fn override guidance
- Fix incorrect snippet
- Consistently format headings
2024-01-24 15:22:16 -07:00
Kyle Gach
2ccd3470b9 Address comments
- Add missing filenames or titles to snippets
- Proper capitalization of terms like Webpack, Babel, PostCSS, etc.
- Fix some typos
- Split up complex snippets
- Document default parameter values
- Move acknowledgements back to README
2024-01-24 15:22:16 -07:00
Kyle Gach
f99b6a3ff7 Update RSC API
- Per https://github.com/storybookjs/storybook/pull/25591
- `features.experimentalNextRSC` -> `features.experimentalRSC`
- `parameters.nextjs.rsc` -> `parameters.react.rsc`
2024-01-24 15:22:15 -07:00
Kyle Gach
577cbdb516 Address comments
- Remove references to `useSWC`
2024-01-24 15:22:15 -07:00
Kyle Gach
d182f66b4b Add Next.js framework doc
- Based on
    - https://github.com/storybookjs/storybook/tree/next/code/frameworks/nextjs
    - https://storybook.js.org/blog/integrate-nextjs-and-storybook-automatically/
2024-01-24 15:22:15 -07:00
Valentin Palkovic
37e3af10e0 Merge remote-tracking branch 'origin/next' into valentin/remove-pass-args-first 2024-01-15 13:53:28 +01:00
Valentin Palkovic
839c241764 Parameters: Remove passArgsFirst flag 2024-01-12 16:34:43 +01:00
Valentin Palkovic
595c32dca1 Replace @storybook/jest by @storybook/test 2024-01-12 15:43:42 +01:00
Kasper Peulen
de086ad597 Merge remote-tracking branch 'origin/next' into kasper/prettier-3 2024-01-10 21:10:49 +01:00
Kasper Peulen
34e364a0ca Pretty docs 2024-01-09 15:21:46 +01:00
Kyle Gach
5a23de20cf Add Parameters API reference
- Add API references for all essential addons
- Consolidate related snippets
2024-01-08 12:59:49 -07:00
Norbert de Langen
f75ef81403
Merge branch 'next' into release-8-0 2023-11-28 10:58:12 +01:00
Kyle Gach
975ad7604b Update TOC to use heading type
- Rename `introduction.md`, `overview.md`, `how-to-contribute.md` pages -> `index.md` pages
- Add all-new `index.md` pages for Sharing and API
- Find/replace `introduction.md`/`overview.md` -> `index.md`
- Find/replace `/introduction`/`/overview` -> `/`
- Add `hideRendererSelector: true` to frontmatter of (some) pages that aren't conditional on renderer
2023-11-27 20:57:51 -07:00
Kyle Gach
a076f4fcee Remove /<renderer> from URLs in docs 2023-11-27 20:57:51 -07:00
Charles de Dreuille
de17130ab7
Merge branch 'next' into release-8-0 2023-11-06 16:11:14 +00:00
jonniebigodes
f0f4ce54a7 Docs: Addon Designs removes non-existing import 2023-11-05 16:06:17 +00:00
Kasper Peulen
63762dc651
Merge pull request #24263 from storybookjs/yann/storybook-test-docs
Documentation: Document @storybook/test package
2023-11-03 09:09:27 +01:00
Valentin Palkovic
874a4441cc Docs: Fix formatting 2023-11-01 08:27:54 +01:00