All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning.
- Localisation of animation properties.
- Using global selectors outside of a global context no longer triggers warnings. Instead, this functionality will be provided by a CSS Modules linter.
- Pure mode where only local scope is allowed.
- Using global selectors outside of a global context now triggers warnings.
- Migrated to
css-selector-tokenizer
.
- Renamed project to
postcss-modules-local-by-default
.
- Hide global leak detection behind undocumented
lint
option until it's more robust.
- Transformer output now uses the new
:local(.identifier)
syntax.
- Simple global leak detection. Non-local selectors like
input{}
and [data-foobar]
now throw when not marked as global.
- Support for global selectors appended directly to locals, e.g.
.foo:global(.bar)
- Automatic local classes
- Explicit global selectors with
:global