Releases: alexlafroscia/ember-emotion
Releases · alexlafroscia/ember-emotion
v5.0.0
5.0.0 (2019-01-02)
Bug Fixes
- get FastBoot compatibility working again (ba29d12)
Chores
- deps: upgrade to
emotion
10 (a746c06)
BREAKING CHANGES
- deps: While neither the public API of
emotion
nor the addon changed, the Babel plugin has slightly less options that it did before, which could break some people's usage of the Ember addon. Because of this, it makes more sense to cut a breaking change. Note that, if you're not configuing the Babel plugin yourself, this is likely an upgrade you can perform withotu changing your code at all.
v4.0.3
v4.0.2
v4.0.1
v4.0.0
v3.0.0
Breaking Changes
- Leverage the resolver for looking up styles (#15) - @alexlafroscia
Upgrade Path
Since we now ship a blueprint that would be run on installation, people upgrading to this version need to run it manually. After upgrading to 3.0.0
, run the following:
ember g ember-emotion
and the change to your resolver.js
should be applied. If there are issues, check out the repo's dummy app to understand how the mixin can be imported and applied.
v2.0.0
Breaking Changes
emotion
classes are no longer set on the component instance. Use theemotion-class
helper instead- No more initializer to bootstrap injecting styles into components
New Features
emotion-class
helper, used to look up the emotion classes for a component or controllerember-emotion
now works with controllers, too
cx
helper, mapping to thecx
function inemotion
, for attaching multiple classes to an element
v1.3.0
v1.2.0
- Add
css
helper, analogous to using theemotion
function with object styles
v1.1.0
- Automatically make classes exported from
styles.js
within a component pod available to the template - Automatically apply the default export from
styles.js
to the root element of the component