809 Commits

Author SHA1 Message Date
Valentin Palkovic
595e7a4a88 Merge remote-tracking branch 'origin/next' into valentin/add-nunito-sans 2023-02-01 15:18:09 +01:00
Michael Arestad
c10df2e109 Updated typefaces and removed black typeface in favor of bold 2023-01-31 17:29:20 -07:00
Yann Braga
c23294a3b6 docs: update documentation regarding main.js to use default exports 2023-01-30 15:35:29 +01:00
jonniebigodes
77a563ce3b
Merge pull request #20784 from storybookjs/chore_small_addition_to_webcomponents
Chore: (Docs) Minor snippet fixes
2023-01-25 14:37:07 +00:00
jonniebigodes
faa12c29eb Minor fixes to snippets 2023-01-25 14:18:54 +00:00
Tom Coleman
54791a30c2 Fix one final usage of @storybook/addon-docs/blocks 2023-01-23 16:29:16 +11:00
Mostafa Sherif
675c0b479a run pretty-docs 2023-01-20 03:17:34 +00:00
Mostafa Sherif
61233bf5ef Merge branch 'next' of https://github.com/sheriffMoose/storybook into next 2023-01-20 03:16:07 +00:00
Mostafa Sherif
52afb7fb93 update docs with @shilman comments 2023-01-20 03:16:04 +00:00
Mostafa Sherif
608a4b94de
Merge branch 'storybookjs:next' into next 2023-01-19 22:03:40 -05:00
Mostafa Sherif
8018413e83
run docs:prettier:write 2023-01-19 20:43:16 -05:00
Mostafa Sherif
8660f62a30
update .mdx files with prettier 2023-01-19 20:37:26 -05:00
Mostafa Sherif
487c94ff98
docs: add documentation for story indexers
Closes #20478
2023-01-19 20:12:56 -05:00
jonniebigodes
76d85f114e
Merge branch 'next' into chore_docs_misc_feature_fixes 2023-01-19 18:09:04 +00:00
jonniebigodes
d224faf950 Misc docs changes 2023-01-19 17:59:38 +00:00
jonniebigodes
a61d2702b0 build pages docs changes 2023-01-19 17:56:47 +00:00
jonniebigodes
b6ba820bf4 storybook composition docs changes 2023-01-19 17:55:18 +00:00
jonniebigodes
fc5a10c5df publishing storybook docs changes 2023-01-19 17:54:30 +00:00
jonniebigodes
fe3c5bff24 package composition docs changes 2023-01-19 17:53:36 +00:00
jonniebigodes
6e0d199130 design integrations changes 2023-01-19 17:53:01 +00:00
jonniebigodes
5d6b7681cb setup page changes 2023-01-19 17:52:36 +00:00
jonniebigodes
9bec1ebbe7 install page changes 2023-01-19 17:52:10 +00:00
jonniebigodes
644fd8c862 intro essentials changes 2023-01-19 17:51:17 +00:00
jonniebigodes
0aacf4f4d9 essentials interactions changes 2023-01-19 17:49:25 +00:00
jonniebigodes
6c62487c3e typescrip config docs changes 2023-01-19 17:48:38 +00:00
jonniebigodes
1dc20dd637 upgrade docs changes 2023-01-19 17:47:05 +00:00
jonniebigodes
4b0346ba6b theming changes added 2023-01-19 17:46:26 +00:00
jonniebigodes
19b9eb567b telemetry changes 2023-01-19 17:45:34 +00:00
jonniebigodes
a169e95856 sidebars and urls changes 2023-01-19 17:44:21 +00:00
jonniebigodes
cc4c4361d6 configure overview changes 2023-01-19 17:42:47 +00:00
jonniebigodes
1561c07c37 images and assets changes 2023-01-19 17:40:41 +00:00
jonniebigodes
9476e28433 Environment vars changes 2023-01-19 17:38:42 +00:00
jonniebigodes
4e68732915 Install addons page 2023-01-19 17:38:03 +00:00
Tom Coleman
fa16ccb518
Merge pull request #20530 from storybookjs/tom/sb-1144-update-api-of-story-block
Docs: Refactor props of Story block
2023-01-18 08:12:19 +11:00
Kasper Peulen
b89c686969
Merge pull request #20640 from storybookjs/ts-49-exampl
Docs: Add TS 4.9 snippets for React
2023-01-17 21:06:21 +01:00
Kasper Peulen
7452663a26 Prettyyy 2023-01-17 08:10:49 +01:00
Kasper Peulen
0eb86e3660 Add react examples back 2023-01-17 06:57:19 +01:00
Kasper Peulen
d608c139ef Delete files 2023-01-17 06:47:54 +01:00
Ian VanSchooten
eae25626ff Update docs for type import change 2023-01-16 22:48:54 -05:00
Kasper Peulen
5086938693 Create the ts 4.9 examples 2023-01-16 20:19:05 +01:00
Kasper Peulen
de3470aeef Fix syntax errors 2023-01-16 20:19:05 +01:00
jonniebigodes
e19cb11ce5
Merge pull request #20633 from storybookjs/chore_minor_docs_snippets_additions
Chore: (Docs) Updates to code snippets and docs
2023-01-16 13:20:16 +00:00
jonniebigodes
e6b4b07e2f Updates to code snippets and docs 2023-01-16 12:58:08 +00:00
Norbert de Langen
a27905d153
Merge pull request #20619 from ethanmick/ethanmick/fix-deprecated-react-vfc
fix: Change deprecated `React.VFC` to `React.FC`
2023-01-16 11:33:46 +01:00
Ethan Mick
6d29300a5e
fix: Change deprecated React.VFC to React.FC
The type `VFC` (VoidFunctionComponent) is deprecated and is equivalent
to `FC` (FunctionalComponent).

https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/react/index.d.ts#L531

This commit updates the generated files from an installation to use the
non-deprecated React type.
2023-01-13 13:12:51 -05:00
Kyle Gach
b9ed98f4ec Format snippets 2023-01-13 09:40:13 -07:00
Kyle Gach
45d053b1bc Address comments
- Add missing snippet
2023-01-13 08:24:29 -07:00
Tom Coleman
3116dd7f35 Merge remote-tracking branch 'origin/next' into tom/sb-1144-update-api-of-story-block 2023-01-13 20:04:02 +11:00
Kyle Gach
b97d94e005 Address feedback
- Newline following filename comment
- Fix URLs in comments
- Ensure consistent usage of `ts` vs `tsx` language
2023-01-12 14:17:39 -07:00
Kyle Gach
3c45882cb1 Update web components snippets (JS & TS)
- For these pages (so far):
  - /docs/get-started/whats-a-story
  - /docs/get-started/setup
  - /docs/writing-stories/introduction
  - /docs/writing-stories/args
  - /docs/writing-stories/parameters
  - /docs/writing-stories/decorators
  - /docs/writing-stories/play-function
  - /docs/writing-stories/loaders
  - /docs/writing-stories/build-pages-in-storybook
  - /docs/writing-stories/stories-for-multiple-components
  - /docs/api/csf

- Convert some snippets to "common" ones
- Remove unused snippets
2023-01-11 21:35:19 -07:00