@csstools/postcss-gradients-interpolation-method
Advanced tools
Comparing version 1.0.1 to 2.0.0
# Changes to PostCSS Gradients Interpolation Method | ||
### 2.0.0 (January 24, 2023) | ||
- Updated: Support for Node v14+ (major). | ||
### 1.0.1 (March 7, 2022) | ||
@@ -4,0 +8,0 @@ |
import type { Node } from 'postcss-value-parser'; | ||
export declare type ColorStop = { | ||
export type ColorStop = { | ||
color: string; | ||
@@ -4,0 +4,0 @@ colorStopLength: string; |
import type { PluginCreator } from 'postcss'; | ||
declare type pluginOptions = { | ||
/** postcss-gradients-interpolation-method plugin options */ | ||
export type pluginOptions = { | ||
/** Preserve the original notation. default: true */ | ||
preserve?: boolean; | ||
/** Enable "@csstools/postcss-progressive-custom-properties". default: true */ | ||
enableProgressiveCustomProperties?: boolean; | ||
@@ -5,0 +8,0 @@ }; |
{ | ||
"name": "@csstools/postcss-gradients-interpolation-method", | ||
"description": "Use interpolation methods in CSS gradient functions", | ||
"version": "1.0.1", | ||
"version": "2.0.0", | ||
"author": "Jonathan Neal <jonathantneal@hotmail.com>", | ||
"license": "CC0-1.0", | ||
"funding": { | ||
"type": "opencollective", | ||
"url": "https://opencollective.com/csstools" | ||
}, | ||
"engines": { | ||
"node": "^12 || ^14 || >=16" | ||
"node": "^14 || ^16 || >=18" | ||
}, | ||
@@ -27,11 +31,12 @@ "main": "dist/index.cjs", | ||
"dependencies": { | ||
"@csstools/postcss-progressive-custom-properties": "^1.1.0", | ||
"@csstools/postcss-progressive-custom-properties": "^2.0.0", | ||
"postcss-value-parser": "^4.2.0" | ||
}, | ||
"peerDependencies": { | ||
"postcss": "^8.3" | ||
"postcss": "^8.4" | ||
}, | ||
"scripts": { | ||
"build": "rollup -c ../../rollup/default.js", | ||
"clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"", | ||
"prebuild": "npm run clean", | ||
"build": "rollup -c ../../rollup/default.mjs", | ||
"clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true }); fs.mkdirSync('./dist');\"", | ||
"docs": "node ../../.github/bin/generate-docs/install.mjs && node ../../.github/bin/generate-docs/readme.mjs", | ||
@@ -38,0 +43,0 @@ "lint": "npm run lint:eslint && npm run lint:package-json", |
@@ -1,7 +0,4 @@ | ||
# PostCSS Gradients Interpolation Method [<img src="https://postcss.github.io/postcss/logo.svg" alt="PostCSS Logo" width="90" height="90" align="right">][postcss] | ||
# PostCSS Gradients Interpolation Method [<img src="https://postcss.github.io/postcss/logo.svg" alt="PostCSS Logo" width="90" height="90" align="right">][PostCSS] | ||
[<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/TODO.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] | ||
[<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/TODO.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] | ||
@@ -78,4 +75,9 @@ [PostCSS Gradients Interpolation Method] lets you use different interpolation methods in CSS gradient functions following [CSS Specification]. | ||
| [Node](INSTALL.md#node) | [PostCSS CLI](INSTALL.md#postcss-cli) | [Webpack](INSTALL.md#webpack) | [Create React App](INSTALL.md#create-react-app) | [Gulp](INSTALL.md#gulp) | [Grunt](INSTALL.md#grunt) | | ||
| --- | --- | --- | --- | --- | --- | | ||
- [Node](INSTALL.md#node) | ||
- [PostCSS CLI](INSTALL.md#postcss-cli) | ||
- [PostCSS Load Config](INSTALL.md#postcss-load-config) | ||
- [Webpack](INSTALL.md#webpack) | ||
- [Next.js](INSTALL.md#nextjs) | ||
- [Gulp](INSTALL.md#gulp) | ||
- [Grunt](INSTALL.md#grunt) | ||
@@ -160,7 +162,4 @@ ## Options | ||
[Gulp PostCSS]: https://github.com/postcss/gulp-postcss | ||
[Grunt PostCSS]: https://github.com/nDmitry/grunt-postcss | ||
[PostCSS]: https://github.com/postcss/postcss | ||
[PostCSS Loader]: https://github.com/postcss/postcss-loader | ||
[PostCSS Gradients Interpolation Method]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-gradients-interpolation-method | ||
[CSS Specification]: https://drafts.csswg.org/css-images-4/#linear-gradients |
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
27819
54
164
+ Added@csstools/postcss-progressive-custom-properties@2.3.0(transitive)
- Removed@csstools/postcss-progressive-custom-properties@1.3.0(transitive)
Updated@csstools/postcss-progressive-custom-properties@^2.0.0