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

chore(select): add example of empty menu with a div #2337

Merged
merged 1 commit into from
Oct 23, 2019

Conversation

mcoker
Copy link
Contributor

@mcoker mcoker commented Oct 4, 2019

fixes #2333

@patternfly-build
Copy link

PatternFly-Next preview: https://patternfly-next-pr-2337.surge.sh

aria-labelledby="{{id}}-label"
{{#unless select--IsExpanded}}hidden{{/unless}}
{{#if select--attribute}}
{{{select--attribute}}}
{{/if}}>
{{#if select--IsEmptyMenu}}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be select--HasEmptyMenu ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dunno... I think Is[whatever] seems to show an example variation. Like IsExpanded, IsTypeahead, or IsMultiselect identifies the example. IsEmptyMenu shows the empty menu example. I see HasGroups or HasCustomLabel more as a toggle to include something that is optional, though the line seems blurry and I could totally go either way with it :) Let me know if you'd still like me to update it.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the explanation that definitely makes sense from the example side. "Is Empty Menu" just reads strange, but no worries!

@mcoker
Copy link
Contributor Author

mcoker commented Oct 22, 2019

@christiemolloy rebased and updated since this was using the old hbs format

@christiemolloy
Copy link
Member

Approved but there is a conflict

@redallen
Copy link
Contributor

🎉 This PR is included in version 2.39.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@mcoker mcoker deleted the issue-2333 branch December 16, 2019 22:53
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

Successfully merging this pull request may close these issues.

4 participants