-
Notifications
You must be signed in to change notification settings - Fork 858
[EuiPageLayout] Add bottomBar & [EuiBottomBar] Add more position props
#4662
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 all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
cde54f9
WIP adding more props
31f5749
Adding `position` and `usePortal` props
ffea7dd
Merge remote-tracking branch 'upstream/master' into feat/bottom_bar_i…
21e9a53
Restricted use of some props when position is fixed and moved positio…
d22a404
Fixing page header border depending on page body padding
61e3cd0
Adding `bottomBar` to EuiPageTemplate
860b627
Adding EUiPageContentBody wrapper on bottom bar contents to align res…
2451d7b
Change doc title to say page first
ee31a48
Adjusting bottomBar positioning attributes
48cb74b
Cleanup
01c125c
Adding main roles
0c42e68
Cleanup
ba40203
Merge remote-tracking branch 'upstream/master' into feat/bottom_bar_i…
b2cfea6
cl
570f49c
Updating bottom bar playground
24c35d5
Added note about page template in bottom bar docs
9dd0fbd
Merge remote-tracking branch 'upstream/master' into feat/bottom_bar_i…
a56e91b
Apply suggestions from code review
cchaos d7e7120
Merge branch 'master' into feat/bottom_bar_in_page
cchaos 8583d9d
Moved role=main logic into EuiPageComponent
chandlerprall 13c29cf
Merge pull request #47 from chandlerprall/feat/bottom_bar_in_page
cchaos 16a9a5e
Merge remote-tracking branch 'upstream/master' into feat/bottom_bar_i…
d8c9ac9
Better extension of EuiPanel props in EuiPageContent and more tests
27544f3
test
20d412b
Remove test and force CI?
78305ea
cl
888b517
cl
ef38221
Merge remote-tracking branch 'upstream/master' into feat/bottom_bar_i…
b22c06a
Merge remote-tracking branch 'upstream/master' into feat/bottom_bar_i…
6122476
Fixing a11y
9f26af0
Remove footer element
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 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
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
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,25 @@ | ||
| import React from 'react'; | ||
|
|
||
| import { EuiBottomBar, EuiSpacer, EuiText } from '../../../../src/components'; | ||
|
|
||
| export default () => { | ||
| return ( | ||
| <> | ||
| <EuiText> | ||
| <p> | ||
| When scrolling past this example block, the{' '} | ||
| <strong>EuiBottomBar</strong> will stick to the bottom of the browser | ||
| window (with a 10px offset), but keeps it within the bounds of its | ||
| parent. | ||
| </p> | ||
| </EuiText> | ||
| <EuiSpacer size="xl" /> | ||
| <EuiSpacer size="xl" /> | ||
| <EuiBottomBar position="sticky" bottom={10}> | ||
| <EuiText color="ghost" textAlign="center"> | ||
| <p>Scroll to see!</p> | ||
| </EuiText> | ||
| </EuiBottomBar> | ||
| </> | ||
| ); | ||
| }; |
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.