JSPM

stylis-cq

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q26595F
  • License MIT

Copy of stylis@3.5.4 to support container queries

Package Exports

  • stylis-cq
  • stylis-cq/stylis.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (stylis-cq) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

stylis-cq

This is a copy of stylis version 3.5.4 used by as a dependency of the also modified styled-jsx-container. The goal is to replace its stylis dependency with this version. We added the same instructions the media queries have under the name of containers, thus they should behave the same.

The latest version of stylis does support container queries but not stylis@3.5.4 which is what styled-jsx uses. This package might not be needed in future styled-jsx versions.

Big thanks to Ange as he's the one who first figured out how to add the container query.