Releases: dmvaldman/samsara
Releases · dmvaldman/samsara
v0.2.4
Changelog
General
- Add Sphere example
- Add Camera directory with:
Quaternion.js
- Math library for quaternionic mathQuatTransitionable.js
- Extension ofTransitionable
toQuaternions
with slerpingCamera
- Generic camera classTrackballCamera
- Trackball camera for rotating and scaling objects in 3D using mouse and touch gestures
DOM
- Fix
roundToPixel
isSurface
andContext
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
v0.2.3
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
andFingers
) - More tests
- Update docs
- Update examples, including new layout examples
Core
- Fix first frame bug with Promise microtask in
Engine
View
hassetMargins
method- Improve
window
resize responsiveness ElementAllocator
andElementOutput
renamed and moved todom
directorySizeNode
removed. Now resizing fits withstart/update/end
API by debouncing the resize event.- Remove
SUE
- Create
nodes
folder and moveSizeNode
,LayoutNode
, andNode
there
DOM
will-change
event called onstart
of animation, and removed onend
Surface
hasonce
method that fallbacks to itsEventEmitter
- Fix
setPerspective
call onContext
if not yet added to DOM
Events
EventHandler's
off
method provided by @jd-carroll
Streams
- Remove
resize
event in favor ofstart/update/end
for size. - Add
ReduceStream
for functional reductions of streams
Inputs
- Performance improvements in
TouchTracker
TwoFingerInput
usesTouchInput
- Native browser
event
is passed though inputs.ClientX
etc properties are removed. - Rename
TouchTracker
andTwoFingerInput
to have underscores to indicate their privateness - Remove
ResizeStream
- Remove
SizeObservable
Layouts
- Add
HeaderFooterLayout
- Update
FlexLayout
andSequentialLayout
with newReduceStream
Scrollview
hasenableMouseDrag
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 forFlexLayout
HeaderFooterLayout
GridLayout
(work in progress)
- Update other examples with new functional
size
property API
v0.2.0
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
fixset
andreset
methods for multi-dimensional velocity transitionsTransitionable
fixhalt
method- Element size is not commited unless changed
DOM
Surface
andContainerSurface
haveenableScroll
parameter to use native scrollingSurface
andContainerSurface
haveroundToPixel
to prevent font aliasing effectsContext
can take aperspectiveOrigin
attributeSurface
hasremove
method to clear its DOM contents for later reuse
Events
EventFilter
only takesdata
argument. Removedtype
argument.
Inputs
- Update
MouseInput
,TouchInput
andScrollInput
withcumulate
property - PreventDefault on
TouchInput
andScrollInput
to prevent native scrolling behavior ScrollInput
sets velocity to 0 forend
event when trackpad is used
Streams
Stream
now batchesupdate
events
Transitions
- Rename
damping
todrag
inInertia
Views
Scrollview
now hasmarginTop
andmarginBottom
optionsScrollview
renamegoto
method togoTo
Scrollview
has support for inertiaView
supportsaspectRatio
setting