@csstools/postcss-gradients-interpolation-method 3.0.4 → 3.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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changes to PostCSS Gradients Interpolation Method
2
2
 
3
+ ### 3.0.5 (May 19, 2023)
4
+
5
+ - Updated `@csstools/postcss-progressive-custom-properties` to `2.2.0` (minor)
6
+ - Updated `@csstools/css-color-parser` to `1.2.0` (minor)
7
+
8
+
9
+
3
10
  ### 3.0.4 (April 17, 2023)
4
11
 
5
12
  - Fix infinite loop when parsing gradient functions. (see : https://github.com/csstools/postcss-plugins/issues/948)
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [<img alt="npm version" src="https://img.shields.io/npm/v/@csstools/postcss-gradients-interpolation-method.svg" height="20">][npm-url] [<img alt="CSS Standard Status" src="https://cssdb.org/images/badges/gradients-interpolation-method.svg" height="20">][css-url] [<img alt="Build Status" src="https://github.com/csstools/postcss-plugins/workflows/test/badge.svg" height="20">][cli-url] [<img alt="Discord" src="https://shields.io/badge/Discord-5865F2?logo=discord&logoColor=white">][discord]
4
4
 
5
- [PostCSS Gradients Interpolation Method] lets you use different interpolation methods in CSS gradient functions following [CSS Specification].
5
+ [PostCSS Gradients Interpolation Method] lets you use different interpolation methods in CSS gradient functions following [CSS Images Module 4].
6
6
 
7
7
  ```pcss
8
8
  .example {
@@ -24,7 +24,7 @@
24
24
  --background-image: linear-gradient(rgb(56, 87, 35) 0%, rgb(64, 83, 46), rgb(70, 79, 54), rgb(76, 74, 62), rgb(82, 69, 68), rgb(86, 64, 75), rgb(91, 58, 81), rgb(95, 51, 87), rgb(99, 44, 93), rgb(103, 34, 98), rgb(106, 21, 104) 100%);
25
25
  }
26
26
 
27
- @supports (background: linear-gradient(in oklch, red 0%, red 0% 1%, red 2%)) and (color: hsl(0 0% 0% / 0)) {
27
+ @supports (background: linear-gradient(in oklch, red 0%, red 0% 1%, red 2%)) {
28
28
  :root {
29
29
  --background-image: linear-gradient(in oklab, hsl(96, 42%, 24%) 0%, hsl(302, 67%, 25%) 100%);
30
30
  }
@@ -162,4 +162,4 @@ _Custom properties do not fallback to the previous declaration_
162
162
 
163
163
  [PostCSS]: https://github.com/postcss/postcss
164
164
  [PostCSS Gradients Interpolation Method]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-gradients-interpolation-method
165
- [CSS Specification]: https://drafts.csswg.org/css-images-4/#linear-gradients
165
+ [CSS Images Module 4]: https://drafts.csswg.org/css-images-4/#linear-gradients
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@csstools/postcss-gradients-interpolation-method",
3
3
  "description": "Use interpolation methods in CSS gradient functions",
4
- "version": "3.0.4",
4
+ "version": "3.0.5",
5
5
  "author": "Jonathan Neal <jonathantneal@hotmail.com>",
6
6
  "license": "CC0-1.0",
7
7
  "funding": [
@@ -35,10 +35,10 @@
35
35
  "dist"
36
36
  ],
37
37
  "dependencies": {
38
- "@csstools/css-color-parser": "^1.1.2",
38
+ "@csstools/css-color-parser": "^1.2.0",
39
39
  "@csstools/css-parser-algorithms": "^2.1.1",
40
40
  "@csstools/css-tokenizer": "^2.1.1",
41
- "@csstools/postcss-progressive-custom-properties": "^2.0.0"
41
+ "@csstools/postcss-progressive-custom-properties": "^2.2.0"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "postcss": "^8.4"
@@ -63,9 +63,11 @@
63
63
  "bugs": "https://github.com/csstools/postcss-plugins/issues",
64
64
  "keywords": [
65
65
  "color",
66
+ "color space interpolation",
66
67
  "conic",
67
68
  "css",
68
69
  "gradients",
70
+ "hue interpolation method",
69
71
  "interpolation",
70
72
  "linear",
71
73
  "postcss",