Skip to content

feat(core): bump default animation duration to 0.5s (v0.1.1)#10

Merged
antuuanyf merged 1 commit into
mainfrom
tweak/core-default-duration
Jun 2, 2026
Merged

feat(core): bump default animation duration to 0.5s (v0.1.1)#10
antuuanyf merged 1 commit into
mainfrom
tweak/core-default-duration

Conversation

@antuuanyf

Copy link
Copy Markdown
Owner

What

Bumps the default duration of the open/close animation from 0.4s → 0.5s in the vanilla core. The slightly longer default reads better when the modal morphs in and out.

Why

Tuning pass on the open/close feel — the longer default makes the morph settle more smoothly. No new options, no API surface change; existing callers passing an explicit duration are unaffected.

Scope

  • prettier-modals (core): 0.1.0 → 0.1.1 — single-line default change + version bump.
  • prettier-modals-angular (wrapper): unchanged. It has no code change and its peerDependency ^0.1.0 already covers 0.1.1, so it is not republished.

Verification

  • npm run build:core
  • npm test -w prettier-modals ✅ (15/15)

Release steps (after merge)

  1. git tag v0.1.1 && git push origin v0.1.1 → triggers release.yml (packs tarballs + GitHub Release).
  2. npm publish the core only (packages/core). Angular 0.1.0 stays as published.

🤖 Generated with Claude Code

The slightly longer default reads better on open/close. Release as
prettier-modals 0.1.1; the Angular wrapper is unchanged (its
peerDependency ^0.1.0 already covers 0.1.1).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@antuuanyf antuuanyf merged commit 6eb23a7 into main Jun 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant