-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from 8845musign/add-heading-component-document
Add Heading Component Page
- Loading branch information
Showing
24 changed files
with
425 additions
and
88 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -1,10 +1,12 @@ | ||
.cell { | ||
padding: var(--size-spacing-xs); | ||
font-size: var(--text-body-sm-size); | ||
line-height: var(--text-body-sm-tight-line); | ||
white-space: nowrap; | ||
padding: var(--size-spacing-sm) !important; | ||
font-size: var(--text-body-sm-size); | ||
line-height: var(--text-body-sm-tight-line); | ||
text-align: left; | ||
white-space: nowrap; | ||
border: none !important; | ||
} | ||
|
||
.cell.header { | ||
font-weight: bold; | ||
} | ||
font-weight: bold; | ||
} |
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 |
---|---|---|
@@ -1,7 +1,8 @@ | ||
.cell { | ||
padding: var(--size-spacing-xs) ; | ||
font-size: var(--text-body-sm-size); | ||
line-height: var(--text-body-sm-tight-line); | ||
color: var(--color-ubie-black-500); | ||
text-align: left; | ||
} | ||
padding: var(--size-spacing-sm) !important; | ||
font-size: var(--text-body-sm-size); | ||
line-height: var(--text-body-sm-tight-line); | ||
color: var(--color-ubie-black-500); | ||
text-align: left; | ||
border: none !important; | ||
} |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
.th { | ||
padding: var(--size-spacing-xs); | ||
font-size: var(--text-heading-xs-size); | ||
color: var(--color-ubie-black-700); | ||
text-align-last: left; | ||
} | ||
padding: var(--size-spacing-xs); | ||
font-size: var(--text-heading-xs-size); | ||
color: var(--color-ubie-black-700); | ||
text-align-last: left; | ||
} |
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 |
---|---|---|
@@ -1,6 +1,12 @@ | ||
.wrapper { | ||
width: 100%; | ||
margin-top: 60px; | ||
margin-bottom: 60px; | ||
overflow: auto; | ||
width: 100%; | ||
margin-top: 60px; | ||
margin-bottom: 60px; | ||
overflow: auto; | ||
border: 1px solid var(--color-border); | ||
border-radius: var(--radius-sm); | ||
} | ||
|
||
.table { | ||
width: 100%; | ||
} |
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,18 @@ | ||
import { Heading, Stack } from '@ubie/ubie-ui'; | ||
import type { FC } from 'react'; | ||
|
||
const HasLink: FC = () => { | ||
return ( | ||
<Stack spacing="md"> | ||
<Heading as="p" variant="secondary" size="md"> | ||
スマートフォン問診(secondary)<a href="https://vitals.ubie.life/">Link</a> | ||
</Heading> | ||
|
||
<Heading as="p" variant="primary" size="md"> | ||
スマートフォン問診(primary)<a href="https://vitals.ubie.life/">Link</a> | ||
</Heading> | ||
</Stack> | ||
); | ||
}; | ||
|
||
export default HasLink; |
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,25 @@ | ||
import { UbieIcon, ThumbUpOutlineIcon, SetupIcon } from '@ubie/ubie-icons'; | ||
import { Heading, Stack } from '@ubie/ubie-ui'; | ||
import type { FC } from 'react'; | ||
|
||
const Icon: FC = () => { | ||
return ( | ||
<Stack spacing="md"> | ||
<Heading as="p" primaryIcon={<UbieIcon />}> | ||
スマートフォン問診 | ||
</Heading> | ||
|
||
<Heading as="p" accentIcon={<ThumbUpOutlineIcon />}> | ||
スマートフォン問診 | ||
</Heading> | ||
|
||
<div style={{ backgroundColor: 'var(--color-primary)', padding: 'var(--size-spacing-xs)' }}> | ||
<Heading as="p" variant="white" whiteIcon={<SetupIcon />}> | ||
スマートフォン問診 | ||
</Heading> | ||
</div> | ||
</Stack> | ||
); | ||
}; | ||
|
||
export default Icon; |
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,12 @@ | ||
import { Heading } from '@ubie/ubie-ui'; | ||
import type { FC } from 'react'; | ||
|
||
const LeadingBorder: FC = () => { | ||
return ( | ||
<Heading as="p" leadingBorder> | ||
スマートフォン問診 | ||
</Heading> | ||
); | ||
}; | ||
|
||
export default LeadingBorder; |
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 { Heading, Stack } from '@ubie/ubie-ui'; | ||
import type { FC } from 'react'; | ||
|
||
const Size: FC = () => { | ||
return ( | ||
<Stack spacing="md"> | ||
<Heading as="p" size="xs"> | ||
xs: スマートフォン問診 | ||
</Heading> | ||
<Heading as="p" size="xs"> | ||
xs: スマートフォン問診を利用できる | ||
<br /> | ||
近くの医療機関から調べる | ||
</Heading> | ||
<Heading as="p" size="sm"> | ||
sm: スマートフォン問診 | ||
</Heading> | ||
<Heading as="p" size="sm"> | ||
sm: スマートフォン問診を利用できる | ||
<br /> | ||
近くの医療機関から調べる | ||
</Heading> | ||
<Heading as="p" size="md"> | ||
md: スマートフォン問診 | ||
</Heading> | ||
<Heading as="p"> | ||
md: スマートフォン問診を利用できる | ||
<br /> | ||
近くの医療機関から調べる | ||
</Heading> | ||
<Heading as="p" size="lg"> | ||
lg: スマートフォン問診 | ||
</Heading> | ||
<Heading as="p" size="lg"> | ||
lg: スマートフォン問診を利用できる | ||
<br /> | ||
近くの医療機関から調べる | ||
</Heading> | ||
<Heading as="p" size="xl"> | ||
xl: スマートフォン問診 | ||
</Heading> | ||
<Heading as="p" size="xl"> | ||
xl: スマートフォン問診を利用できる | ||
<br /> | ||
近くの医療機関から調べる | ||
</Heading> | ||
</Stack> | ||
); | ||
}; | ||
|
||
export default Size; |
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,20 @@ | ||
import { Heading, Stack } from '@ubie/ubie-ui'; | ||
import type { FC } from 'react'; | ||
|
||
const TextAlign: FC = () => { | ||
return ( | ||
<Stack spacing="md" alignItems="normal"> | ||
<Heading as="p" size="md" textAlign="left"> | ||
スマートフォン問診 | ||
</Heading> | ||
<Heading as="p" size="md" textAlign="center"> | ||
スマートフォン問診 | ||
</Heading> | ||
<Heading as="p" size="md" textAlign="right"> | ||
スマートフォン問診 | ||
</Heading> | ||
</Stack> | ||
); | ||
}; | ||
|
||
export default TextAlign; |
Oops, something went wrong.