Skip to content

Dialog compound pattern #57

@mwarman

Description

@mwarman

Describe the story

Provide a clear description of the new feature or improvement to existing functionality.

Update the Dialog family of components to utilize the compound pattern.

The sub-components which are used to compose an implementation of a dialog, DialogHeading, DialogContent, DialogButtons, and DialogButton may be made properties of the Dialog component such as: Trigger, Content, Header, Title, Subtitle, Body, Footer, and Separator.

Acceptance criteria

Provide clear acceptance criteria to validate the story is complete.

GIVEN the Dialog component implements the compound pattern
WHEN an instance of Dialog is created
THEN the sub-components are internal to Dialog, i.e. not exported
AND the Dialog component UX is unchanged

Additional context

Add any other context about the story here.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions