Socket
Socket
Sign inDemoInstall

jss-plugin-compose

Package Overview
Dependencies
7
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    jss-plugin-compose

JSS plugin for classes composition


Version published
Weekly downloads
287K
increased by1.76%
Maintainers
1
Created
Weekly downloads
 

Changelog

Source

10.0.0-alpha.1 (2018-12-26)

Bug fixes

  • [jss] Fix class name white space escaping in dev mode (938)
  • [jss] Fix multiple cases where linking CSS rules didn't work (#815, #710, #664)
  • [jss] Fix sheet ordering when the last sheet was the last sibling in the head element (#819)
  • [jss-plugin-syntax-nested] Fix referencing rules inside media queries (#900)
  • [jss-plugin-syntax-global] Fix TypeError: Cannot read property '@global' of undefined (#905)

Improvements

  • [jss-starter-kit] Introduce jss-starter-kit.bundle.js, which packages all the other libraries into one import for playgrounds like Codepen. (#936)
  • [jss] Add support for Typed CSSOM values (#882)
  • [jss] Function values and function rules support now fallbacks, media queries, nesting, global styles (#682)
  • [react-jss] Remove old lifecycle hooks (#834)
  • [react-jss] Add flow types (#818)
  • [all] Migrate to a monorepo using yarn workspaces and lerna (#729)
  • [all][ts] Add TS definitions to all packages (#889)

Breaking changes

  • [jss] Observables, function values and rules are now standalone packages, not part of the core. They are still part of the default preset though.
  • [jss] Function values, rules and observables apply plugins by default now, which means they can support all plugin defined syntaxes, but they are also slower by default. To speed them up use sheet.update(data, {process: false}) for fn values/rules and jss.use(pluginObservable({process: false})) when setting up observables plugin. (#682)
  • [jss] Rule @keyframes has now scoped name by default, which means that you can access it using $ref from the same sheet and generate global one as before using @global rule (#346).
  • [jss] Add scoped keyframes support (#346)
  • [jss|react-jss] Options createGenerateClassName and generateClassName are renamed to createGenerateId and generateId because the same function is now used to scope @keyframes rules.
  • [react-jss] Drop support for older React versions, require v16.3 or higher (#868, #851)

Pre v10 changelogs

Keywords

FAQs

Last updated on 26 Dec 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc