44 Commits

Author SHA1 Message Date
Kasper Peulen
7452663a26 Prettyyy 2023-01-17 08:10:49 +01:00
Kasper Peulen
d608c139ef Delete files 2023-01-17 06:47:54 +01: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
e6b4b07e2f Updates to code snippets and docs 2023-01-16 12:58:08 +00: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
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
jonniebigodes
85705223d6 Fix docs prettier 2023-01-05 14:59:46 +00:00
jonniebigodes
b47789d100 Updates per feedback 2023-01-05 14:53:03 +00:00
jonniebigodes
857721dddd Update snippet for CI 2022-12-23 19:16:40 +00:00
jonniebigodes
2c8e34e0b2 Fix typo in import 2022-12-23 18:51:10 +00:00
jonniebigodes
55567c564f API - CSF page 2022-12-23 18:48:39 +00:00
jonniebigodes
470e4ecf71 A11y testing 2022-12-23 16:29:53 +00:00
jonniebigodes
def3a69d47 Fix prettier issue for wc button example 2022-12-22 15:16:47 +00:00
jonniebigodes
5ab2cade7d Minor fixes to wc snippets 2022-12-22 15:06:02 +00:00
jonniebigodes
274fc37f7f API to Configure section examples 2022-12-22 15:02:43 +00:00
jonniebigodes
73fd4bdae9 Up to Essential section 2022-12-21 14:51:22 +00:00
jonniebigodes
befbe50cbe Adds AutoDocs webcomponent snippet (js/ts) 2022-12-20 15:05:06 +00:00
Kyle Gach
c990dbdd09 Address comments
- Update web-components snippet per https://github.com/storybookjs/storybook/pull/20053#discussion_r1037861514
2022-12-05 12:37:36 -07:00
Kyle Gach
74f3252ff8 Add CSF 2->3 upgrade docs & snippets 2022-12-05 12:37:36 -07:00
Kyle Gach
2cee61b651 Update snippets to CSF 3
- Fix some minor errors
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
Kasper Peulen
d007839263 Prettier it all 2022-11-17 16:33:22 +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
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
Michael Shilman
40ccd92403 Merge branch 'next' into future/base 2022-07-15 11:09:15 -07:00
jonniebigodes
7faf40d75e WebComponents CSF 3 2022-07-07 18:04:56 +01:00
Michael Shilman
63460cf5a1 Merge branch 'future/base' into future/SB-444 2022-06-29 10:00:47 +08:00
Norbert de Langen
493b15f137
wip 2022-06-21 19:45:47 +02:00
winkerVSbecks
dff40ca16c add code snippets for core frameworks 2022-03-28 14:43:02 -04:00
Olivier Gafner
e6e62c6e59 add list-story-unchecked snippet 2022-02-17 22:45:19 +01:00
jonniebigodes
62f7253dfd Minor polishes for consistency 2021-11-09 01:41:54 +00:00
jonniebigodes
c4405f6ab3 Writing Stories CSF 2.0 2021-11-03 23:31:14 +00:00
jonniebigodes
f9b837e313 fix toolbar docs with better examples and minor polish 2021-07-13 20:14:31 +01:00
jonniebigodes
c643702454 adjusts example button snippets 2021-06-18 17:34:13 +01:00
jonniebigodes
8b8f6b79e4 adjustments to the args snippet 2021-05-17 22:31:53 +01:00
Gaëtan Maisse
29c2285cf4
docs: add missing web components snippets for env variable section 2021-03-14 14:56:14 +01:00
Gaëtan Maisse
86dcf1c1e1
docs: add missing web components snippets for viewports addon section 2021-03-14 14:56:14 +01:00
Gaëtan Maisse
330186261b
docs: add missing web components snippets for introduction sections 2021-03-14 14:45:51 +01:00
Gaëtan Maisse
e305f3b8cf
docs: add Web Component code snippet for Get Started and Writing Stories sections 2021-03-09 20:02:58 +01:00