Skip to content

feat: add MasterDetailLayout.DetailPlaceholder component#374

Merged
web-padawan merged 1 commit intomainfrom
feat/master-detail-layout-detail-placeholder
Apr 6, 2026
Merged

feat: add MasterDetailLayout.DetailPlaceholder component#374
web-padawan merged 1 commit intomainfrom
feat/master-detail-layout-detail-placeholder

Conversation

@vursen
Copy link
Copy Markdown
Contributor

@vursen vursen commented Apr 6, 2026

Summary

  • Add MasterDetailLayout.DetailPlaceholder sub-component that maps to the web component's detail-placeholder slot
  • Content is shown in the detail area when no detail is selected, and simply hidden (not shown as overlay) when the viewport is too narrow
  • Update child validation to accept DetailPlaceholder alongside Master and Detail
  • Add tests for placeholder rendering and validation

Part of vaadin/web-components#11348

🤖 Generated with Claude Code

Add a DetailPlaceholder sub-component that maps to the web component's
detail-placeholder slot, shown in the detail area when no detail is
selected and hidden (not overlaid) when the viewport is too narrow.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@web-padawan web-padawan merged commit 1e6c8b7 into main Apr 6, 2026
2 checks passed
@web-padawan web-padawan deleted the feat/master-detail-layout-detail-placeholder branch April 6, 2026 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants