Skip to content

Drawer: updates to support master/detail layout #3609

@mcoker

Description

@mcoker

https://github.com/patternfly/patternfly-next/pull/2520/files

  • adds an element .pf-c-drawer__content-body inside of .pf-c-drawer__content to hold the content passed to the __content element
  • adds aria-hidden="true" to the __panel element if the drawer is not expanded
  • <DrawerContent> should support a prop to add padding to the content, which applies .pf-m-padding to .pf-c-drawer__content-body
  • <Drawer> should support...
    • prop to position the panel to slide out from the left by applying .pf-m-panel-left to .pf-c-drawer
    • prop to use a line as the divider between the panel and content (instead of a box shadow) by applying .pf-m-divider to .pf-c-drawer

cc @mattnolting

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions