diff --git a/package-lock.json b/package-lock.json index 6f2f400ad607..c84aa2ff7149 100644 --- a/package-lock.json +++ b/package-lock.json @@ -74,9 +74,8 @@ "p-memoize": "^7.1.1", "prettier": "^3.0.3", "snarkdown": "^2.0.0", - "stylelint": "^15.11.0", - "stylelint-config-prettier": "^9.0.5", - "stylelint-config-xo": "^0.22.0", + "stylelint": "^16.6.0", + "stylelint-config-xo": "^1.0.1", "terser-webpack-plugin": "^5.3.9", "tsx": "^3.14.0", "type-fest": "^4.6.0", @@ -143,9 +142,9 @@ "integrity": "sha512-kxl7vhg+SUgyHRn22qVbR9MfSm5CzdlYZDJTbGemqFFi/Jmno/hdoQIvBIPoqFY9dcPyxzOUNRRFn6x88UQMpw==" }, "node_modules/@csstools/css-parser-algorithms": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-2.3.2.tgz", - "integrity": "sha512-sLYGdAdEY2x7TSw9FtmdaTrh2wFtRJO5VMbBrA8tEqEod7GEggFmxTSK9XqExib3yMuYNcvcTdCZIP6ukdjAIA==", + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-2.6.3.tgz", + "integrity": "sha512-xI/tL2zxzEbESvnSxwFgwvy5HS00oCXxL4MLs6HUiDcYfwowsoQaABKxUElp1ARITrINzBnsECOc1q0eg2GOrA==", "dev": true, "funding": [ { @@ -161,13 +160,13 @@ "node": "^14 || ^16 || >=18" }, "peerDependencies": { - "@csstools/css-tokenizer": "^2.2.1" + "@csstools/css-tokenizer": "^2.3.1" } }, "node_modules/@csstools/css-tokenizer": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-2.2.1.tgz", - "integrity": "sha512-Zmsf2f/CaEPWEVgw29odOj+WEVoiJy9s9NOv5GgNY9mZ1CZ7394By6wONrONrTsnNDv6F9hR02nvFihrGVGHBg==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-2.3.1.tgz", + "integrity": "sha512-iMNHTyxLbBlWIfGtabT157LH9DUx9X8+Y3oymFEuMj8HNc+rpE3dPFGFgHjpKfjeFDjLjYIAIhXPGvS2lKxL9g==", "dev": true, "funding": [ { @@ -184,9 +183,9 @@ } }, "node_modules/@csstools/media-query-list-parser": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-2.1.5.tgz", - "integrity": "sha512-IxVBdYzR8pYe89JiyXQuYk4aVVoCPhMJkz6ElRwlVysjwURTsTk/bmY/z4FfeRE+CRBMlykPwXEVUg8lThv7AQ==", + "version": "2.1.11", + "resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-2.1.11.tgz", + "integrity": "sha512-uox5MVhvNHqitPP+SynrB1o8oPxPMt2JLgp5ghJOWf54WGQ5OKu47efne49r1SWqs3wRP8xSWjnO9MBKxhB1dA==", "dev": true, "funding": [ { @@ -202,14 +201,14 @@ "node": "^14 || ^16 || >=18" }, "peerDependencies": { - "@csstools/css-parser-algorithms": "^2.3.2", - "@csstools/css-tokenizer": "^2.2.1" + "@csstools/css-parser-algorithms": "^2.6.3", + "@csstools/css-tokenizer": "^2.3.1" } }, "node_modules/@csstools/selector-specificity": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-3.0.0.tgz", - "integrity": "sha512-hBI9tfBtuPIi885ZsZ32IMEU/5nlZH/KOVYJCOh7gyMxaVLGmLedYqFN6Ui1LXkI8JlC8IsuC0rF0btcRZKd5g==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-3.1.1.tgz", + "integrity": "sha512-a7cxGcJ2wIlMFLlh8z2ONm+715QkPHiyJcxwQlKOz/03GPw1COpfhcmC9wm4xlZfp//jWHNNMwzjtqHXVWU9KA==", "dev": true, "funding": [ { @@ -237,6 +236,16 @@ "node": ">=10.0.0" } }, + "node_modules/@dual-bundle/import-meta-resolve": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/@dual-bundle/import-meta-resolve/-/import-meta-resolve-4.1.0.tgz", + "integrity": "sha512-+nxncfwHM5SgAtrVzgpzJOI1ol0PkumhVo469KCf9lUi21IGcY90G98VuHm9VRrUypmAzawAHO9bs6hqeADaVg==", + "dev": true, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, "node_modules/@esbuild/android-arm": { "version": "0.19.5", "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.5.tgz", @@ -1038,6 +1047,28 @@ "node": ">=18" } }, + "node_modules/@stylistic/stylelint-plugin": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@stylistic/stylelint-plugin/-/stylelint-plugin-2.1.2.tgz", + "integrity": "sha512-JsSqu0Y3vsX+PBl+DwULxC0cIv9C1yIcq1MXkx7pBOGtTqU26a75I8MPYMiEYvrsXgsKLi65xVgy1iLVSZquJA==", + "dev": true, + "dependencies": { + "@csstools/css-parser-algorithms": "^2.6.1", + "@csstools/css-tokenizer": "^2.2.4", + "@csstools/media-query-list-parser": "^2.1.9", + "is-plain-object": "^5.0.0", + "postcss-selector-parser": "^6.0.16", + "postcss-value-parser": "^4.2.0", + "style-search": "^0.1.0", + "stylelint": "^16.4.0" + }, + "engines": { + "node": "^18.12 || >=20.9" + }, + "peerDependencies": { + "stylelint": "^16.0.2" + } + }, "node_modules/@types/codemirror": { "version": "5.60.13", "resolved": "https://registry.npmjs.org/@types/codemirror/-/codemirror-5.60.13.tgz", @@ -1091,12 +1122,6 @@ "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==", "dev": true }, - "node_modules/@types/minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag==", - "dev": true - }, "node_modules/@types/node": { "version": "20.9.0", "resolved": "https://registry.npmjs.org/@types/node/-/node-20.9.0.tgz", @@ -1932,15 +1957,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/arrify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", - "integrity": "sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/assertion-error": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", @@ -2157,48 +2173,6 @@ "node": ">=6" } }, - "node_modules/camelcase": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", - "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/camelcase-keys": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-7.0.2.tgz", - "integrity": "sha512-Rjs1H+A9R+Ig+4E/9oyB66UC5Mj9Xq3N//vcLf2WzgdTi/3gUu3Z9KoqmlrEG4VuuLK8wJHofxzdQXz/knhiYg==", - "dev": true, - "dependencies": { - "camelcase": "^6.3.0", - "map-obj": "^4.1.0", - "quick-lru": "^5.1.1", - "type-fest": "^1.2.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/camelcase-keys/node_modules/type-fest": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-1.4.0.tgz", - "integrity": "sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/caniuse-lite": { "version": "1.0.30001561", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001561.tgz", @@ -2526,9 +2500,9 @@ } }, "node_modules/css-functions-list": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/css-functions-list/-/css-functions-list-3.2.1.tgz", - "integrity": "sha512-Nj5YcaGgBtuUmn1D7oHqPW0c9iui7xsTsj5lIX8ZgevdfhmjFfKB3r8moHJtNJnctnYXJyYX5I1pp90HM4TPgQ==", + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/css-functions-list/-/css-functions-list-3.2.2.tgz", + "integrity": "sha512-c+N0v6wbKVxTu5gOBBFkr9BEdBWaqqjQeiJ8QvSRIJOf+UxlJh930m8e6/WNeODIK0mYLFkoONrnj16i2EcvfQ==", "dev": true, "engines": { "node": ">=12 || >=16" @@ -2664,52 +2638,6 @@ } } }, - "node_modules/decamelize": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-5.0.1.tgz", - "integrity": "sha512-VfxadyCECXgQlkoEAjeghAr5gY3Hf+IKjKb+X8tGVDtveCjN+USwprd2q3QXBR9T1+x2DG0XZF5/w+7HAtSaXA==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/decamelize-keys": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.1.tgz", - "integrity": "sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg==", - "dev": true, - "dependencies": { - "decamelize": "^1.1.0", - "map-obj": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/decamelize-keys/node_modules/decamelize": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/decamelize-keys/node_modules/map-obj": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", - "integrity": "sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/deep-eql": { "version": "4.1.3", "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-4.1.3.tgz", @@ -3184,6 +3112,15 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/env-paths": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", + "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", + "dev": true, + "engines": { + "node": ">=6" + } + }, "node_modules/envinfo": { "version": "7.11.0", "resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.11.0.tgz", @@ -4661,15 +4598,28 @@ } }, "node_modules/file-entry-cache": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-7.0.1.tgz", - "integrity": "sha512-uLfFktPmRetVCbHe5UPuekWrQ6hENufnA46qEGbfACkK5drjTTdQYUragRgMjHldcbYG+nslUerqMPjbBSHXjQ==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", + "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==", "dev": true, "dependencies": { - "flat-cache": "^3.1.1" + "flat-cache": "^4.0.0" }, "engines": { - "node": ">=12.0.0" + "node": ">=16.0.0" + } + }, + "node_modules/file-entry-cache/node_modules/flat-cache": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz", + "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==", + "dev": true, + "dependencies": { + "flatted": "^3.2.9", + "keyv": "^4.5.4" + }, + "engines": { + "node": ">=16" } }, "node_modules/filename-reserved-regex": { @@ -5220,15 +5170,6 @@ "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", "dev": true }, - "node_modules/hard-rejection": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz", - "integrity": "sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==", - "dev": true, - "engines": { - "node": ">=6" - } - }, "node_modules/has": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/has/-/has-1.0.4.tgz", @@ -5390,9 +5331,9 @@ } }, "node_modules/ignore": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", - "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", + "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", "dev": true, "engines": { "node": ">= 4" @@ -5428,15 +5369,6 @@ "node": ">=4" } }, - "node_modules/import-lazy": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-4.0.0.tgz", - "integrity": "sha512-rKtvo6a868b5Hu3heneU+L4yEQ4jYKLtjpnPeUdK7h0yzXGmyBTypknlkCvHFBqfX9YlorEiMM6Dnq/5atfHkw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/import-local": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.1.0.tgz", @@ -5487,18 +5419,6 @@ "node": ">=0.8.19" } }, - "node_modules/indent-string": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz", - "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/indent-textarea": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/indent-textarea/-/indent-textarea-4.0.0.tgz", @@ -5905,15 +5825,6 @@ "node": ">=8" } }, - "node_modules/is-plain-obj": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", - "integrity": "sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/is-plain-object": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", @@ -6327,9 +6238,9 @@ } }, "node_modules/known-css-properties": { - "version": "0.29.0", - "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.29.0.tgz", - "integrity": "sha512-Ne7wqW7/9Cz54PDt4I3tcV+hAyat8ypyOGzYRJQfdxnnjeWsTxt1cy8pjvvKeI5kfXuyvULyeeAvwvvtAX3ayQ==", + "version": "0.31.0", + "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.31.0.tgz", + "integrity": "sha512-sBPIUGTNF0czz0mwGGUoKKJC8Q7On1GPbCSFPfyEsfHb2DyBG0Y4QtV+EVWpINSaiGKZblDNuF5AezxSgOhesQ==", "dev": true }, "node_modules/levn": { @@ -6684,18 +6595,6 @@ "node": ">=4" } }, - "node_modules/map-obj": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz", - "integrity": "sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==", - "dev": true, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/mathml-tag-names": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/mathml-tag-names/-/mathml-tag-names-2.1.3.tgz", @@ -6757,65 +6656,12 @@ } }, "node_modules/meow": { - "version": "10.1.5", - "resolved": "https://registry.npmjs.org/meow/-/meow-10.1.5.tgz", - "integrity": "sha512-/d+PQ4GKmGvM9Bee/DPa8z3mXs/pkvJE2KEThngVNOqtmljC6K7NMPxtc2JeZYTmpWb9k/TmxjeL18ez3h7vCw==", - "dev": true, - "dependencies": { - "@types/minimist": "^1.2.2", - "camelcase-keys": "^7.0.0", - "decamelize": "^5.0.0", - "decamelize-keys": "^1.1.0", - "hard-rejection": "^2.1.0", - "minimist-options": "4.1.0", - "normalize-package-data": "^3.0.2", - "read-pkg-up": "^8.0.0", - "redent": "^4.0.0", - "trim-newlines": "^4.0.2", - "type-fest": "^1.2.2", - "yargs-parser": "^20.2.9" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/meow/node_modules/hosted-git-info": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz", - "integrity": "sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/meow/node_modules/normalize-package-data": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz", - "integrity": "sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==", - "dev": true, - "dependencies": { - "hosted-git-info": "^4.0.1", - "is-core-module": "^2.5.0", - "semver": "^7.3.4", - "validate-npm-package-license": "^3.0.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/meow/node_modules/type-fest": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-1.4.0.tgz", - "integrity": "sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==", + "version": "13.2.0", + "resolved": "https://registry.npmjs.org/meow/-/meow-13.2.0.tgz", + "integrity": "sha512-pxQJQzB6djGPXh08dacEloMFopsOqGVRKFPYvPOt9XDZ1HasbgDZA74CJGreSU4G3Ak7EFJGoiH2auq+yXISgA==", "dev": true, "engines": { - "node": ">=10" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -6946,20 +6792,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/minimist-options": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz", - "integrity": "sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==", - "dev": true, - "dependencies": { - "arrify": "^1.0.1", - "is-plain-obj": "^1.1.0", - "kind-of": "^6.0.3" - }, - "engines": { - "node": ">= 6" - } - }, "node_modules/mlly": { "version": "1.4.2", "resolved": "https://registry.npmjs.org/mlly/-/mlly-1.4.2.tgz", @@ -7594,9 +7426,9 @@ } }, "node_modules/picocolors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz", + "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==", "dev": true }, "node_modules/picomatch": { @@ -7732,9 +7564,9 @@ } }, "node_modules/postcss": { - "version": "8.4.32", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.32.tgz", - "integrity": "sha512-D/kj5JNu6oo2EIy+XL/26JEDTlIbB8hw85G8StOE6L74RQAVVP5rej6wxCNqyMbR4RkPfqvezVbPw81Ngd6Kcw==", + "version": "8.4.38", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.38.tgz", + "integrity": "sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A==", "dev": true, "funding": [ { @@ -7753,7 +7585,7 @@ "dependencies": { "nanoid": "^3.3.7", "picocolors": "^1.0.0", - "source-map-js": "^1.0.2" + "source-map-js": "^1.2.0" }, "engines": { "node": "^10 || ^12 || >=14" @@ -7825,25 +7657,35 @@ "dev": true }, "node_modules/postcss-safe-parser": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/postcss-safe-parser/-/postcss-safe-parser-6.0.0.tgz", - "integrity": "sha512-FARHN8pwH+WiS2OPCxJI8FuRJpTVnn6ZNFiqAM2aeW2LwTHWWmWgIyKC6cUo0L8aeKiF/14MNvnpls6R2PBeMQ==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/postcss-safe-parser/-/postcss-safe-parser-7.0.0.tgz", + "integrity": "sha512-ovehqRNVCpuFzbXoTb4qLtyzK3xn3t/CUBxOs8LsnQjQrShaB4lKiHoVqY8ANaC0hBMHq5QVWk77rwGklFUDrg==", "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss-safe-parser" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], "engines": { - "node": ">=12.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" + "node": ">=18.0" }, "peerDependencies": { - "postcss": "^8.3.3" + "postcss": "^8.4.31" } }, "node_modules/postcss-selector-parser": { - "version": "6.0.13", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.13.tgz", - "integrity": "sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.0.tgz", + "integrity": "sha512-UMz42UD0UY0EApS0ZL9o1XnLhSTtvvvLe5Dc2H2O56fvRZi+KulDyf5ctDhhtYJBGKStV2FL1fy6253cmLgqVQ==", "dev": true, "dependencies": { "cssesc": "^3.0.0", @@ -8001,18 +7843,6 @@ } ] }, - "node_modules/quick-lru": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz", - "integrity": "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/randombytes": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", @@ -8042,98 +7872,6 @@ "node": ">=4" } }, - "node_modules/read-pkg-up": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-8.0.0.tgz", - "integrity": "sha512-snVCqPczksT0HS2EC+SxUndvSzn6LRCwpfSvLrIfR5BKDQQZMaI6jPRC9dYvYFDRAuFEAnkwww8kBBNE/3VvzQ==", - "dev": true, - "dependencies": { - "find-up": "^5.0.0", - "read-pkg": "^6.0.0", - "type-fest": "^1.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/read-pkg-up/node_modules/hosted-git-info": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz", - "integrity": "sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/read-pkg-up/node_modules/normalize-package-data": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz", - "integrity": "sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==", - "dev": true, - "dependencies": { - "hosted-git-info": "^4.0.1", - "is-core-module": "^2.5.0", - "semver": "^7.3.4", - "validate-npm-package-license": "^3.0.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/read-pkg-up/node_modules/parse-json": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", - "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.0.0", - "error-ex": "^1.3.1", - "json-parse-even-better-errors": "^2.3.0", - "lines-and-columns": "^1.1.6" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/read-pkg-up/node_modules/read-pkg": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-6.0.0.tgz", - "integrity": "sha512-X1Fu3dPuk/8ZLsMhEj5f4wFAF0DWoK7qhGJvgaijocXxBmSToKfbFtqbxMO7bVjNA1dmE5huAzjXj/ey86iw9Q==", - "dev": true, - "dependencies": { - "@types/normalize-package-data": "^2.4.0", - "normalize-package-data": "^3.0.2", - "parse-json": "^5.2.0", - "type-fest": "^1.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/read-pkg-up/node_modules/type-fest": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-1.4.0.tgz", - "integrity": "sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/read-pkg/node_modules/path-type": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", @@ -8175,22 +7913,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/redent": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/redent/-/redent-4.0.0.tgz", - "integrity": "sha512-tYkDkVVtYkSVhuQ4zBgfvciymHaeuel+zFKXShfDnFP5SyVEP7qo70Rf1jTOTCx3vGNAbnEi/xFkcfQVMIBWag==", - "dev": true, - "dependencies": { - "indent-string": "^5.0.0", - "strip-indent": "^4.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/reflect.getprototypeof": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.4.tgz", @@ -8749,9 +8471,9 @@ } }, "node_modules/source-map-js": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", - "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.0.tgz", + "integrity": "sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==", "dev": true, "engines": { "node": ">=0.10.0" @@ -9007,121 +8729,123 @@ "dev": true }, "node_modules/stylelint": { - "version": "15.11.0", - "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-15.11.0.tgz", - "integrity": "sha512-78O4c6IswZ9TzpcIiQJIN49K3qNoXTM8zEJzhaTE/xRTCZswaovSEVIa/uwbOltZrk16X4jAxjaOhzz/hTm1Kw==", + "version": "16.6.0", + "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-16.6.0.tgz", + "integrity": "sha512-vjWYlDEgOS3Z/IcXagQwi8PFJyPro1DxBYOnTML1PAqnrYUHs8owleGStv20sgt0OhW8r9zZm6MK7IT2+l2B6A==", "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/stylelint" + }, + { + "type": "github", + "url": "https://github.com/sponsors/stylelint" + } + ], "dependencies": { - "@csstools/css-parser-algorithms": "^2.3.1", - "@csstools/css-tokenizer": "^2.2.0", - "@csstools/media-query-list-parser": "^2.1.4", - "@csstools/selector-specificity": "^3.0.0", + "@csstools/css-parser-algorithms": "^2.6.3", + "@csstools/css-tokenizer": "^2.3.1", + "@csstools/media-query-list-parser": "^2.1.11", + "@csstools/selector-specificity": "^3.1.1", + "@dual-bundle/import-meta-resolve": "^4.1.0", "balanced-match": "^2.0.0", "colord": "^2.9.3", - "cosmiconfig": "^8.2.0", - "css-functions-list": "^3.2.1", + "cosmiconfig": "^9.0.0", + "css-functions-list": "^3.2.2", "css-tree": "^2.3.1", "debug": "^4.3.4", - "fast-glob": "^3.3.1", + "fast-glob": "^3.3.2", "fastest-levenshtein": "^1.0.16", - "file-entry-cache": "^7.0.0", + "file-entry-cache": "^8.0.0", "global-modules": "^2.0.0", "globby": "^11.1.0", "globjoin": "^0.1.4", "html-tags": "^3.3.1", - "ignore": "^5.2.4", - "import-lazy": "^4.0.0", + "ignore": "^5.3.1", "imurmurhash": "^0.1.4", "is-plain-object": "^5.0.0", - "known-css-properties": "^0.29.0", + "known-css-properties": "^0.31.0", "mathml-tag-names": "^2.1.3", - "meow": "^10.1.5", + "meow": "^13.2.0", "micromatch": "^4.0.5", "normalize-path": "^3.0.0", - "picocolors": "^1.0.0", - "postcss": "^8.4.28", + "picocolors": "^1.0.1", + "postcss": "^8.4.38", "postcss-resolve-nested-selector": "^0.1.1", - "postcss-safe-parser": "^6.0.0", - "postcss-selector-parser": "^6.0.13", + "postcss-safe-parser": "^7.0.0", + "postcss-selector-parser": "^6.1.0", "postcss-value-parser": "^4.2.0", "resolve-from": "^5.0.0", "string-width": "^4.2.3", - "strip-ansi": "^6.0.1", - "style-search": "^0.1.0", + "strip-ansi": "^7.1.0", "supports-hyperlinks": "^3.0.0", "svg-tags": "^1.0.0", - "table": "^6.8.1", + "table": "^6.8.2", "write-file-atomic": "^5.0.1" }, "bin": { "stylelint": "bin/stylelint.mjs" }, "engines": { - "node": "^14.13.1 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/stylelint" - } - }, - "node_modules/stylelint-config-prettier": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/stylelint-config-prettier/-/stylelint-config-prettier-9.0.5.tgz", - "integrity": "sha512-U44lELgLZhbAD/xy/vncZ2Pq8sh2TnpiPvo38Ifg9+zeioR+LAkHu0i6YORIOxFafZoVg0xqQwex6e6F25S5XA==", - "dev": true, - "bin": { - "stylelint-config-prettier": "bin/check.js", - "stylelint-config-prettier-check": "bin/check.js" - }, - "engines": { - "node": ">= 12" - }, - "peerDependencies": { - "stylelint": ">= 11.x < 15" + "node": ">=18.12.0" } }, "node_modules/stylelint-config-xo": { - "version": "0.22.0", - "resolved": "https://registry.npmjs.org/stylelint-config-xo/-/stylelint-config-xo-0.22.0.tgz", - "integrity": "sha512-E4IoDwgJqG+Q3LjeZGXNi3uOXOH5Sx6mCyxp1V4eaAm1DhuA+3X40c2GtobEIHfCv6itN/T3QKRb4V4/snIxUg==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/stylelint-config-xo/-/stylelint-config-xo-1.0.1.tgz", + "integrity": "sha512-KLZ6hNI+9TrqXOmGMtccPXxp1j6k8KQHw1/7OxDViTHcWwhJy8WRW0W7tcr4n+pGvcaTfOpUmMa78K2vF//flg==", "dev": true, "dependencies": { - "stylelint-declaration-block-no-ignored-properties": "^2.7.0", - "stylelint-order": "^6.0.3" + "@stylistic/stylelint-plugin": "^2.1.2", + "stylelint-declaration-block-no-ignored-properties": "^2.8.0", + "stylelint-order": "^6.0.4" }, "engines": { - "node": ">=16" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" }, "peerDependencies": { - "stylelint": ">=14" + "stylelint": ">=16" } }, "node_modules/stylelint-declaration-block-no-ignored-properties": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/stylelint-declaration-block-no-ignored-properties/-/stylelint-declaration-block-no-ignored-properties-2.7.0.tgz", - "integrity": "sha512-44SpI9+9Oc1ICuwwRfwS/3npQ2jPobDSTnwWdNgZGryGqQCp17CgEIWjCv1BgUOSzND3RqywNCNLKvO1AOxbfg==", + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/stylelint-declaration-block-no-ignored-properties/-/stylelint-declaration-block-no-ignored-properties-2.8.0.tgz", + "integrity": "sha512-Ws8Cav7Y+SPN0JsV407LrnNXWOrqGjxShf+37GBtnU/C58Syve9c0+I/xpLcFOosST3ternykn3Lp77f3ITnFw==", "dev": true, "engines": { "node": ">=6" }, "peerDependencies": { - "stylelint": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0" + "stylelint": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0" } }, "node_modules/stylelint-order": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/stylelint-order/-/stylelint-order-6.0.3.tgz", - "integrity": "sha512-1j1lOb4EU/6w49qZeT2SQVJXm0Ht+Qnq9GMfUa3pMwoyojIWfuA+JUDmoR97Bht1RLn4ei0xtLGy87M7d29B1w==", + "version": "6.0.4", + "resolved": "https://registry.npmjs.org/stylelint-order/-/stylelint-order-6.0.4.tgz", + "integrity": "sha512-0UuKo4+s1hgQ/uAxlYU4h0o0HS4NiQDud0NAUNI0aa8FJdmYHA5ZZTFHiV5FpmE3071e9pZx5j0QpVJW5zOCUA==", "dev": true, "dependencies": { - "postcss": "^8.4.21", + "postcss": "^8.4.32", "postcss-sorting": "^8.0.2" }, "peerDependencies": { - "stylelint": "^14.0.0 || ^15.0.0" + "stylelint": "^14.0.0 || ^15.0.0 || ^16.0.1" + } + }, + "node_modules/stylelint/node_modules/ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" } }, "node_modules/stylelint/node_modules/balanced-match": { @@ -9130,6 +8854,32 @@ "integrity": "sha512-1ugUSr8BHXRnK23KfuYS+gVMC3LB8QGH9W1iGtDPsNWoQbgtXSExkBu2aDR4epiGWZOjZsj6lDl/N/AqqTC3UA==", "dev": true }, + "node_modules/stylelint/node_modules/cosmiconfig": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.0.tgz", + "integrity": "sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==", + "dev": true, + "dependencies": { + "env-paths": "^2.2.1", + "import-fresh": "^3.3.0", + "js-yaml": "^4.1.0", + "parse-json": "^5.2.0" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/d-fischer" + }, + "peerDependencies": { + "typescript": ">=4.9.5" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, "node_modules/stylelint/node_modules/globby": { "version": "11.1.0", "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", @@ -9150,6 +8900,24 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/stylelint/node_modules/parse-json": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/stylelint/node_modules/slash": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", @@ -9159,6 +8927,21 @@ "node": ">=8" } }, + "node_modules/stylelint/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dev": true, + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, "node_modules/supports-color": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", @@ -9249,9 +9032,9 @@ } }, "node_modules/table": { - "version": "6.8.1", - "resolved": "https://registry.npmjs.org/table/-/table-6.8.1.tgz", - "integrity": "sha512-Y4X9zqrCftUhMeH2EptSSERdVKt/nEdijTOacGD/97EKjhQ/Qs8RTlEGABSJNNN8lac9kheH+af7yAkEWlgneA==", + "version": "6.8.2", + "resolved": "https://registry.npmjs.org/table/-/table-6.8.2.tgz", + "integrity": "sha512-w2sfv80nrAh2VCbqR5AK27wswXhqcck2AhfnNW76beQXskGZ1V12GwS//yYVa3d3fcvAip2OUnbDAjW2k3v9fA==", "dev": true, "dependencies": { "ajv": "^8.0.1", @@ -9468,18 +9251,6 @@ "node": ">=8.0" } }, - "node_modules/trim-newlines": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-4.1.1.tgz", - "integrity": "sha512-jRKj0n0jXWo6kh62nA5TEh3+4igKDXLvzBJcPpiizP7oOolUrYIxmVBG9TOtHYFHoddUk6YvAkGeGoSVTXfQXQ==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/ts-api-utils": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.0.3.tgz", @@ -11224,15 +10995,6 @@ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", "dev": true }, - "node_modules/yargs-parser": { - "version": "20.2.9", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", - "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", - "dev": true, - "engines": { - "node": ">=10" - } - }, "node_modules/yocto-queue": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-1.0.0.tgz", diff --git a/package.json b/package.json index ac89b2ff83a3..35b8cbc2bbe7 100644 --- a/package.json +++ b/package.json @@ -26,8 +26,7 @@ }, "stylelint": { "extends": [ - "stylelint-config-xo", - "stylelint-config-prettier" + "stylelint-config-xo" ], "rules": { "selector-type-no-unknown": null, @@ -119,9 +118,8 @@ "p-memoize": "^7.1.1", "prettier": "^3.0.3", "snarkdown": "^2.0.0", - "stylelint": "^15.11.0", - "stylelint-config-prettier": "^9.0.5", - "stylelint-config-xo": "^0.22.0", + "stylelint": "^16.6.0", + "stylelint-config-xo": "^1.0.1", "terser-webpack-plugin": "^5.3.9", "tsx": "^3.14.0", "type-fest": "^4.6.0", diff --git a/source/features/clean-conversation-headers.css b/source/features/clean-conversation-headers.css index 65c255148dfa..30f6864a7ba6 100644 --- a/source/features/clean-conversation-headers.css +++ b/source/features/clean-conversation-headers.css @@ -1,15 +1,17 @@ :root .rgh-clean-conversation-headers-non-default-branch { - background-color: var( - --control-checked-bgColor-hover, - var(--color-state-hover-primary-bg, #0366d6) - ); + background-color: + var( + --control-checked-bgColor-hover, + var(--color-state-hover-primary-bg, #0366d6) + ); } .rgh-clean-conversation-headers-non-default-branch a { - color: var( - --control-checked-fgColor-rest, - var(--color-state-hover-primary-text, #fff) - ); + color: + var( + --control-checked-fgColor-rest, + var(--color-state-hover-primary-text, #fff) + ); } /* Removes: every text (but not icons) */ @@ -20,15 +22,14 @@ /* Shows on issues: [octocat] opened this issue on [1 Jan] · 1 comments */ /* Shows on PRs: [octocat] merged 1 commit into [master] from [feature] on [1 Jan] */ /* Doesn't show on PRs: octocat merged [1] commit into master from feature */ -.rgh-clean-conversation-headers - > :not(.js-updating-pull-request-commits-count) { +.rgh-clean-conversation-headers > :not(.js-updating-pull-request-commits-count) { font-size: 14px; } /* Shows on PRs: [by ]octocat main ← feature */ .rgh-clean-conversation-headers:not( - .rgh-clean-conversation-headers-hide-author - )::before { +.rgh-clean-conversation-headers-hide-author +)::before { content: 'by '; font-size: 14px; } diff --git a/source/features/clean-repo-sidebar.css b/source/features/clean-repo-sidebar.css index 707ecefe2813..a08d33f1e473 100644 --- a/source/features/clean-repo-sidebar.css +++ b/source/features/clean-repo-sidebar.css @@ -35,11 +35,9 @@ } /* Hide Code of conduct links */ -[rgh-clean-repo-sidebar] - .Layout-sidebar - .Link--muted:is( - [href$='/code-of-conduct.md' i], - [href$='/code_of_conduct.md' i] - ) { +[rgh-clean-repo-sidebar] .Layout-sidebar .Link--muted:is( +[href$='/code-of-conduct.md' i], +[href$='/code_of_conduct.md' i] +) { display: none; } diff --git a/source/features/clean-rich-text-editor.css b/source/features/clean-rich-text-editor.css index 2837659a0b4e..f333281c186a 100644 --- a/source/features/clean-rich-text-editor.css +++ b/source/features/clean-rich-text-editor.css @@ -2,19 +2,18 @@ /* Kinda excludes "soft keyboards" devices https://github.com/w3c/csswg-drafts/issues/3871 */ /* TODO: Drop selectors other than [data-md-button] in June 2024 */ @media (hover: hover) and (pointer: fine) { - [rgh-clean-rich-text-editor] - :is( - [data-md-button='mention'], - md-mention, - [data-md-button='ref'], - md-ref, - [data-md-button='header-3'], - md-header, - [data-md-button='bold'], - md-bold, - [data-md-button='italic'], - md-italic - ):not(:focus) { + [rgh-clean-rich-text-editor] :is( + [data-md-button='mention'], + md-mention, + [data-md-button='ref'], + md-ref, + [data-md-button='header-3'], + md-header, + [data-md-button='bold'], + md-bold, + [data-md-button='italic'], + md-italic +):not(:focus) { /* Like GitHub’s `show-on-focus` class. Needed because we target `md-ref` with the observer in `table-input` and `collapsible-content-button` */ position: absolute; width: 1px; diff --git a/source/features/conversation-activity-filter.css b/source/features/conversation-activity-filter.css index 6e76670527d5..46ba5fac011a 100644 --- a/source/features/conversation-activity-filter.css +++ b/source/features/conversation-activity-filter.css @@ -1,17 +1,11 @@ .rgh-conversation-activity-is-filtered .rgh-conversation-activity-filtered, -.rgh-conversation-activity-is-collapsed-filtered - :is( - .rgh-conversation-activity-collapsed, - .js-resolvable-timeline-thread-container[data-resolved='true'], - .js-resolvable-timeline-thread-container[data-resolved='false'] - .minimized-comment - ), -.rgh-conversation-activity-is-filtered - .rgh-conversation-activity-filter-dropdown - .octicon-eye, -.js-issues-results:not(.rgh-conversation-activity-is-filtered) - .rgh-conversation-activity-filter-dropdown - .octicon-eye-closed { +.rgh-conversation-activity-is-collapsed-filtered :is( + .rgh-conversation-activity-collapsed, + .js-resolvable-timeline-thread-container[data-resolved='true'], + .js-resolvable-timeline-thread-container[data-resolved='false'] .minimized-comment +), +.rgh-conversation-activity-is-filtered .rgh-conversation-activity-filter-dropdown .octicon-eye, +.js-issues-results:not(.rgh-conversation-activity-is-filtered) .rgh-conversation-activity-filter-dropdown .octicon-eye-closed { display: none !important; /* For debugging purposes only */ /* display: block !important; */ diff --git a/source/features/extend-diff-expander.css b/source/features/extend-diff-expander.css index 2d72c37858f5..ba54f48e6482 100644 --- a/source/features/extend-diff-expander.css +++ b/source/features/extend-diff-expander.css @@ -1,21 +1,22 @@ /* Hovering the line will highlight the first direction button, unless you hover the buttons directly */ -.rgh-extend-diff-expander - .js-expandable-line:hover - :is( - .blob-num:not(:hover) .directional-expander:first-child, - .blob-num:not(:hover) + .blob-code - ) { - color: var( - --control-checked-fgColor-rest, - var(--color-state-hover-primary-text, #fff) - ); - background: var( - --control-checked-bgColor-hover, - var(--color-state-hover-primary-bg, #0366d6) - ); - border-color: var( - --control-checked-borderColor-hover, - var(--color-state-hover-primary-border, #0366d6) - ); +.rgh-extend-diff-expander .js-expandable-line:hover :is( +.blob-num:not(:hover) .directional-expander:first-child, +.blob-num:not(:hover) + .blob-code +) { + color: + var( + --control-checked-fgColor-rest, + var(--color-state-hover-primary-text, #fff) + ); + background: + var( + --control-checked-bgColor-hover, + var(--color-state-hover-primary-bg, #0366d6) + ); + border-color: + var( + --control-checked-borderColor-hover, + var(--color-state-hover-primary-border, #0366d6) + ); cursor: pointer; } diff --git a/source/features/github-bugs.css b/source/features/github-bugs.css index 21e444e16f77..0e7f4fe8c67b 100644 --- a/source/features/github-bugs.css +++ b/source/features/github-bugs.css @@ -14,8 +14,14 @@ /* Monospace textareas for new SSH/GPG keys #4917 */ :is(.new_public_key, .new_gpg_key) textarea { /* Same as GitHub style for `code` */ - font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, - 'Liberation Mono', monospace !important; + font-family: + ui-monospace, + SFMono-Regular, + 'SF Mono', + Menlo, + Consolas, + 'Liberation Mono', + monospace !important; } /* Limit width of comment form on commit pages #5032 */ diff --git a/source/features/hide-diff-signs.css b/source/features/hide-diff-signs.css index b05cc4bc589f..22493206ac29 100644 --- a/source/features/hide-diff-signs.css +++ b/source/features/hide-diff-signs.css @@ -1,10 +1,8 @@ -[rgh-hide-diff-signs] - :is( - .diff-text-cell - .diff-text, /* Edit page, probably upcoming DOM everywhere */ - .blob-code-inner,/* Inline review blocks in PRs */ - .blob-code-marker-cell/* Commit page */ - )::before { +[rgh-hide-diff-signs] :is( +.diff-text-cell .diff-text, +.blob-code-inner, +.blob-code-marker-cell +)::before { visibility: hidden; } diff --git a/source/features/hide-newsfeed-noise.css b/source/features/hide-newsfeed-noise.css index 5444c6e09f49..c3d541e1c1c8 100644 --- a/source/features/hide-newsfeed-noise.css +++ b/source/features/hide-newsfeed-noise.css @@ -9,17 +9,14 @@ published a release edited a gollum (wiki) */ -[rgh-hide-newsfeed-noise] - .news - :is(.push, .fork, .delete, .follow, .release, .gollum) { +[rgh-hide-newsfeed-noise] .news :is(.push, .fork, .delete, .follow, .release, .gollum) { display: none !important; } -[rgh-hide-newsfeed-noise] - .body:has( - [data-hydro-click*='"type":"PushEvent"'], - [data-hydro-click*='"type":"FollowEvent"'], - [data-hydro-click*='"type":"ReleaseEvent"'] - ) { +[rgh-hide-newsfeed-noise] .body:has( +[data-hydro-click*='"type":"PushEvent"'], +[data-hydro-click*='"type":"FollowEvent"'], +[data-hydro-click*='"type":"ReleaseEvent"'] +) { display: none !important; } diff --git a/source/features/highest-rated-comment.css b/source/features/highest-rated-comment.css index bbf55c0812c3..c008b06b4c39 100644 --- a/source/features/highest-rated-comment.css +++ b/source/features/highest-rated-comment.css @@ -1,18 +1,21 @@ .rgh-highest-rated-comment.timeline-comment { /* Same as GitHub's `.timeline-chosen-answer` */ - border: 2px solid + border: + 2px solid var(--borderColor-success-emphasis, var(--color-success-emphasis)); } .rgh-highest-rated-comment.timeline-comment--caret::before { - background-color: var( - --borderColor-success-emphasis, - var(--color-success-emphasis) - ); + background-color: + var( + --borderColor-success-emphasis, + var(--color-success-emphasis) + ); } a.rgh-highest-rated-comment { - border: 2px solid + border: + 2px solid var(--borderColor-success-emphasis, var(--color-success-emphasis)) !important; } diff --git a/source/features/link-to-compare-diff.css b/source/features/link-to-compare-diff.css index f1fdd488078f..a00c28c1fefe 100644 --- a/source/features/link-to-compare-diff.css +++ b/source/features/link-to-compare-diff.css @@ -1,4 +1,3 @@ -.rgh-link-to-compare-diff:hover - > :is(.octicon-file-diff, .octicon-file-diff ~ span) { +.rgh-link-to-compare-diff:hover > :is(.octicon-file-diff, .octicon-file-diff ~ span) { color: var(--fgColor-accent, var(--color-accent-fg)) !important; } diff --git a/source/features/list-prs-for-file.css b/source/features/list-prs-for-file.css index 68078b82cdfb..f29b36cc8826 100644 --- a/source/features/list-prs-for-file.css +++ b/source/features/list-prs-for-file.css @@ -1,6 +1,6 @@ .container:has(> #StickyHeader.react-code-view-header--wide):has( - .rgh-list-prs-for-file - ) { +.rgh-list-prs-for-file +) { position: relative; z-index: 1; } diff --git a/source/features/mark-private-repos.css b/source/features/mark-private-repos.css index 4929375afa42..b978c68f386b 100644 --- a/source/features/mark-private-repos.css +++ b/source/features/mark-private-repos.css @@ -1,7 +1,8 @@ li.private .Label--secondary { - border-color: var( - --borderColor-attention-muted, - var(--color-attention-muted) - ); + border-color: + var( + --borderColor-attention-muted, + var(--color-attention-muted) + ); color: var(--fgColor-attention, var(--color-attention-emphasis)); } diff --git a/source/features/mobile-tabs.css b/source/features/mobile-tabs.css index 8cfc00acf612..ffb257cbbd93 100644 --- a/source/features/mobile-tabs.css +++ b/source/features/mobile-tabs.css @@ -23,17 +23,19 @@ flex-flow: row wrap; padding: 5px; flex-basis: 0; - background: var( - --control-transparent-bgColor-hover, - var(--color-action-list-item-default-hover-bg) - ); + background: + var( + --control-transparent-bgColor-hover, + var(--color-action-list-item-default-hover-bg) + ); } [rgh-mobile-tabs] .UnderlineNav-item:hover { - background: var( - --control-transparent-bgColor-hover, - var(--color-action-list-item-default-active-bg) - ); /* From: Counter background color */ + background: + var( + --control-transparent-bgColor-hover, + var(--color-action-list-item-default-active-bg) + ); /* From: Counter background color */ } [rgh-mobile-tabs] .UnderlineNav-item.selected::after { diff --git a/source/features/night-not-found.css b/source/features/night-not-found.css index c8979e780e40..f38cc1c476cc 100644 --- a/source/features/night-not-found.css +++ b/source/features/night-not-found.css @@ -23,8 +23,7 @@ filter: brightness(0.8) saturate(0.5); } -[data-color-mode='dark'] - .js-plaxify:is([height='415'], [height='75'], [height='50']) { +[data-color-mode='dark'] .js-plaxify:is([height='415'], [height='75'], [height='50']) { filter: brightness(0.1) saturate(0.5); } @@ -33,28 +32,23 @@ } /* Dark dimmed */ -[data-color-mode='dark'][data-dark-theme='dark_dimmed'] - .js-plaxify[height='249'] { +[data-color-mode='dark'][data-dark-theme='dark_dimmed'] .js-plaxify[height='249'] { filter: brightness(0.5); } -[data-color-mode='dark'][data-dark-theme='dark_dimmed'] - .js-plaxify[height='230'] { +[data-color-mode='dark'][data-dark-theme='dark_dimmed'] .js-plaxify[height='230'] { filter: brightness(0.8) saturate(0.5) contrast(1.3); } -[data-color-mode='dark'][data-dark-theme='dark_dimmed'] - .js-plaxify[height='156'] { +[data-color-mode='dark'][data-dark-theme='dark_dimmed'] .js-plaxify[height='156'] { filter: brightness(0.5) saturate(0.5); } -[data-color-mode='dark'][data-dark-theme='dark_dimmed'] - .js-plaxify[height='49'] { +[data-color-mode='dark'][data-dark-theme='dark_dimmed'] .js-plaxify[height='49'] { filter: brightness(0.9) saturate(0.5); } -[data-color-mode='dark'][data-dark-theme='dark_dimmed'] - .js-plaxify:is([height='415'], [height='75'], [height='50'], [height='123']) { +[data-color-mode='dark'][data-dark-theme='dark_dimmed'] .js-plaxify:is([height='415'], [height='75'], [height='50'], [height='123']) { filter: brightness(0.3) saturate(0.5); } @@ -77,8 +71,7 @@ filter: brightness(0.9) saturate(0.5); } - [data-color-mode='auto'][data-dark-theme='dark'] - .js-plaxify:is([height='415'], [height='75'], [height='50']) { + [data-color-mode='auto'][data-dark-theme='dark'] .js-plaxify:is([height='415'], [height='75'], [height='50']) { filter: brightness(0.1) saturate(0.5); } @@ -87,33 +80,28 @@ } /* Dark dimmed */ - [data-color-mode='auto'][data-dark-theme='dark_dimmed'] - .js-plaxify[height='249'] { + [data-color-mode='auto'][data-dark-theme='dark_dimmed'] .js-plaxify[height='249'] { filter: brightness(0.5); } - [data-color-mode='auto'][data-dark-theme='dark_dimmed'] - .js-plaxify[height='230'] { + [data-color-mode='auto'][data-dark-theme='dark_dimmed'] .js-plaxify[height='230'] { filter: brightness(0.8) saturate(0.5) contrast(1.3); } - [data-color-mode='auto'][data-dark-theme='dark_dimmed'] - .js-plaxify[height='156'] { + [data-color-mode='auto'][data-dark-theme='dark_dimmed'] .js-plaxify[height='156'] { filter: brightness(0.5) saturate(0.5); } - [data-color-mode='auto'][data-dark-theme='dark_dimmed'] - .js-plaxify[height='49'] { + [data-color-mode='auto'][data-dark-theme='dark_dimmed'] .js-plaxify[height='49'] { filter: brightness(0.9) saturate(0.5); } - [data-color-mode='auto'][data-dark-theme='dark_dimmed'] - .js-plaxify:is( - [height='415'], - [height='75'], - [height='50'], - [height='123'] - ) { + [data-color-mode='auto'][data-dark-theme='dark_dimmed'] .js-plaxify:is( + [height='415'], + [height='75'], + [height='50'], + [height='123'] +) { filter: brightness(0.3) saturate(0.5); } } diff --git a/source/features/no-unnecessary-split-diff-view.css b/source/features/no-unnecessary-split-diff-view.css index fcfda566842d..ad8fa3356d3d 100644 --- a/source/features/no-unnecessary-split-diff-view.css +++ b/source/features/no-unnecessary-split-diff-view.css @@ -1,41 +1,34 @@ /* The selector looks for diff tables WITHOUT changes on the left XOR on the right */ /* Instead of duplicating this selector for each rule, we set a variable and pick it up where needed */ -[rgh-no-unnecessary-split-diff-view] - .js-diff-table:has([data-split-side]):not( - :has([data-split-side='left']:is(.blob-code-addition, .blob-code-deletion)) - ) { +[rgh-no-unnecessary-split-diff-view] .js-diff-table:has([data-split-side]):not( +:has([data-split-side='left']:is(.blob-code-addition, .blob-code-deletion)) +) { --rgh-only-additions: none; table-layout: auto !important; } -[rgh-no-unnecessary-split-diff-view] - .js-diff-table:has([data-split-side]):not( - :has([data-split-side='right']:is(.blob-code-addition, .blob-code-deletion)) - ) { +[rgh-no-unnecessary-split-diff-view] .js-diff-table:has([data-split-side]):not( +:has([data-split-side='right']:is(.blob-code-addition, .blob-code-deletion)) +) { --rgh-only-deletions: none; table-layout: auto !important; } /* Only additions: Hide the left side */ -[rgh-no-unnecessary-split-diff-view] - :is([data-hunk], .blob-expanded) - td:nth-child(2) { +[rgh-no-unnecessary-split-diff-view] :is([data-hunk], .blob-expanded) td:nth-child(2) { display: var(--rgh-only-additions, table-cell) !important; } /* Only deletions: Hide the right side */ -[rgh-no-unnecessary-split-diff-view] - :is([data-hunk], .blob-expanded) - td:nth-child(4) { +[rgh-no-unnecessary-split-diff-view] :is([data-hunk], .blob-expanded) td:nth-child(4) { display: var(--rgh-only-deletions, table-cell) !important; } /* Any applicable situation: Re-align annotations */ -[rgh-no-unnecessary-split-diff-view] - :is(.inline-comments, .js-inline-annotations) - .empty-cell:not(.blob-num) { - display: var( - --rgh-only-additions, - var(--rgh-only-deletions, table-cell) - ) !important; +[rgh-no-unnecessary-split-diff-view] :is(.inline-comments, .js-inline-annotations) .empty-cell:not(.blob-num) { + display: + var( + --rgh-only-additions, + var(--rgh-only-deletions, table-cell) + ) !important; } diff --git a/source/features/open-all-notifications.css b/source/features/open-all-notifications.css index 2c1ba9f8c844..7fdf042fa7c2 100644 --- a/source/features/open-all-notifications.css +++ b/source/features/open-all-notifications.css @@ -1,5 +1,4 @@ /* Only show "Open all unread" if no notifications are selected */ -.js-notifications-mark-selected-actions[hidden] - ~ .rgh-open-notifications-button { +.js-notifications-mark-selected-actions[hidden] ~ .rgh-open-notifications-button { display: inline-block !important; } diff --git a/source/features/parse-backticks.css b/source/features/parse-backticks.css index 6ed133e343d7..ee91cd723457 100644 --- a/source/features/parse-backticks.css +++ b/source/features/parse-backticks.css @@ -1,9 +1,10 @@ /* Style copied from GitHub's */ .rgh-parse-backticks { - background-color: var( - --bgColor-neutral-muted, - var(--color-neutral-muted, rgb(27 31 35 / 5%)) - ); + background-color: + var( + --bgColor-neutral-muted, + var(--color-neutral-muted, rgb(27 31 35 / 5%)) + ); border-radius: 6px; font-size: 85%; margin: 0; diff --git a/source/features/pr-approvals-count.css b/source/features/pr-approvals-count.css index 90a4ef8c811e..4f129aff76b2 100644 --- a/source/features/pr-approvals-count.css +++ b/source/features/pr-approvals-count.css @@ -1,14 +1,10 @@ /* Show approvals count in PR list */ -.js-issue-row - .color-fg-muted - [href$='#partial-pull-merging'][aria-label*='approval'] { +.js-issue-row .color-fg-muted [href$='#partial-pull-merging'][aria-label*='approval'] { font-size: 0; color: transparent !important; } -.js-issue-row - .color-fg-muted - [href$='#partial-pull-merging'][aria-label*='approval']::before { +.js-issue-row .color-fg-muted [href$='#partial-pull-merging'][aria-label*='approval']::before { all: unset; content: attr(aria-label); display: inline-block !important; @@ -16,16 +12,12 @@ font-size: 12px; } -.js-issue-row - .color-fg-muted - [href$='#partial-pull-merging'][aria-label*='changes'] { +.js-issue-row .color-fg-muted [href$='#partial-pull-merging'][aria-label*='changes'] { color: var(--rgh-red) !important; } /* Disable now-duplicate tooltip */ -.js-issue-row - .color-fg-muted - [href$='#partial-pull-merging'][aria-label*='approval']::after { +.js-issue-row .color-fg-muted [href$='#partial-pull-merging'][aria-label*='approval']::after { content: none; } diff --git a/source/features/quick-comment-edit.css b/source/features/quick-comment-edit.css index b52e28563a8c..9da04dc08e9d 100644 --- a/source/features/quick-comment-edit.css +++ b/source/features/quick-comment-edit.css @@ -1,5 +1,4 @@ /* Re-hide buttons when you can't leave a new comment (locked conversation or user blocked you) */ -html:has(.previewable-comment-form .octicon-lock.blankslate-icon) - .rgh-quick-comment-edit-button { +html:has(.previewable-comment-form .octicon-lock.blankslate-icon) .rgh-quick-comment-edit-button { display: none; } diff --git a/source/features/quick-label-removal.css b/source/features/quick-label-removal.css index f3c11326cd72..a63648500a00 100644 --- a/source/features/quick-label-removal.css +++ b/source/features/quick-label-removal.css @@ -19,8 +19,6 @@ fill: rgb(var(--label-r) var(--label-g) var(--label-b)); } -[data-color-mode='dark'][data-dark-theme*='dark'] - .rgh-quick-label-removal:is(:focus, :hover) - svg { +[data-color-mode='dark'][data-dark-theme*='dark'] .rgh-quick-label-removal:is(:focus, :hover) svg { fill: var(--rgh-background); } diff --git a/source/features/resolve-conflicts.css b/source/features/resolve-conflicts.css index 716f9cb9608c..684253e3d742 100644 --- a/source/features/resolve-conflicts.css +++ b/source/features/resolve-conflicts.css @@ -1,7 +1,8 @@ /* Fix bug caused by feature https://user-images.githubusercontent.com/1402241/54978279-d6663c80-4fda-11e9-9638-af25480fb988.png */ .rgh-resolve-conflicts .CodeMirror-linenumber { - background-color: var( - --color-scale-yellow-1, - var(--color-auto-yellow-1, #fffbdd) - ); + background-color: + var( + --color-scale-yellow-1, + var(--color-auto-yellow-1, #fffbdd) + ); } diff --git a/source/features/rgh-welcome-issue.css b/source/features/rgh-welcome-issue.css index b14cfb9c30e7..990a1d36e761 100644 --- a/source/features/rgh-welcome-issue.css +++ b/source/features/rgh-welcome-issue.css @@ -16,9 +16,7 @@ } @media (min-width: 768px) { - [data-url^='/refined-github/refined-github/issues/3543/show_partial'] - .gh-header-title - .js-issue-title { + [data-url^='/refined-github/refined-github/issues/3543/show_partial'] .gh-header-title .js-issue-title { font-size: 5vw !important; font-weight: 300; } diff --git a/source/features/safer-destructive-actions.css b/source/features/safer-destructive-actions.css index e7081deb502d..ac281f769f24 100644 --- a/source/features/safer-destructive-actions.css +++ b/source/features/safer-destructive-actions.css @@ -11,10 +11,7 @@ div.previewable-edit .previewable-comment-form .form-actions { float: none !important; } -.previewable-edit - .previewable-comment-form - .form-actions - .btn.js-comment-cancel-button { +.previewable-edit .previewable-comment-form .form-actions .btn.js-comment-cancel-button { float: left !important; } diff --git a/source/features/scrollable-areas.css b/source/features/scrollable-areas.css index e6c112d60079..667c312f7f93 100644 --- a/source/features/scrollable-areas.css +++ b/source/features/scrollable-areas.css @@ -9,9 +9,6 @@ padding-bottom: 0.2em; /* Do not add to `pre` #5540 */ } -[rgh-scrollable-areas] - .comment-body - :is(details, blockquote) - :is(blockquote, pre) { +[rgh-scrollable-areas] .comment-body :is(details, blockquote) :is(blockquote, pre) { max-height: none; } diff --git a/source/features/show-associated-branch-prs-on-fork.css b/source/features/show-associated-branch-prs-on-fork.css index c3f92cb45bd4..80d0d960b3a0 100644 --- a/source/features/show-associated-branch-prs-on-fork.css +++ b/source/features/show-associated-branch-prs-on-fork.css @@ -23,6 +23,7 @@ text-decoration: none !important; border-radius: 999px; display: inline-flex; + /* stylelint-disable-next-line declaration-property-value-no-unknown -- Can't find an alternative */ font: 600 12px/1 inherit; white-space: nowrap; height: 20px; diff --git a/source/features/sticky-conversation-list-toolbar.css b/source/features/sticky-conversation-list-toolbar.css index fc882fa01773..de2dac280614 100644 --- a/source/features/sticky-conversation-list-toolbar.css +++ b/source/features/sticky-conversation-list-toolbar.css @@ -1,7 +1,6 @@ /* Sticky table header on issues list */ .Box-header#js-issues-toolbar, /* https://github.com/:username-or-org/:repo/issues */ -.Box#js-issues-toolbar > .Box-header /* https://github.com/issues */ -{ +.Box#js-issues-toolbar > .Box-header { position: sticky; top: 0; z-index: 25; /* Must be above .modal-backdrop (z-index 20) #1317 */ diff --git a/source/features/sticky-csv-header.css b/source/features/sticky-csv-header.css index 0f6db64c2fa1..71005bff3a07 100644 --- a/source/features/sticky-csv-header.css +++ b/source/features/sticky-csv-header.css @@ -19,7 +19,8 @@ } .markdown-body .csv-data tbody tr:last-child td:first-child { - border-bottom: 1px solid + border-bottom: + 1px solid var(--borderColor-default, var(--color-border-default)); } diff --git a/source/features/sticky-notifications-actions.css b/source/features/sticky-notifications-actions.css index 2c2a0fcff542..a4f7e0c5ab4c 100644 --- a/source/features/sticky-notifications-actions.css +++ b/source/features/sticky-notifications-actions.css @@ -7,7 +7,8 @@ top: var(--sticky-padding); z-index: 10; /* Cover up the content seen through the rounded corners above */ - box-shadow: 0 + box-shadow: + 0 calc((var(--sticky-padding) + var(--borderRadius-medium)) * -1) 0 0 var(--rgh-background); } diff --git a/source/features/sticky-sidebar.css b/source/features/sticky-sidebar.css index fbae49a12d94..50a1d9d80ecc 100644 --- a/source/features/sticky-sidebar.css +++ b/source/features/sticky-sidebar.css @@ -11,10 +11,11 @@ Exclusively use simple sums and use `0px` instead of `0` */ #partial-discussion-sidebar { --rgh-sticky-header-height: 60px; - --rgh-sticky-sidebar-offset: calc( - var(--rgh-sticky-header-height, 0px) + + --rgh-sticky-sidebar-offset: + calc( + var(--rgh-sticky-header-height, 0px) + var(--rgh-sticky-notifitication-header-height, 0px) - ); + ); } .notification-shelf ~ .application-main #partial-discussion-sidebar { @@ -45,14 +46,10 @@ Exclusively use simple sums and use `0px` instead of `0` } /* z-index fights 🥲 This is the search dropdown on the repo root #6151 */ -html[rgh-sticky-sidebar-enabled]:has(.rgh-sticky-sidebar) - .search-input.expanded - .search-with-dialog { +html[rgh-sticky-sidebar-enabled]:has(.rgh-sticky-sidebar) .search-input.expanded .search-with-dialog { z-index: 95; /* Native: 35 */ } -html[rgh-sticky-sidebar-enabled]:has(.rgh-sticky-sidebar) - .search-input.expanded - .dark-backdrop { +html[rgh-sticky-sidebar-enabled]:has(.rgh-sticky-sidebar) .search-input.expanded .dark-backdrop { z-index: 92; /* Native: 32 */ } diff --git a/source/features/table-input.css b/source/features/table-input.css index 6886e65cfd51..d63c5d9d84ff 100644 --- a/source/features/table-input.css +++ b/source/features/table-input.css @@ -37,35 +37,32 @@ .rgh-tic:hover div, .rgh-tic:is(:nth-of-type(5n + 1)):has(~ :hover:nth-of-type(5n + 1)) div, .rgh-tic:is(:nth-of-type(5n + 1), :nth-of-type(5n + 2)):has( - ~ :hover:nth-of-type(5n + 2) - ) - div, + ~ :hover:nth-of-type(5n + 2) +) div, .rgh-tic:is( - :nth-of-type(5n + 1), - :nth-of-type(5n + 2), - :nth-of-type(5n + 3) - ):has(~ :hover:nth-of-type(5n + 3)) - div, + :nth-of-type(5n + 1), + :nth-of-type(5n + 2), + :nth-of-type(5n + 3) +):has(~ :hover:nth-of-type(5n + 3)) div, .rgh-tic:is( - :nth-of-type(5n + 1), - :nth-of-type(5n + 2), - :nth-of-type(5n + 3), - :nth-of-type(5n + 4) - ):has(~ :hover:nth-of-type(5n + 4)) - div, + :nth-of-type(5n + 1), + :nth-of-type(5n + 2), + :nth-of-type(5n + 3), + :nth-of-type(5n + 4) +):has(~ :hover:nth-of-type(5n + 4)) div, .rgh-tic:is( - :nth-of-type(5n + 1), - :nth-of-type(5n + 2), - :nth-of-type(5n + 3), - :nth-of-type(5n + 4), - :nth-of-type(5n + 5) - ):has(~ :hover:nth-of-type(5n + 5)) - div { + :nth-of-type(5n + 1), + :nth-of-type(5n + 2), + :nth-of-type(5n + 3), + :nth-of-type(5n + 4), + :nth-of-type(5n + 5) +):has(~ :hover:nth-of-type(5n + 5)) div { border-color: #79b8ff; - background-color: var( - --diffBlob-hunk-bgColor-num, - var(--color-diff-blob-hunk-num-bg, #dbedff) - ); + background-color: + var( + --diffBlob-hunk-bgColor-num, + var(--color-diff-blob-hunk-num-bg, #dbedff) + ); } /* https://github.com/refined-github/refined-github/issues/6515 */ diff --git a/source/features/tag-changes-link.css b/source/features/tag-changes-link.css index 9dc91840a762..b29e2dd3abb2 100644 --- a/source/features/tag-changes-link.css +++ b/source/features/tag-changes-link.css @@ -1,11 +1,7 @@ /* Don't break layout on mobile (https://primer.style/css/support/breakpoints) */ @media (min-width: 768px) { /* Reserve some space above the "Compare" dropdown (the selector will be disabled as soon as the "Changelog" link is inserted) */ - .rgh-tag-changes-link - .repository-content - .my-5 - > :first-child - > :nth-child(5):not(.rgh-changelog-link) { + .rgh-tag-changes-link .repository-content .my-5 > :first-child > :nth-child(5):not(.rgh-changelog-link) { /* 21px is the height of the link that is being inserted https://user-images.githubusercontent.com/1402241/103394704-bf2d7a80-4aef-11eb-8377-5c59b46cc2b3.png */ padding-top: 21px !important; } diff --git a/source/features/user-local-time.css b/source/features/user-local-time.css index c6c2a2cc6055..45365b5cc59f 100644 --- a/source/features/user-local-time.css +++ b/source/features/user-local-time.css @@ -1,8 +1,5 @@ /* Reserve some space in the hovercard to fix #4345 */ -.js-hovercard-content - .Popover-message - div.d-flex.mt-3 - > div.overflow-hidden.ml-3:not(.rgh-user-local-time-added) { +.js-hovercard-content .Popover-message div.d-flex.mt-3 > div.overflow-hidden.ml-3:not(.rgh-user-local-time-added) { /* 26px is the height of the div that is being inserted plus its margin https://user-images.githubusercontent.com/46634000/120511483-bf95ae80-c3ca-11eb-8a97-310b32ae96c0.png */ padding-bottom: 26px !important; } diff --git a/source/features/warning-for-disallow-edits.css b/source/features/warning-for-disallow-edits.css index 0479c956bb5f..179de52ada96 100644 --- a/source/features/warning-for-disallow-edits.css +++ b/source/features/warning-for-disallow-edits.css @@ -1,6 +1,4 @@ /* Hide warning when PR is closed */ -[data-pull-is-open='false'] - ~ #discussion_bucket - .rgh-warning-for-disallow-edits { +[data-pull-is-open='false'] ~ #discussion_bucket .rgh-warning-for-disallow-edits { display: none; } diff --git a/source/github-helpers/heat-map.css b/source/github-helpers/heat-map.css index 82c97f182d8a..c426fc9c0497 100644 --- a/source/github-helpers/heat-map.css +++ b/source/github-helpers/heat-map.css @@ -6,90 +6,100 @@ :root [data-rgh-heat='1'] { color: #c24e00 !important; - color: color-mix( - in srgb, - var(--rgh-heat-color) 100%, - var(--fgColor-muted, var(--color-fg-muted)) - ) !important; + color: + color-mix( + in srgb, + var(--rgh-heat-color) 100%, + var(--fgColor-muted, var(--color-fg-muted)) + ) !important; } :root [data-rgh-heat='2'] { color: #ac571f !important; - color: color-mix( - in srgb, - var(--rgh-heat-color) 90%, - var(--fgColor-muted, var(--color-fg-muted)) - ) !important; + color: + color-mix( + in srgb, + var(--rgh-heat-color) 90%, + var(--fgColor-muted, var(--color-fg-muted)) + ) !important; } :root [data-rgh-heat='3'] { color: #a35b2c !important; - color: color-mix( - in srgb, - var(--rgh-heat-color) 80%, - var(--fgColor-muted, var(--color-fg-muted)) - ) !important; + color: + color-mix( + in srgb, + var(--rgh-heat-color) 80%, + var(--fgColor-muted, var(--color-fg-muted)) + ) !important; } :root [data-rgh-heat='4'] { color: #9a5f38 !important; - color: color-mix( - in srgb, - var(--rgh-heat-color) 70%, - var(--fgColor-muted, var(--color-fg-muted)) - ) !important; + color: + color-mix( + in srgb, + var(--rgh-heat-color) 70%, + var(--fgColor-muted, var(--color-fg-muted)) + ) !important; } :root [data-rgh-heat='5'] { color: #926245 !important; - color: color-mix( - in srgb, - var(--rgh-heat-color) 60%, - var(--fgColor-muted, var(--color-fg-muted)) - ) !important; + color: + color-mix( + in srgb, + var(--rgh-heat-color) 60%, + var(--fgColor-muted, var(--color-fg-muted)) + ) !important; } :root [data-rgh-heat='6'] { color: #896651 !important; - color: color-mix( - in srgb, - var(--rgh-heat-color) 50%, - var(--fgColor-muted, var(--color-fg-muted)) - ) !important; + color: + color-mix( + in srgb, + var(--rgh-heat-color) 50%, + var(--fgColor-muted, var(--color-fg-muted)) + ) !important; } :root [data-rgh-heat='7'] { color: #806a5e !important; - color: color-mix( - in srgb, - var(--rgh-heat-color) 40%, - var(--fgColor-muted, var(--color-fg-muted)) - ) !important; + color: + color-mix( + in srgb, + var(--rgh-heat-color) 40%, + var(--fgColor-muted, var(--color-fg-muted)) + ) !important; } :root [data-rgh-heat='8'] { color: #776d6a !important; - color: color-mix( - in srgb, - var(--rgh-heat-color) 30%, - var(--fgColor-muted, var(--color-fg-muted)) - ) !important; + color: + color-mix( + in srgb, + var(--rgh-heat-color) 30%, + var(--fgColor-muted, var(--color-fg-muted)) + ) !important; } :root [data-rgh-heat='9'] { color: #6e7177 !important; - color: color-mix( - in srgb, - var(--rgh-heat-color) 20%, - var(--fgColor-muted, var(--color-fg-muted)) - ) !important; + color: + color-mix( + in srgb, + var(--rgh-heat-color) 20%, + var(--fgColor-muted, var(--color-fg-muted)) + ) !important; } :root [data-rgh-heat='10'] { color: #6a737d !important; - color: color-mix( - in srgb, - var(--rgh-heat-color) 0%, - var(--fgColor-muted, var(--color-fg-muted)) - ) !important; + color: + color-mix( + in srgb, + var(--rgh-heat-color) 0%, + var(--fgColor-muted, var(--color-fg-muted)) + ) !important; } diff --git a/source/options.css b/source/options.css index e65f11b24def..ba7661fc734f 100644 --- a/source/options.css +++ b/source/options.css @@ -108,8 +108,14 @@ details[open] > :not(summary) { :root [name='customCSS'], :root [name='personalToken'] { /* Same as GitHub style for `code` */ - font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, - 'Liberation Mono', monospace !important; + font-family: + ui-monospace, + SFMono-Regular, + 'SF Mono', + Menlo, + Consolas, + 'Liberation Mono', + monospace !important; font-size: 11px; line-height: 1.5; } diff --git a/source/refined-github.css b/source/refined-github.css index d28315b5b5bf..9886d7bd5fd6 100644 --- a/source/refined-github.css +++ b/source/refined-github.css @@ -1,10 +1,11 @@ :root { --rgh-green: var(--fgColor-success, var(--color-success-fg, #1a7f37)); --rgh-red: var(--fgColor-danger, var(--color-danger-fg, #cf222e)); - --rgh-border-color: var( - --borderColor-muted, - var(--color-border-muted, #d8dee4) - ); + --rgh-border-color: + var( + --borderColor-muted, + var(--color-border-muted, #d8dee4) + ); --rgh-background: var(--bgColor-default, var(--color-canvas-default, #fff)); } @@ -36,9 +37,9 @@ https://github.com/notifications?query=reason%3Acomment (which is an unsaved fil } :is( - .js-notifications-mark-selected-actions, - .js-notifications-mark-all-actions - ):not([hidden]) { +.js-notifications-mark-selected-actions, +.js-notifications-mark-all-actions +):not([hidden]) { display: contents !important; } @@ -120,10 +121,11 @@ pr-branches right: 50%; transform: translate(50%, 50%); min-width: 380px; /* Avoids a width change on the last step which causes the YES button to be where NO was */ - box-shadow: var( - --shadow-floating-large, - var(--color-shadow-large, var(--color-toast-shadow)) - ); + box-shadow: + var( + --shadow-floating-large, + var(--color-shadow-large, var(--color-toast-shadow)) + ); z-index: 2147483647; }