- Added: Support for PostCSS v8
- Added: Support for Node v10+
- Fixed: importing from multiple sources (#42)
- Fixed: Do not break on an empty
importFrom
object
- Fixed: Selectors like
.foo:--h1
becomeh1.foo
instead of.fooh1
- Added: New
exportTo
function to specify where to export custom selectors - Updated:
importFrom
option to support passing it a function
- Added: New
preserve
option to preserve custom selectors and rules using them - Added: New
importFrom
option to specify where to import custom selectors - Added: Support for PostCSS v7
- Added: Support for Node v6+
- Fixed: incorrect export
- Added: compatibility with postcss v6.x
- Removed: compatibility with postcss v4.x
- Added: compatibility with postcss v5.x
- Fixed: Nested/mixed selectors now works correctly (#19)
- Added:
transformMatches
option to limit transformation to :matches() replacements.
- Fixed: No more useless warnings for undefined non custom selectors (#22)
- Changed: warnings now use PostCSS message API
- Fixed: the lineBreak option keeping the selectors indent (#18)
- Fixed: the tip of an undefined selector (#20)
- Changed: use PostCSS 4.1 plugin API (#13)
- Fixed:
(foo, bar)
conversion error exists in the selector (See also :matches() test)
- Removed: no longer support
::
or--
to defined a custom selectors, you must use the syntax:--
to define it. (#6) - Fixed: two or more consecutive hyphens in selector don't output
undefined
(#14)
- Fixed: add support for multilines definition
- Added: "lineBreak" option
- First release