Skip to content

@wordpress/ui: Add side sheet variant to Dialog #75291

@jameskoster

Description

@jameskoster

After #75183 lands let's add a side sheet variant. A need for such a variant exists in order to power the recently-updated quick edit experience (see #75173).

I think the spec is relatively straight-forward, but we can discuss details further in this issue.

  • Shares the same underlying modal foundation (focus management, overlay, escape handling, props).
  • Differs only in placement, motion, and layout constraints.
  • Anchored to the right edge of the viewport.
  • Full height of viewport.
  • Enters by sliding in from the edge.
  • Exits by sliding out to the same edge.

The main design decision is whether the sheet should be slightly offset from the viewport edge (like the quick edit panel is currently).

Metadata

Metadata

Assignees

Labels

Design SystemIssues related to the system of combining components according to best practices.[Package] UI/packages/ui[Type] EnhancementA suggestion for improvement.

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions