You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New diffing algorithm, which keeps track of the container's status (which
query was applied already) and applies / removes the least amount of new styles
possible.
r-units produce a value with limited precision. This is 2 by default, which
can be changed in the Container options as valuePrecision.
singleContainer option (true by default), which makes the use of @define-container unnecessary for single-file containers. (Works well with
Component-based architecture.)
Support for using r-units with css custom props. ie: --rw: 1rw;
Changed
Published the runtime and the postcss plugin separately, both of which reside
in the same monorepo. (Thanks to Lerna)
Container instances are auto-adjusting themselves on size change by default.
(adjustOnResize option.)
Bundling with Rollup instead of just transpiling the source. This gives better
control over what is exposed, makes it easy to support other module formats in
the future, and integrates Babel seemlessly.
Removed
Removed support for the container and css unit combinations - like chpx - in
favour of rw/rh/rmin/rmax units.
Removed initialiseAllContainers. It'll be turned to a demo instead in the
future.
Removed some of the limitation on r-units. Paddings, for example can now use
them.