Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: merge RAS-ACC work into trunk #2417

Merged
merged 54 commits into from
Nov 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
82d25fc
chore(release): 1.88.1-epic-ras-acc.1 [skip ci]
semantic-release-bot May 16, 2024
212e2fd
feat: update Newspack UI variable font sizes for the theme
laurelfulford May 16, 2024
63307ae
feat: update clamp calculations based on viewport range of 782 - 1280
thomasguillot May 17, 2024
0118653
Merge pull request #2296 from Automattic/feat/override-font-sizes
laurelfulford May 17, 2024
91d216c
chore(release): 1.89.0-epic-ras-acc.1 [skip ci]
semantic-release-bot May 17, 2024
3d22bec
Merge branch 'trunk' into epic/ras-acc
laurelfulford May 29, 2024
e087419
chore: correct conflict mistake
laurelfulford May 29, 2024
36b407f
Merge branch 'trunk' into epic/ras-acc
laurelfulford May 29, 2024
137ce59
chore(release): 1.89.0-epic-ras-acc.2 [skip ci]
semantic-release-bot May 29, 2024
a13008e
Merge branch 'trunk' into epic/ras-acc
laurelfulford Jun 5, 2024
14d4f7c
Merge branch 'trunk' into epic/ras-acc
laurelfulford Jun 12, 2024
76c5c00
Merge branch 'trunk' into epic/ras-acc
laurelfulford Jun 26, 2024
cce9f15
Merge branch 'trunk' into epic/ras-acc
chickenn00dle Jul 3, 2024
f325e8f
chore(release): 1.91.0-epic-ras-acc.1 [skip ci]
semantic-release-bot Jul 3, 2024
080e0fc
fix(ras-acc): clean up merge conflict marker (#2335)
chickenn00dle Jul 8, 2024
9df5a53
chore(release): 1.91.0-epic-ras-acc.2 [skip ci]
semantic-release-bot Jul 8, 2024
7ed609a
Merge branch 'trunk' into epic/ras-acc
laurelfulford Jul 10, 2024
90aa733
chore(release): 1.91.0-epic-ras-acc.3 [skip ci]
semantic-release-bot Jul 10, 2024
7b57a80
Merge branch 'trunk' into epic/ras-acc
chickenn00dle Jul 17, 2024
dcc679b
chore(release): 1.92.0-epic-ras-acc.1 [skip ci]
semantic-release-bot Jul 17, 2024
1f48f20
fix(ras-acc): remove redundant checkout styles (#2350)
chickenn00dle Jul 26, 2024
fb69c40
chore(release): 1.92.0-epic-ras-acc.2 [skip ci]
semantic-release-bot Jul 26, 2024
afc3d09
Merge branch 'trunk' into epic/ras-acc
chickenn00dle Jul 31, 2024
8cb22e7
chore(release): 1.93.0-epic-ras-acc.1 [skip ci]
semantic-release-bot Jul 31, 2024
be41930
Merge branch 'trunk' into fix/merge-in-trunk
laurelfulford Aug 8, 2024
d3b74c7
fix: correct linting errors
laurelfulford Aug 8, 2024
593c246
fix: correct more linting errors
laurelfulford Aug 8, 2024
85dc3c8
Merge pull request #2360 from Automattic/fix/merge-in-trunk
laurelfulford Aug 9, 2024
7e3a449
chore(release): 2.0.0-epic-ras-acc.1 [skip ci]
semantic-release-bot Aug 9, 2024
8c89f4f
Merge branch 'trunk' into epic/ras-acc
chickenn00dle Aug 14, 2024
9dde16b
chore(release): 2.1.0-epic-ras-acc.1 [skip ci]
semantic-release-bot Aug 14, 2024
c7897dc
Merge branch 'trunk' into epic/ras-acc
laurelfulford Aug 21, 2024
15ebaf6
Merge branch 'trunk' into epic/ras-acc
chickenn00dle Aug 28, 2024
563d142
Merge branch 'trunk' into epic/ras-acc
laurelfulford Sep 4, 2024
92625ee
chore(release): 2.1.0-epic-ras-acc.2 [skip ci]
semantic-release-bot Sep 4, 2024
2e29351
Merge branch 'trunk' into epic/ras-acc
chickenn00dle Sep 18, 2024
2d26406
chore(release): 2.1.0-epic-ras-acc.3 [skip ci]
semantic-release-bot Sep 18, 2024
2d8f28f
Merge branch 'trunk' into epic/ras-acc
laurelfulford Sep 25, 2024
c49c210
Merge branch 'trunk' into epic/ras-acc
chickenn00dle Oct 2, 2024
8488e88
Merge branch 'trunk' into epic/ras-acc
laurelfulford Oct 9, 2024
1b8862e
Merge branch 'trunk' into epic/ras-acc
laurelfulford Oct 10, 2024
20e9675
chore(release): 2.1.0-epic-ras-acc.4 [skip ci]
semantic-release-bot Oct 10, 2024
448b961
Merge branch 'trunk' into epic/ras-acc
chickenn00dle Oct 14, 2024
5b65e66
Merge branch 'trunk' into epic/ras-acc
laurelfulford Oct 23, 2024
a5857d7
Merge branch 'trunk' into epic/ras-acc
chickenn00dle Oct 30, 2024
8b8a1ea
Merge branch 'trunk' into epic/ras-acc
laurelfulford Nov 6, 2024
ffa55a2
Merge branch 'release' into fix/merge-release-into-epic
laurelfulford Nov 12, 2024
f169179
Merge pull request #2405 from Automattic/fix/merge-release-into-epic
laurelfulford Nov 12, 2024
7c4801a
chore(release): 2.3.0-epic-ras-acc.1 [skip ci]
semantic-release-bot Nov 12, 2024
c4fce23
Merge branch 'release' into epic/ras-acc
laurelfulford Nov 20, 2024
2e81436
chore(release): 2.3.0-epic-ras-acc.2 [skip ci]
semantic-release-bot Nov 20, 2024
964fcc4
Merge branch 'release' into epic/ras-acc
laurelfulford Nov 26, 2024
4d19027
chore(release): 2.4.0-epic-ras-acc.1 [skip ci]
semantic-release-bot Nov 26, 2024
2a41a89
Merge branch 'epic/ras-acc' into feat/merge-ras-acc
laurelfulford Nov 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
173 changes: 165 additions & 8 deletions CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion newspack-joseph/sass/theme-description.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Author URI: https://newspack.com
Description: The official theme for Newspack, an all-in-one platform that simplifies publishing and drives audience and revenue right out of the box.
Requires at least: 6.6
Tested up to: 6.7
Version: 2.3.0
Version: 2.4.0-epic-ras-acc.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: newspack-theme
Expand Down
2 changes: 1 addition & 1 deletion newspack-katharine/sass/theme-description.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Author URI: https://newspack.com
Description: The official theme for Newspack, an all-in-one platform that simplifies publishing and drives audience and revenue right out of the box.
Requires at least: 6.6
Tested up to: 6.7
Version: 2.3.0
Version: 2.4.0-epic-ras-acc.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: newspack-theme
Expand Down
4 changes: 4 additions & 0 deletions newspack-nelson/sass/theme-description.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ Author URI: https://newspack.com
Description: The official theme for Newspack, an all-in-one platform that simplifies publishing and drives audience and revenue right out of the box.
Requires at least: 6.6
Tested up to: 6.7
<<<<<<< HEAD
Version: 2.4.0-epic-ras-acc.1
=======
Version: 2.3.0
>>>>>>> release
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: newspack-theme
Expand Down
2 changes: 1 addition & 1 deletion newspack-sacha/sass/theme-description.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Author URI: https://newspack.com
Description: The official theme for Newspack, an all-in-one platform that simplifies publishing and drives audience and revenue right out of the box.
Requires at least: 6.6
Tested up to: 6.7
Version: 2.3.0
Version: 2.4.0-epic-ras-acc.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: newspack-theme
Expand Down
2 changes: 1 addition & 1 deletion newspack-scott/sass/theme-description.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Author URI: https://newspack.com
Description: The official theme for Newspack, an all-in-one platform that simplifies publishing and drives audience and revenue right out of the box.
Requires at least: 6.6
Tested up to: 6.7
Version: 2.3.0
Version: 2.4.0-epic-ras-acc.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: newspack-theme
Expand Down
7 changes: 0 additions & 7 deletions newspack-theme/sass/plugins/woocommerce.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1581,13 +1581,6 @@ table.woocommerce-table--order-details.shop_table,
.woocommerce-product-gallery__trigger {
right: 1rem;
}

.wc_payment_method {
> label:first-of-type img {
float: none;
margin-left: 0.5 * structure.$size__spacing-unit;
}
}
}

@media only screen and ( min-width: 768px ) {
Expand Down
2 changes: 1 addition & 1 deletion newspack-theme/sass/theme-description.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Author URI: https://newspack.com
Description: The official theme for Newspack, an all-in-one platform that simplifies publishing and drives audience and revenue right out of the box.
Requires at least: 6.6
Tested up to: 6.7
Version: 2.3.0
Version: 2.4.0-epic-ras-acc.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: newspack
Expand Down
25 changes: 25 additions & 0 deletions newspack-theme/sass/variables-site/_newspack-ui.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
@use "../mixins/utilities";

html body {
// Override the Newspack UI font sizes to be based off of the Newspack Theme's 18px font base:
--newspack-ui-font-size-m: clamp(1rem, 0.04rem + 2.209vw, 1.611rem); // 18px - 20px
--newspack-ui-font-size-l: clamp(1.111rem, 0.762rem + 0.803vw, 1.333rem); // 20px - 24px
--newspack-ui-font-size-xl: clamp(1.222rem, 0.35rem + 2.008vw, 1.778rem); // 22px - 32px
--newspack-ui-font-size-2xl: clamp(1.444rem, 0.049rem + 3.213vw, 2.333rem); // 26px - 42px
--newspack-ui-font-size-3xl: clamp(1.556rem, -0.189rem + 4.016vw, 2.667rem); // 28px - 48px
--newspack-ui-font-size-4xl: clamp(1.778rem, -1.014rem + 6.426vw, 3.556rem); // 32px - 64px
--newspack-ui-font-size-5xl: clamp(1.889rem, -2.124rem + 9.237vw, 4.444rem); // 34px - 80px
--newspack-ui-font-size-6xl: clamp(2rem, -3.234rem + 12.048vw, 5.333rem); // 36px - 96px

@include utilities.media( mobile ) {
// Override the Newspack UI font sizes to be based off of the Newspack Theme's 20px font base on desktop:
--newspack-ui-font-size-m: clamp(0.9rem, 0.743rem + 0.402vw, 1rem); // 18px - 20px
--newspack-ui-font-size-l: clamp(1rem, 0.686rem + 0.803vw, 1.2rem); // 20px - 24px
--newspack-ui-font-size-xl: clamp(1.1rem, 0.315rem + 2.008vw, 1.6rem); // 22px - 32px
--newspack-ui-font-size-2xl: clamp(1.3rem, 0.044rem + 3.213vw, 2.1rem); // 26px - 42px
--newspack-ui-font-size-3xl: clamp(1.4rem, -0.17rem + 4.016vw, 2.4rem); // 28px - 48px
--newspack-ui-font-size-4xl: clamp(1.6rem, -0.912rem + 6.426vw, 3.2rem); // 32px - 64px
--newspack-ui-font-size-5xl: clamp(1.7rem, -1.912rem + 9.237vw, 4rem); // 34px - 80px
--newspack-ui-font-size-6xl: clamp(1.8rem, -2.911rem + 12.048vw, 4.8rem); // 36px - 96px
}
}
1 change: 1 addition & 0 deletions newspack-theme/sass/variables-site/_variables-site.scss
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
@use "newspack-ui";
@use "structure";
@use "transitions";
6 changes: 5 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "newspack",
"version": "2.3.0",
"version": "2.4.0-epic-ras-acc.1",
"description": "A theme for Newspack. https://newspack.com",
"bugs": {
"url": "https://github.com/Automattic/newspack-theme/issues"
Expand Down
2 changes: 1 addition & 1 deletion scripts/create-child-releases.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* eslint-disable no-console */
/* eslint-disable no-console, @typescript-eslint/no-var-requires */

const { basename, resolve } = require( 'path' );
const { stat, readFile } = require( 'fs-extra' );
Expand Down