Repository navigation
feat(mosaic): Compose profile sub-pages and footer with Panel parts - #11077
alexcarpenter wants to merge 3 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
🦋 Changeset detectedLatest commit: fe09d55 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Panel.Steps and Panel.Step use the headless Flow primitive, so steps swap in place in both card and flush profiles. direction and the transition data attributes stay available for a caller-added transition. Adds a FooterFlush profile story.


Description
Stacked on #11073. Replaces
Profile.FooterandProfile.SubPagewithPanelparts, so a page owns its scrolling body, pinned footer and sub-pages, and the same panel works outside aProfile.Panel.Bodyholds the title and content. Inside aProfile.ContentPanelit is the scrolling viewport, and a dev warning fires when a profile panel has none.Panel.Footerrenders after the body. Inside a profile it stays pinned below the scrolling body, withoutposition: stickyor a portal. In aflushprofile outside a dialog, the body grows with its content, the page scrolls, and the footer sits after the content.Panel.Steps/Panel.Stepwrap the headlessFlowprimitive. Steps swap in place with no transition, and focus moves to the open step's title, both inside and outside a profile.directionand Flow'sdata-starting-style/data-ending-stylehooks stay available for a caller-added transition.backonPanel.Rootputs the back button above the title.Profile.ContentPanelloseslabel,subPage,onSubPageChangeandsubPageDirection. It now provides the host context thatPanelreads.Panel.Body. Swingset's Panel page gains Sub-pages and Footer examples, the Profile stories use the new parts, a FooterFlush story shows the flush layout, and the staleProfile.Footer/Profile.SubPagedocs and changeset are removed.Not in this PR:
:subPage?URL segment inuseProfilePagesController, anddocs/views.mdguidance.Checklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change