• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

humanspeak / svelte-motion / 27570106717
57%
main: 57%

Build:
Build:
LAST BUILD BRANCH: ci/drop-node-20
DEFAULT BRANCH: main
Ran 15 Jun 2026 07:14PM UTC
Jobs 1
Files 241
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

15 Jun 2026 07:13PM UTC coverage: 57.18% (-1.6%) from 58.741%
27570106717

push

github

web-flow
feat: add transformTemplate and drag parity fixes (#400)

* fix(drag): align release inertia with upstream

- replace bespoke inertia with motion-dom inertia animation
- preserve composed transforms across drag, hover, and whileDrag
- cover rotated momentum, hover reset, and ref constraint settle

Fixes #399

* fix(drag): spring elastic release without momentum

Start no-momentum elastic settle from the rendered drag transform so
medium and full dragElastic releases spring back instead of snapping.

Add e2e coverage for elastic=0.5 and elastic=1 release frames.

* fix(drag): match upstream dragElastic default

* fix(drag): remap ref constraints on resize

Stop stale post-release drag animation when ref constraints resize and
remap the current position into the freshly measured bounds, matching
upstream's resize observer behavior. Add a slow SSR-safe review mode for
the element-ref resize demo.

* test(drag): cover ref constraint growth

Make the element-ref resize demo toggle between 400px and 200px in slow
mode, and add e2e coverage for growing constraints mid-inertia so stale
small-boundary behavior is caught.

* test(drag): slow ref resize demo further

* test(drag): animate slow ref resize demo

Slow review mode now animates the constraint width over 3.2s and uses softer release settings so resize remapping is visible during eye testing. Add an e2e guard so the slow harness cannot silently regress back to an instant resize.

* fix(drag): animate snap-to-origin release

Route dragSnapToOrigin through the same Motion inertia path as upstream by setting the snapped axes to min/max 0 instead of using a plain DOM animate call. Add e2e coverage that proves release is visibly mid-animation before settling at the origin.

* fix(drag): support axis snap-to-origin

Preserve upstream dragSnapToOrigin='x'/'y' instead of collapsing the
prop to boolean, and add visual/e2e coverage for axis-specific release.

* fix(drag): support edge-specific dragElastic

Mirro... (continued)

751 of 1540 branches covered (48.77%)

Branch coverage included in aggregate %.

313 of 599 new or added lines in 12 files covered. (52.25%)

14 existing lines in 3 files now uncovered.

2960 of 4950 relevant lines covered (59.8%)

15.07 hits per line

Uncovered Changes

Lines Coverage ∆ File
197
49.78
-3.27% src/lib/utils/drag.ts
43
55.99
-0.87% src/lib/html/_MotionContainer.svelte
24
65.17
-30.29% src/lib/components/PresenceChild.svelte
11
90.51
-9.49% src/lib/utils/hover.ts
9
88.7
-3.06% src/lib/utils/layout.ts
2
90.63
12.05% src/lib/utils/dragMath.ts

Coverage Regressions

Lines Coverage ∆ File
8
49.78
-3.27% src/lib/utils/drag.ts
5
55.99
-0.87% src/lib/html/_MotionContainer.svelte
1
65.17
-30.29% src/lib/components/PresenceChild.svelte
Jobs
ID Job ID Ran Files Coverage
1 node-22 - 27570106717.1 15 Jun 2026 07:14PM UTC 241
57.18
GitHub Action Run
Source Files on build 27570106717
  • Tree
  • List 241
  • Changed 11
  • Source Changed 11
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #27570106717
  • ecbb2ac8 on github
  • Prev Build on codex/transform-template-316 (#27349191006)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc