docs: update Master-Detail Layout for 25.2 API changes#5449
Open
web-padawan wants to merge 2 commits intomainfrom
Open
docs: update Master-Detail Layout for 25.2 API changes#5449web-padawan wants to merge 2 commits intomainfrom
web-padawan wants to merge 2 commits intomainfrom
Conversation
e4c3f6f to
3d05a0f
Compare
Preview DeploymentThis PR has been deployed for preview. URL: https://docs-preview-pr-5449.fly.dev Built from 117f48f |
Update documentation and demos to align with the new MasterDetailLayout API: replace masterMinSize/detailMinSize with expandingArea, replace overlayMode/stackOverlay with overlaySize, replace forceOverlay with masterSize="100%". Add detail placeholder section. Bump Vaadin to 25.2. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
3d05a0f to
a1c3ae7
Compare
vursen
reviewed
Apr 6, 2026
vursen
reviewed
Apr 6, 2026
vursen
reviewed
Apr 6, 2026
vursen
reviewed
Apr 6, 2026
vursen
reviewed
Apr 6, 2026
vursen
reviewed
Apr 6, 2026
Co-authored-by: Sergey Vinogradov <mr.vursen@gmail.com>
vursen
reviewed
Apr 6, 2026
| <MasterDetailLayout.Detail> | ||
| {selectedItem && <ItemDetail item={selectedItem} />} | ||
| </MasterDetailLayout.Detail> | ||
| <div slot="detail-placeholder">Select an item to see details</div> |
Contributor
There was a problem hiding this comment.
This doesn't work as MasterDetailLayout only accepts subcomponents as children. I've created a PR to add a dedicated MasterDetailLayout.DetailPlaceholder subcomponent: vaadin/react-components#374
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
masterMinSize/detailMinSizewithexpandingAreaAPIoverlayMode/stackOverlaywithoverlaySizeforceOverlaywithmasterSize="100%"sincebadgesincebadges for new 25.2 APIs (Expanding Area, Overlay Size)[stack]state, rename[containment]to[overlay-containment], add[expand]statesPart of vaadin/web-components#11348
Test plan
sincebadges render for new sections🤖 Generated with Claude Code