@csstools/css-syntax-patches-for-csstree 1.0.18 → 1.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,11 +1,10 @@
1
1
  # Changes to CSS Syntax Patches For CSSTree
2
2
 
3
- ### 1.0.18
3
+ ### 1.0.19
4
4
 
5
5
  _November 26, 2025_
6
6
 
7
- - Patch `clip: rect()` to preserve legacy syntax
8
- - Patch color functions to support relative color component keywords
7
+ - Patch `calc-size()` to allow the `size` keyword
9
8
 
10
9
 
11
10
  [Full CHANGELOG](https://github.com/csstools/postcss-plugins/tree/main/packages/css-syntax-patches-for-csstree/CHANGELOG.md)
package/dist/index.json CHANGED
@@ -546,8 +546,8 @@
546
546
  "calc-keyword": "e | pi | infinity | -infinity | NaN",
547
547
  "calc-mix()": "calc-mix( [ <calc-sum> <percentage [0,100]>? ]# )",
548
548
  "calc-product": "<calc-value> [ [ '*' | / ] <calc-value> ]*",
549
- "calc-size-basis": "[ <size-keyword> | <calc-size()> | any | <calc-sum> ]",
550
- "calc-size()": "calc-size( <calc-size-basis> , <calc-sum> )",
549
+ "calc-size-basis": "[ <size-keyword> | <calc-size()> | <calc-sum> ]",
550
+ "calc-size()": "calc-size( [ [ <calc-size-basis> , [ <calc-sum> | size ] ] | [ any , <calc-sum> ] ] )",
551
551
  "calc-value": "<number> | <dimension> | <percentage> | <calc-keyword> | ( <calc-sum> )",
552
552
  "cf-image": "[ <image> | <color> ] && <percentage [0,100]>?",
553
553
  "circle()": "circle( <radial-size>? [ at <position> ]? )",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@csstools/css-syntax-patches-for-csstree",
3
3
  "description": "CSS syntax patches for CSS tree",
4
- "version": "1.0.18",
4
+ "version": "1.0.19",
5
5
  "contributors": [
6
6
  {
7
7
  "name": "Antonio Laguna",