Repository navigation
chore(core): the animator plans Reduce Motion in its own module, shares a track per element and starts at the commit #8056
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
Merged
Merged
Changes from 133 commits
Commits
Show all changes
135 commits
Select commit
Hold shift + click to select a range
c784084
spec(AST-094): touch presentations feel native by default
cixzhang 0c35c43
chore(core): the UIKit constants table for touch presentations
vjeux 17c181b
chore(core): UIKit's spring, decay, rubber-band and projection math
vjeux 0901218
chore(core): a compositor animator for touch presentations
vjeux 6bd2851
chore(core): the constants table names only what exists, and dates ev…
vjeux 76be493
fix(core): paging past the last page lands on a real page
vjeux 51aa3c8
fix(core): under Reduce Motion, a move keeps a running fade's target
vjeux 8694825
chore(core): the animator plays any curve, drives a pseudo-element, s…
vjeux 7da6b3c
fix(core): an identity at rest leaves the element
vjeux 7e7e731
fix(core): the animator's model holds a curve's start until the brows…
vjeux 040f7cd
fix(core): the animator's Reduce Motion follows design:reduced-motion
vjeux 4b3de64
Merge main into the constants table (lab typechecks with its tests)
vjeux 530315f
Merge #8053 (main merged in) into the motion math
vjeux 63aef34
Merge #8054 (main merged in) into the animator
vjeux 4f936fc
Merge #8055 (main merged in) into the animator curves
vjeux f034902
fix(core): Reduced Motion takes no override
cixzhang e7df427
perf(core): the gesture table's sources move to JSDoc, out of the bundle
vjeux 439dcc3
docs(spec): the draft AST-094 copy leaves this stack
vjeux 0bf13da
Merge main (the deploy typecheck gate test reads the step as written)…
vjeux fb5b3ae
perf(core): the coast math and the scroll table leave the animator
vjeux bbbcb60
refactor(core): the platform presets are named for their use
vjeux 68be5aa
Merge main into the stack (AST-094 is current on main)
cixzhang 7c5f71c
Merge main (67dc45f66d3) into #8054
cixzhang 03f66c3
fix(core): the UIKit table keeps only what a touch presentation plays…
cixzhang 1133bf9
Merge remote-tracking branch 'origin/main' into m8053
cixzhang eded944
style(core): MEASUREMENTS.md table widths after the dropped rows
cixzhang f9d0900
feat(core): the press release's curve is a press value
vjeux bbae49a
Merge main (cdd75aec) into the compositor animator
cixzhang ce0f0d5
fix(core): a same-task write keeps a call from rest on one clock
cixzhang 9db9315
docs(core): the velocity weight says a rested finger releases at 0
vjeux 946a6d0
fix(motion): the animator follows design:reduced-motion DR2-DR4
cixzhang 5d3cab6
Merge #8053 (the table keeps only what a touch presentation plays; th…
vjeux daed39c
Merge #8054 (#8053's table, the press release's curve) into the animator
vjeux 9f13914
Merge #8055 (the animator follows DR2-DR4; #8054's table and math) in…
vjeux edb1260
fix(core): a change at once ends a running fade at its target
vjeux e58eb58
docs(core): a touch release's fade is DR2, not DR3
vjeux 7e36bcd
fix(core): the table's notes point at what exists, and the press entr…
cixzhang c1fa660
Merge #8053's notes and press pins into the press release's curve and…
vjeux 59a748f
Merge #8053 (the table's notes point at what exists; the press entrie…
vjeux 129eebf
Merge #8054 (#8053's notes and press pins) into the animator
vjeux e309847
Merge #8055 (#8053's notes and press pins) into the Reduce Motion policy
vjeux 8dbc144
Merge #8054 (main with #8043's interaction proofs) into the animator
vjeux 6ae3390
Merge main (#8043's interaction proofs) into the UIKit constants table
vjeux 51b3ecb
Merge #8053 (main with #8043's interaction proofs) into the motion math
vjeux 48ddb9a
Merge #8055 (main with #8043's interaction proofs) into the Reduce Mo…
vjeux 61f575f
perf(core): the animator reads the Reduce Motion fade, not the whole …
vjeux 0a43629
Merge #8055 (the animator reads the Reduce Motion fade alone) into th…
vjeux f3f3cf3
test(core): reducedMotionFade() ships the Reduce Motion fade alone too
vjeux 1f751c9
docs(core): M-S2 feeds scroll.decelerationRate, where the coast readi…
cixzhang 96f8240
Merge #8053 (M-S2 feeds scroll.decelerationRate) into the press relea…
vjeux 1ae9200
Merge #8053 (M-S2 feeds scroll.decelerationRate) into the motion math
vjeux eeb4b16
Merge #8055 (M-S2 feeds scroll.decelerationRate) into the Reduce Moti…
vjeux 615cf0a
Merge #8054 (M-S2 feeds scroll.decelerationRate) into the animator
vjeux 860e37b
fix(core): every same-task call from rest shares the browser's start
cixzhang ef7e8b5
Merge main (design:reduced-motion DR2 momentum, #8384)
cixzhang 611248c
Merge #8056's same-task start fix and main (design:reduced-motion DEC…
vjeux 16b597f
fix(motion): no call skips the touch cross-fade, and a mouse move lea…
cixzhang 96bc965
Merge #8055's fix (no call skips the touch cross-fade; a mouse move l…
vjeux aacd04f
Merge #8055 (no call skips the touch cross-fade; a mouse move leaves …
vjeux 8070156
fix(core): a fine pointer's change leaves a running fade to finish
vjeux a850429
fix(core): decay moves only the translate axes; the Reduce Motion not…
cixzhang 7234d44
Merge main (99ad3f6d906) into the motion math
cixzhang b232014
fix(motion): a touch dip borrows the element's own opacity and hands …
cixzhang 2071394
Merge #8054 (7234d440: main with the landed constants table) into the…
cixzhang e1c094c
Merge #8055 (main with the landed tables; the touch dip borrows the s…
cixzhang d463e85
fix(motion): an interrupted Reduce Motion fade finishes, a borrowed o…
cixzhang 6ee5dd0
fix(core): overlapping dips keep the borrowed opacity; a replaced nod…
cixzhang 9036a29
docs(motion): M-RM1 names the played 200 ms Reduce Motion cross-fade
cixzhang f77d406
fix(core): a call on an explicit clock never waits on a call finished…
vjeux 50306cd
fix(core): a Reduce Motion dip ends on time when a busy main thread l…
vjeux d3a2e41
fix(core): toSpring's clamp, FR6 for the rubber band's inverse, the p…
cixzhang 4c6f769
fix(motion): under Reduce Motion, travel lands only while the element…
cixzhang 39e4a20
perf(core): a commit that leaves channels at identity reads the style…
vjeux 9dade14
fix(core): an animation finished from outside ends its curve in the m…
vjeux e859b2b
fix(core): a call on a later explicit clock never joins an earlier ca…
vjeux fb9c3dc
perf(core): the keyboard notifications' duration has its own export
vjeux 07e1428
Merge #8054 (toSpring's clamp, FR6 for the rubber band's inverse, the…
vjeux 3dca43f
Merge main (16770e30070) into the motion math
cixzhang 7221fca
Merge #8054 (3dca43f6: main with the per-group UIKit table) into the …
cixzhang ba87b89
test(motion): the UIKit table test reads values bound from an exporte…
cixzhang 7d20b1f
fix(core): unmounting settles a pending atRest() wait
cixzhang 14af992
Merge #8055 (main with the per-group UIKit table; its Reduce Motion s…
cixzhang 2f67199
Merge main (b58ca635, the motion math landed) into the animator
cixzhang 0ceb667
Merge main (b58ca635: the landed motion math and gesture recognizer c…
vjeux 9a7b285
Merge main (#8058 landed) into the motion clock and Reduce Motion plan
cixzhang 60f1733
Merge main (#8054 landed) into the motion clock and Reduce Motion plan
cixzhang 73d10a6
fix(motion): an overlapping call's fade re-times an earlier call's pe…
cixzhang db11472
Merge vjeux's #8055 head (0ceb6675, main) into the overlap fix
cixzhang 9824ce0
Revert "perf(core): the keyboard notifications' duration has its own …
vjeux 781245e
fix(core): Reduce Motion's catch, overlap and role fades keep the sur…
cixzhang 47a6c65
fix(motion): a call that does not own opacity keeps a running borrowe…
cixzhang 82ceea1
fix(motion): a borrowed dip that ended while detached hands the opaci…
cixzhang 98f86a6
Merge #8055 (47a6c657: main through #8054; the keyboard-notification …
cixzhang 4508a8f
fix(core): Reduce Motion's teardown paths settle and hand back what t…
cixzhang d19f6f3
Merge #8055 (82ceea13: a borrowed dip that ended while detached is ha…
cixzhang 3ee43e2
fix(core): a detach during a borrowed dip leaves no opacity inline
cixzhang df1fba5
fix(motion): an unmount, a new element or dispose() hands a borrowed …
cixzhang a38d13c
Merge #8055 (df1fba58: a borrow is handed back to its own element on …
cixzhang a5725fa
fix(core): a Reduce Motion move waiting to land lands on its own elem…
cixzhang bbec914
fix(motion): a new element taking over mid-dip keeps the dip, so the …
cixzhang 6daf622
Merge #8055 (bbec9143: a new element taking over mid-dip keeps the dip)
cixzhang 1b0840d
fix(core): attach leaves nothing behind on the element it leaves
cixzhang 5e41033
fix(motion): a running dip survives every attach, and an opacity the …
cixzhang 7ee6305
Merge #8055 (5e410334: a running borrowed dip survives any attach; an…
cixzhang 225e202
Merge main (#8494: the scroll-to-top Reduce Motion note; #8488: AST-0…
cixzhang d019124
Merge main (3ab7f32d: #8494's scroll-to-top note, #8488) into the ani…
cixzhang f05cb57
fix(core): an unmount lands a waiting Reduce Motion move where it was…
cixzhang ab02b27
fix(core): a pseudo-element's Reduce Motion dip borrows and hands bac…
cixzhang 4874db4
docs(motion): the scroll-to-top note keeps main's wording: a tap-star…
cixzhang 3d201a0
Merge main (#8257: the touch motion roles are internal) into the moti…
cixzhang 1e1b7bd
fix(motion): a hidden element lends no borrow, and a stop that finish…
cixzhang 89614c7
Merge main (2af4d305: #8257, the motion roles internal) into the anim…
cixzhang 5d9e4ec
Merge #8055 (89614c7f: a hidden element lends no borrow; a stop that …
cixzhang 15c71e1
fix(motion): a release past an edge springs back as a Reduce Motion c…
cixzhang 3c0d8a0
Merge #8055 (15c71e1f: under Reduce Motion a coast's spring back is a…
cixzhang 1e5d0f4
refactor(core): the plan's stop needs no step-segment landing; the st…
cixzhang effe685
docs(motion): decay's docs and the changeset say a transition curve c…
cixzhang 7ad0455
fix(motion): a held identity follows a node replacement, a mixed rele…
cixzhang f60e87d
Merge #8055 (7ad0455a: held identities follow a node replacement; one…
cixzhang 8fc7f2e
docs(motion): the animator's SYNC list and test header name only file…
cixzhang 79dc151
Merge #8055 (8fc7f2ef: coast says a transition lands at once on a fin…
cixzhang 1fe597d
refactor(core): the animator's Reduce Motion planner is its own module
cixzhang b33685a
refactor(core): play(curves) and pseudo-element support move to stack…
cixzhang 84ea877
Merge main (30a4a2b3: #8055 landed) into the animator's Reduce Motion…
cixzhang b84bcfc
refactor(core): drop the animator's unused TRAVEL alias
cixzhang 7847980
test(core): the animator's tests drop an unused import and binding
cixzhang b814769
fix(core): under Reduce Motion a move lands only while the element is…
cixzhang 274ee1b
fix(core): a handle's stop freezes its waiting Reduce Motion travel w…
cixzhang 7f36229
fix(core): a carried Reduce Motion move keeps its own call
cixzhang 1a40c3a
fix(core): a held call still finds its start; a caught dismissal fade…
cixzhang 215f031
fix(core): a waiting Reduce Motion call whose own opacity a later cal…
cixzhang c1c46dc
fix(core): a held call keeps reading until it has a start
cixzhang 92d6477
fix(core): decay takes touchRelease; a take-back fades straight back;…
cixzhang 45a454b
docs(core): the animator header and changeset name the touch-release …
cixzhang 2b264d3
test(core): uikit.test.ts matches bindings in the file text again
cixzhang File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or 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,7 @@ | ||
| --- | ||
| '@astryxdesign/core': patch | ||
| --- | ||
|
|
||
| [chore] Internal: the touch presentations' animator follows design:reduced-motion (under Reduce Motion, an opacity-only cross-fade of 200 ms on a coarse pointer or after a touch release and an immediate change on any other pointer, with no option or theme value that keeps travel or lengthens the fade; an entrance or exit role orients a slide that changes no opacity), decided by its own planner module, and starts a call from rest when the browser commits it, as Core Animation does. Not exported from the package entry point. | ||
|
|
||
| @vjeux |
This file contains hidden or 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
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With
decaynow takingtouchRelease, a spring back from past an edge also cross-fades on a fine pointer when a touch drag's release starts it (design:reduced-motionDR2). "a cross-fade on a coarse pointer, at once elsewhere" leaves that out; "a cross-fade on a coarse pointer or after a touch release, at once elsewhere" matches the code, the README andcoast.ts.