Skip to content

build(deps): bump @formkit/auto-animate to 0.10.2 and fix ref typing - #3247

Open
jonathanKingston wants to merge 3 commits into
mainfrom
claude/bold-thompson-azlux8
Open

jonathanKingston wants to merge 3 commits into
mainfrom
claude/bold-thompson-azlux8

Conversation

@jonathanKingston

Copy link
Copy Markdown
Contributor

Asana Task/Github Issue: Supersedes #3224

Description

Carries the Dependabot bump of @formkit/auto-animate from 0.10.0 to 0.10.2 (#3224) plus the fix it needs to pass lint.

0.10.2 corrects the Preact hook's return type from Object<T> to RefObject<T>. With T inferred as Element, the ref no longer fits the <div ref> prop in the onboarding Stack component, so npm run lint failed with Type 'RefObject<Element> | null' is not assignable to type 'Ref<HTMLDivElement> | undefined'. The fix annotates the hook result as RefObject<HTMLDivElement>, the same pattern used in Bubble.js and SettingsContent.js. No runtime code changes beyond the dependency bump.

This is a runtime dependency in special pages (animation), so a human should confirm the animation behaviour before merging.

Testing Steps

  • npm run build, npm run lint and npm run test-unit pass locally.
  • Check the onboarding Stack animations in the Build Branch integration pages.

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_018Jw5UTHxd1owSnmzPuFxJS

dependabot Bot and others added 3 commits November 24, 2026 09:15
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>
…10.2

auto-animate 0.10.2 types the Preact hook's ref as RefObject<Element>,
which no longer matches the div's ref prop. Annotate it as
RefObject<HTMLDivElement> as other onboarding components do.

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

@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 25, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Build Branch

Branch pr-releases/claude/bold-thompson-azlux8
Commit af59ae55a0
Updated November 25, 2026 at 8:51:12 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-azlux8

Swift Package Manager (Apple):

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

git submodule (Windows):

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

npm (Android / Extension):

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

Swift Package Manager (Apple):

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

git submodule (Windows):

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

@github-actions

Copy link
Copy Markdown
Contributor

[Beta] Generated file diff

Time updated: Wed, 25 Nov 2026 08:51:31 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

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