generated from storybookjs/addon-kit
-
Notifications
You must be signed in to change notification settings - Fork 32
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
Restore & add support for legacy syntax #186
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xeho91
added
enhancement
New feature or request
help wanted
Extra attention is needed
minor
Increment the minor version when merged
prerelease
This change is available in a prerelease.
labels
Jul 5, 2024
xeho91
changed the title
Restore & support legacy
Restore & add support for legacy syntax
Jul 8, 2024
<Template>
component
🚀 PR was released in |
This was referenced Oct 22, 2024
This was referenced Oct 29, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enhancement
New feature or request
help wanted
Extra attention is needed
minor
Increment the minor version when merged
prerelease
This change is available in a prerelease.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Dependencies
Requires #181 to be merged first.
Objectives
Support for legacy components for backward compatibility:
<Meta>
<Meta>
todefineMeta
& insertion into<script context="module">
<Story>
let:args
&let:context
directives to innerchildren
snippet blockautodocs
prop totags={["autodocs"]}
source
by removing when is a shorthand or toparameters.docs.source.code
template
prop tochildren={<template identifier>}
<Template>
Add addon options -
StorybookAddonSvelteCsfOptions
pre-transform
hooksupportLegacy
Deprecation warnings, errors, messages
- writing the code (with TypeScript support and marking
<Template>
as deprecated)Update stories tests
LegacyTemplate
componentLegacyStory
component (and its legacy props)Meta
componentUpdate indexer
export const meta
syntaxMeta
componentTODO
📦 Published PR as canary version:
4.2.0--canary.186.ff8a94d.0
✨ Test out this PR locally via:
Version
Published prerelease version:
v5.0.0-next.4
Changelog
💥 Breaking Change
@storybook/docs-tools
dependency #190 (@JReinhold)🚀 Enhancement
🐛 Bug Fix
autodocs
tag issue and extractingrawCode
#201 (@xeho91)🏠 Internal
Authors: 4