-
Notifications
You must be signed in to change notification settings - Fork 862
[EuiTabs] Consolidated styling options for Amsterdam and updated usage in EuiPageHeader #5135
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
Merged
Merged
Changes from 15 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
c4a6f0b
[EuiTabs] Refactoring styles, added `bottomBorder`
7ab27e1
Docs
fddf277
Added size `xl` and cleaned up styles
6872c0f
[EuiPageHeader] Changed layout if tabs is the only content
0161a2f
Fixing up page_body style
a96074a
Docs cleanup
12b560a
[a11y] Added a visually hidden h1 when only tabs are used for page ti…
5ea3205
Added `pageTitleProps` to allow passing more options to the page title
e38a7de
Revert change to template doc
a693ea4
Merge remote-tracking branch 'upstream/master' into ams/tabs
2382337
Added `prepend` / `append` props
5badd84
cl
d105418
cl
7f9a686
cl
e19d31d
Cleanup
1340136
Constance catching all my typos 😅
cchaos c485129
Merge branch 'master' into ams/tabs
cchaos a43bc0c
Fixed type of `EuiTabbedContentTab` to extend everything from `EuiTab…
493ed17
Update docs about bottomBorder
aa31884
Using `useMemo` for tab content in example
e268c02
Merge branch 'elastic:master' into ams/tabs
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 hidden or 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 hidden or 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 was deleted.
Oops, something went wrong.
This file contains hidden or 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,15 @@ | ||
| import React from 'react'; | ||
|
|
||
| import { EuiPageHeader, EuiButton } from '../../../../src/components'; | ||
|
|
||
| export default () => ( | ||
| <EuiPageHeader | ||
| pageTitle="Page title" | ||
| iconType="logoKibana" | ||
| description="This description should be describing the current page as depicted by the page title. It will never extend beneath the right side content." | ||
| rightSideItems={[ | ||
| <EuiButton fill>Add something</EuiButton>, | ||
| <EuiButton>Do something</EuiButton>, | ||
| ]} | ||
| /> | ||
| ); |
File renamed without changes.
This file contains hidden or 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 was deleted.
Oops, something went wrong.
This file contains hidden or 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,19 @@ | ||
| import React from 'react'; | ||
|
|
||
| import { EuiPageHeader } from '../../../../src/components'; | ||
|
|
||
| export default () => ( | ||
| <EuiPageHeader | ||
| tabs={[ | ||
| { | ||
| label: 'Tab 1', | ||
| isSelected: true, | ||
| }, | ||
| { | ||
| label: 'Tab 2', | ||
| }, | ||
| ]} | ||
| description="This description should be describing the current page as depicted by the current tab. It has grow set to false to ensure a readable line-length." | ||
| bottomBorder | ||
| /> | ||
| ); |
This file contains hidden or 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,23 @@ | ||
| import React from 'react'; | ||
|
|
||
| import { EuiPageHeader, EuiButton } from '../../../../src/components'; | ||
|
|
||
| export default () => ( | ||
| <EuiPageHeader | ||
| pageTitle="Page title" | ||
| tabs={[ | ||
| { | ||
| label: 'Tab 1', | ||
| isSelected: true, | ||
| }, | ||
| { | ||
| label: 'Tab 2', | ||
| }, | ||
| ]} | ||
| rightSideItems={[ | ||
| <EuiButton fill>Add something</EuiButton>, | ||
| <EuiButton>Do something</EuiButton>, | ||
| ]} | ||
| bottomBorder | ||
| /> | ||
| ); |
This file contains hidden or 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 hidden or 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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.