Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/okikio/native. An initiative which aims to make it easy to create complex, light-weight, and perfor okikio.github.io/native
Something went wrong. Try again.
Changelog #
2.2.0 #
Minor Changes #
-
15bee9d: #### @okikio/animate:
- add
Timelineclass &timelinemethod to@okikio/animate. It's a very light wrapper around theAnimateclass, it functions very similarly to animejs's timeline method. It allows you to add a bunch of Animate instances you want to run in a specific order together and allows you to set the progress, play, pause, etc... of the timeline, which will then get passed to theAnimateinstances connected to the timeline. - update typescript types for better intellisense
- add
stagger,random, &StaggerCustomEasingto @okikio/animate- stagger: Creates complex staggered animations, it does it by creating a closure function and using it as an AnimationOption
- random: Generates random numbers within a range of values
- StaggerCustomEasing: Allows you to create custom easings for the stagger function; note that it returns a function
- replace
tweenwithAnimateAttributesclass, it gains the ability to update tweens via theupdateOptionsmethod, but losses the ability to animate the style attribute of an element - add
arrFillto make transform property animations smooth, in browsers that don't supportCSS.registerProperty - fix
offset, andcompositeanimation options not working properly - set
Animateconstructor's parameters to an empty object to avoid errors - add
initialOptions,maxEndDelay,totalDurationOptions, andtimelineOffsettoAnimateclass - add a frame rate limit for raf (requestAnimationFrame) and the
updateevent, by default the limit is 60fps - make
Animate.prototype.visibilityPlayStatepublic - fix bugs with
playstate-changeevent - add
commitStylesandpersistmethods to theAnimateclass - set
totalDuration,minDelay,maxSpeed,maxDuration,maxEndDelay, etc.. on the Animate class even if no targets are given - add support for array easings
- fix bug with computed transforms by excluding transforms not found in
initialOptions - use updatePlaybackRate for change playback rate by default, if the browser doesn't support it set the playbackRate manually
- add better comments & update documentaion (WIP, I am currently working on updating the documentation)
- update
toArr()to only convert strings with spaces to arrays. This is for animation options like this,translate: ["50px 60px", "60px 70px"], it replaces the old functionallity of using commas & it's easier on the eyes - remove color-rgba.ts & replace it with DOM colors. Move all unit conversions including colors to a new unit-conversion.ts file
- use DOM colors for custom easing interpolation
- remove matrix & matrix3d from animation options
- use CSS variables (via
CSS.registerProperty) for animating transform functions. CSS vars are smoother and allows you to use multiple animations on the same individul transform property and have them just work with little to no hassle. Only Chromium based browsers support it at the moment, if the browser doesn't support it @okikio/animate will fallback to the old method of animating transform properties.
@okikio/native: #
- remove
@okikio/animatefrom@okikio/native, it added bulk that I feel would be better separate. This is a major change, because this change will break multiple projects if devs are not careful. - update
@okikio/nativeto better use raf during scroll and resize events. During my testing I determined that cancel raf was using up compute time, but wasn't actually helping performance.
@okikio/manager: #
- remove
asyncMethodCallfrom@okikio/manager. I don't see many devs using it, and it's a confusing method, I feel it would be better for each person who needs the functionality to just create their own custom method.
@okikio/emitter: #
- fix event listener scope bugs. Fixed errors where event listeners scope wasn't being applied properly.
- fix bug with event selection when specifing multiple events. Prior to this fix, if you did this
...on("event1 event2 event3"),@okikio/emitterwould create an array of with event{1, 2, & 3} but would also include empty events
- add
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.1.7 (2021-05-28) #
Bug Fixes #
- @okikio/animate: 🐛 use -/+ Infinity as initial value for minDelay, maxSpeed, totalDuration (9aeec2e)
- @okikio/native: 🐛 add url to request & timeout errors event (0be77c6)
2.1.6 (2021-05-26) #
Bug Fixes #
- @okikio/animate: 🐛 fix transfom is "" bug; use document.timeline as default timeline; (da5e640)
2.1.5 (2021-05-25) #
2.1.4 (2021-05-25) #
2.1.3 (2021-05-25) #
Bug Fixes #
- @okikio/animate: 🐛 fix easing & loop bugs in animationKeyframes (9025933)
2.1.2 (2021-05-25) #
2.1.1 (2021-05-25) #
2.1.0 (2021-05-25) #
Features #
- @okikio/animate: ✨ (8a83f0e)
- @okikio/animate: ✨ (017044d)
- @okikio/animate: ✨ (b388ff1)
- @okikio/animate: ✨ add updateOptions method; (382da7e)
- @okikio/emitter: ✨ (8bcbf61)
- @okikio/native: ✨ (e1a687b)
- @okikio/native: ✨ add support for paths; (e5ae22b)
- @okikio/native: ✨ rename @okikio/emitter types; (936d190)
Bug Fixes #
- root: 🐛 add sideEffects false; (e82fc66)
2.0.4 (2021-01-23) #
2.0.3 (2021-01-23) #
Bug Fixes #
- package.json: fix skypack and bundlephobia's issues with source field and dependencies (5b6d057)
2.0.2 (2021-01-14) #
2.0.1 (2021-01-14) #
Bug Fixes #
- 🐛 fix cancel animation frame bug (6e7e7d2)
2.0.0 (2021-01-13) #
⚠ BREAKING CHANGES #
- @okikio/animate: Pause & Play will work the native way regardless of current player state (this may cause unexpected errors)
...
Bug Fixes #
- @okikio/animate: fix pause not working on looping animations (20adbec)
1.3.0 (2021-01-04) #
Features #
- @okikio/animate: ✨ fix bugs, (e1d2825)
1.2.0 (2020-12-30) #
Features #
- @okikio/animate: ✨ (738c4b3)
1.1.2 (2020-12-29) #
1.1.1 (2020-12-29) #
Bug Fixes #
- all: 🐛 fix package.json browserfield breaking module exports (d8e9054)
1.1.0 (2020-12-28) #
Features #
- all: 🚧 finalize design for native package, update documentation and build process (f9fdb32)
- add commitlint/conventional-commits to repo (6adc3bf)
Bug Fixes #
- @okikio/manager: 🎨 WIP try to fix/ find cause of esbuild treeshake errors (9ded385)
- all: 🐛 fix bugs, make pjax and transitionmanager support config as options, fix readme, etc (2fa6811)
- all: 🐛 separate HistoryManager, PageManager, CONFIG, and TransitionManager from Native (01d8190)
- all: 🚧 fix bugs in manger and emitter; use cypress animate and native, jest/jest-jsdom doesn't support Web Animation API; fix tests for manager and emitter; WIP tests using cypress; finalize native js api; WIP Readme for animate and native; delay work till Jabodent is complete. (42d161a)
- gitpod: 🐛 fix gitpod docker file (8e8fdb8)
- 🐛 fix scrolling bug that stops scrolling during transition, and popstate (69ba508)
- )updated release command (b27ceb7)
- added default exports, except for native (b7f37c2)
- bug fixes (60d6edd)
- forgot to make constructor arguments optional (905c4a8)
- lerna publish error fix (07f86eb)
- small layout change (6836c0b)
- still testing lerna with pnpm (1bcec01)
- tring to publish (ec86224)
- update package.json (99569d5)
- wait till lerna supports workspace protocol (6b99f8c)
1.0.6 (2020-12-28) #
1.0.5 (2020-12-28) #
1.0.4 (2020-12-28) #
1.0.3 (2020-12-28) #
1.0.3 (2020-12-28) #
1.0.2 (2020-12-27) #
0.0.8 (2020-12-26) #
Bug Fixes #
- @okikio/manager: 🎨 WIP try to fix/ find cause of esbuild treeshake errors (9ded385)
- all: 🐛 fix bugs, make pjax and transitionmanager support config as options, fix readme, etc (2fa6811)
- all: 🐛 separate HistoryManager, PageManager, CONFIG, and TransitionManager from Native (01d8190)
- gitpod: 🐛 fix gitpod docker file (8e8fdb8)
- 🐛 fix scrolling bug that stops scrolling during transition, and popstate (69ba508)
- small layout change (6836c0b)
Features #
- all: 🚧 finalize design for native package, update documentation and build process (f9fdb32)
0.0.7 (2020-07-02) #
Bug Fixes #
- all: 🚧 fix bugs in manger and emitter; use cypress animate and native, jest/jest-jsdom doesn't support Web Animation API; fix tests for manager and emitter; WIP tests using cypress; finalize native js api; WIP Readme for animate and native; delay work till Jabodent is complete. (42d161a)
Features #
- add commitlint/conventional-commits to repo (6adc3bf)
0.0.6 (2020-06-29) #
0.0.5 (2020-06-29) #
Bug Fixes #
0.0.4 (2020-06-29) #
Bug Fixes #
- )updated release command (b27ceb7)
- still testing lerna with pnpm (1bcec01)
- update package.json (99569d5)
- wait till lerna supports workspace protocol (6b99f8c)
0.0.3 (2020-06-27) #
Bug Fixes #
- tring to publish (ec86224)