postcss-color-functional-notation
Advanced tools
Comparing version 4.2.2 to 4.2.3
# Changes to PostCSS Color Functional Notation | ||
### 4.2.3 (May 19, 2022) | ||
- Handle modern channel values in legacy notation (comma separated) | ||
```css | ||
.color { | ||
color: rgba(0, 255, 0, 50%); | ||
} | ||
/* becomes */ | ||
.color { | ||
color: rgba(0, 255, 0, 0.5); | ||
} | ||
``` | ||
### 4.2.2 (February 5, 2022) | ||
@@ -4,0 +20,0 @@ |
149
package.json
{ | ||
"name": "postcss-color-functional-notation", | ||
"version": "4.2.2", | ||
"description": "Use space and slash separated color notation in CSS", | ||
"author": "Jonathan Neal <jonathantneal@hotmail.com>", | ||
"license": "CC0-1.0", | ||
"homepage": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-color-functional-notation#readme", | ||
"bugs": "https://github.com/csstools/postcss-plugins/issues", | ||
"main": "dist/index.cjs", | ||
"module": "dist/index.mjs", | ||
"types": "./dist/index.d.ts", | ||
"exports": { | ||
".": { | ||
"import": "./dist/index.mjs", | ||
"require": "./dist/index.cjs", | ||
"default": "./dist/index.mjs" | ||
} | ||
}, | ||
"files": [ | ||
"CHANGELOG.md", | ||
"LICENSE.md", | ||
"README.md", | ||
"dist" | ||
], | ||
"scripts": { | ||
"build": "rollup -c ../../rollup/default.js", | ||
"clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"", | ||
"lint": "eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern", | ||
"prepublishOnly": "npm run clean && npm run build && npm run test", | ||
"stryker": "stryker run --logLevel error", | ||
"test": "postcss-tape --ci && npm run test:exports", | ||
"test:exports": "node ./test/_import.mjs && node ./test/_require.cjs" | ||
}, | ||
"engines": { | ||
"node": "^12 || ^14 || >=16" | ||
}, | ||
"dependencies": { | ||
"postcss-value-parser": "^4.2.0" | ||
}, | ||
"devDependencies": { | ||
"postcss": "^8.3.6", | ||
"postcss-tape": "^6.0.1" | ||
}, | ||
"peerDependencies": { | ||
"postcss": "^8.4" | ||
}, | ||
"keywords": [ | ||
"postcss", | ||
"css", | ||
"postcss-plugin", | ||
"color", | ||
"colors", | ||
"rgb", | ||
"rgba", | ||
"hsl", | ||
"hsla", | ||
"hwb", | ||
"functional", | ||
"notation", | ||
"design", | ||
"syntax", | ||
"space", | ||
"comma" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/csstools/postcss-plugins.git", | ||
"directory": "plugins/postcss-color-functional-notation" | ||
}, | ||
"volta": { | ||
"extends": "../../package.json" | ||
} | ||
"name": "postcss-color-functional-notation", | ||
"description": "Use space and slash separated color notation in CSS", | ||
"version": "4.2.3", | ||
"author": "Jonathan Neal <jonathantneal@hotmail.com>", | ||
"license": "CC0-1.0", | ||
"funding": { | ||
"type": "opencollective", | ||
"url": "https://opencollective.com/csstools" | ||
}, | ||
"engines": { | ||
"node": "^12 || ^14 || >=16" | ||
}, | ||
"main": "dist/index.cjs", | ||
"module": "dist/index.mjs", | ||
"types": "./dist/index.d.ts", | ||
"exports": { | ||
".": { | ||
"import": "./dist/index.mjs", | ||
"require": "./dist/index.cjs", | ||
"default": "./dist/index.mjs" | ||
} | ||
}, | ||
"files": [ | ||
"CHANGELOG.md", | ||
"LICENSE.md", | ||
"README.md", | ||
"dist" | ||
], | ||
"dependencies": { | ||
"postcss-value-parser": "^4.2.0" | ||
}, | ||
"peerDependencies": { | ||
"postcss": "^8.4" | ||
}, | ||
"scripts": { | ||
"build": "rollup -c ../../rollup/default.js", | ||
"clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"", | ||
"docs": "node ../../.github/bin/generate-docs/install.mjs", | ||
"lint": "npm run lint:eslint && npm run lint:package-json", | ||
"lint:eslint": "eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern", | ||
"lint:package-json": "node ../../.github/bin/format-package-json.mjs", | ||
"prepublishOnly": "npm run clean && npm run build && npm run test", | ||
"test": "node .tape.mjs && npm run test:exports", | ||
"test:exports": "node ./test/_import.mjs && node ./test/_require.cjs", | ||
"test:rewrite-expects": "REWRITE_EXPECTS=true node .tape.mjs" | ||
}, | ||
"homepage": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-color-functional-notation#readme", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/csstools/postcss-plugins.git", | ||
"directory": "plugins/postcss-color-functional-notation" | ||
}, | ||
"bugs": "https://github.com/csstools/postcss-plugins/issues", | ||
"keywords": [ | ||
"color", | ||
"colors", | ||
"comma", | ||
"css", | ||
"design", | ||
"functional", | ||
"hsl", | ||
"hsla", | ||
"hwb", | ||
"notation", | ||
"postcss", | ||
"postcss-plugin", | ||
"rgb", | ||
"rgba", | ||
"space", | ||
"syntax" | ||
], | ||
"csstools": { | ||
"exportName": "postcssColorFunctionalNotation", | ||
"humanReadableName": "PostCSS Color Functional Notation" | ||
}, | ||
"volta": { | ||
"extends": "../../package.json" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
24274
0
48
4