Repository navigation
Commit 3df0724
committed
fix(core): a press's release fades on the theme's exit motion tokens
Every press release that fades now plays `--duration-exit` and
`--ease-exit` instead of a fixed 200 ms on a curve of its own: the shared
overlay's touch release, the controller's release clock (which action
groups read too), Switch's press layers and the list row layer. Under
Reduce Motion a finger's release is no longer than 200 ms, as before. A
press that releases at once (a mouse or pen on a desktop) is unchanged.1 parent 1b6a265 commit 3df0724
27 files changed
Lines changed: 417 additions & 395 deletions
File tree
- .changeset
- docs/specs
- AST-094-touch-presentations
- AST-108-theme-motion
- components
- Button
- List
- packages/core/src
- Button/__tests__
- List/__tests__
- Switch
- __tests__
- __tests__
- hooks
- motion/uikit
- privateAttributes
- theme
- utils
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
201 | 205 | | |
202 | 206 | | |
203 | 207 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
| 172 | + | |
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
0 commit comments