Skip to content

Releases: morajabi/styled-media-query

Add support for Styled Component v4 and use latest build tools

17 Dec 09:49
Compare
Choose a tag to compare

Reduced bundle size by 20x & Styled Components v3 support!

07 Feb 20:17
Compare
Choose a tag to compare

Thanks to @ApacheEx 🎉 a long-standing issue regarding the huge bundle size is resolved now and we don't bundle the whole styled-components package!

Here it is! Version 2 with a new readable API

25 Aug 07:09
Compare
Choose a tag to compare

Note: v1 syntax is still supported and you can use that with version 2, but it'll be removed in v3.

New API

Now we have 3 main methods on the media:

  • lessThan
  • greaterThan
  • between

Bug Fixes

  • It solves #6 and you'll no longer get UglifyJS error