-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ListRow): Handle the expanded view of the listrow and add bottom…
…sheet.
- Loading branch information
1 parent
d2bad03
commit 7725a4f
Showing
62 changed files
with
10,579 additions
and
1,826 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,7 +64,9 @@ | |
</head> | ||
|
||
<body> | ||
<div id="modal-root"></div> | ||
<div id="catalog"></div> | ||
|
||
</body> | ||
|
||
</html> |
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,23 @@ | ||
import { pageLoader } from "catalog"; | ||
|
||
import BottomSheet from "../../../src/components/BottomSheet"; | ||
import Backdrop from "../../../src/components/Backdrop/index"; | ||
|
||
import { sections } from "../list_row/mock"; | ||
import ListRowOverflow from "../../../src/components/List/Overflow"; | ||
import Section from "../../../src/components/List/Section"; | ||
import SectionItem from "../../../src/components/List/SectionItem"; | ||
|
||
export default { | ||
path: "/bottomSheet", | ||
title: "Bottom Sheet", | ||
imports: { | ||
BottomSheet, | ||
Backdrop, | ||
Section, | ||
SectionItem, | ||
sections, | ||
ListRowOverflow | ||
}, | ||
content: pageLoader(() => import("./index.md")) | ||
}; |
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,21 @@ | ||
### BottomSheet | ||
|
||
```react | ||
responsive: true | ||
state: {visible: true} | ||
--- | ||
<Backdrop> | ||
<BottomSheet> | ||
<ListRowOverflow> | ||
{sections.map(section => | ||
<Section title={section.title} totalSections={4} key={section.key}> | ||
{section.items.map(item => | ||
<SectionItem item={item} key={item.title}/>)} | ||
</Section> | ||
)} | ||
</ListRowOverflow> | ||
</BottomSheet> | ||
</Backdrop> | ||
``` |
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,11 @@ | ||
import { pageLoader } from "catalog"; | ||
|
||
import ThumbnailCircleImage from "../../../src/components/Image/ThumbnailCircle"; | ||
import { Container, Row, Column } from "../../../src/components/Grid"; | ||
|
||
export default { | ||
path: "/image", | ||
title: "Image", | ||
imports: { ThumbnailCircleImage, Container, Row, Column }, | ||
content: pageLoader(() => import("./index.md")) | ||
}; |
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,29 @@ | ||
### Thumbnail Image component | ||
|
||
### Props | ||
|
||
```table | ||
span: 6 | ||
rows: | ||
- Prop: size | ||
Type: Number | ||
Notes: Required | ||
- Prop: src | ||
Type: String | ||
Notes: Required | ||
- Prop: alt | ||
Type: String | ||
Notes: Required | ||
``` | ||
|
||
### ThumbNail Image | ||
|
||
```react | ||
<ThumbnailCircleImage size={40} src="https://placekitten.com/g/512/288" alt="thumbnailCircleImage"/> | ||
``` | ||
|
||
### ThumbNail with Lazy loaded Image | ||
|
||
```react | ||
<ThumbnailCircleImage image={<img size={40} style={{width: "100%", height: "100%"}}src="https://placekitten.com/g/512/288" alt="thumbnailCircleImage" />} /> | ||
``` |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.