Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Svelte template don't render code attributes #17560

Closed
Tlahey opened this issue Feb 23, 2022 · 3 comments
Closed

Svelte template don't render code attributes #17560

Tlahey opened this issue Feb 23, 2022 · 3 comments

Comments

@Tlahey
Copy link

Tlahey commented Feb 23, 2022

Describe the bug
Hello, I try my luck here.

Since Storybook ^6.4.0, svelte code doc doesn't render the parameters.

Capture d’écran 2022-02-23 à 18 28 06

To Reproduce

  • Create a svelte project with npx sb init and run it.
  • Go to your localhost and Button component. On the Docs tab, you can click on show code and you will see this
    Capture d’écran 2022-02-23 à 18 28 06
  • But if you rollback to the v6.3.13 on your package.json + npm i, you don't have any troubles.
    Capture d’écran 2022-02-23 à 18 30 11

Additional context
I don't know if it is a new feature of @storybook/svelte that causes this regression or the addon @storybook/addon-svelte-csf need an issue.

Thanks.

@lauthieb
Copy link
Contributor

lauthieb commented Mar 1, 2022

Hi @shilman & all core contributors, we have this bug on https://github.com/Decathlon/vitamin-web/issues/990 reported by @GaspardMathon thanks to the work of @Tlahey.
Can you please help us? Thanks a lot in advance 🙏

@lauthieb
Copy link
Contributor

Hi Storybook team. Can you please help us? Thanks a lot :)

@shilman
Copy link
Member

shilman commented Apr 6, 2022

Zoinks!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.5.0-alpha.57 containing PR #17866 that references this issue. Upgrade today to the @next NPM tag to try it out!

npx sb upgrade --prerelease

Closing this issue. Please re-open if you think there's still more to do.

@shilman shilman closed this as completed Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants