Skip to content

refactor!: replace expand property with expandMaster and expandDetail#11521

Merged
web-padawan merged 3 commits into
mainfrom
fix/mdl-expand-master-detail-attrs
Apr 20, 2026
Merged

refactor!: replace expand property with expandMaster and expandDetail#11521
web-padawan merged 3 commits into
mainfrom
fix/mdl-expand-master-detail-attrs

Conversation

@vursen

@vursen vursen commented Apr 20, 2026

Copy link
Copy Markdown
Contributor

Description

Replaces the string-valued expand property ('master' | 'detail' | 'both') on vaadin-master-detail-layout with two independent boolean properties: expandMaster / expand-master and expandDetail / expand-detail. Both default to false, so master and detail areas no longer expand by default.

Part of #11519

Type of change

  • Feature

vursen and others added 2 commits April 20, 2026 16:21
Replace the string-valued `expand` property ('master' | 'detail' | 'both')
with two independent boolean properties: `expandMaster` / `expand-master`
and `expandDetail` / `expand-detail`. Both default to false, so master
and detail areas no longer expand by default.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vursen vursen force-pushed the fix/mdl-expand-master-detail-attrs branch from f0ed154 to d8ead72 Compare April 20, 2026 12:22
@vursen vursen changed the title refactor!: replace MDL expand property with expand-master and expand-detail refactor!: replace expand property with expand-master and expand-detail Apr 20, 2026
@vursen vursen changed the title refactor!: replace expand property with expand-master and expand-detail refactor!: replace expand property with expandMaster and expandDetail Apr 20, 2026
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

@web-padawan web-padawan merged commit d01a809 into main Apr 20, 2026
10 checks passed
@web-padawan web-padawan deleted the fix/mdl-expand-master-detail-attrs branch April 20, 2026 12:48
isipkh110 pushed a commit to isipkh110/flow-components that referenced this pull request Apr 23, 2026
…aadin#9156)

## Description

Follow-up to the web component change
vaadin/web-components#11521

Replaces the `expand` enum-valued attribute on `MasterDetailLayout` with
two independent boolean properties:

- Removes the `ExpandingArea` enum and `get/setExpandingArea` methods
- Adds `isExpandMaster` / `setExpandMaster(boolean)` (defaults to
`false`)
- Adds `isExpandDetail` / `setExpandDetail(boolean)` (defaults to
`false`)
- Drops the `ExpandingArea` parameter from the two convenience
constructors; callers configure expansion via the new setters

Part of vaadin/web-components#11519

## Type of change

- Refactor

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vaadin-bot

Copy link
Copy Markdown
Collaborator

This ticket/PR has been released with Vaadin 25.2.0-alpha3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants