All notable changes to this project will be documented in this file.
Undocumented APIs may change
The format is based on Keep a Changelog.
- Attach adopted constructed stylesheets to the element's root (
documentorShadowRoot) so dynamically injected CSS applies when Interact runs inside shadow DOM (#173) - Register sequence effect selectors on the source interaction so sequence steps resolve selectors when the animated target differs from the source element (#173)
- Allow React 19 in
peerDependenciesforreactandreact-dom(#194) - Revise package description and expand npm keywords
- Added a Playground app and publish it under
/playground.
- Console warnings when
Interact.getInstance()orInteract.getController()cannot resolve a key (#190)
- React integration rules: document wrapping
Interact.create()inuseEffectwith cleanup callingdestroy()(#190)
- Replace
typeandmethodinInteraction.paramswithtriggerTypeandstateActiononTimeEffectandStateEffect(#180) - Split public types into focused modules for clearer API docs and maintenance (#181)
- Completely revamped and refreshed interaction rules (#159)
- Fix typo:
useCutsomElement→useCustomElementin types/options (#172)
- Bump
@wix/motiondependency to^2.1.3(#169)
- Add support to
onAbortto fire correctly when an animation is aborted mid-play (#163)
- Fix
viewEnterinset value to be negated when applied asrootMargin(#166) - Add default
threshold: 0.2forviewEnterintersection observer (#166)
- Add
build:landingscript and improveviewEnterexample (#158) - Bump
@wix/motiondependency to^2.1.0
- Fix leave event listeners are not added when using transition effects with
hoverorinteresttriggers without explicitparams: { method: 'toggle' }
- Sequences: coordinated multi-element animation sequences with staggered delays (#133)
- New
SequenceConfigandSequenceConfigReftypes for declarative sequence configuration (#133) - New
sequencesproperty on interactions and top-level config for reusable sequence definitions (#133) - Dynamic add/remove of sequence groups for list item support (#133)
- Sequence documentation, guides, and demos (#133)
- Rules rewrite for all interaction types (#135)
- Bump
@wix/motiondependency to^2.1.0
- Fix interpolated keys multi-trigger bug (#139)
- Refactor event triggers: more generic eventTriggers, allow adding triggers more easily (#129)
- Move to wix org on GH (#126)
- Fix applying effects when interaction conditions do not match (#123)
- Fix homepage, docs, and rules (#122)
- Move to wix org on GitHub (#126)
- Initial release.
- Revise package description and expand npm keywords
- Implement
AnimationGroup.getProgress()correctly (#179)
- Bump package version for publish (#168)
- Add
onAbortmethod toAnimationGroupfor invoking callback when animation is aborted (#163) - Add Playwright e2e test suite covering animation groups, effects, pointer, and scroll animations (#131)
- Fix
Sequence.applyOffsets()crash when called with empty animation groups (#152)
Sequenceclass: coordinated animation timeline with stagger offsets, add/remove groups (#133)getSequence()function to createSequenceinstances fromAnimationGroupArgs(#133)createAnimationGroups()function for buildingAnimationGrouparrays (#133)AnimationGroup.getTimingOptions()method for extracting timing data (#133)- New types:
SequenceOptions,AnimationGroupArgs,IndexedGroup(#133) getJsEasing()now supports parsing CSScubic-bezier()andlinear()easing strings (#133)
- Rename
getCssUnitsparameter fromtypetounit(#122) - RangeOffset API: use
unitinstead oftypefor offset specification (#122)
- Documentation cleanup and consolidation (#122)
- Move to wix org on GitHub (#126)
- Initial release.
- Revise package description and expand npm keywords
- Add
iterationDelayto ongoing presets (replaces formerdelayusage) (#178)
- Fix
fadeInfor ShuttersIn and GlideIn presets (#177)
- Initial release.