feat(storybook): upgrade to v10#7368
Conversation
| TooltipLinkList, | ||
| TooltipLinkListLink, | ||
| } from "@storybook/components"; | ||
| } from "storybook/internal/components"; |
There was a problem hiding this comment.
question: the migration docs indicate anything moved to internal might be deprecated in v10, is this the right package to use here and if we have to do we have a ticket/plan for migrating off it asap?
There was a problem hiding this comment.
This is within our addon (version-picker) and the migration docs also mention:
"Addon authors may continue to use the internal packages, there is currently not yet any replacement."
I might create a ticket to keep an eye on it essentially, but not sure there's much that can be done right now other that rewrite all these components and make them internal for our Storybook only?
There was a problem hiding this comment.
suggestion: what do you think about adding a comment briefing explaining this and/or linking to the ticket once its raised?
Might be worth being clear Storybook only recommend addon authors use this API and it shouldn't be used elsewhere.
| import { ADDON_ID, TOOL_ID } from "./version-picker/constants"; | ||
| import { VersionPicker } from "./version-picker"; | ||
| import { API_PreparedIndexEntry, API_StatusObject } from "@storybook/types"; | ||
| import { API_PreparedIndexEntry } from "storybook/internal/types"; |
There was a problem hiding this comment.
Question: is this still needed? If it is, is it the appropriate type to use given that it's now internal?
db4acba to
79d67fa
Compare
6a5f8c6 to
e2e8404
Compare
|
Blocked until this is resolved storybookjs/storybook#32007 |
2aa33a1 to
5943b5e
Compare
19df6eb to
dd8e86b
Compare
tomdavies73
left a comment
There was a problem hiding this comment.
Nothing further to add from me @nineteen88, there does seem to still be some leftover legacy usage of hideInSidebar. Apart from that it looks good though!
b0d6543 to
a11ba2f
Compare
aedd560 to
9a03e3d
Compare
3280628 to
ed1a36d
Compare
- change the way we hide stories to the documented method as per Storybook docs
|
🎉 This PR is included in version 159.10.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |






Proposed behaviour
Current behaviour
Checklist
QA
Additional context
Testing instructions