Describe the feature
The Expandable Component should have a loser coupling by making a new headless component Disclosure
- making the
DisclosureContent usable independent of the context
- Remove all styling from the Content, Trigger and Root
- Allow content expansion also in horizontal direction
- Throw a warning if the Content is not in a Root that provides the contetx and the Content does not have a aria-controlledby set
Create a new component CollapsibleButton that takes the content as a child and builds the Disclosure automatically
Why is this feature needed?
Increasing the developer experience for using expandables
Additional context
No response
Describe the feature
The Expandable Component should have a loser coupling by making a new headless component
DisclosureDisclosureContentusable independent of the contextCreate a new component CollapsibleButton that takes the content as a child and builds the Disclosure automatically
Why is this feature needed?
Increasing the developer experience for using expandables
Additional context
No response