Skip to content

Releases: ZeeCoder/container-query

Readme Patch

02 Mar 00:45
Compare
Choose a tag to compare

Another attempt to make the readme work on npm

New Feature: comma separated queries

02 Mar 00:44
Compare
Choose a tag to compare

Made comma separated ("or") queries work as they do for @media queries, so now this is possible:
@container (width >= 100px) and (height >= 100px), (orientation: landscape)

Patch

02 Mar 00:42
Compare
Choose a tag to compare

Attempt to make the readme appear on npm.

cmin / cmax unit support

27 Feb 13:21
Compare
Choose a tag to compare

Now you can write "1cminpx", which turns to "10px" if the container's width and height are the following: 1000x2000.
Since 1000 is smaller, and 1% of that is 10.
"px" is then is attached as a suffix finally giving us "10px".

This works with any other unit too, so this is possible:
1cminem => 10em
1cmax% => 20%
etc.

Patch release

27 Feb 00:15
Compare
Choose a tag to compare
  • Fixed the aspect-ratio query
  • Improved the isEmptyObject tests

Patch Release

27 Feb 00:06
Compare
Choose a tag to compare

Made Jest a dev-only dependency

HOTFIX

22 Feb 23:43
Compare
Choose a tag to compare
  • BUGFIX (#6): Fixed unitless @container queries
  • Upgraded Jest from v18 to v19

Patch Release

22 Feb 00:43
Compare
Choose a tag to compare

Removed coverage/ and .babelrc from the installed package, hence making it a bit lighter.

First stable release

22 Feb 00:42
Compare
Choose a tag to compare

The first stable release, with 100% test coverage.