📚 docs(stories): extract deprecated containers into own story files#768
Open
acasazza wants to merge 1 commit into
Open
📚 docs(stories): extract deprecated containers into own story files#768acasazza wants to merge 1 commit into
acasazza wants to merge 1 commit into
Conversation
- Split Skus.stories.tsx → Sku.stories.tsx (standalone) + Skus.stories.tsx (iterator) - Add SkuList.stories.tsx and SkuListsContainer.stories.tsx (deprecated) - Add OrderContainer.stories.tsx (deprecated) extracted from Order.stories.tsx - Add PricesContainer.stories.tsx (deprecated) extracted from prices.stories.tsx - Add AvailabilityContainer.stories.tsx (deprecated) + AvailabilityTemplate.stories.tsx - Fix all meta.title values to sit under the correct Storybook menu - Remove deprecated-component sections from parent story doc pages - Replace PricesContainer/SkusContainer usage in non-deprecated stories with standalone components Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
gciotola
approved these changes
May 20, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Each deprecated container component now has its own dedicated Storybook story file, keeping the parent stories clean and focused on the recommended API.
Changes
SKUs
Skus.stories.tsx→ split intoSku.stories.tsx(standalone<Sku>) andSkus.stories.tsx(<Skus>iterator)SkuList.stories.tsx— standalone<SkuList>SkuListsContainer.stories.tsx— deprecated, with migration guideOrders
OrderContainer.stories.tsx— deprecated, with migration guide pointing to<Order>Order.stories.tsx— removedOrderContainersectionPrices
PricesContainer.stories.tsx— deprecated, with migration guide pointing to standalone<Price>prices.stories.tsx— title fixed toComponents/Prices/Price, deprecated stories removed,RenderPropStoryupdated to use standalone<Price>Availability
AvailabilityContainer.stories.tsx— deprecated, with migration guideAvailabilityTemplate.stories.tsx— own story with all template-specific stories (custom labels, lead times, shipping, render prop)availability.stories.tsx— title fixed toComponents/Availability/Availability, extracted sections removedNotes
SkusContainer.stories.tsx(deprecation warning + migration guide)meta.titlevalues now sit under the correct Storybook submenu (e.g.Components/Prices/...,Components/Availability/...)hooksandreact-componentspackages (unrelated to this PR)