diff --git a/CHANGELOG.md b/CHANGELOG.md index 4fe4bde..0b9bb73 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,12 @@ +# 2.7.0 - 2016-06-28 + +- Added: ``@apply`` support (definitions limited to ``:root`` selector) + ([#291](https://github.com/MoOx/postcss-cssnext/issues/291)) - @pascalduez) + # 2.6.0 - 2016-06-01 - Added: ``overflow-wrap`` fallback - ([#280](https://github.com/MoOx/postcss-cssnext/pull/280)) - - @MattDiMu + ([#280](https://github.com/MoOx/postcss-cssnext/pull/280) - @MattDiMu) # 2.5.2 - 2016-04-04 diff --git a/docs/content/features.md b/docs/content/features.md index 4d2fc8a..e6d384d 100644 --- a/docs/content/features.md +++ b/docs/content/features.md @@ -21,7 +21,7 @@ depending on your browser scope) using ## custom properties & `var()` The current transformation for custom properties aims to provide a -future-proof way of using a **limited subset (to top-level `:root` selector)** +future-proof way of using a **limited to `:root` selector** of the features provided by native CSS custom properties. ```css @@ -34,9 +34,7 @@ a { } ``` -(The transformation is not complete and can't be properly. By injecting selectors -with new computed rules, we will break original cascade & unexpected results -might happen). +⚠️ [_The definitions are **limited to `:root` selector.**_](https://github.com/postcss/postcss-custom-properties#readme) [Specification](http://www.w3.org/TR/css-variables/) | @@ -44,8 +42,8 @@ might happen). ## custom properties set & `@apply` -Allows you to store a set of properties in a named variable, then reference them -in other style rules. +Allows you to store a set of properties in a named custom property, +then reference them in other style rules. ```css :root { @@ -60,7 +58,7 @@ in other style rules. } ``` -(The same DOM restrictions as the custom properties plugin apply). +⚠️ [_The definitions are **limited to `:root` selector.**_](https://github.com/postcss/postcss-custom-properties#readme) [Specification](https://tabatkins.github.io/specs/css-apply-rule) | diff --git a/package.json b/package.json index 78383a3..e0f9450 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "postcss-cssnext", - "version": "2.6.0", + "version": "2.7.0", "description": "Use tomorrow’s CSS syntax, today", "keywords": [ "postcss",