November 1, 2024
- Updated
@csstools/css-tokenizer
to3.0.3
(patch) - Updated
@csstools/css-parser-algorithms
to3.0.4
(patch) - Updated
@csstools/cascade-layer-name-parser
to2.0.4
(patch)
October 23, 2024
- Updated:
postcss-selector-parser
- Updated
@csstools/css-parser-algorithms
to3.0.3
(patch) - Updated
@csstools/cascade-layer-name-parser
to2.0.3
(patch)
October 10, 2024
- Updated
@csstools/css-tokenizer
to3.0.2
(patch) - Updated
@csstools/css-parser-algorithms
to3.0.2
(patch) - Updated
@csstools/cascade-layer-name-parser
to2.0.2
(patch)
August 18, 2024
- Updated
@csstools/css-tokenizer
to3.0.1
(patch) - Updated
@csstools/css-parser-algorithms
to3.0.1
(patch) - Updated
@csstools/cascade-layer-name-parser
to2.0.1
(patch)
August 3, 2024
- Updated: Support for Node v18+ (major).
- Updated
@csstools/css-tokenizer
to3.0.0
(major) - Updated
@csstools/css-parser-algorithms
to3.0.0
(major) - Updated
@csstools/cascade-layer-name-parser
to2.0.0
(major)
July 6, 2024
- Updated
@csstools/css-tokenizer
to2.4.1
(patch) - Updated
@csstools/css-parser-algorithms
to2.7.1
(patch) - Updated
@csstools/cascade-layer-name-parser
to1.0.13
(patch)
June 29, 2024
- Updated
@csstools/css-tokenizer
to2.3.2
(patch) - Updated
@csstools/css-parser-algorithms
to2.7.0
(minor) - Updated
@csstools/cascade-layer-name-parser
to1.0.12
(patch)
May 4, 2024
- Updated
@csstools/css-tokenizer
to2.3.1
(patch) - Updated
@csstools/css-parser-algorithms
to2.6.3
(patch) - Updated
@csstools/cascade-layer-name-parser
to1.0.11
(patch)
May 4, 2024
- Updated
@csstools/css-tokenizer
to2.3.0
(minor) - Updated
@csstools/css-parser-algorithms
to2.6.2
(patch) - Updated
@csstools/cascade-layer-name-parser
to1.0.10
(patch)
March 13, 2024
- Updated
@csstools/css-tokenizer
to2.2.4
(patch) - Updated
@csstools/css-parser-algorithms
to2.6.1
(patch) - Updated
@csstools/cascade-layer-name-parser
to1.0.9
(patch)
February 19, 2024
- Fix type definitions
- Updated
@csstools/cascade-layer-name-parser
to1.0.8
(patch) - Updated
@csstools/css-parser-algorithms
to2.6.0
(minor) - Updated
@csstools/css-tokenizer
to2.2.3
(patch)
October 9, 2023
- Updated
@csstools/css-tokenizer
to2.2.1
(patch) - Updated
@csstools/css-parser-algorithms
to2.3.2
(patch) - Updated
@csstools/cascade-layer-name-parser
to1.0.5
(patch)
September 18, 2023
- Updated
@csstools/css-tokenizer
to2.2.0
(minor) - Updated
@csstools/css-parser-algorithms
to2.3.1
(patch) - Updated
@csstools/cascade-layer-name-parser
to1.0.4
(patch)
July 3, 2023
- Updated
@csstools/css-parser-algorithms
to2.3.0
(minor) - Updated
@csstools/cascade-layer-name-parser
to1.0.3
(patch)
April 10, 2023
- Updated
@csstools/css-tokenizer
to2.1.1
(patch) - Updated
@csstools/css-parser-algorithms
to2.1.1
(patch) - Updated
@csstools/cascade-layer-name-parser
to1.0.2
(patch)
February 8, 2023
- Reduce the amount of duplicate fallback CSS.
January 28, 2023
- Improve
types
declaration inpackage.json
January 24, 2023
- Added: Support for Cascade Layers.
November 14, 2022
- Updated: Support for Node v14+ (major).
- Removed:
importFrom
feature (breaking). - Removed:
exportTo
feature (breaking). - Fixed: follow the specification and use
:is()
in transformed selectors (breaking). - Added: Support for
@scope
and@container
as parent rules of@custom-selector
. - Fixed: Do not throw when a selector is invalid, show a warning instead.
@custom-selector :--heading h1, h2, h3;
article :--heading + p {
margin-top: 0;
}
/* becomes */
- article h1 + p,article h2 + p,article h3 + p {
+ article :is(h1, h2, h3) + p {
margin-top: 0;
}
June 4, 2022
- Fixed: allow any valid ident in custom selectors (
@custom-selector :--🧑🏾🎤 .singer
)
June 3, 2022
- Fixed: prevent duplicate rules when custom selectors are not defined
- Fixed: selectors not resolving when using with other features like nesting
June 3, 2022
- Fixed: invalid whitespace (csstools/postcss-custom-selectors#55)
January 12, 2021
- Added: Support for PostCSS v8
- Added: Support for Node v10+
- Fixed: importing from multiple sources (csstools/postcss-custom-selectors#42)
September 20, 2018
- Fixed: Do not break on an empty
importFrom
object
September 18, 2018
- Fixed: Selectors like
.foo:--h1
becomeh1.foo
instead of.fooh1
September 12, 2018
- Added: New
exportTo
function to specify where to export custom selectors - Updated:
importFrom
option to support passing it a function
September 7, 2018
- 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+
May 15, 2017
- Fixed: incorrect export
May 12, 2017
- Added: compatibility with postcss v6.x
August 25, 2015
- Removed: compatibility with postcss v4.x
- Added: compatibility with postcss v5.x
July 14, 2015
- Fixed: Nested/mixed selectors now works correctly (csstools/postcss-custom-selectors#19)
- Added:
transformMatches
option to limit transformation to :matches() replacements.
June 30, 2015
- Fixed: No more useless warnings for undefined non custom selectors (csstools/postcss-custom-selectors#22)
- Changed: warnings now use PostCSS message API
June 30, 2015
- Fixed: the lineBreak option keeping the selectors indent (csstools/postcss-custom-selectors#18)
- Fixed: the tip of an undefined selector (csstools/postcss-custom-selectors#20)
June 4, 2015
- Changed: use PostCSS 4.1 plugin API (csstools/postcss-custom-selectors#13)
June 3, 2015
- Fixed:
(foo, bar)
conversion error exists in the selector
May 29, 2015
- Removed: no longer support
::
or--
to defined a custom selectors, you must use the syntax:--
to define it. (csstools/postcss-custom-selectors#6) - Fixed: two or more consecutive hyphens in selector don't output
undefined
(csstools/postcss-custom-selectors#14)
April 6, 2015
- Fixed: add support for multilines definition
December 6, 2014
- Added: "lineBreak" option
December 6, 2014
- First release