Skip to content

Releases: plotdb/csscope

3.0.0

09 Dec 06:44

Choose a tag to compare

  • rename csscope.js, csscope.min.js to index.js, index.min.js

2.0.3

09 Dec 06:43

Choose a tag to compare

  • remove ldquery dependency
  • support fetch in nodejs context
  • use stable scope naming
  • support bundling

2.0.2

05 Dec 11:12

Choose a tag to compare

  • support custom environment
  • support as a node module
  • use cssRules to replace legacy rules member of CSSStyleSheet
  • add sample usage in node environment

2.0.1

04 Dec 12:39

Choose a tag to compare

  • set title for iframe for accessibility
  • add index.js, index.min.js and deprecate csscope.js, csscope.min.js
  • upgrade modules
  • make building faster
  • add caching
  • simplify registry and url code
  • tweak variable naming
  • add lib spec information
  • use cache for prebundling to optimize loading process
  • fix bug: append different comment to force css rules to refresh
  • support scoping of parsed CSS string ( CSSRuleList ) directly

2.0.0

24 Sep 09:12

Choose a tag to compare

  • rename param scope to optional rule param, and and name as default param.

1.0.0

12 Sep 05:46

Choose a tag to compare

  • rename set-registry to registry.
  • align registry logic with @plotdb/rescope and @plotdb/block.
  • change from lib to assets/lib for default registry root

0.5.0

15 Aug 16:34

Choose a tag to compare

  • support module style( {name,version,path} ) style url
  • support customizing registry for module style url

0.4.1

23 Jul 18:00

Choose a tag to compare

  • fix bug: !important is gone after csscoping. add this by checking getPropertyPriority.

0.4.0

02 Jun 16:58

Choose a tag to compare

  • change api: load and get now returns url + scope class object ( { url, scope } )

0.3.1

02 Jun 15:10

Choose a tag to compare

  • fix bug: scoping doesn't work with css rules starting with a tag name.