yarn: Add package which allows creating css mixins.

This commit is contained in:
Aman Agrawal 2021-12-08 10:58:52 +00:00 committed by Tim Abbott
parent 1c180a9f57
commit 7fc191d816
4 changed files with 33 additions and 4 deletions

View File

@ -56,6 +56,7 @@
"postcss-import": "^14.0.2",
"postcss-loader": "^6.1.1",
"postcss-media-minmax": "https://github.com/andersk/postcss-media-minmax.git#01239f17f4a9872ace1dd133cee526a7de4ac9f5",
"postcss-mixins": "^9.0.1",
"postcss-nested": "^5.0.0",
"postcss-prefixwrap": "^1.24.0",
"postcss-simple-vars": "^6.0.0",

View File

@ -4,7 +4,7 @@ module.exports = {
extends: ["stylelint-config-standard", "stylelint-config-prettier"],
rules: {
// Add some exceptions for recommended rules
"at-rule-no-unknown": [true, {ignoreAtRules: ["extend"]}],
"at-rule-no-unknown": [true, {ignoreAtRules: ["extend", "define-mixin", "mixin"]}],
"font-family-no-missing-generic-family-keyword": [
true,
{ignoreFontFamilies: ["FontAwesome"]},

View File

@ -48,4 +48,4 @@ API_FEATURE_LEVEL = 111
# historical commits sharing the same major version, in which case a
# minor version bump suffices.
PROVISION_VERSION = "168.1"
PROVISION_VERSION = "168.2"

View File

@ -2964,6 +2964,11 @@ camel-case@^4.1.2:
pascal-case "^3.1.2"
tslib "^2.0.3"
camelcase-css@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/camelcase-css/-/camelcase-css-2.0.1.tgz#ee978f6947914cc30c6b44741b6ed1df7f043fd5"
integrity sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==
camelcase-keys@^6.2.2:
version "6.2.2"
resolved "https://registry.yarnpkg.com/camelcase-keys/-/camelcase-keys-6.2.2.tgz#5e755d6ba51aa223ec7d3d52f25778210f9dc3c0"
@ -8276,6 +8281,14 @@ postcss-import@^14.0.2:
read-cache "^1.0.0"
resolve "^1.1.7"
postcss-js@^3.0.3:
version "3.0.3"
resolved "https://registry.yarnpkg.com/postcss-js/-/postcss-js-3.0.3.tgz#2f0bd370a2e8599d45439f6970403b5873abda33"
integrity sha512-gWnoWQXKFw65Hk/mi2+WTQTHdPD5UJdDXZmX073EY/B3BWnYjO4F4t0VneTCnCGQ5E5GsCdMkzPaTXwl3r5dJw==
dependencies:
camelcase-css "^2.0.1"
postcss "^8.1.6"
postcss-loader@^6.1.1:
version "6.2.1"
resolved "https://registry.yarnpkg.com/postcss-loader/-/postcss-loader-6.2.1.tgz#0895f7346b1702103d30fdc66e4d494a93c008ef"
@ -8346,6 +8359,16 @@ postcss-minify-selectors@^5.1.0:
alphanum-sort "^1.0.2"
postcss-selector-parser "^6.0.5"
postcss-mixins@^9.0.1:
version "9.0.1"
resolved "https://registry.yarnpkg.com/postcss-mixins/-/postcss-mixins-9.0.1.tgz#eb00f8073b6d37881b10029e3c0ceea35f7d7576"
integrity sha512-4gFBr/JxMhSOlzHFfUDXV3vU0FNhDwIx/rzuvjvep/LAysJW9zcpeVxxNwBu1orM7STsTB9ZRULe44fD9lKWrA==
dependencies:
fast-glob "^3.2.7"
postcss-js "^3.0.3"
postcss-simple-vars "^6.0.3"
sugarss "^4.0.1"
postcss-modules-extract-imports@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/postcss-modules-extract-imports/-/postcss-modules-extract-imports-3.0.0.tgz#cda1f047c0ae80c97dbe28c3e76a43b88025741d"
@ -8502,7 +8525,7 @@ postcss-selector-parser@^6.0.2, postcss-selector-parser@^6.0.4, postcss-selector
cssesc "^3.0.0"
util-deprecate "^1.0.2"
postcss-simple-vars@^6.0.0:
postcss-simple-vars@^6.0.0, postcss-simple-vars@^6.0.3:
version "6.0.3"
resolved "https://registry.yarnpkg.com/postcss-simple-vars/-/postcss-simple-vars-6.0.3.tgz#e66516c7fe980da3498f4a8ad400b9c53861806c"
integrity sha512-fkNn4Zio8vN4vIig9IFdb8lVlxWnYR769RgvxCM6YWlFKie/nQaOcaMMMFz/s4gsfHW4/5bJW+i57zD67mQU7g==
@ -8541,7 +8564,7 @@ postcss-value-parser@^4.0.0, postcss-value-parser@^4.0.2, postcss-value-parser@^
picocolors "^0.2.1"
source-map "^0.6.1"
postcss@^8.0.3, postcss@^8.1.10, postcss@^8.2.15, postcss@^8.3.11, postcss@^8.3.5:
postcss@^8.0.3, postcss@^8.1.10, postcss@^8.1.6, postcss@^8.2.15, postcss@^8.3.11, postcss@^8.3.5:
version "8.4.4"
resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.4.tgz#d53d4ec6a75fd62557a66bb41978bf47ff0c2869"
integrity sha512-joU6fBsN6EIer28Lj6GDFoC/5yOZzLCfn0zHAn/MYXI7aPt4m4hK5KC5ovEZXy+lnCjmYIbQWngvju2ddyEr8Q==
@ -9984,6 +10007,11 @@ stylelint@^14.0.1:
v8-compile-cache "^2.3.0"
write-file-atomic "^3.0.3"
sugarss@^4.0.1:
version "4.0.1"
resolved "https://registry.yarnpkg.com/sugarss/-/sugarss-4.0.1.tgz#128a783ed71ee0fc3b489ce1f7d5a89bc1e24383"
integrity sha512-WCjS5NfuVJjkQzK10s8WOBY+hhDxxNt/N6ZaGwxFZ+wN3/lKKFSaaKUNecULcTTvE4urLcKaZFQD8vO0mOZujw==
supercluster@^7.0.0:
version "7.1.4"
resolved "https://registry.yarnpkg.com/supercluster/-/supercluster-7.1.4.tgz#6762aabfd985d3390b49f13b815567d5116a828a"