-
FEATURE: modals can now send actions to their containing controller. Thanks @rlivsey.
-
FEATURE: improved compatibility with new versions of RSVP
-
BUGFIX: modals will properly bind their aria-label properties.
-
CHANGE: minor refinements to the modal popup animation.
-
CHANGE: to more easily distinguish between false-ish contexts and the initial render, transition rules will now only match the initial render if they explicitly say
fromRoute(null)
. -
BUGFIX: fixed container size animations when transitioning to empty states. (#97)
- BUGFIX: containerless component should pass their class onto their liquid-children, but not their id, because multiple children will be in the dom together.
-
CHANGE: modals are now opt-in. You turn them on in your application by inserting a
{{liquid-modal}}
tag in your application template. This avoids us doing non-standard things that make the load order fragile and break the Ember inspector. -
BUGFIX: containerless components should pass any class or id arguments onto their liquid-child element.
-
CHANGE:
liquid-outlet
,liquid-if
, andliquid-with
no longer insert a liquid-child element when they are empty. This may subtly change your transition matching rules if you were relying on the fact that an absent oldView could only happen at initial render, because now it can be absent at other times. -
CHANGE:
use
is a shorthand for when you just want to specify a transition to always run. But since we offer the option of animating at initial render, and since we think that's the less-common case,use
has always refused to match transitions with an absentoldView
. But due to the previously mentioned change, absentoldView
can now happen at times other than initial render, souse
has been updated to animate even whenoldView
is absent. Instead it checks explicitly for the initial render case. -
FEATURE: added a
containerless
option to the helpers. If set, we don't render a.liquid-container
element and we don't manageposition
,width
, orheight
for the child elements. This can be useful when the user wants to manage their own container differently. For example, see this flexbox-based demo. -
BUGFIX: modal initialization was broken for apps with autogenerated application controller.
-
BUGFIX: modal initialization was broken for apps using global namespacing.
- Bugfix: restore ES3 compatibility (#67).
- Patch release: 0.9.0 was only compatible with ember-cli 0.0.44. This restores backward compatibility for other recent versions of ember-cli.
-
Enhancement: modal dialogs.
-
Updated to the newest ember-addon API. Thanks @jakecraige.
- Oops, released before pushing upstream. Fixing.
- Enhancement: add
liquid-unless
view to complementliquid-if
.
-
Bugfix: fix a regression that causes some directional transitions to collapse padding (#60).
-
Bugfix: the liquid-with helper now respects enableGrowth, growDuration, growPixelsPerSecond, and growEasing.
- Bugfix: my first attempt at resolving issue #53 was wrong, so 0.8.0 can suffer jittery outlets.
-
Possibly BREAKING change: improved management of container sizes thanks to @jamesreggio. This should result in much more friendly behavior for things like inline content or content centered with auto margins.
-
Enhancement: the predefined directional transitions (toLeft, toUp, etc), have a new implementation that should look nicer when the old & new content vary widely in size.
-
Bugfix: we no longer depend on a global
$
and always defer toEmber.$
.
-
Bugfix: don't conflict with a user's transition map written in any transpiled language.
-
Bugfix: pass 'id' property through helpers so you can.
-
Feature: all helpers accept
growDuration
to cap the amount of time they'll spend growing/shrinking. -
Feature: the library will warn you if you're using Velocity older than 0.11.8, because we're using an enhancement in that version to better deal with element
position
properties.
- BREAKING bugfix: all helpers render with a
liquid-container
class, rather thanliquid-outlet
class. This was the original intent of the 0.6.0 release and the docs already reflected this, but it was left out until now.
-
Enhancement: make Ember integration tests automatically wait for our animations to finish.
-
Test coverage: added acceptance tests for all the demo animations.
- Oops, released the wrong branch. Fixing.
-
BREAKING CHANGES: this release introduces static layout. No longer do you need to deal with all the liquid-child divs being absolutely positioned.
-
liquid-box (and liquid-measure) are deprecated. The point of liquid-box was mostly to work around the problem of absolutely positioned children, which is not a problem anymore.
-
all the other helpers gain the ability to animate their own height and width changes to match their changing content.
-
all helpers now produce two layers of divs instead of just one. The outer layer (liquid-container) will remain stable in your document flow (and possibly animate its own size changes, as mentioned above). The inner layer is the liquid-child that animations target.
-
liquid-child has no default styling, and it can be statically positioned. The library will dynamically switch it to absolutely positioned only during animations.
-
New DSL shorthand: you can say
toModel(true)
as an easy way to match a liquid-if going into thetrue
state, etc.
-
New feature: it's easier to define symmetric transition rules using the "reverse" statement. (http://beren:4200/#/helpers/transition-map/choosing-transitions)
-
Improvement: the toLeft/toRight/toUp/toDown predefined transitions should look nicer when they get interrupted.
-
Ember Compat: we now support metal-views!
-
Bugfix: liquid-box sometimes measured its content as 0
-
Bugfix: liquid-box sometimes animated at initial render
-
liquid-box now accepts
trackWidth
andtrackHeight
options, see docs. -
Bugfix: added a workaround for an RSVP bug that could cause apps using liquid-fire to never see exceptions that happen during transitions. (ember-animation#28)
-
Bugfix: prevent a potential exception when
liquid-measure
measures nothing.
-
Helpers now take a
use
option that lets you provide a transition name that they will always use. This covers the simplest cases where you don't care about context at all, and lets you avoid cluttering your transition map. -
Reorganized the documentation routes to avoid potential confusion. Before, we had rules like
fromRoute('helpers.liquid-if')
which appears to falsely imply you can match directly against helper names. -
Thanks to Alex Matchneer (@machty) and Robert Jackson (@rwjblue) for contributing to this release.
-
We now resolve all named transitions via the container. You can place them in app/transitions/my-fancy-animation.js. As a result, the use of "define" within the transition map is deprecated.
-
Added some new animation primitives for testing the state of running animations, and adapted the 'fade' transition to demonstrate how to handle interruptions.
-
Lots more documentation, which is now essentially complete.
- Added standalone packaging.
- Pull velocity.js from npm (velocity-animate) instead of bower. This lets users override the version of velocity.js that they're using by depending on it directly.
- Moved library code under
vendor
so it will no longer fall under your app namespace. Import it likeimport { animate } from "vendor/liquid-fire"