Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Button variation styles are not directly supported by Dropdown buttons #659

Closed
4lejandrito opened this issue Feb 27, 2018 · 1 comment
Closed

Comments

@4lejandrito
Copy link
Member

4lejandrito commented Feb 27, 2018

Spec: https://lexicondesign.io/docs/patterns/buttons.html#variations.

At the moment style only support one of the main styles (primary or secondary). The variations can only be applied by manually adding the raw classes to the triggerClasses attribute:
triggerClasses = 'btn-outline-borderless'.

Here an example of my use case inside a jsp file:

<clay:dropdown-menu
    icon="share"
    style="secondary"
    triggerClasses="btn-outline-borderless"
    items="..."
/>

Thanks!

@carloslancha
Copy link
Contributor

This was fixed in #874

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants