Skip to content

Details Refresh Tracking Issue #398

@emplums

Description

@emplums

This is a tracking issue for another refactor of the Details component.

Goals

  • Simplify the API of Details. Currently there are a few different patterns that consumers of Details can use. Would it be possible to offer only one pattern that achieves all needed functionality?
  • Add an overlay prop to Details which closes the menu when a click event outside of it is fired.

API / Test cases

  • Provides a customizable toggle function
  • Calls toggle function when child component triggers it
  • Provides the open state to child components
  • Renders content when <summary> is clicked
  • Has access to default theme and system props
  • Sets reset styles on wrapper component
  • Respects overlay prop by adding overlay styles when open state is true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions