69 Commits

Author SHA1 Message Date
Jeppe Reinhold
d3f533f6fb Don't expose 'count' state in Button example component as a prop 2024-02-26 23:37:23 +01:00
Jeppe Reinhold
982be2deac bring back fix for resetting story args in Svelte 5 2024-02-26 16:20:34 +01:00
Valentin Palkovic
595c32dca1 Replace @storybook/jest by @storybook/test 2024-01-12 15:43:42 +01:00
Kasper Peulen
9ff64bc57e
Merge pull request #25238 from storybookjs/kasper/remove-ts-magic
Core: Error on explicit actions while rendering or playing
2024-01-04 09:38:15 +01:00
Yann Braga
1be44eb1b4 remove .stories.mdx stories and fix tests 2023-12-29 16:26:32 -03:00
Kasper Peulen
994b1e7f25 Remove fn functions from svelte 2023-12-28 15:38:22 +01:00
Kasper Peulen
719c2303f9 Fix svelte stories 2023-12-28 14:06:57 +01:00
Kasper Peulen
6ca55dc704 Fix svelte TS issues 2023-12-28 11:04:08 +01:00
Kasper Peulen
7a6b26a8de Assign explicit actions to CLI stories 2023-12-28 10:03:39 +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
1fb8d01e25 Remove /<renderer> from URLs in CLI templates 2023-11-27 20:57:51 -07:00
Jeppe Reinhold
4784208378 fix decorator e2e test in dev 2023-11-22 00:56:05 +01:00
paoloricciuti
4a7b7e0a98 add test for decorators run once 2023-11-20 20:43:18 +01:00
Jeppe Reinhold
692cf75bb1 e2e test for decorated svelte source output in docs 2023-11-10 14:36:18 +01:00
Kasper Peulen
4647e9f2be Reformat 2023-10-31 10:49:58 +01:00
Kasper Peulen
76c3821987 Remove await from getByX 2023-10-31 08:58:58 +01:00
Yann Braga
11d1e031e5 use @storybook/test in CLI templates 2023-10-27 16:00:46 +02:00
Jeppe Reinhold
270c94da50 support javascript in Svelte Vite docgen 2023-10-09 14:32:10 +02:00
j3rem1e
70d43ab43a Ignore type checking of globalThis 2023-09-18 20:40:54 +02:00
j3rem1e
048d7c6613 Move e2e tests into ButtonView 2023-09-14 21:10:13 +02:00
j3rem1e
e0fb28981d Adding e2e to test Svelte documentation 2023-09-09 19:40:30 +02:00
Yann Braga
de35e3eb05 fix sandbox template Form components
- for Vue, Vue3, HTML, Svelte, Preact, HTML and Angular
2023-06-19 21:10:36 +02:00
Yann Braga
ecbcad7b9d remove unnecessary wrapper css class 2023-04-19 12:20:04 +02:00
JW
1ae534cfaf Scope page.css 2023-04-19 12:09:24 +02:00
JW
078e3cf2d9 Scope Header.css 2023-04-19 12:07:14 +02:00
jonniebigodes
85adfc2986 Updates code references to 7.0 2023-03-30 21:05:45 +01:00
Jeppe Reinhold
440f6c02e1 Merge branch 'next' of github.com:storybookjs/storybook into 21470-bug-the-reset-controls-button-appears-to-be-resetting-the-value-back-to-undefined 2023-03-21 09:28:37 +01:00
Jeppe Reinhold
dbc1d81d5d add story to test reset story args in svelte 2023-03-17 22:19:50 +01:00
Yann Braga
4ec97162f0 update renderer templates to provide correct typescript examples 2023-03-17 15:47:50 +01:00
Yann Braga
1d8c2f7766 fix typechecks 2023-02-16 10:38:38 +01:00
Ian VanSchooten
62a3dea944 Rename ts and ts-legacy 2023-01-25 17:55:50 -05: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
Norbert de Langen
fe9b5d6cee
Merge branch 'next' into norbert/sb-1063-vite-in-dev-mode-with-storystorev6 2022-12-13 09:14:33 +01:00
Jeppe Reinhold
9b5584c052 set default empty string on Button label 2022-12-13 00:15:37 +01:00
Norbert de Langen
3342776320
fix references to global in template dirs 2022-12-09 22:03:35 +01:00
Norbert de Langen
f5260920ca
fixing typings issues 2022-12-09 20:44:55 +01:00
Kasper Peulen
c44a33b5bf Fix check commanbd 2022-12-01 11:41:56 +01:00
Kasper Peulen
3d3265e195 Svelte: Use JSDocs and put manual enum arg type back as it is not inferred 2022-12-01 11:06:20 +01:00
Jeppe Reinhold
2cb1e88008
Merge pull request #19987 from storybookjs/jeppe/fix-svelte-decorators-slots
Svelte: Fix decorators with slots
2022-11-30 12:34:26 +01:00
Kasper Peulen
09dd5d7f73 Update CLI templates to TS 4.9 2022-11-29 17:03:55 +01:00
Kasper Peulen
1b08b3fdcf Svelte: Remove render functions and infer argTypes for CLI templates
I also tried to align more with svelte conventions:
- Forward click event with on:click
- Don't use props for events like you would do in react
2022-11-29 15:46:07 +01:00
Jeppe Reinhold
942e33919b cleanup 2022-11-29 13:17:22 +01:00
Jeppe Reinhold
3d43faef2a add decorator story to mdx stories 2022-11-29 12:23:03 +01:00
Jeppe Reinhold
e10534eddc add decorator stories to svelte renderer 2022-11-29 12:16:58 +01:00
Kasper Peulen
fb2cc54f0a Update layout comment 2022-11-17 16:55:37 +01:00
Kasper Peulen
da9433f91c Update Page stories template for 7 docs 2022-11-17 16:55:37 +01:00
Kasper Peulen
6f1588ff8e Update Header stories template for 7 docs 2022-11-17 16:55:37 +01:00
Kasper Peulen
b3e708b45d Update Button stories template for 7 docs 2022-11-17 16:55:37 +01:00
Jeppe Reinhold
55eff3ba38 Merge branch 'next' of github.com:storybookjs/storybook into jeppe/fix-svelte-in-docs 2022-11-02 13:30:52 +01:00
Tom Coleman
43f75b1fed Add docsPage tag to all Button/Header CLI templates 2022-11-02 17:02:43 +11:00