From db31f46091173bf2ace40704ad7c70cd6cc67ce4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 May 2024 02:34:59 +0000 Subject: [PATCH 01/12] chore(deps-dev): bump lint-staged from 15.2.2 to 15.2.5 Bumps [lint-staged](https://github.com/okonet/lint-staged) from 15.2.2 to 15.2.5. - [Release notes](https://github.com/okonet/lint-staged/releases) - [Changelog](https://github.com/lint-staged/lint-staged/blob/master/CHANGELOG.md) - [Commits](https://github.com/okonet/lint-staged/compare/v15.2.2...v15.2.5) --- updated-dependencies: - dependency-name: lint-staged dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 200 +++++++++++++++++++++------------------------- package.json | 2 +- 2 files changed, 92 insertions(+), 110 deletions(-) diff --git a/package-lock.json b/package-lock.json index bbfee752..256903b7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@rushstack/eslint-patch": "^1.10.3", "eslint": "^7.32.0", "ignore-emit-webpack-plugin": "^2.0.6", - "lint-staged": "^15.2.2", + "lint-staged": "^15.2.5", "newspack-scripts": "^5.4.0", "postcss-scss": "^4.0.9", "prettier": "^3.2.5", @@ -8267,12 +8267,12 @@ } }, "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", "dev": true, "dependencies": { - "fill-range": "^7.0.1" + "fill-range": "^7.1.1" }, "engines": { "node": ">=8" @@ -9249,12 +9249,12 @@ } }, "node_modules/commander": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-11.1.0.tgz", - "integrity": "sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==", + "version": "12.1.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-12.1.0.tgz", + "integrity": "sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==", "dev": true, "engines": { - "node": ">=16" + "node": ">=18" } }, "node_modules/comment-parser": { @@ -12526,9 +12526,9 @@ "optional": true }, "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", "dev": true, "dependencies": { "to-regex-range": "^5.0.1" @@ -18952,12 +18952,15 @@ } }, "node_modules/lilconfig": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.0.0.tgz", - "integrity": "sha512-K2U4W2Ff5ibV7j7ydLr+zLAkIg5JJ4lPn1Ltsdt+Tz/IjQ8buJ55pZAxoP34lqIiwtF9iAvtLv3JGv7CAyAg+g==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.1.tgz", + "integrity": "sha512-O18pf7nyvHTckunPWCV1XUNXU1piu01y2b7ATJ0ppkUkk8ocqVWBrYjJBCwHDjD/ZWcfyrA0P4gKhzWGi5EINQ==", "dev": true, "engines": { "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/antonk52" } }, "node_modules/line-height": { @@ -18979,21 +18982,21 @@ "dev": true }, "node_modules/lint-staged": { - "version": "15.2.2", - "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-15.2.2.tgz", - "integrity": "sha512-TiTt93OPh1OZOsb5B7k96A/ATl2AjIZo+vnzFZ6oHK5FuTk63ByDtxGQpHm+kFETjEWqgkF95M8FRXKR/LEBcw==", - "dev": true, - "dependencies": { - "chalk": "5.3.0", - "commander": "11.1.0", - "debug": "4.3.4", - "execa": "8.0.1", - "lilconfig": "3.0.0", - "listr2": "8.0.1", - "micromatch": "4.0.5", - "pidtree": "0.6.0", - "string-argv": "0.3.2", - "yaml": "2.3.4" + "version": "15.2.5", + "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-15.2.5.tgz", + "integrity": "sha512-j+DfX7W9YUvdzEZl3Rk47FhDF6xwDBV5wwsCPw6BwWZVPYJemusQmvb9bRsW23Sqsaa+vRloAWogbK4BUuU2zA==", + "dev": true, + "dependencies": { + "chalk": "~5.3.0", + "commander": "~12.1.0", + "debug": "~4.3.4", + "execa": "~8.0.1", + "lilconfig": "~3.1.1", + "listr2": "~8.2.1", + "micromatch": "~4.0.7", + "pidtree": "~0.6.0", + "string-argv": "~0.3.2", + "yaml": "~2.4.2" }, "bin": { "lint-staged": "bin/lint-staged.js" @@ -19018,16 +19021,16 @@ } }, "node_modules/listr2": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/listr2/-/listr2-8.0.1.tgz", - "integrity": "sha512-ovJXBXkKGfq+CwmKTjluEqFi3p4h8xvkxGQQAQan22YCgef4KZ1mKGjzfGh6PL6AW5Csw0QiQPNuQyH+6Xk3hA==", + "version": "8.2.1", + "resolved": "https://registry.npmjs.org/listr2/-/listr2-8.2.1.tgz", + "integrity": "sha512-irTfvpib/rNiD637xeevjO2l3Z5loZmuaRi0L0YE5LfijwVY96oyVn0DFD3o/teAok7nfobMG1THvvcHh/BP6g==", "dev": true, "dependencies": { "cli-truncate": "^4.0.0", "colorette": "^2.0.20", "eventemitter3": "^5.0.1", "log-update": "^6.0.0", - "rfdc": "^1.3.0", + "rfdc": "^1.3.1", "wrap-ansi": "^9.0.0" }, "engines": { @@ -19409,13 +19412,10 @@ } }, "node_modules/log-update/node_modules/ansi-escapes": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-6.2.0.tgz", - "integrity": "sha512-kzRaCqXnpzWs+3z5ABPQiVke+iq0KXkHo8xiWV4RPTi5Yli0l97BEQuhXV1s7+aSU/fu1kUuxgS4MsQ0fRuygw==", + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-6.2.1.tgz", + "integrity": "sha512-4nJ3yixlEthEJ9Rk4vPcdBRkZvQZlYyu8j4/Mqz5sgIkddmEnH2Yj2ZrnP9S3tQOvSNRUIgVNF/1yPpRAGNRig==", "dev": true, - "dependencies": { - "type-fest": "^3.0.0" - }, "engines": { "node": ">=14.16" }, @@ -19548,18 +19548,6 @@ "url": "https://github.com/chalk/strip-ansi?sponsor=1" } }, - "node_modules/log-update/node_modules/type-fest": { - "version": "3.13.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-3.13.1.tgz", - "integrity": "sha512-tLq3bSNx+xSpwvAJnzrK0Ep5CLNWjvFTOp71URMaAEWBfRb9nnJiBoUe0tF8bI4ZFO3omgBR6NvnbzVUT3Ly4g==", - "dev": true, - "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/log-update/node_modules/wrap-ansi": { "version": "9.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.0.tgz", @@ -19874,12 +19862,12 @@ } }, "node_modules/micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.7.tgz", + "integrity": "sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==", "dev": true, "dependencies": { - "braces": "^3.0.2", + "braces": "^3.0.3", "picomatch": "^2.3.1" }, "engines": { @@ -33911,10 +33899,13 @@ "dev": true }, "node_modules/yaml": { - "version": "2.3.4", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.4.tgz", - "integrity": "sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==", + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.4.2.tgz", + "integrity": "sha512-B3VqDZ+JAg1nZpaEmWtTXUlBneoGx6CPM9b0TENK6aoSu5t73dItudwdgmi6tHlIZZId4dZ9skcAQ2UbcyAeVA==", "dev": true, + "bin": { + "yaml": "bin.mjs" + }, "engines": { "node": ">= 14" } @@ -40327,12 +40318,12 @@ } }, "braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", "dev": true, "requires": { - "fill-range": "^7.0.1" + "fill-range": "^7.1.1" } }, "brcast": { @@ -41091,9 +41082,9 @@ } }, "commander": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-11.1.0.tgz", - "integrity": "sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==", + "version": "12.1.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-12.1.0.tgz", + "integrity": "sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==", "dev": true }, "comment-parser": { @@ -43652,9 +43643,9 @@ "optional": true }, "fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", "dev": true, "requires": { "to-regex-range": "^5.0.1" @@ -48675,9 +48666,9 @@ } }, "lilconfig": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.0.0.tgz", - "integrity": "sha512-K2U4W2Ff5ibV7j7ydLr+zLAkIg5JJ4lPn1Ltsdt+Tz/IjQ8buJ55pZAxoP34lqIiwtF9iAvtLv3JGv7CAyAg+g==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.1.tgz", + "integrity": "sha512-O18pf7nyvHTckunPWCV1XUNXU1piu01y2b7ATJ0ppkUkk8ocqVWBrYjJBCwHDjD/ZWcfyrA0P4gKhzWGi5EINQ==", "dev": true }, "line-height": { @@ -48696,21 +48687,21 @@ "dev": true }, "lint-staged": { - "version": "15.2.2", - "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-15.2.2.tgz", - "integrity": "sha512-TiTt93OPh1OZOsb5B7k96A/ATl2AjIZo+vnzFZ6oHK5FuTk63ByDtxGQpHm+kFETjEWqgkF95M8FRXKR/LEBcw==", + "version": "15.2.5", + "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-15.2.5.tgz", + "integrity": "sha512-j+DfX7W9YUvdzEZl3Rk47FhDF6xwDBV5wwsCPw6BwWZVPYJemusQmvb9bRsW23Sqsaa+vRloAWogbK4BUuU2zA==", "dev": true, "requires": { - "chalk": "5.3.0", - "commander": "11.1.0", - "debug": "4.3.4", - "execa": "8.0.1", - "lilconfig": "3.0.0", - "listr2": "8.0.1", - "micromatch": "4.0.5", - "pidtree": "0.6.0", - "string-argv": "0.3.2", - "yaml": "2.3.4" + "chalk": "~5.3.0", + "commander": "~12.1.0", + "debug": "~4.3.4", + "execa": "~8.0.1", + "lilconfig": "~3.1.1", + "listr2": "~8.2.1", + "micromatch": "~4.0.7", + "pidtree": "~0.6.0", + "string-argv": "~0.3.2", + "yaml": "~2.4.2" }, "dependencies": { "chalk": { @@ -48722,16 +48713,16 @@ } }, "listr2": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/listr2/-/listr2-8.0.1.tgz", - "integrity": "sha512-ovJXBXkKGfq+CwmKTjluEqFi3p4h8xvkxGQQAQan22YCgef4KZ1mKGjzfGh6PL6AW5Csw0QiQPNuQyH+6Xk3hA==", + "version": "8.2.1", + "resolved": "https://registry.npmjs.org/listr2/-/listr2-8.2.1.tgz", + "integrity": "sha512-irTfvpib/rNiD637xeevjO2l3Z5loZmuaRi0L0YE5LfijwVY96oyVn0DFD3o/teAok7nfobMG1THvvcHh/BP6g==", "dev": true, "requires": { "cli-truncate": "^4.0.0", "colorette": "^2.0.20", "eventemitter3": "^5.0.1", "log-update": "^6.0.0", - "rfdc": "^1.3.0", + "rfdc": "^1.3.1", "wrap-ansi": "^9.0.0" }, "dependencies": { @@ -49054,13 +49045,10 @@ }, "dependencies": { "ansi-escapes": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-6.2.0.tgz", - "integrity": "sha512-kzRaCqXnpzWs+3z5ABPQiVke+iq0KXkHo8xiWV4RPTi5Yli0l97BEQuhXV1s7+aSU/fu1kUuxgS4MsQ0fRuygw==", - "dev": true, - "requires": { - "type-fest": "^3.0.0" - } + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-6.2.1.tgz", + "integrity": "sha512-4nJ3yixlEthEJ9Rk4vPcdBRkZvQZlYyu8j4/Mqz5sgIkddmEnH2Yj2ZrnP9S3tQOvSNRUIgVNF/1yPpRAGNRig==", + "dev": true }, "ansi-regex": { "version": "6.0.1", @@ -49136,12 +49124,6 @@ "ansi-regex": "^6.0.1" } }, - "type-fest": { - "version": "3.13.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-3.13.1.tgz", - "integrity": "sha512-tLq3bSNx+xSpwvAJnzrK0Ep5CLNWjvFTOp71URMaAEWBfRb9nnJiBoUe0tF8bI4ZFO3omgBR6NvnbzVUT3Ly4g==", - "dev": true - }, "wrap-ansi": { "version": "9.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.0.tgz", @@ -49378,12 +49360,12 @@ "dev": true }, "micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.7.tgz", + "integrity": "sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==", "dev": true, "requires": { - "braces": "^3.0.2", + "braces": "^3.0.3", "picomatch": "^2.3.1" } }, @@ -59998,9 +59980,9 @@ "dev": true }, "yaml": { - "version": "2.3.4", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.4.tgz", - "integrity": "sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==", + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.4.2.tgz", + "integrity": "sha512-B3VqDZ+JAg1nZpaEmWtTXUlBneoGx6CPM9b0TENK6aoSu5t73dItudwdgmi6tHlIZZId4dZ9skcAQ2UbcyAeVA==", "dev": true }, "yargs": { diff --git a/package.json b/package.json index 2aece717..4a03e239 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "@rushstack/eslint-patch": "^1.10.3", "eslint": "^7.32.0", "ignore-emit-webpack-plugin": "^2.0.6", - "lint-staged": "^15.2.2", + "lint-staged": "^15.2.5", "newspack-scripts": "^5.4.0", "postcss-scss": "^4.0.9", "prettier": "^3.2.5", From 54e5af3db71e7ca04282d0fe26eb09c443b4abdf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 May 2024 02:35:19 +0000 Subject: [PATCH 02/12] chore(deps-dev): bump stylelint from 16.5.0 to 16.6.0 Bumps [stylelint](https://github.com/stylelint/stylelint) from 16.5.0 to 16.6.0. - [Release notes](https://github.com/stylelint/stylelint/releases) - [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md) - [Commits](https://github.com/stylelint/stylelint/compare/16.5.0...16.6.0) --- updated-dependencies: - dependency-name: stylelint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 162 ++++++++++++++++++++++++---------------------- package.json | 2 +- 2 files changed, 85 insertions(+), 79 deletions(-) diff --git a/package-lock.json b/package-lock.json index 256903b7..d806e4d7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "newspack-scripts": "^5.4.0", "postcss-scss": "^4.0.9", "prettier": "^3.2.5", - "stylelint": "^16.5.0" + "stylelint": "^16.6.0" } }, "node_modules/@adobe/css-tools": { @@ -2893,9 +2893,9 @@ } }, "node_modules/@csstools/css-parser-algorithms": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-2.6.1.tgz", - "integrity": "sha512-ubEkAaTfVZa+WwGhs5jbo5Xfqpeaybr/RvWzvFxRs4jfq16wH8l8Ty/QEEpINxll4xhuGfdMbipRyz5QZh9+FA==", + "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": [ { @@ -2911,13 +2911,13 @@ "node": "^14 || ^16 || >=18" }, "peerDependencies": { - "@csstools/css-tokenizer": "^2.2.4" + "@csstools/css-tokenizer": "^2.3.1" } }, "node_modules/@csstools/css-tokenizer": { - "version": "2.2.4", - "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-2.2.4.tgz", - "integrity": "sha512-PuWRAewQLbDhGeTvFuq2oClaSCKPIBmHyIobCV39JHRYN0byDcUWJl5baPeNUcqrjtdMNqFooE0FGl31I3JOqw==", + "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": [ { @@ -2934,9 +2934,9 @@ } }, "node_modules/@csstools/media-query-list-parser": { - "version": "2.1.9", - "resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-2.1.9.tgz", - "integrity": "sha512-qqGuFfbn4rUmyOB0u8CVISIp5FfJ5GAR3mBrZ9/TKndHakdnm6pY0L/fbLcpPnrzwCyyTEZl1nUcXAYHEWneTA==", + "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": [ { @@ -2952,8 +2952,8 @@ "node": "^14 || ^16 || >=18" }, "peerDependencies": { - "@csstools/css-parser-algorithms": "^2.6.1", - "@csstools/css-tokenizer": "^2.2.4" + "@csstools/css-parser-algorithms": "^2.6.3", + "@csstools/css-tokenizer": "^2.3.1" } }, "node_modules/@csstools/selector-specificity": { @@ -2982,9 +2982,9 @@ } }, "node_modules/@dual-bundle/import-meta-resolve": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@dual-bundle/import-meta-resolve/-/import-meta-resolve-4.0.0.tgz", - "integrity": "sha512-ZKXyJeFAzcpKM2kk8ipoGIPUqx9BX52omTGnfwjJvxOCaZTM2wtDK7zN0aIgPRbT9XYAlha0HtmZ+XKteuh0Gw==", + "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", @@ -18902,9 +18902,9 @@ } }, "node_modules/known-css-properties": { - "version": "0.30.0", - "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.30.0.tgz", - "integrity": "sha512-VSWXYUnsPu9+WYKkfmJyLKtIvaRJi1kXUqVmBACORXZQxT5oZDsoZ2vQP+bQFDnWtpI/4eq3MLoRMjI2fnLzTQ==", + "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/language-subtag-registry": { @@ -25917,9 +25917,9 @@ "dev": true }, "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": { @@ -27628,9 +27628,9 @@ } }, "node_modules/postcss-selector-parser": { - "version": "6.0.16", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.16.tgz", - "integrity": "sha512-A0RVJrX+IUkVZbW3ClroRWurercFhieevHB38sr2+l9eUClMqome3LmEmnhlNy+5Mr2EYN6B2Kaw9wYdd+VHiw==", + "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", @@ -31418,16 +31418,26 @@ } }, "node_modules/stylelint": { - "version": "16.5.0", - "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-16.5.0.tgz", - "integrity": "sha512-IlCBtVrG+qTy3v+tZTk50W8BIomjY/RUuzdrDqdnlCYwVuzXtPbiGfxYqtyYAyOMcb+195zRsuHn6tgfPmFfbw==", + "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.6.1", - "@csstools/css-tokenizer": "^2.2.4", - "@csstools/media-query-list-parser": "^2.1.9", - "@csstools/selector-specificity": "^3.0.3", - "@dual-bundle/import-meta-resolve": "^4.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": "^9.0.0", @@ -31444,16 +31454,16 @@ "ignore": "^5.3.1", "imurmurhash": "^0.1.4", "is-plain-object": "^5.0.0", - "known-css-properties": "^0.30.0", + "known-css-properties": "^0.31.0", "mathml-tag-names": "^2.1.3", "meow": "^13.2.0", "micromatch": "^4.0.5", "normalize-path": "^3.0.0", - "picocolors": "^1.0.0", + "picocolors": "^1.0.1", "postcss": "^8.4.38", "postcss-resolve-nested-selector": "^0.1.1", "postcss-safe-parser": "^7.0.0", - "postcss-selector-parser": "^6.0.16", + "postcss-selector-parser": "^6.1.0", "postcss-value-parser": "^4.2.0", "resolve-from": "^5.0.0", "string-width": "^4.2.3", @@ -31468,16 +31478,12 @@ }, "engines": { "node": ">=18.12.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/stylelint" } }, "node_modules/stylelint/node_modules/@csstools/selector-specificity": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-3.0.3.tgz", - "integrity": "sha512-KEPNw4+WW5AVEIyzC80rTbWEUatTW2lXpN8+8ILC8PiPeWPjwUzrPZDIOZ2wwqDmeqOYTdSGyL3+vE5GC3FB3Q==", + "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": [ { @@ -36078,22 +36084,22 @@ } }, "@csstools/css-parser-algorithms": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-2.6.1.tgz", - "integrity": "sha512-ubEkAaTfVZa+WwGhs5jbo5Xfqpeaybr/RvWzvFxRs4jfq16wH8l8Ty/QEEpINxll4xhuGfdMbipRyz5QZh9+FA==", + "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, "requires": {} }, "@csstools/css-tokenizer": { - "version": "2.2.4", - "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-2.2.4.tgz", - "integrity": "sha512-PuWRAewQLbDhGeTvFuq2oClaSCKPIBmHyIobCV39JHRYN0byDcUWJl5baPeNUcqrjtdMNqFooE0FGl31I3JOqw==", + "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 }, "@csstools/media-query-list-parser": { - "version": "2.1.9", - "resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-2.1.9.tgz", - "integrity": "sha512-qqGuFfbn4rUmyOB0u8CVISIp5FfJ5GAR3mBrZ9/TKndHakdnm6pY0L/fbLcpPnrzwCyyTEZl1nUcXAYHEWneTA==", + "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, "requires": {} }, @@ -36111,9 +36117,9 @@ "dev": true }, "@dual-bundle/import-meta-resolve": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@dual-bundle/import-meta-resolve/-/import-meta-resolve-4.0.0.tgz", - "integrity": "sha512-ZKXyJeFAzcpKM2kk8ipoGIPUqx9BX52omTGnfwjJvxOCaZTM2wtDK7zN0aIgPRbT9XYAlha0HtmZ+XKteuh0Gw==", + "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 }, "@emotion/babel-plugin": { @@ -48623,9 +48629,9 @@ "dev": true }, "known-css-properties": { - "version": "0.30.0", - "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.30.0.tgz", - "integrity": "sha512-VSWXYUnsPu9+WYKkfmJyLKtIvaRJi1kXUqVmBACORXZQxT5oZDsoZ2vQP+bQFDnWtpI/4eq3MLoRMjI2fnLzTQ==", + "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 }, "language-subtag-registry": { @@ -53863,9 +53869,9 @@ "dev": true }, "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 }, "picomatch": { @@ -55145,9 +55151,9 @@ "requires": {} }, "postcss-selector-parser": { - "version": "6.0.16", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.16.tgz", - "integrity": "sha512-A0RVJrX+IUkVZbW3ClroRWurercFhieevHB38sr2+l9eUClMqome3LmEmnhlNy+5Mr2EYN6B2Kaw9wYdd+VHiw==", + "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, "requires": { "cssesc": "^3.0.0", @@ -58131,16 +58137,16 @@ } }, "stylelint": { - "version": "16.5.0", - "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-16.5.0.tgz", - "integrity": "sha512-IlCBtVrG+qTy3v+tZTk50W8BIomjY/RUuzdrDqdnlCYwVuzXtPbiGfxYqtyYAyOMcb+195zRsuHn6tgfPmFfbw==", + "version": "16.6.0", + "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-16.6.0.tgz", + "integrity": "sha512-vjWYlDEgOS3Z/IcXagQwi8PFJyPro1DxBYOnTML1PAqnrYUHs8owleGStv20sgt0OhW8r9zZm6MK7IT2+l2B6A==", "dev": true, "requires": { - "@csstools/css-parser-algorithms": "^2.6.1", - "@csstools/css-tokenizer": "^2.2.4", - "@csstools/media-query-list-parser": "^2.1.9", - "@csstools/selector-specificity": "^3.0.3", - "@dual-bundle/import-meta-resolve": "^4.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": "^9.0.0", @@ -58157,16 +58163,16 @@ "ignore": "^5.3.1", "imurmurhash": "^0.1.4", "is-plain-object": "^5.0.0", - "known-css-properties": "^0.30.0", + "known-css-properties": "^0.31.0", "mathml-tag-names": "^2.1.3", "meow": "^13.2.0", "micromatch": "^4.0.5", "normalize-path": "^3.0.0", - "picocolors": "^1.0.0", + "picocolors": "^1.0.1", "postcss": "^8.4.38", "postcss-resolve-nested-selector": "^0.1.1", "postcss-safe-parser": "^7.0.0", - "postcss-selector-parser": "^6.0.16", + "postcss-selector-parser": "^6.1.0", "postcss-value-parser": "^4.2.0", "resolve-from": "^5.0.0", "string-width": "^4.2.3", @@ -58178,9 +58184,9 @@ }, "dependencies": { "@csstools/selector-specificity": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-3.0.3.tgz", - "integrity": "sha512-KEPNw4+WW5AVEIyzC80rTbWEUatTW2lXpN8+8ILC8PiPeWPjwUzrPZDIOZ2wwqDmeqOYTdSGyL3+vE5GC3FB3Q==", + "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, "requires": {} }, diff --git a/package.json b/package.json index 4a03e239..e0cec237 100644 --- a/package.json +++ b/package.json @@ -47,6 +47,6 @@ "newspack-scripts": "^5.4.0", "postcss-scss": "^4.0.9", "prettier": "^3.2.5", - "stylelint": "^16.5.0" + "stylelint": "^16.6.0" } } From 99e77c90226b26d86ef57d98185c9c859e5e0d84 Mon Sep 17 00:00:00 2001 From: Thomas Guillot Date: Tue, 28 May 2024 11:58:06 +0100 Subject: [PATCH 03/12] feat: add specific styles for media & text block (#154) --- src/scss/block-patterns/_block-patterns.scss | 25 ++++++++++++++++++++ src/scss/blocks/_blocks.scss | 1 + src/scss/blocks/_media-text.scss | 18 ++++++++++++++ src/scss/style.scss | 1 + 4 files changed, 45 insertions(+) create mode 100644 src/scss/block-patterns/_block-patterns.scss create mode 100644 src/scss/blocks/_media-text.scss diff --git a/src/scss/block-patterns/_block-patterns.scss b/src/scss/block-patterns/_block-patterns.scss new file mode 100644 index 00000000..64047ba8 --- /dev/null +++ b/src/scss/block-patterns/_block-patterns.scss @@ -0,0 +1,25 @@ +@use '../sass-utils'; + +.newspack-pattern { + &.donations, + &.subscribe { + &__style-squeeze { + .wp-block-media-text__content { + padding: 0; + grid-column: span 2; + + @include sass-utils.media(medium) { + grid-column: auto; + } + } + + .wp-block-media-text__media { + display: none; + + @include sass-utils.media(medium) { + display: block; + } + } + } + } +} \ No newline at end of file diff --git a/src/scss/blocks/_blocks.scss b/src/scss/blocks/_blocks.scss index 3c87a737..a5ddbf3c 100644 --- a/src/scss/blocks/_blocks.scss +++ b/src/scss/blocks/_blocks.scss @@ -2,6 +2,7 @@ @import url('./_co-authors-plus.scss'); @import url('./_columns.scss'); @import url('./_homepage-articles.scss'); +@import url('./_media-text.scss'); @import url('./_navigation.scss'); @import url('./_paragraph.scss'); @import url('./_pagination.scss'); diff --git a/src/scss/blocks/_media-text.scss b/src/scss/blocks/_media-text.scss new file mode 100644 index 00000000..0d21b84c --- /dev/null +++ b/src/scss/blocks/_media-text.scss @@ -0,0 +1,18 @@ +.wp-block-media-text { + & &__content { + padding: var( --wp--preset--spacing--80 ); + + > * { + margin-bottom: var( --wp--preset--spacing--50 ); + margin-top: var( --wp--preset--spacing--50 ); + + &:first-child { + margin-top: 0; + } + + &:last-child { + margin-bottom: 0; + } + } + } +} \ No newline at end of file diff --git a/src/scss/style.scss b/src/scss/style.scss index aa97d5f3..f711bb6d 100644 --- a/src/scss/style.scss +++ b/src/scss/style.scss @@ -4,6 +4,7 @@ @import url('./_forms.scss'); @import url('./_gutenberg-shim.scss'); @import url('./blocks/_blocks.scss'); +@import url('./block-patterns/_block-patterns.scss'); @import url('./block-styles/_block-styles.scss'); @import url('./_header.scss'); @import url('./_comments-overlay.scss'); From df2ace1317b354d0c493cc8969eb53f7e3df2fe7 Mon Sep 17 00:00:00 2001 From: Thomas Guillot Date: Tue, 28 May 2024 16:56:10 +0100 Subject: [PATCH 04/12] feat: add basic styles for input submit (#157) --- src/scss/_forms.scss | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/scss/_forms.scss b/src/scss/_forms.scss index d13b437e..b32a4c16 100644 --- a/src/scss/_forms.scss +++ b/src/scss/_forms.scss @@ -45,4 +45,20 @@ input[type='checkbox'] { input[type='radio'] { @include mixins.radio; +} + +button, +input[type='submit'] { + border: 0; + border-radius: var( --newspack-ui-border-radius-m, var( --wp--custom--border--radius-medium ) ); + cursor: pointer; + font-family: var( --newspack-ui-font-family, system-ui,sans-serif ); + font-size: var( --newspack-ui-font-size-s, var( --wp--preset--font-size--small ) ); + line-height: var( --newspack-ui-line-height-s, var( --wp--custom--line-height--small ) ); + padding: var( --newspack-ui-spacer-2, calc( var( --wp--preset--spacing--20 ) * 1.5 ) ) var( --newspack-ui-spacer-5, var( --wp--preset--spacing--40 ) ); + + &:focus { + outline: 2px solid var( --newspack-ui-color-neutral-90, --wp--preset--color--contrast ); + outline-offset: 1px; + } } \ No newline at end of file From b56d2b65b1d77b0c90f826c27fb79235a06576a6 Mon Sep 17 00:00:00 2001 From: Thomas Guillot Date: Wed, 29 May 2024 08:01:55 +0100 Subject: [PATCH 05/12] feat: add blank page template (#158) --- templates/page/blank.html | 5 +++++ theme.json | 7 +++++++ 2 files changed, 12 insertions(+) create mode 100644 templates/page/blank.html diff --git a/templates/page/blank.html b/templates/page/blank.html new file mode 100644 index 00000000..207bbccb --- /dev/null +++ b/templates/page/blank.html @@ -0,0 +1,5 @@ + +
+ +
+ \ No newline at end of file diff --git a/theme.json b/theme.json index 2ce520f0..308d6db2 100644 --- a/theme.json +++ b/theme.json @@ -865,6 +865,13 @@ } }, "customTemplates": [ + { + "name": "page/blank", + "postTypes": [ + "page" + ], + "title": "Page - Blank" + }, { "name": "single/large-image", "postTypes": [ From 67d38600bfa128707c060ef510ce39271542a1d0 Mon Sep 17 00:00:00 2001 From: Thomas Guillot Date: Thu, 30 May 2024 17:22:53 +0100 Subject: [PATCH 06/12] feat: add post-meta pattern (#148) --- includes/class-core.php | 12 +- parts/post-header.html | 9 +- patterns/post-header.php | 36 ------ patterns/post-meta-multiple-lines-avatar.php | 63 ++++++++++ patterns/post-meta-multiple-lines.php | 47 +++++++ patterns/post-meta-single-line-avatar.php | 61 ++++++++++ patterns/post-meta-single-line.php | 52 ++++++++ .../editor/block-styles/separator-styles.js | 7 ++ src/js/editor/index.js | 1 + src/scss/block-styles/_block-styles.scss | 1 + src/scss/block-styles/_separator-styles.scss | 5 + src/scss/blocks/_blocks.scss | 3 +- src/scss/blocks/_co-authors-plus.scss | 25 +--- src/scss/blocks/_homepage-articles.scss | 13 +- ...ost-author-name.scss => _post-author.scss} | 10 ++ src/scss/blocks/_sharing-buttons.scss | 115 ++++++++++++++++++ templates/single.html | 2 +- theme.json | 28 ++++- 18 files changed, 415 insertions(+), 75 deletions(-) delete mode 100644 patterns/post-header.php create mode 100644 patterns/post-meta-multiple-lines-avatar.php create mode 100644 patterns/post-meta-multiple-lines.php create mode 100644 patterns/post-meta-single-line-avatar.php create mode 100644 patterns/post-meta-single-line.php create mode 100644 src/js/editor/block-styles/separator-styles.js create mode 100644 src/scss/block-styles/_separator-styles.scss rename src/scss/blocks/{_post-author-name.scss => _post-author.scss} (51%) create mode 100644 src/scss/blocks/_sharing-buttons.scss diff --git a/includes/class-core.php b/includes/class-core.php index 16289269..e4b9b8bd 100644 --- a/includes/class-core.php +++ b/includes/class-core.php @@ -135,8 +135,16 @@ public static function block_pattern_categories() { register_block_pattern_category( 'newspack-block-theme', array( - 'label' => __( 'Newspack Block Theme', 'text-domain' ), - 'description' => __( 'Patterns bundled with the Newspack Block Theme.', 'text-domain' ), + 'label' => __( 'Newspack Theme', 'newspack-block-theme' ), + 'description' => __( 'Patterns bundled with the Newspack Block Theme.', 'newspack-block-theme' ), + ) + ); + + register_block_pattern_category( + 'newspack-block-theme-post-meta', + array( + 'label' => __( 'Newspack Theme - Post Meta', 'newspack-block-theme' ), + 'description' => __( 'Patterns bundled with the Newspack Block Theme, specifically built for the post meta.', 'newspack-block-theme' ), ) ); } diff --git a/parts/post-header.html b/parts/post-header.html index 3742685c..d0b26572 100644 --- a/parts/post-header.html +++ b/parts/post-header.html @@ -1,13 +1,14 @@ + +
- -
+ - + -
+
\ No newline at end of file diff --git a/patterns/post-header.php b/patterns/post-header.php deleted file mode 100644 index 1f8d931e..00000000 --- a/patterns/post-header.php +++ /dev/null @@ -1,36 +0,0 @@ - - -
- -
- -
- - - - - -
- - - -
-
- - - - - -
- -
- diff --git a/patterns/post-meta-multiple-lines-avatar.php b/patterns/post-meta-multiple-lines-avatar.php new file mode 100644 index 00000000..daa86d8a --- /dev/null +++ b/patterns/post-meta-multiple-lines-avatar.php @@ -0,0 +1,63 @@ + + + + diff --git a/patterns/post-meta-multiple-lines.php b/patterns/post-meta-multiple-lines.php new file mode 100644 index 00000000..dbe1734b --- /dev/null +++ b/patterns/post-meta-multiple-lines.php @@ -0,0 +1,47 @@ + + + + diff --git a/patterns/post-meta-single-line-avatar.php b/patterns/post-meta-single-line-avatar.php new file mode 100644 index 00000000..a6e2bbff --- /dev/null +++ b/patterns/post-meta-single-line-avatar.php @@ -0,0 +1,61 @@ + + + + diff --git a/patterns/post-meta-single-line.php b/patterns/post-meta-single-line.php new file mode 100644 index 00000000..a724a8aa --- /dev/null +++ b/patterns/post-meta-single-line.php @@ -0,0 +1,52 @@ + + + + \ No newline at end of file diff --git a/src/js/editor/block-styles/separator-styles.js b/src/js/editor/block-styles/separator-styles.js new file mode 100644 index 00000000..6f0684cc --- /dev/null +++ b/src/js/editor/block-styles/separator-styles.js @@ -0,0 +1,7 @@ +// Add style to make the Separator block 'tick' (16px). +wp.domReady( () => { + wp.blocks.registerBlockStyle( 'core/separator', { + name: 'thick', + label: 'Thick', + } ); +} ); diff --git a/src/js/editor/index.js b/src/js/editor/index.js index 820bf44a..16293ec4 100644 --- a/src/js/editor/index.js +++ b/src/js/editor/index.js @@ -1,2 +1,3 @@ import '../shared/_shared-module'; import './block-styles/navigation-styles.js'; +import './block-styles/separator-styles.js'; diff --git a/src/scss/block-styles/_block-styles.scss b/src/scss/block-styles/_block-styles.scss index 401943b3..72a25492 100644 --- a/src/scss/block-styles/_block-styles.scss +++ b/src/scss/block-styles/_block-styles.scss @@ -1 +1,2 @@ @import url('./_navigation-styles.scss'); +@import url('./_separator-styles.scss'); diff --git a/src/scss/block-styles/_separator-styles.scss b/src/scss/block-styles/_separator-styles.scss new file mode 100644 index 00000000..af0d3295 --- /dev/null +++ b/src/scss/block-styles/_separator-styles.scss @@ -0,0 +1,5 @@ +.wp-block-separator { + &.is-style-thick { + border-bottom-width: var( --wp--preset--spacing--30 ); + } +} diff --git a/src/scss/blocks/_blocks.scss b/src/scss/blocks/_blocks.scss index a5ddbf3c..51308340 100644 --- a/src/scss/blocks/_blocks.scss +++ b/src/scss/blocks/_blocks.scss @@ -6,11 +6,12 @@ @import url('./_navigation.scss'); @import url('./_paragraph.scss'); @import url('./_pagination.scss'); -@import url('./_post-author-name.scss'); +@import url('./_post-author.scss'); @import url('./_post-comments.scss'); @import url('./_post-carousel.scss'); @import url('./_post-terms.scss'); @import url('./_pullquote.scss'); @import url('./_query-pagination.scss'); @import url('./_quote.scss'); +@import url('./_sharing-buttons.scss'); @import url('./_search.scss'); diff --git a/src/scss/blocks/_co-authors-plus.scss b/src/scss/blocks/_co-authors-plus.scss index 040db6f6..8c9afbfe 100644 --- a/src/scss/blocks/_co-authors-plus.scss +++ b/src/scss/blocks/_co-authors-plus.scss @@ -1,28 +1,9 @@ @use '../mixins'; .wp-block-co-authors-plus-coauthors { - - &.wp-block-coauthors-is-layout-flow { - position: relative; - - &:has(.wp-block-co-authors-plus-avatar) { - padding-left: calc( 24px + var(--wp--preset--spacing--20) ); - - .wp-block-co-authors-plus-coauthors__prefix { - margin-left: var(--wp--preset--spacing--20); - } - - @include mixins.cap-avatar( $width: 24px ); - } - - .wp-block-co-authors-plus-avatar { - left: 0; - position: absolute; - top: 0; - - img { - display: block; - } + &.cap-avatar { + .wp-block-co-authors-plus-coauthor:not( :first-child ) { + margin-left: -8px; } } } \ No newline at end of file diff --git a/src/scss/blocks/_homepage-articles.scss b/src/scss/blocks/_homepage-articles.scss index e96008a6..107996f5 100644 --- a/src/scss/blocks/_homepage-articles.scss +++ b/src/scss/blocks/_homepage-articles.scss @@ -290,6 +290,7 @@ "date"; line-height: var(--wp--custom--line-height--x-small); margin: var(--wp--preset--spacing--20) 0 0; + row-gap: calc( var(--wp--preset--spacing--20) / 2); .byline { margin: 0; @@ -306,14 +307,14 @@ "avatar byline" "avatar date"; - @include mixins.wpnbha-avatar( $width: 2.5rem ); + @include mixins.wpnbha-avatar( $width: 48px ); &:not(:has(.entry-date)) { - @include mixins.wpnbha-avatar( $width: 1.5rem ); + @include mixins.wpnbha-avatar( $width: 24px ); .avatar { - height: 1.5rem; - width: 1.5rem; + height:24px; + width: 24px; } .byline { @@ -327,9 +328,9 @@ } .avatar { - height: 2.5rem; + height: 48px; margin: 0; - width: 2.5rem; + width: 48px; } } } diff --git a/src/scss/blocks/_post-author-name.scss b/src/scss/blocks/_post-author.scss similarity index 51% rename from src/scss/blocks/_post-author-name.scss rename to src/scss/blocks/_post-author.scss index 15071905..055c69e8 100644 --- a/src/scss/blocks/_post-author-name.scss +++ b/src/scss/blocks/_post-author.scss @@ -9,4 +9,14 @@ font-size: inherit; margin-right: 0.25em; } + + &__avatar { + display: grid; + margin-right: var( --wp--preset--spacing--20 ); + place-items: center; + + img { + border-radius: 50%; + } + } } diff --git a/src/scss/blocks/_sharing-buttons.scss b/src/scss/blocks/_sharing-buttons.scss new file mode 100644 index 00000000..f81bd333 --- /dev/null +++ b/src/scss/blocks/_sharing-buttons.scss @@ -0,0 +1,115 @@ +@use '../sass-utils'; + +.wp-block-jetpack-sharing-buttons { + gap: calc( var( --wp--preset--spacing--20 ) / 2 ); + + .jetpack-sharing-button { + &__button { + margin: 0; + @include sass-utils.all-transition; + + &.style-icon { + line-height: 1; + padding: calc( var( --wp--preset--spacing--20 ) * 0.875 ); + top: 0; + + svg { + @include sass-utils.all-transition; + } + + &:hover { + svg { + transform: scale(1.1111); + } + } + } + + &.style-icon-text, + &.style-text { + background: var( --newspack-ui-color-neutral-0, var( --wp--preset--color--base ) ); + border: 1px solid var( --newspack-ui-color-neutral-30, var( --wp--preset--color--base-3 ) ); + border-radius: var( --wp--custom--border--radius-small ); + box-shadow: none; + color: var( --newspack-ui-color-neutral-90, var( --wp--preset--color--contrast ) ); + font-family: var( --newspack-ui-font-family, system-ui, sans-serif ); + font-size: var( --wp--preset--font-size--x-small ); + font-weight: 600; + gap: calc( var( --wp--preset--spacing--20 ) / 2 ); + line-height: var( --wp--custom--line-height--x-small ); + min-height: var( --wp--preset--spacing--50 ); + min-width: var( --wp--preset--spacing--50 ); + padding: calc( var( --wp--preset--spacing--20 ) / 2 - 1px ) calc( var( --wp--preset--spacing--20 ) - 1px ); + + &:hover { + background: var( --newspack-ui-color-neutral-5, var( --wp--preset--color--base-2 ) ); + border-color: var( --newspack-ui-color-neutral-40, var( --wp--preset--color--base-4 ) ); + } + + &:focus-visible { + outline: 2px solid; + outline-offset: 1px; + } + } + } + + &__service-label { + margin: 0; + } + } + + &.has-normal-icon-size, + &.has-large-icon-size, + &.has-huge-icon-size { + gap: var( --wp--preset--spacing--20 ); + + svg { + height: var( --wp--preset--spacing--40 ); + width: var( --wp--preset--spacing--40 ); + } + + .style-icon { + padding: calc( var( --wp--preset--spacing--20 ) * 0.75 ); + + &:hover { + svg { + transform: scale(1.0833); + } + } + } + } + + &.has-large-icon-size, + &.has-huge-icon-size { + .style-icon-text, + .style-text { + border-radius: var( --wp--custom--border--radius-medium ); + font-size: var( --wp--preset--font-size--small ); + line-height: var( --wp--custom--line-height--small ); + min-height: calc( var( --wp--preset--spacing--20 ) * 5 ); + padding-left: var( --wp--preset--spacing--30 ); + padding-right: var( --wp--preset--spacing--30 ); + } + } + + &.has-huge-icon-size { + svg { + height: var( --wp--preset--spacing--50 ); + width: var( --wp--preset--spacing--50 ); + } + + .style-icon { + &:hover { + svg { + transform: scale(1.125); + } + } + } + + .style-icon-text, + .style-text { + min-height: calc( var( --wp--preset--spacing--20 ) * 6 ); + padding-left: var( --wp--preset--spacing--40 ); + padding-right: var( --wp--preset--spacing--40 ); + } + } +} \ No newline at end of file diff --git a/templates/single.html b/templates/single.html index 7295079a..a16c3526 100644 --- a/templates/single.html +++ b/templates/single.html @@ -1,6 +1,6 @@ - +
diff --git a/theme.json b/theme.json index 308d6db2..ea72debf 100644 --- a/theme.json +++ b/theme.json @@ -258,6 +258,23 @@ "lineHeight": "var( --wp--custom--line-height--x-small )" } }, + "co-authors-plus/name": { + "elements": { + "link": { + "color": { + "text": "var( --wp--preset--color--contrast-3 )" + }, + ":hover": { + "color": { + "text": "var( --wp--preset--color--contrast-3 )" + }, + "typography": { + "textDecoration": "none" + } + } + } + } + }, "core/button": { "spacing": { "padding": { @@ -391,13 +408,13 @@ "core/comments-title": { "spacing": { "margin": { - "bottom": 0, + "bottom": "0", "top": "var( --wp--preset--spacing--80 )" } }, "typography": { "fontSize": "var( --wp--preset--font-size--medium )", - "fontWeight": 600, + "fontWeight": "600", "lineHeight": "var( --wp--custom--line-height--medium )" } }, @@ -491,7 +508,7 @@ }, ":hover": { "color": { - "text": "var( --wp--preset--color--contrast )" + "text": "var( --wp--preset--color--contrast-3 )" }, "typography": { "textDecoration": "none" @@ -742,6 +759,11 @@ "fontSize": "var( --wp--preset--font-size--large )", "lineHeight": "var( --wp--custom--line-height--large )" } + }, + "jetpack/sharing-buttons": { + "spacing": { + "blockGap": "var( --wp--preset--spacing--20 )" + } } }, "color": { From dce13dd29dfa798acad232b01d76970ffa76da93 Mon Sep 17 00:00:00 2001 From: Thomas Guillot Date: Thu, 30 May 2024 17:23:25 +0100 Subject: [PATCH 07/12] feat: add jetpack compatibility file (#160) --- functions.php | 1 + includes/class-core.php | 5 ++-- includes/class-jetpack.php | 60 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 63 insertions(+), 3 deletions(-) create mode 100644 includes/class-jetpack.php diff --git a/functions.php b/functions.php index 8744003b..d5406db7 100644 --- a/functions.php +++ b/functions.php @@ -22,3 +22,4 @@ // Include theme resources. require_once NEWSPACK_BLOCK_THEME_FILE_PATH . '/includes/class-core.php'; +require_once NEWSPACK_BLOCK_THEME_FILE_PATH . '/includes/class-jetpack.php'; diff --git a/includes/class-core.php b/includes/class-core.php index e4b9b8bd..b6c96721 100644 --- a/includes/class-core.php +++ b/includes/class-core.php @@ -22,8 +22,8 @@ final class Core { protected static $instance = null; /** - * Main Newspack_Block_Theme instance. - * Ensures only one instance of Newspack_Block_Theme is loaded or can be loaded. + * Main Core instance. + * Ensures only one instance of Core is loaded or can be loaded. * * @return Core - Main instance. */ @@ -150,5 +150,4 @@ public static function block_pattern_categories() { } } - Core::instance(); diff --git a/includes/class-jetpack.php b/includes/class-jetpack.php new file mode 100644 index 00000000..4eeb29ed --- /dev/null +++ b/includes/class-jetpack.php @@ -0,0 +1,60 @@ + Date: Thu, 30 May 2024 17:25:49 +0100 Subject: [PATCH 08/12] feat(post-comments): improve style for pingback and trackbacks (#162) --- src/scss/_base.scss | 5 ++++ src/scss/_comments-overlay.scss | 6 +++++ src/scss/blocks/_post-comments.scss | 39 +++++++++++++++++++++++++---- 3 files changed, 45 insertions(+), 5 deletions(-) diff --git a/src/scss/_base.scss b/src/scss/_base.scss index 9f89b51d..3d99c58e 100644 --- a/src/scss/_base.scss +++ b/src/scss/_base.scss @@ -41,6 +41,11 @@ body .has-drop-cap:not(:focus)::first-letter { padding: 0; } +// Lists +ul, ol { + padding-left: var(--wp--preset--spacing--40); +} + // Icons [class*='newspack-icon'] { line-height: 0; diff --git a/src/scss/_comments-overlay.scss b/src/scss/_comments-overlay.scss index 601daf8f..3416c58f 100644 --- a/src/scss/_comments-overlay.scss +++ b/src/scss/_comments-overlay.scss @@ -35,6 +35,12 @@ > * { visibility: hidden; } + + &:not( :has( .comment-respond ) ) { + .wp-block-comments-title { + margin-top: 0; + } + } } .comments-menu-toggle { diff --git a/src/scss/blocks/_post-comments.scss b/src/scss/blocks/_post-comments.scss index 485630d3..fe3f09c0 100644 --- a/src/scss/blocks/_post-comments.scss +++ b/src/scss/blocks/_post-comments.scss @@ -68,12 +68,20 @@ .wp-block-comment-template { ol { - border-left: 1px solid var( --wp--preset--color--base-3 ); - margin: var(--wp--preset--spacing--50) 0 0; - padding-left: var(--wp--preset--spacing--50); + list-style: decimal; + padding-left: var(--wp--preset--spacing--40); + + &:has( .comment ) { + border-left: 1px solid var(--wp--preset--color--base-3); + list-style: none; + margin: var(--wp--preset--spacing--50) 0 0; + padding-left: var(--wp--preset--spacing--50); + } } - .comment { + .comment, + .pingback, + .trackback { font-size: var(--wp--preset--font-size--small); line-height: var(--wp--custom--line-height--small); @@ -82,9 +90,24 @@ } &:not(:last-of-type) { - border-bottom: 1px solid var( --wp--preset--color--base-3 ); + border-bottom: 1px solid var(--wp--preset--color--base-3); padding-bottom: var(--wp--preset--spacing--50); } + + &:not( :has( .wp-block-comment-reply-link ) ) { + .wp-block-comment-content { + *:last-child { + margin-bottom: 0; + } + } + } + } + + .pingback, + .trackback { + .wp-block-avatar { + display: none; + } } .comment-respond { @@ -112,10 +135,16 @@ } .wp-block-comment-content { + max-width: 100%; + > * { margin: var(--wp--preset--spacing--30) 0; } + pre { + overflow: scroll; + } + .comment-awaiting-moderation { font-size: inherit; line-height: inherit; From 93d6d066c6e2371dc1460861b2697bbc95417741 Mon Sep 17 00:00:00 2001 From: Thomas Guillot Date: Thu, 30 May 2024 21:51:13 +0100 Subject: [PATCH 09/12] fix: disqus captcha cropping (#163) --- src/scss/_comments-overlay.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/scss/_comments-overlay.scss b/src/scss/_comments-overlay.scss index 3416c58f..8bde4034 100644 --- a/src/scss/_comments-overlay.scss +++ b/src/scss/_comments-overlay.scss @@ -35,12 +35,16 @@ > * { visibility: hidden; } - + &:not( :has( .comment-respond ) ) { .wp-block-comments-title { margin-top: 0; } } + + &:has( #disqus_thread ) { /* stylelint-disable-line */ + max-width: calc( ( var(--wp--custom--width--medium) - ( var(--wp--preset--spacing--50) * 5 ) ) / 6 * 7 + ( var(--wp--preset--spacing--50) * 6 ) ); + } } .comments-menu-toggle { From 492538b0ef5b30b7dde6f0c4a8b04359faa9a08d Mon Sep 17 00:00:00 2001 From: Thomas Guillot Date: Thu, 30 May 2024 22:27:47 +0100 Subject: [PATCH 10/12] feat: add support for jetpack top posts (#161) --- src/scss/blocks/_blocks.scss | 1 + src/scss/blocks/_top-posts.scss | 42 +++++++++++++++++++++++++++++++++ theme.json | 30 +++++++++++++++++++++++ 3 files changed, 73 insertions(+) create mode 100644 src/scss/blocks/_top-posts.scss diff --git a/src/scss/blocks/_blocks.scss b/src/scss/blocks/_blocks.scss index 51308340..0a04a45e 100644 --- a/src/scss/blocks/_blocks.scss +++ b/src/scss/blocks/_blocks.scss @@ -15,3 +15,4 @@ @import url('./_quote.scss'); @import url('./_sharing-buttons.scss'); @import url('./_search.scss'); +@import url('./_top-posts.scss'); diff --git a/src/scss/blocks/_top-posts.scss b/src/scss/blocks/_top-posts.scss new file mode 100644 index 00000000..15a15f61 --- /dev/null +++ b/src/scss/blocks/_top-posts.scss @@ -0,0 +1,42 @@ +.wp-block-jetpack-top-posts { + &.is-grid-layout { + .jetpack-top-posts-wrapper { + gap: var( --wp--preset--spacing--50 ); + } + + .jetpack-top-posts-mock-thumbnail { + background-color: var( --wp--preset--color--base-2 ); + } + } + + &.is-list-layout { + .jetpack-top-posts-item { + margin-bottom: var( --wp--preset--spacing--50 ); + + &:last-of-type { + margin-bottom: 0; + } + } + } + + .jetpack-top-posts-mock-thumbnail, + .jetpack-top-posts-thumbnail { + display: block; + margin-bottom: var( --wp--preset--spacing--20 ); + } + + .jetpack-top-posts-title { + font-size: var( --wp--preset--font-size--medium ); + font-weight: 700; + line-height: var( --wp--custom--line-height--medium ); + + a { + color: var( --wp--preset--color--contrast ); + text-decoration: none; + + &:hover { + color: var( --wp--preset--color--contrast-3 ); + } + } + } +} diff --git a/theme.json b/theme.json index ea72debf..3ab6e045 100644 --- a/theme.json +++ b/theme.json @@ -764,6 +764,36 @@ "spacing": { "blockGap": "var( --wp--preset--spacing--20 )" } + }, + "jetpack/top-posts": { + "color": { + "text": "var( --wp--preset--color--contrast-3 )" + }, + "elements": { + "link": { + "color": { + "text": "var( --wp--preset--color--contrast-3 )" + }, + ":hover": { + "typography": { + "textDecoration": "none" + } + }, + "typography": { + "textDecoration": "underline" + } + } + }, + "spacing": { + "margin": { + "bottom": "var( --wp--preset--spacing--50 )", + "top": "var( --wp--preset--spacing--50 )" + } + }, + "typography": { + "fontSize": "var( --wp--preset--font-size--small )", + "lineHeight": "var( --wp--custom--line-height--small )" + } } }, "color": { From 1b3d85f2d60b3c6c8194f5eefdfb5ab240c577b8 Mon Sep 17 00:00:00 2001 From: Thomas Guillot Date: Fri, 31 May 2024 11:38:51 +0100 Subject: [PATCH 11/12] feat: add support for table block (#166) --- src/scss/blocks/_blocks.scss | 1 + src/scss/blocks/_table.scss | 52 ++++++++++++++++++++++++++++++++++++ theme.json | 21 ++++++++++++++- 3 files changed, 73 insertions(+), 1 deletion(-) create mode 100644 src/scss/blocks/_table.scss diff --git a/src/scss/blocks/_blocks.scss b/src/scss/blocks/_blocks.scss index 0a04a45e..364f57a9 100644 --- a/src/scss/blocks/_blocks.scss +++ b/src/scss/blocks/_blocks.scss @@ -15,4 +15,5 @@ @import url('./_quote.scss'); @import url('./_sharing-buttons.scss'); @import url('./_search.scss'); +@import url('./_table.scss'); @import url('./_top-posts.scss'); diff --git a/src/scss/blocks/_table.scss b/src/scss/blocks/_table.scss new file mode 100644 index 00000000..b3837ab0 --- /dev/null +++ b/src/scss/blocks/_table.scss @@ -0,0 +1,52 @@ +.wp-block-table { + thead, + tfoot { + border-width: 0.25rem; + } + + td, + th { + padding: var( --wp--preset--spacing--20 ); + } + + table { + &[style*='border-width'] { + thead, + tfoot { + border-width: inherit; + } + } + + &:not(.has-border-color) { + thead, + tfoot, + td, + th { + border-color: var( --wp--preset--color--base-3 ); + } + } + } + + &.is-style-stripes { + border-bottom: 0; + + tbody { + tr:nth-child( odd ) { + background-color: var( --wp--preset--color--base-2 ); + } + } + } + + &[style*='font-size'], + &[class*='font-size'] { + table { + font-size: inherit; + } + } + + &[style*='line-height'] { + table { + line-height: inherit; + } + } +} diff --git a/theme.json b/theme.json index 3ab6e045..c184d106 100644 --- a/theme.json +++ b/theme.json @@ -492,6 +492,7 @@ "blockGap": "var( --wp--preset--spacing--50 )" }, "typography": { + "fontFamily": "var( --wp--preset--font-family--system-font )", "fontSize": "var( --wp--preset--font-size--small )", "fontWeight": "600", "lineHeight": "var( --wp--custom--line-height--small )" @@ -754,6 +755,17 @@ "lineHeight": "var( --wp--custom--line-height--large )" } }, + "core/table": { + "border": { + "color": "var( --wp--preset--color--base-3 )", + "style": "solid", + "width": "1px" + }, + "typography": { + "fontSize": "var( --wp--preset--font-size--small )", + "lineHeight": "var( --wp--custom--line-height--small )" + } + }, "core/term-description": { "typography": { "fontSize": "var( --wp--preset--font-size--large )", @@ -841,8 +853,15 @@ "text": "var( --wp--preset--color--contrast-3 )" }, "typography": { + "fontFamily": "var( --wp--preset--font-family--system-font )", "fontSize": "var( --wp--preset--font-size--x-small )", - "lineHeight": "var( --wp--custom--line-height--x-small )" + "fontStyle": "normal", + "fontWeight": "400", + "letterSpacing": "0", + "lineHeight": "var( --wp--custom--line-height--x-small )", + "textDecoration": "none", + "textTransform": "none" + } }, "h1": { From 71695056f5fdf409da42fb4221cda4e0f5ec4892 Mon Sep 17 00:00:00 2001 From: matticbot Date: Fri, 31 May 2024 22:30:40 +0000 Subject: [PATCH 12/12] chore(release): 1.9.0-alpha.1 [skip ci] # [1.9.0-alpha.1](https://github.com/Automattic/newspack-block-theme/compare/v1.8.0...v1.9.0-alpha.1) (2024-05-31) ### Bug Fixes * disqus captcha cropping ([#163](https://github.com/Automattic/newspack-block-theme/issues/163)) ([93d6d06](https://github.com/Automattic/newspack-block-theme/commit/93d6d066c6e2371dc1460861b2697bbc95417741)) ### Features * add basic styles for input submit ([#157](https://github.com/Automattic/newspack-block-theme/issues/157)) ([df2ace1](https://github.com/Automattic/newspack-block-theme/commit/df2ace1317b354d0c493cc8969eb53f7e3df2fe7)) * add blank page template ([#158](https://github.com/Automattic/newspack-block-theme/issues/158)) ([b56d2b6](https://github.com/Automattic/newspack-block-theme/commit/b56d2b65b1d77b0c90f826c27fb79235a06576a6)) * add jetpack compatibility file ([#160](https://github.com/Automattic/newspack-block-theme/issues/160)) ([dce13dd](https://github.com/Automattic/newspack-block-theme/commit/dce13dd29dfa798acad232b01d76970ffa76da93)) * add post-meta pattern ([#148](https://github.com/Automattic/newspack-block-theme/issues/148)) ([67d3860](https://github.com/Automattic/newspack-block-theme/commit/67d38600bfa128707c060ef510ce39271542a1d0)) * add specific styles for media & text block ([#154](https://github.com/Automattic/newspack-block-theme/issues/154)) ([99e77c9](https://github.com/Automattic/newspack-block-theme/commit/99e77c90226b26d86ef57d98185c9c859e5e0d84)) * add support for jetpack top posts ([#161](https://github.com/Automattic/newspack-block-theme/issues/161)) ([492538b](https://github.com/Automattic/newspack-block-theme/commit/492538b0ef5b30b7dde6f0c4a8b04359faa9a08d)) * add support for table block ([#166](https://github.com/Automattic/newspack-block-theme/issues/166)) ([1b3d85f](https://github.com/Automattic/newspack-block-theme/commit/1b3d85f2d60b3c6c8194f5eefdfb5ab240c577b8)) * **post-comments:** improve style for pingback and trackbacks ([#162](https://github.com/Automattic/newspack-block-theme/issues/162)) ([1f7cc01](https://github.com/Automattic/newspack-block-theme/commit/1f7cc012c5d26a6ea4b53e4f5e06524ef1c2cc21)) --- CHANGELOG.md | 19 +++++++++++++++++++ functions.php | 4 ++-- package-lock.json | 4 ++-- package.json | 2 +- src/scss/_theme-description.scss | 2 +- 5 files changed, 25 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f93139b2..2a200fe3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,22 @@ +# [1.9.0-alpha.1](https://github.com/Automattic/newspack-block-theme/compare/v1.8.0...v1.9.0-alpha.1) (2024-05-31) + + +### Bug Fixes + +* disqus captcha cropping ([#163](https://github.com/Automattic/newspack-block-theme/issues/163)) ([93d6d06](https://github.com/Automattic/newspack-block-theme/commit/93d6d066c6e2371dc1460861b2697bbc95417741)) + + +### Features + +* add basic styles for input submit ([#157](https://github.com/Automattic/newspack-block-theme/issues/157)) ([df2ace1](https://github.com/Automattic/newspack-block-theme/commit/df2ace1317b354d0c493cc8969eb53f7e3df2fe7)) +* add blank page template ([#158](https://github.com/Automattic/newspack-block-theme/issues/158)) ([b56d2b6](https://github.com/Automattic/newspack-block-theme/commit/b56d2b65b1d77b0c90f826c27fb79235a06576a6)) +* add jetpack compatibility file ([#160](https://github.com/Automattic/newspack-block-theme/issues/160)) ([dce13dd](https://github.com/Automattic/newspack-block-theme/commit/dce13dd29dfa798acad232b01d76970ffa76da93)) +* add post-meta pattern ([#148](https://github.com/Automattic/newspack-block-theme/issues/148)) ([67d3860](https://github.com/Automattic/newspack-block-theme/commit/67d38600bfa128707c060ef510ce39271542a1d0)) +* add specific styles for media & text block ([#154](https://github.com/Automattic/newspack-block-theme/issues/154)) ([99e77c9](https://github.com/Automattic/newspack-block-theme/commit/99e77c90226b26d86ef57d98185c9c859e5e0d84)) +* add support for jetpack top posts ([#161](https://github.com/Automattic/newspack-block-theme/issues/161)) ([492538b](https://github.com/Automattic/newspack-block-theme/commit/492538b0ef5b30b7dde6f0c4a8b04359faa9a08d)) +* add support for table block ([#166](https://github.com/Automattic/newspack-block-theme/issues/166)) ([1b3d85f](https://github.com/Automattic/newspack-block-theme/commit/1b3d85f2d60b3c6c8194f5eefdfb5ab240c577b8)) +* **post-comments:** improve style for pingback and trackbacks ([#162](https://github.com/Automattic/newspack-block-theme/issues/162)) ([1f7cc01](https://github.com/Automattic/newspack-block-theme/commit/1f7cc012c5d26a6ea4b53e4f5e06524ef1c2cc21)) + # [1.8.0](https://github.com/Automattic/newspack-block-theme/compare/v1.7.0...v1.8.0) (2024-05-28) diff --git a/functions.php b/functions.php index d5406db7..4273b009 100644 --- a/functions.php +++ b/functions.php @@ -1,7 +1,7 @@