@csstools/postcss-stepped-value-functions 4.0.4 → 4.0.5
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 +3 -5
- package/README.md +3 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
# Changes to PostCSS Stepped Value Functions
|
|
2
2
|
|
|
3
|
-
### 4.0.
|
|
3
|
+
### 4.0.5
|
|
4
4
|
|
|
5
|
-
_November
|
|
5
|
+
_November 11, 2024_
|
|
6
6
|
|
|
7
|
-
- Updated [`@csstools/css-
|
|
8
|
-
- Updated [`@csstools/css-parser-algorithms`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms) to [`3.0.4`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms/CHANGELOG.md#304) (patch)
|
|
9
|
-
- Updated [`@csstools/css-calc`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-calc) to [`2.0.4`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-calc/CHANGELOG.md#204) (patch)
|
|
7
|
+
- Updated [`@csstools/css-calc`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-calc) to [`2.1.0`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-calc/CHANGELOG.md#210) (minor)
|
|
10
8
|
|
|
11
9
|
[Full CHANGELOG](https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-stepped-value-functions/CHANGELOG.md)
|
package/README.md
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
`npm install @csstools/postcss-stepped-value-functions --save-dev`
|
|
4
4
|
|
|
5
|
-
[PostCSS Stepped Value Functions] lets you use `round`, `rem` and `mod` stepped value functions, following the [CSS Values 4].
|
|
5
|
+
[PostCSS Stepped Value Functions] lets you use `round`, `rem` and `mod` stepped value functions, following the [CSS Values 4] specification.
|
|
6
6
|
|
|
7
|
-
```
|
|
7
|
+
```css
|
|
8
8
|
.test-functions {
|
|
9
9
|
padding: 8px mod(18px, 5px) 1px calc(rem(15px, 6px) + 50%);
|
|
10
10
|
transform: rotate(mod(-140deg, -90deg));
|
|
@@ -66,7 +66,7 @@ is preserved. By default, it is not preserved.
|
|
|
66
66
|
postcssSteppedValueFunctions({ preserve: true })
|
|
67
67
|
```
|
|
68
68
|
|
|
69
|
-
```
|
|
69
|
+
```css
|
|
70
70
|
.test-functions {
|
|
71
71
|
padding: 8px mod(18px, 5px) 1px calc(rem(15px, 6px) + 50%);
|
|
72
72
|
transform: rotate(mod(-140deg, -90deg));
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@csstools/postcss-stepped-value-functions",
|
|
3
3
|
"description": "Use round, rem and mod functions in CSS",
|
|
4
|
-
"version": "4.0.
|
|
4
|
+
"version": "4.0.5",
|
|
5
5
|
"contributors": [
|
|
6
6
|
{
|
|
7
7
|
"name": "Antonio Laguna",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"dist"
|
|
49
49
|
],
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@csstools/css-calc": "^2.0
|
|
51
|
+
"@csstools/css-calc": "^2.1.0",
|
|
52
52
|
"@csstools/css-parser-algorithms": "^3.0.4",
|
|
53
53
|
"@csstools/css-tokenizer": "^3.0.3"
|
|
54
54
|
},
|