forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[K7]: Responsive page layout components (elastic#13162)
Page layout components added to KUI.
- Loading branch information
Showing
49 changed files
with
1,003 additions
and
0 deletions.
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,50 @@ | ||
import React from 'react'; | ||
|
||
import { | ||
KuiPage, | ||
KuiPageBody, | ||
KuiPageContent, | ||
KuiPageContentBody, | ||
KuiPageContentHeader, | ||
KuiPageContentHeaderSection, | ||
KuiPageHeader, | ||
KuiPageHeaderSection, | ||
KuiPageSidebar, | ||
KuiTitle, | ||
} from '../../../../components'; | ||
|
||
export default () => ( | ||
|
||
<KuiPage> | ||
<KuiPageHeader> | ||
<KuiPageHeaderSection> | ||
<KuiTitle size="large"> | ||
<h1>Page title</h1> | ||
</KuiTitle> | ||
</KuiPageHeaderSection> | ||
<KuiPageHeaderSection> | ||
Page abilities | ||
</KuiPageHeaderSection> | ||
</KuiPageHeader> | ||
<KuiPageBody> | ||
<KuiPageSidebar> | ||
Sidebar nav | ||
</KuiPageSidebar> | ||
<KuiPageContent> | ||
<KuiPageContentHeader> | ||
<KuiPageContentHeaderSection> | ||
<KuiTitle> | ||
<h2>Content title</h2> | ||
</KuiTitle> | ||
</KuiPageContentHeaderSection> | ||
<KuiPageContentHeaderSection> | ||
Content abilities | ||
</KuiPageContentHeaderSection> | ||
</KuiPageContentHeader> | ||
<KuiPageContentBody> | ||
Content body | ||
</KuiPageContentBody> | ||
</KuiPageContent> | ||
</KuiPageBody> | ||
</KuiPage> | ||
); |
33 changes: 33 additions & 0 deletions
33
ui_framework/doc_site/src/views/page/page_content_center.js
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,33 @@ | ||
import React from 'react'; | ||
|
||
import { | ||
KuiPage, | ||
KuiPageBody, | ||
KuiPageContent, | ||
KuiPageContentBody, | ||
KuiPageContentHeader, | ||
KuiPageContentHeaderSection, | ||
KuiTitle, | ||
} from '../../../../components'; | ||
|
||
export default () => ( | ||
<KuiPage> | ||
<KuiPageBody> | ||
<KuiPageContent verticalPosition="center" horizontalPosition="center"> | ||
<KuiPageContentHeader> | ||
<KuiPageContentHeaderSection> | ||
<KuiTitle> | ||
<h2>Content title</h2> | ||
</KuiTitle> | ||
</KuiPageContentHeaderSection> | ||
</KuiPageContentHeader> | ||
<KuiPageContentBody> | ||
Content body | ||
</KuiPageContentBody> | ||
</KuiPageContent> | ||
</KuiPageBody> | ||
</KuiPage> | ||
); | ||
|
||
|
||
|
51 changes: 51 additions & 0 deletions
51
ui_framework/doc_site/src/views/page/page_content_center_with_sidebar.js
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,51 @@ | ||
import React from 'react'; | ||
|
||
import { | ||
KuiPage, | ||
KuiPageBody, | ||
KuiPageContent, | ||
KuiPageContentBody, | ||
KuiPageContentHeader, | ||
KuiPageContentHeaderSection, | ||
KuiPageHeader, | ||
KuiPageHeaderSection, | ||
KuiPageSidebar, | ||
KuiTitle, | ||
} from '../../../../components'; | ||
|
||
export default () => ( | ||
|
||
<KuiPage> | ||
<KuiPageHeader> | ||
<KuiPageHeaderSection> | ||
<KuiTitle size="large"> | ||
<h1>Page title</h1> | ||
</KuiTitle> | ||
</KuiPageHeaderSection> | ||
<KuiPageHeaderSection> | ||
Page abilities | ||
</KuiPageHeaderSection> | ||
</KuiPageHeader> | ||
<KuiPageBody> | ||
<KuiPageSidebar> | ||
Sidebar nav | ||
</KuiPageSidebar> | ||
<KuiPageContent verticalPosition="center" horizontalPosition="center"> | ||
<KuiPageContentHeader> | ||
<KuiPageContentHeaderSection> | ||
<KuiTitle> | ||
<h2>Content title</h2> | ||
</KuiTitle> | ||
</KuiPageContentHeaderSection> | ||
<KuiPageContentHeaderSection> | ||
Content abilities | ||
</KuiPageContentHeaderSection> | ||
</KuiPageContentHeader> | ||
<KuiPageContentBody> | ||
Content body | ||
</KuiPageContentBody> | ||
</KuiPageContent> | ||
</KuiPageBody> | ||
</KuiPage> | ||
); | ||
|
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,32 @@ | ||
import React from 'react'; | ||
|
||
import { | ||
KuiPage, | ||
KuiPageBody, | ||
KuiPageContent, | ||
KuiPageContentBody, | ||
KuiPageContentHeader, | ||
KuiPageContentHeaderSection, | ||
KuiTitle, | ||
} from '../../../../components'; | ||
|
||
export default () => ( | ||
<KuiPage> | ||
<KuiPageBody> | ||
<KuiPageContent> | ||
<KuiPageContentHeader> | ||
<KuiPageContentHeaderSection> | ||
<KuiTitle> | ||
<h2>Content title</h2> | ||
</KuiTitle> | ||
</KuiPageContentHeaderSection> | ||
</KuiPageContentHeader> | ||
<KuiPageContentBody> | ||
Content body | ||
</KuiPageContentBody> | ||
</KuiPageContent> | ||
</KuiPageBody> | ||
</KuiPage> | ||
); | ||
|
||
|
Oops, something went wrong.