@dmvaldman dmvaldman released this Oct 27, 2016 · 14 commits to master since this release

Assets 2

Changelog

General

  • Add Sphere example
  • Add Camera directory with:
    • Quaternion.js - Math library for quaternionic math
    • QuatTransitionable.js - Extension of Transitionable to Quaternions with slerping
    • Camera - Generic camera class
    • TrackballCamera - Trackball camera for rotating and scaling objects in 3D using mouse and touch gestures

DOM

  • Fix roundToPixel is Surface and Context cfb7952
  • Call event.stopPropagation on DOM events dffba67
  • Suppress "ghost" mouse DOM events that fire with touch events 4f7d358

Core

  • Fix bugs in Transform.interpet 0341a41, 34ab1a6
  • Transitionable now acts as a shell for interpolation engines 01f6374
  • Fix true-sizing bug 16f3b18

Inputs

  • Add x and y pageX/Y positions to MouseInput and TouchInput dacf532
  • Fix options passed in with inputs for GenericInput 8d14d80
  • Fix PinchInput and ScaleInput velocity calculation 9c79999
  • No touchmove event propagation unless the touch has actually moved 2a3f653

@dmvaldman dmvaldman released this Sep 21, 2016 · 74 commits to master since this release

Assets 2

Changelog

General

  • Add samsarajs to Bower thanks to @richardkopelow
  • Add eslint
  • Size properties can now take functions
  • New demos of Sequential layouts
  • Update license
  • New UI folder with some UI elements (Slider and Fingers)
  • More tests
  • Update docs
  • Update examples, including new layout examples

Core

  • Fix first frame bug with Promise microtask in Engine
  • View has setMargins method
  • Improve window resize responsiveness
  • ElementAllocator and ElementOutput renamed and moved to dom directory
  • SizeNode removed. Now resizing fits with start/update/end API by debouncing the resize event.
  • Remove SUE
  • Create nodes folder and move SizeNode, LayoutNode, and Node there

DOM

  • will-change event called on start of animation, and removed on end
  • Surface has once method that fallbacks to its EventEmitter
  • Fix setPerspective call onContext if not yet added to DOM

Events

Streams

  • Remove resize event in favor of start/update/end for size.
  • Add ReduceStream for functional reductions of streams

Inputs

  • Performance improvements in TouchTracker
  • TwoFingerInput uses TouchInput
  • Native browser event is passed though inputs. ClientX etc properties are removed.
  • Rename TouchTracker and TwoFingerInput to have underscores to indicate their privateness
  • Remove ResizeStream
  • Remove SizeObservable

Layouts

  • Add HeaderFooterLayout
  • Update FlexLayout and SequentialLayout with new ReduceStream
  • Scrollview has enableMouseDrag options

Transitions

  • Rename physics transitions filenames with underscores. E.g., Spring.js -> _Spring.js

UI

  • Add Fingers.js (useful for visualizing multitouch)
  • Add Slider.js

Examples

  • Add Layouts folder with examples for
    • FlexLayout
    • HeaderFooterLayout
    • GridLayout (work in progress)
  • Update other examples with new functional size property API
Apr 24, 2016

@dmvaldman dmvaldman released this Feb 6, 2016 · 306 commits to master since this release

Assets 3

Changelog

General

  • Update copyright year to 2016
  • Update all examples and provide demos and docs on website
  • Add Carousel, ParallaxCats, GoogleNow and SafariTabs examples
  • Smoother animations by scaling deviceRatio
  • Better resize event handling for dealing with animating URL bars on mobile devices
  • Add Transitionable test

Core

  • Transitionable fix set and reset methods for multi-dimensional velocity transitions
  • Transitionable fix halt method
  • Element size is not commited unless changed

DOM

  • Surface and ContainerSurface have enableScroll parameter to use native scrolling
  • Surface and ContainerSurface have roundToPixel to prevent font aliasing effects
  • Context can take a perspectiveOrigin attribute
  • Surface has remove method to clear its DOM contents for later reuse

Events

  • EventFilter only takes data argument. Removed type argument.

Inputs

  • Update MouseInput, TouchInput and ScrollInput with cumulate property
  • PreventDefault on TouchInput and ScrollInput to prevent native scrolling behavior
  • ScrollInput sets velocity to 0 for end event when trackpad is used

Streams

  • Stream now batches update events

Transitions

  • Rename damping to drag in Inertia

Views

  • Scrollview now has marginTop and marginBottom options
  • Scrollview rename goto method to goTo
  • Scrollview has support for inertia
  • View supports aspectRatio setting