@csstools/css-calc
Advanced tools
Comparing version 1.1.7 to 1.2.0
# Changes to CSS Calc | ||
### 1.2.0 | ||
_March 13, 2024_ | ||
- Correctly serialize negative zero `-0` values | ||
- Add support for `round()` with only a single number argument | ||
- Add support for `none` in `clamp()` | ||
- Updated [`@csstools/css-tokenizer`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer) to [`2.2.4`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer/CHANGELOG.md#224) (patch) | ||
- Updated [`@csstools/css-parser-algorithms`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms) to [`2.6.1`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms/CHANGELOG.md#261) (patch) | ||
### 1.1.7 | ||
@@ -16,10 +26,2 @@ | ||
### 1.1.5 | ||
_December 15, 2023_ | ||
- Fix type definitions | ||
- Updated [`@csstools/css-tokenizer`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer) to [`2.2.2`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer/CHANGELOG.md#222) (patch) | ||
- Updated [`@csstools/css-parser-algorithms`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms) to [`2.4.0`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms/CHANGELOG.md#240) (minor) | ||
[Full CHANGELOG](https://github.com/csstools/postcss-plugins/tree/main/packages/css-calc/CHANGELOG.md) |
@@ -8,3 +8,3 @@ import { ComponentValue } from '@csstools/css-parser-algorithms'; | ||
export declare function calcFromComponentValues(componentValuesList: Array<Array<ComponentValue>>, options?: conversionOptions): ComponentValue[][]; | ||
export declare function calcFromComponentValues(componentValuesList: Array<Array<ComponentValue>>, options?: conversionOptions): Array<Array<ComponentValue>>; | ||
@@ -11,0 +11,0 @@ export declare type conversionOptions = { |
{ | ||
"name": "@csstools/css-calc", | ||
"description": "Solve CSS math expressions", | ||
"version": "1.1.7", | ||
"version": "1.2.0", | ||
"contributors": [ | ||
@@ -51,4 +51,4 @@ { | ||
"peerDependencies": { | ||
"@csstools/css-parser-algorithms": "^2.6.0", | ||
"@csstools/css-tokenizer": "^2.2.3" | ||
"@csstools/css-parser-algorithms": "^2.6.1", | ||
"@csstools/css-tokenizer": "^2.2.4" | ||
}, | ||
@@ -58,3 +58,3 @@ "homepage": "https://github.com/csstools/postcss-plugins/tree/main/packages/css-calc#readme", | ||
"type": "git", | ||
"url": "https://github.com/csstools/postcss-plugins.git", | ||
"url": "git+https://github.com/csstools/postcss-plugins.git", | ||
"directory": "packages/css-calc" | ||
@@ -61,0 +61,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
60749
230