Skip to content

build(deps): bump @formkit/auto-animate to 0.10.2 and fix the Stack ref type - #3264

Open
jonathanKingston wants to merge 2 commits into
mainfrom
claude/bold-thompson-shfqjz
Open

jonathanKingston wants to merge 2 commits into
mainfrom
claude/bold-thompson-shfqjz

Conversation

@jonathanKingston

Copy link
Copy Markdown
Contributor

Asana Task/Github Issue: Supersedes #3224

Description

Takes the Dependabot bump of @formkit/auto-animate from 0.10.0 to 0.10.2 (#3224) and fixes the tsc failure it causes.

0.10.1 changed the preact useAutoAnimate return type from Object<T> to RefObject<T>. With T defaulting to Element, the ref no longer fits the <div> ref prop in the onboarding Stack component (TS2322). The fix narrows the ref to HTMLDivElement where it is used. No runtime change from the fix itself.

The upstream releases do change runtime behaviour, so the onboarding animations want a look:

  • 0.10.1: re-measures positioned ancestors when removing table rows, no duplicate MutationObserver when called twice, cleanup on destroy()/disable(), SVG elements accepted in the types.
  • 0.10.2: re-measures after a parent's CSS transition ends.

Both versions are older than the 7-day npm cooldown, same publisher and maintainers as 0.10.0, MIT licence, no dependencies.

Testing Steps

  • Open the onboarding special page from the Build Branch links and step through it with animations on and with reduced motion on. Items in animated stacks should still slide into place.
  • Locally: npm ci && npm run build && npm run lint && npm run test-unit pass.

Checklist

Please tick all that apply:

  • I have tested this change locally
  • I have tested this change locally in all supported browsers
  • This change will be visible to users
  • I have added automated tests that cover this change
  • I have ensured the change is gated by config
  • This change was covered by a ship review
  • This change was covered by a tech design
  • Any dependent config has been merged

🤖 Generated with Claude Code

https://claude.ai/code/session_018Jw5UTBVvoes3tis6B6xzM

dependabot Bot and others added 2 commits November 29, 2026 03:42
Bumps [@formkit/auto-animate](https://github.com/formkit/auto-animate) from 0.10.0 to 0.10.2.
- [Release notes](https://github.com/formkit/auto-animate/releases)
- [Commits](formkit/auto-animate@v0.10.0...v0.10.2)

---
updated-dependencies:
- dependency-name: "@formkit/auto-animate"
  dependency-version: 0.10.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@formkit/auto-animate 0.10.1 changed the preact hook's return type
from Object<T> to RefObject<T>. With T defaulting to Element, the ref no
longer fits the div's ref prop and tsc fails. Narrow it to
HTMLDivElement where it is used.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Jw5UTBVvoes3tis6B6xzM
@jonathanKingston
jonathanKingston requested review from a team and daxtheduck as code owners November 29, 2026 08:45

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.

Tip: disable this comment in your organization's Code Review settings.

@github-actions github-actions Bot added the semver-patch Bug fix / internal — no release needed label Nov 29, 2026
@github-actions

Copy link
Copy Markdown
Contributor

[Beta] Generated file diff

Time updated: Sun, 29 Nov 2026 08:47:21 GMT

Apple
    - apple/pages/onboarding/dist/index.js

File has changed

Integration
    - integration/pages/onboarding/dist/index.js

File has changed

Windows
    - windows/pages/onboarding/dist/index.js

File has changed

@github-actions

Copy link
Copy Markdown
Contributor

Build Branch

Branch pr-releases/claude/bold-thompson-shfqjz
Commit aec784f4b5
Updated November 29, 2026 at 8:47:38 AM UTC

Static preview entry points

QR codes (mobile preview)
Entry point QR code
Docs QR for docs preview
Static pages QR for static pages preview
Integration pages QR for integration pages preview

Integration commands

npm (Android / Extension):

npm i github:duckduckgo/content-scope-scripts#pr-releases/claude/bold-thompson-shfqjz

Swift Package Manager (Apple):

.package(url: "https://github.com/duckduckgo/content-scope-scripts.git", branch: "pr-releases/claude/bold-thompson-shfqjz")

git submodule (Windows):

git -C submodules/content-scope-scripts fetch origin pr-releases/claude/bold-thompson-shfqjz
git -C submodules/content-scope-scripts checkout origin/pr-releases/claude/bold-thompson-shfqjz
Pin to exact commit

npm (Android / Extension):

npm i github:duckduckgo/content-scope-scripts#aec784f4b54d32527d5d27f6b280d0f33a56537f

Swift Package Manager (Apple):

.package(url: "https://github.com/duckduckgo/content-scope-scripts.git", revision: "aec784f4b54d32527d5d27f6b280d0f33a56537f")

git submodule (Windows):

git -C submodules/content-scope-scripts fetch origin pr-releases/claude/bold-thompson-shfqjz
git -C submodules/content-scope-scripts checkout aec784f4b54d32527d5d27f6b280d0f33a56537f

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver-patch Bug fix / internal — no release needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant