Skip to content

Removed EuiKeyPadMenuItemButton in favor of just EuiKeyPadMenuItem#3062

Merged
cchaos merged 9 commits intoelastic:masterfrom
anishagg17:key
Mar 19, 2020
Merged

Removed EuiKeyPadMenuItemButton in favor of just EuiKeyPadMenuItem#3062
cchaos merged 9 commits intoelastic:masterfrom
anishagg17:key

Conversation

@anishagg17
Copy link
Copy Markdown
Contributor

@anishagg17 anishagg17 commented Mar 12, 2020

Summary

Fixes: #2098
removed EuiKeyPadMenuItemButton

Checklist

- [ ] Check against all themes for compatibility in both light and dark modes
- [ ] Checked in mobile
- [ ] Checked in IE11 and Firefox
- [ ] Props have proper autodocs
- [ ] Added documentation examples

  • Added or updated jest tests
    - [ ] Checked for breaking changes and labeled appropriately
    - [ ] Checked for accessibility including keyboard-only and screenreader modes
  • A changelog entry exists and is marked appropriately

@kibanamachine
Copy link
Copy Markdown

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

@myasonik
Copy link
Copy Markdown
Contributor

jenkins test this

@kibanamachine
Copy link
Copy Markdown

Preview documentation changes for this PR: https://eui.elastic.co/pr_3062/

Copy link
Copy Markdown
Contributor

@cchaos cchaos left a comment

Choose a reason for hiding this comment

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

@cchaos cchaos requested a review from chandlerprall March 16, 2020 20:25
@myasonik myasonik added the breaking change PRs with breaking changes. (Don't delete - used for automation) label Mar 16, 2020
@anishagg17
Copy link
Copy Markdown
Contributor Author

All changes have been made

@cchaos
Copy link
Copy Markdown
Contributor

cchaos commented Mar 17, 2020

Jenkins, test this

@kibanamachine
Copy link
Copy Markdown

Preview documentation changes for this PR: https://eui.elastic.co/pr_3062/

@cchaos
Copy link
Copy Markdown
Contributor

cchaos commented Mar 17, 2020

This example text needs to be updated:

<p>
The KeyPadMenuItem component is a link by default, but you can swap it
out for a KeyPadMenuItemButton if you want <EuiCode>onClick</EuiCode>{' '}
behavior.
</p>

Copy link
Copy Markdown
Contributor

@cchaos cchaos left a comment

Choose a reason for hiding this comment

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

Almost missed a major part of the issue. The rendered element needs to be a button tag if it's an onClick and an a tag if there's an href.

@cchaos
Copy link
Copy Markdown
Contributor

cchaos commented Mar 19, 2020

jenkins, test this

@kibanamachine
Copy link
Copy Markdown

Preview documentation changes for this PR: https://eui.elastic.co/pr_3062/

Copy link
Copy Markdown
Contributor

@cchaos cchaos left a comment

Choose a reason for hiding this comment

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

Once the changelog has been updated this should be good to go. Thanks 👍

@anishagg17
Copy link
Copy Markdown
Contributor Author

Change Log has been shifted to correct position

@cchaos
Copy link
Copy Markdown
Contributor

cchaos commented Mar 19, 2020

Jenkins, test this

@cchaos cchaos changed the title removed EuiKeyPadMenuItemButton Removed EuiKeyPadMenuItemButton in favor of just EuiKeyPadMenuItem Mar 19, 2020
@kibanamachine
Copy link
Copy Markdown

Preview documentation changes for this PR: https://eui.elastic.co/pr_3062/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change PRs with breaking changes. (Don't delete - used for automation)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Get rid of EuiKeyPadMenuItemButton

4 participants