78 Commits

Author SHA1 Message Date
Yann Braga
8053b5ee2a Refactor file paths for portable stories in vitest setup 2024-10-30 12:18:44 +01:00
Valentin Palkovic
7460021da5 Merge remote-tracking branch 'origin/next' into unified-ui-testing 2024-10-23 14:56:15 +02:00
Kyle Gach
f728e29488 Docs: Replace Vitest plugin with Test addon 2024-10-22 22:51:15 -06:00
Valentin Palkovic
59fac3709a
Merge pull request #29365 from k35o/docs-storybookNextjsPlugin2storybookNextJsPlugin
Docs: storybookNextjsPlugin to storybookNextJsPlugin
2024-10-22 14:36:41 +02:00
Mahdi Hazrati
63c3ae676b
Update node version
update node version from 16 to 20, for can build next js latest
2024-10-18 12:31:34 +03:30
k35o
bc5a1d3daf
docs: storybookNextJsPlugin to storybookSveltekitPlugin 2024-10-16 11:50:52 +09:00
k35o
4a7247f47c
docs: storybookNextjsPlugin to storybookNextJsPlugin 2024-10-16 11:50:07 +09:00
jonniebigodes
dcca2f0bea Minor fixes to the documentation 2024-10-09 15:03:32 +01:00
Michael Shilman
4c861a2f73 Docs: Add streamlined a11y setup docs 2024-10-08 10:07:12 +08:00
jonniebigodes
e932df482b
Merge branch 'next' into next 2024-10-02 14:39:53 +01:00
Pedro Sousa
7e7beac562
docs: update test name in other frameworks 2024-10-02 08:47:29 +02:00
Pedro Sousa
c5e9ec1a68
fix: move workspace name prop to test (#1)
Name should be in the test object and not the workspace directly
2024-09-27 14:08:52 +02:00
Michael Shilman
8ab6f623e0 A11y: Improve test runner recipe 2024-09-26 22:09:52 -04:00
Tobias Diez
3a8a5f5e2e Mark the link addon as essential 2024-09-21 23:37:39 +08:00
Kyle Gach
4280ec7d03 Docs: Fixes for 8.3 2024-09-10 23:52:12 -06:00
Kyle Gach
63e46fa47b Rename to 'Storybook Vitest plugin', and more 2024-09-09 13:31:16 -06:00
Kyle Gach
59f926afa6 Address comments and further changes
- Limit to react, vue, and svelte renderers
- `addon-vitest` -> `addon-test`
- `addon-vitest/plugin` -> `addon-test/vite-plugin`
- Add requirements
- Add more details and examples about framework plugins
- Add more detail about test setup file
- Move comparison to previous test runner into its own section
- Format snippets
2024-09-03 12:11:11 -06:00
Kyle Gach
4aeab56311 Further updates 2024-08-27 09:52:16 -06:00
Kyle Gach
a556c3fef1 Merge branch 'next' into docs-addon-vitest
* next:
  Address feedback
  Address comments
  Typo
  Further updates
  Address feedback
  Remove TK
  Futher updates to #28716
2024-08-26 15:12:50 -06:00
Kyle Gach
8cdbbaf95a More polish 2024-08-26 12:34:26 -06:00
Kyle Gach
333266cb0d Address feedback 2024-08-22 11:29:35 -06:00
Kyle Gach
b96bce0a20 Address comments 2024-08-15 10:31:11 -06:00
Kyle Gach
99d5104dee Merge branch 'next' into update-story-globals-docs
* next: (281 commits)
  fix
  add `node:` prefixes
  move nx cache dir up to avoid vite watching it for our main storybook
  Bump version from "8.3.0-alpha.5" to "8.3.0-alpha.6" [skip ci]
  Write changelog for 8.3.0-alpha.6 [skip ci]
  minor fixes
  Yeah... don't look at this
  simplify eslint config further
  more fixes
  cleanup `no-extraneous-dependencies`
  fix style
  change pool options in sandboxes
  revamp sandbox setup to move to a workspace file
  fix typescript issue
  skip vitest integration in nextjs sandbox
  skip sveltekit tests
  fix script
  increase test timeout
  fix parallelism and skip more stories
  fix windows unit tests
  ...
2024-08-14 21:17:40 -06:00
Kyle Gach
838b611b3b Further updates
- Polish and details
- Make Viewport match structure and style of Backgrounds
2024-08-14 21:13:40 -06:00
Kyle Gach
cb78a41bc9 Address feedback
- Explain globals API and feature flag once, at the top
- Reference that callout in consistent manner throughout page
- Wrap entire docs section in "feature flag callout" to better differentiate
- Remove headings for with/without feature flag sections
    - Headings will be removed in SB 9+, so they're not a stable reference
2024-08-12 14:39:45 -06:00
Yann Braga
7798169d3c Merge branch 'next' into vitest-integration 2024-08-12 20:42:15 +02:00
Kyle Gach
1a802183da Futher updates to #28716
- Improve feature flag callouts
- Add API details to migration notes and clarify examples
- Restructure guides to use sub-heading structure instead of snippet tabs
    - Offers ability to explain differences between APIs more thoroughly
    - Also a better experience, because users' tab preference will not apply across snippets
- Clarify example snippets
    - Only demonstate one concept per snippet
- Adjust heading levels
- Add globals API reference section
- Improve snippet filenames
    - Remove redundant `storybook-` prefix
- Prose tweaks
2024-08-09 15:51:28 -06:00
Yann Braga
1c2888da71 Merge branch 'next' into vitest-integration 2024-08-09 13:15:47 +02:00
Valentin Palkovic
70193c9533 Merge remote-tracking branch 'origin/next' into valentin/nextjs-vite 2024-08-07 07:26:32 +02:00
Kyle Gach
8dfc5cc4d2 Update badly-migrated snippet
- Migration script did not correctly handle snippets with paths that had different filenames
2024-08-06 14:42:26 -06:00
Yann Braga
17ba6e6801 Merge branch 'next' into vitest-integration 2024-08-06 17:36:38 +02:00
jonniebigodes
d2208020f0
Merge branch 'next' into norbert/globals-docs-changes 2024-08-06 15:01:18 +01:00
Yann Braga
c748186d20 Merge branch 'next' into vitest-integration 2024-08-06 13:42:21 +02:00
Valentin Palkovic
e70b42f9f0 Merge remote-tracking branch 'origin/next' into valentin/nextjs-vite 2024-08-06 10:45:29 +02:00
Kyle Gach
a983514588 Docs updates
- Use a more stable heading
    - "Experimental" is temporary
- Update package names
2024-08-05 14:46:58 -06:00
Valentin Palkovic
7bd22d4dea Edit Next.js documentation 2024-08-05 10:40:35 +02:00
Valentin Palkovic
9398495cca Documentation: Update Next.js portable stories instructions for Vitest 2024-08-05 09:48:11 +02:00
jonniebigodes
133c71c9f5 Polish the Background Viewports and Toolbars docs and examples 2024-08-03 00:44:51 +01:00
Norbert de Langen
9781fbc798
Merge branch 'next' into norbert/globals-docs-changes 2024-08-02 14:01:23 +02:00
Kasper Peulen
8f2c88dd6b Use internal renderToCanvas method if testingLibaryRender is not specified 2024-07-31 16:30:19 +02:00
Kyle Gach
339b541b31 Document Story.run() instead of Story.play() 2024-07-30 11:17:25 -06:00
Norbert de Langen
535a67da4d undo work for addon-toolbars 2024-07-30 10:42:24 +02:00
Norbert de Langen
7534db5a48 remove defaultValue, change toolbars config to use parameters instead of globalTypes 2024-07-29 16:16:58 +02:00
Norbert de Langen
0d7d389faf apply requested changes to docs
Co-authored-by: jonniebigodes <joaocontadesenvolvimento@gmail.com>
2024-07-29 11:47:02 +02:00
Norbert de Langen
ae7f432125 changes to viewport addon in relation to the globals work 2024-07-26 13:23:29 +02:00
Norbert de Langen
acc974bad5 changes to backgrounds addon in relation to the globals work 2024-07-26 12:49:02 +02:00
Andrew Holloway
cb54e339df
Update storybook-theme-example-variables.md
Update the import statement example to match conventions in storybook 8.2.x and newer
2024-07-15 10:44:52 -05:00
Yann Braga
1fa931f417
Merge branch 'next' into patch-1 2024-07-15 05:09:42 -07:00
kyletsang
20fc543a4b chore: fix typo in generated button story 2024-07-11 15:54:36 -07:00
Kyle Gach
4ae680cdec
Merge branch 'next' into yann/document-portable-stories 2024-07-10 13:02:40 -06:00