-
Notifications
You must be signed in to change notification settings - Fork 842
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
[EuiButtonIcon] Add display prop #4466
Merged
Merged
Changes from 19 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
d65a911
add display prop to EuiButtonIcon
andreadelrio d1c5ae2
cleanup
andreadelrio e37c499
cleanup example
andreadelrio ae7f1b8
idk whats happening anymore :)
andreadelrio aa03f18
more things
andreadelrio 1cc903a
update dg snap
andreadelrio 80d32af
cl
andreadelrio 2cb7bde
update display prop and add sizes
andreadelrio 9307e97
cl
andreadelrio 7a38855
adjust control_bar
andreadelrio 969aa02
Merge branch 'master' into buttonIcon-styles
cchaos ebf3dd2
Default theme updates
f8630a4
Snaps
88daff3
Fixing up Amsterdam styles
ad63e5c
Fix text color, clean up props
3e03142
Changing `undefined` being the standard button type to `base`
c49de4e
Updating docs
6df79c2
Merge remote-tracking branch '2_upstream/master' into buttonIcon-styles
c6d4625
cl
29524d8
Fixing some component usages of EuiButtonIcon
76da9d5
Update src/components/button/button_icon/button_icon.tsx
cchaos d78fe6e
Merge branch 'master' into buttonIcon-styles
cchaos ac29ed6
Fixed disabled hover style in Amsterdam and added a11y callout
d1b9e22
Merge branch 'master' into buttonIcon-styles
cchaos File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import React from 'react'; | ||
|
||
import { | ||
EuiButton, | ||
EuiButtonIcon, | ||
EuiFlexGroup, | ||
EuiFlexItem, | ||
} from '../../../../src/components'; | ||
|
||
export default () => ( | ||
<> | ||
<EuiFlexGroup responsive={false} gutterSize="s" alignItems="center"> | ||
<EuiFlexItem grow={false}> | ||
<EuiButton size="s" iconType="calendar"> | ||
Last 15 min | ||
</EuiButton> | ||
</EuiFlexItem> | ||
<EuiFlexItem grow={false}> | ||
<EuiButtonIcon | ||
display="base" | ||
size="s" | ||
iconType="boxesVertical" | ||
aria-label="More" | ||
/> | ||
</EuiFlexItem> | ||
</EuiFlexGroup> | ||
</> | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed this deprecation notice because there are actually cases where the text option is viable