freenowtech / freenowtech/wave

Accordion component in its compact variant does not support a buttonLabel value.

Open
#351 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
67
Forks
31
Avg merge
1d 8h
Merged PRs (30d)
4

Description

### Describe the feature you'd like

The design of the component in its `compact` variant is almost perfect for an implementation I am working on, sadly I would like to be able to use the button label feature as in its `default` version.

**Default variant**
![image](https://github.com/freenowtech/wave/assets/97235674/803127d4-5dc4-4922-8b8f-52665f2b119c)

**Compact variant**
![image](https://github.com/freenowtech/wave/assets/97235674/1b3b1394-0ef4-4fd0-9506-7dfa02018140)

### Describe alternatives you've considered

I tried to modify the component in its default variant with CCS to adapt the layout to look like the compact version but there is no class level access to the internal divs :(

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.