31 Commits

Author SHA1 Message Date
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
Jeppe Reinhold
12dcacc5d3 dont remount Svelte components on control change, make template stories reactive 2022-11-02 02:20:16 +01:00
Jeppe Reinhold
2e017abaa2 in Svelte templates, make backgroundColor prop optional 2022-11-01 21:53:30 +01:00
Kasper Peulen
96e68e4920 Migrate JS templates to CSF3 2022-10-31 11:54:00 +01:00
Kasper Peulen
960426dba3 Move all templates out of cli into renderers 2022-10-31 10:59:17 +01:00
Norbert de Langen
764697fc93
change every button in lib/cli/renderassets and renderer/*/template to use the label prop 2022-10-12 12:02:30 +02:00
Michael Shilman
bf3e0e4301 Update svelte-mdx.stories.mdx 2022-10-10 11:11:28 +08:00
Michael Shilman
8560f926af Fix svelte MDX 2022-10-10 10:59:03 +08:00
Michael Shilman
bcb4722860 Refactor MDX examples to sandboxes 2022-09-30 11:45:16 +08:00
Norbert de Langen
d2846e8c00
fix the svelte button component not accepting the onClick handler 2022-09-26 09:41:09 +02:00
Michael Shilman
150cf37d3c Skip story re-rendering test for vue3/svelte 2022-09-17 10:27:30 +08:00
Tom Coleman
062c73b900 Add placeholders so symlinks aren't broken 2022-09-15 10:56:20 +10:00
Tom Coleman
2abcf77c27 Added stories from Examples folder 2022-09-13 15:01:20 +10:00
Tom Coleman
5d424bb357
Merge branch 'next' into tom/sb-579-addon-interactions 2022-09-13 13:08:01 +10:00
Tom Coleman
646077fccb Implement form in vue+svelte 2022-09-12 16:47:38 +10:00
Norbert de Langen
752afaf992
FIX a spelling mistake 2022-09-08 14:07:21 +02:00
Norbert de Langen
1b86bf70d7
Merge branch 'next' into norbert/sb-574-addon-a11y
# Conflicts:
#	code/renderers/react/template/components/index.js
#	code/renderers/svelte/template/components/index.js
#	code/renderers/vue3/template/components/index.js
2022-09-08 12:15:44 +02:00
Norbert de Langen
385f610f23
Add a Svelte Html component 2022-09-08 11:53:46 +02:00
Tom Coleman
2f9373d879 Add Pre components to svelte and vue3 2022-09-05 17:08:08 +10:00
Michael Shilman
c96e14171e Svelte: Add template components for sandbox 2022-08-26 11:25:36 +08:00