Skip to content

Commit

Permalink
docs(seed-docs): separate motion spec table
Browse files Browse the repository at this point in the history
  • Loading branch information
stleamist committed Aug 11, 2023
1 parent 8062caf commit cf61b00
Showing 1 changed file with 52 additions and 20 deletions.
72 changes: 52 additions & 20 deletions docs/content/component/spinner/style.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -55,30 +55,62 @@ slug: /component/spinner/style

## 디자인 결정 (Motion)

| From | To | Part | Property | Attribute | Value |
| ----- | --- | --------- | --------- | --------------- | ------------------------------------ |
| Start | End | Indicator | start | Duration | 900ms |
| | | | | Delay | 300ms |
| | | | | Timing Function | cubic-bezier(0.35, 0, 0.65, 0.6) |
| | | | end | Duration | 800ms |
| | | | | Delay | 0ms |
| | | | | Timing Function | cubic-bezier(0.35, 0, 0.65, 1) |
| | | | transform | Duration | 1200ms |
| | | | | Delay | 0ms |
| | | | | Timing Function | cubic-bezier(0.35, 0.25, 0.65, 0.75) |

### State=Start
### Part=Indicator, Property=head

| Part | Property | Attribute | Value |
| --------- | -------- | --------------- | ------------------------------ |
| Indicator | head | Duration | 800ms |
| | | Delay | 0ms |
| | | Timing Function | cubic-bezier(0.35, 0, 0.65, 1) |

#### Keyframe=0%(0ms)

| Part | Property | Value |
| --------- | -------- | ----- |
| Indicator | head | 1% |

#### Keyframe=100%(800ms)

| Part | Property | Value |
| --------- | -------- | ----- |
| Indicator | head | 100% |

### Part=Indicator, Property=tail

| Part | Property | Attribute | Value |
| --------- | -------- | --------------- | -------------------------------- |
| Indicator | tail | Duration | 900ms |
| | | Delay | 300ms |
| | | Timing Function | cubic-bezier(0.35, 0, 0.65, 0.6) |

#### Keyframe=0%(300ms)

| Part | Property | Value |
| --------- | -------- | ----- |
| Indicator | tail | 0% |

#### Keyframe=100%(1200ms)

| Part | Property | Value |
| --------- | -------- | ----- |
| Indicator | tail | 99% |

### Part=Indicator, Property=transform

| Part | Property | Attribute | Value |
| --------- | --------- | --------------- | ------------------------------------ |
| Indicator | transform | Duration | 1200ms |
| | | Delay | 0ms |
| | | Timing Function | cubic-bezier(0.35, 0.25, 0.65, 0.75) |

#### Keyframe=0%(0ms)

| Part | Property | Value |
| --------- | --------- | ------------ |
| Indicator | start | 0% |
| | end | 1% |
| | transform | rotate(0deg) |
| Indicator | transform | rotate(0deg) |

### State=End
#### Keyframe=100%(1200ms)

| Part | Property | Value |
| --------- | --------- | -------------- |
| Indicator | start | 99% |
| | end | 100% |
| | transform | rotate(360deg) |
| Indicator | transform | rotate(360deg) |

0 comments on commit cf61b00

Please sign in to comment.