144 Commits

Author SHA1 Message Date
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
jonniebigodes
3b7f386470 Snippets updates 2023-01-06 19:15:31 +00:00
Tom Coleman
427ec4433d Rename docsPage to autodocs
And change semantics: `docsPage:true` = `autodocs: 'tag'` and `docsPage: 'automatic'` = `autodocs: true`.
2022-12-21 21:49:57 +11:00
jonniebigodes
59f4096f88
Merge branch 'next' into docs-updates-for-mdx-2 2022-12-16 13:29:07 +00:00
Kyle Gach
bba86c86bc Remove /docs/api/mdx
- Update TOC
- Will redirect to `/docs/writing-docs/mdx`, as the content was almost entirely duplicated
- Remove unused images and snippets
2022-12-14 21:37:50 -07:00
jonniebigodes
df17553de0 Adds Docs 2 documentation 2022-12-13 18:22:21 +00:00
Kyle Gach
74f3252ff8 Add CSF 2->3 upgrade docs & snippets 2022-12-05 12:37:36 -07:00
Norbert de Langen
8d627d3079
Merge branch 'norbert/sb-798-figure-out-plan-for-package-structure-rework' into tech/introduce-preview-api 2022-11-18 16:17:40 +01:00
jonniebigodes
0727ef28d8 Angular snippets done 2022-11-17 18:18:31 +00:00
Kasper Peulen
d007839263 Prettier it all 2022-11-17 16:33:22 +01:00
Kasper Peulen
6a40b36875 Put Story type just above stories 2022-11-17 16:32:02 +01:00
Kasper Peulen
c57a2b96b1 Address more review points 2022-11-17 16:32:01 +01:00
Kasper Peulen
80b0337047 Split angular imports 2022-11-17 16:32:01 +01:00
Kasper Peulen
734a6f701b Upgrade snippets for v7 TS changes 2022-11-17 16:32:01 +01:00
Norbert de Langen
ed3a8ec642
step 4 2022-11-03 14:39:43 +01:00
jonniebigodes
46315a82ce Migrates examples to CSF 3 2022-09-15 00:54:47 +01:00
jonniebigodes
e7e6a2eb30 initial tweaks to the play function docs 2022-09-14 09:07:51 +01:00
jonniebigodes
6f771c4e20 Histogram migration examples to CSF 3 2022-09-08 21:20:10 +01:00
jonniebigodes
0b6051fc83 Adds why page 2022-09-07 16:39:26 +01:00
Norbert de Langen
249b1306cc
Merge branch 'next' into tech/root-change 2022-08-22 11:51:28 +02:00
Norbert de Langen
3d06286155
change the location of placeholder images to something we host ourselves
to reduce flake (you can ask yann what that means)
2022-08-05 15:05:10 +02:00
Norbert de Langen
36702ebe0c
I changed #root => #storybook-root
I changed #docs-root => #storybook-docs
2022-08-02 11:18:33 +02:00
Michael Shilman
40ccd92403 Merge branch 'next' into future/base 2022-07-15 11:09:15 -07:00
jonniebigodes
9966c1bf09 minor tweaks 2022-07-07 22:47:17 +01:00
jonniebigodes
fa0e4e1231 Angular CSF 3 snippets 2022-07-07 19:05:48 +01:00
Michael Shilman
63460cf5a1 Merge branch 'future/base' into future/SB-444 2022-06-29 10:00:47 +08:00
Norbert de Langen
3c6d2f3da5
Merge branch 'future/base' into addon-highlight
# Conflicts:
#	addons/a11y/package.json
#	addons/a11y/src/components/A11yContext.tsx
#	addons/essentials/package.json
#	examples/html-kitchen-sink/package.json
#	examples/official-storybook/main.ts
#	examples/official-storybook/package.json
#	examples/preact-kitchen-sink/package.json
#	examples/server-kitchen-sink/package.json
#	examples/svelte-kitchen-sink/package.json
#	examples/vue-kitchen-sink/package.json
#	examples/web-components-kitchen-sink/package.json
#	examples/web-components-kitchen-sink/yarn.lock
#	lib/core-server/src/__snapshots__/cra-ts-essentials_preview-dev-posix
#	lib/core-server/src/__snapshots__/cra-ts-essentials_preview-prod-posix
#	lib/core-server/src/__snapshots__/html-kitchen-sink_preview-dev-posix
#	lib/core-server/src/__snapshots__/html-kitchen-sink_preview-prod-posix
#	lib/core-server/src/__snapshots__/vue-3-cli_preview-dev-posix
#	lib/core-server/src/__snapshots__/vue-3-cli_preview-prod-posix
#	lib/core-server/src/__snapshots__/web-components-kitchen-sink_preview-dev-posix
#	lib/core-server/src/__snapshots__/web-components-kitchen-sink_preview-prod-posix
#	nx.json
#	workspace.json
#	yarn.lock
2022-06-29 00:16:55 +02:00
Norbert de Langen
e262d8c6a9
more Story to StoryFn convertion 2022-06-21 21:16:30 +02:00
Norbert de Langen
69a61b6c12
Story should StoryFn 2022-06-21 21:04:31 +02:00
Norbert de Langen
c29b2cb263
make it all imported by type, and convert to use to StoryFn 2022-06-21 20:08:15 +02:00
Norbert de Langen
493b15f137
wip 2022-06-21 19:45:47 +02:00
jonniebigodes
072f25397c cleanup snippets 2022-04-27 04:34:58 +01:00
jonniebigodes
76be573b59 update story name mdx 2022-04-27 04:02:46 +01:00
jonniebigodes
1599754444 adds missing snippets 2022-04-27 03:58:45 +01:00
jonniebigodes
32b01120ef addressing Yann's feedback 2022-04-19 21:43:05 +01:00
jonniebigodes
c5c64b4984 Storybook 6.5 testing updates 2022-04-14 19:08:57 +01:00
winkerVSbecks
1c478f9ff3 Merge branch 'next' into addon-highlight 2022-04-11 19:26:41 -04:00
jonniebigodes
0460fb4194
Merge branch 'next' into documentation-fixes 2022-04-08 19:26:04 +01:00
Yann Braga
3c2858ac94 Merge branch 'next' into addon-highlight 2022-04-05 11:29:43 +02:00
hiroyuki kikuchi
233568cc1d fix(typo): ammount -> amount 2022-04-01 19:08:36 +09:00
hiroyuki kikuchi
945cf7b47c fix(typo): ammount -> amount 2022-04-01 19:08:31 +09:00
hiroyuki kikuchi
77095e786d fix(typo): implmentation -> implementation 2022-04-01 19:08:10 +09:00
winkerVSbecks
dff40ca16c add code snippets for core frameworks 2022-03-28 14:43:02 -04:00
Pepijn
aef43db88e Fix many typos in the documentation 2022-03-18 19:22:17 +01:00
Michael Shilman
312e79d081
Merge pull request #17387 from storybookjs/chore_docs_updates_for_angular
Chore: (Docs) Updates to the Angular documentation
2022-02-07 23:03:40 +08:00
jonniebigodes
fc9cd60e59 updates decorators docs 2022-02-02 21:00:19 +00:00
jonniebigodes
e7d1401a3d Updates per feedback 2022-02-02 18:07:10 +00:00
jonniebigodes
b65161364c Updates to the Angular documentation 2022-02-01 22:25:21 +00:00
Jonathan Beller
14c9e6be58 fix other instances of typo 2022-01-31 11:55:14 -05:00
Rasmus Nilsson
7733b1931d Fix example syntax by adding missing = 2022-01-19 14:52:22 +01:00