Skip to content
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

Action Sheet Usage #324

Merged
merged 3 commits into from
Jul 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
85 changes: 84 additions & 1 deletion docs/content/component/action-sheet/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,51 @@ slug: /component/action-sheet/usage

## 옵션

<HalfCard>
<HalfCardImageCell>
![actionsheet options title](./actionsheet-options-description.png)
</HalfCardImageCell>
<HalfCardDescriptionCell>
<HalfCardDescriptionTitle>Title / Description</HalfCardDescriptionTitle>
<HalfCardDescription>
Title은 Action Sheet의 내용의 목적이나 핵심 메시지를 강조, 요약하여
전달합니다. Description은 유저에게 추가적인 컨텍스트와 부가 설명을
제공합니다.
</HalfCardDescription>
</HalfCardDescriptionCell>
</HalfCard>

<HalfCard>
<HalfCardImageCell>
![actionsheet options action label](./actionsheet-options-action-label.png)
</HalfCardImageCell>
<HalfCardDescriptionCell>
<HalfCardDescriptionTitle>Action Label</HalfCardDescriptionTitle>
<HalfCardDescription>
Action의 Label은 유저가 어떤 동작을 수행하게 될지 이해하고 선택할 수
있도록 설명합니다. Label은 유저가 명확하게 이해할 수 있도록 직관적으로
간결하게 제공합니다.
</HalfCardDescription>
</HalfCardDescriptionCell>
</HalfCard>

<HalfCard>
<HalfCardImageCell>
![actionsheet options action
variant](./actionsheet-options-action-variant.png)
</HalfCardImageCell>
<HalfCardDescriptionCell>
<HalfCardDescriptionTitle>Action Variant</HalfCardDescriptionTitle>
<HalfCardDescription>
Default는 주로 일반적이거나 중립적인 상황일 때 사용되는 옵션입니다.
Destructive는 유저가 주의해야 할 액션이거나, 데이터를 삭제 혹은 변경하는
작업일 경우에 사용합니다. Destructive는 데이터나 설정에 영향을 줄 수
있으므로, 유저가 명확히 인지할 수 있는 레이블을 제공합니다.
</HalfCardDescription>
</HalfCardDescriptionCell>
</HalfCard>
<br />

### 옵션 테이블 (Action Sheet)

| 속성 | 값 | 기본값 | 설명 |
Expand All @@ -34,7 +79,45 @@ slug: /component/action-sheet/usage

## 상호작용

Working In Progress
### 터치 / 마우스

<FullCard>
<FullCardImageCell>
![action-sheet-usage-click-touch](./actionsheet-touch-mouse-control-1.png)
</FullCardImageCell>
<FullCardDescription>
마우스 클릭 또는 터치로 Action Sheet와 상호작용할 수 있습니다. Title과
Description 영역은 클릭이나 터치할 수 없습니다.
</FullCardDescription>
</FullCard>

### 키보드

<HalfCard>
<HalfCardImageCell>
![action-sheet-usage-click-touch](./actionsheet-touch-mouse-control-3.png)
</HalfCardImageCell>
<HalfCardDescriptionCell>
<HalfCardDescriptionTitle>Focus</HalfCardDescriptionTitle>
<HalfCardDescription>
<Keyboard>↑</Keyboard> 혹은 <Keyboard>↓</Keyboard>키를 통해 Action간 Focus
이동이 가능합니다.
</HalfCardDescription>
</HalfCardDescriptionCell>
</HalfCard>

<HalfCard>
<HalfCardImageCell>
![action-sheet-usage-click-touch](./actionsheet-touch-mouse-control-4.png)
</HalfCardImageCell>
<HalfCardDescriptionCell>
<HalfCardDescriptionTitle>Action</HalfCardDescriptionTitle>
<HalfCardDescription>
Action에 Focus된 상태에서 <Keyboard>Enter</Keyboard>키를 통해 Action을
실행 시킬 수 있습니다.
</HalfCardDescription>
</HalfCardDescriptionCell>
</HalfCard>

## 가이드라인

Expand Down
Loading