From 407a75fccd6670b480ffefac7380e0d5119cec87 Mon Sep 17 00:00:00 2001 From: Ben Freshwater Date: Tue, 24 Sep 2024 15:28:30 +0100 Subject: [PATCH] backstage: upgrade foundation in for everyone (#1823) * feat!: use metric tokens for font-size and line height * backstage: upgrade o3-foundation on for-everyone-website * backstage: upgrade breaking modules * backstage: update package lock --- apps/for-everyone-website/package.json | 8 ++-- package-lock.json | 52 ++------------------------ 2 files changed, 8 insertions(+), 52 deletions(-) diff --git a/apps/for-everyone-website/package.json b/apps/for-everyone-website/package.json index 972cb5b6e8..94e21b10b2 100644 --- a/apps/for-everyone-website/package.json +++ b/apps/for-everyone-website/package.json @@ -20,12 +20,12 @@ "@astrojs/rss": "^4.0.6", "@astrojs/starlight": "^0.23.2", "@astrojs/svelte": "^5.4.0", - "@financial-times/o3-button": "^1.0.0", - "@financial-times/o3-editorial-typography": "^1.0.0", + "@financial-times/o3-button": "^2.0.0", + "@financial-times/o3-editorial-typography": "^2.0.0", "@financial-times/o3-figma-sb-links": "^0.0.0", - "@financial-times/o3-foundation": "^1.0.0", + "@financial-times/o3-foundation": "^2.0.0", "@financial-times/o3-tooling-token": "^0.0.0", - "@financial-times/o3-tooltip": "^1.0.0", + "@financial-times/o3-tooltip": "^2.0.0", "astro": "^4.0.9", "prettier": "3.2.5", "react": "^18.2.0", diff --git a/package-lock.json b/package-lock.json index 77554138a6..1d7fee624d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1457,12 +1457,12 @@ "@astrojs/rss": "^4.0.6", "@astrojs/starlight": "^0.23.2", "@astrojs/svelte": "^5.4.0", - "@financial-times/o3-button": "^1.0.0", - "@financial-times/o3-editorial-typography": "^1.0.0", + "@financial-times/o3-button": "^2.0.0", + "@financial-times/o3-editorial-typography": "^2.0.0", "@financial-times/o3-figma-sb-links": "^0.0.0", - "@financial-times/o3-foundation": "^1.0.0", + "@financial-times/o3-foundation": "^2.0.0", "@financial-times/o3-tooling-token": "^0.0.0", - "@financial-times/o3-tooltip": "^1.0.0", + "@financial-times/o3-tooltip": "^2.0.0", "astro": "^4.0.9", "prettier": "3.2.5", "react": "^18.2.0", @@ -1851,50 +1851,6 @@ "node": ">=12" } }, - "apps/for-everyone-website/node_modules/@financial-times/o3-button": { - "version": "1.1.8", - "resolved": "https://registry.npmjs.org/@financial-times/o3-button/-/o3-button-1.1.8.tgz", - "integrity": "sha512-6Hx0qLQfiEGWPr4+JTGdyXZyuGo5I2n4vx/vrdbvbm4yPvAvPpxVNte33Q298hHMkeXhD12W9yDndPCg2w5N1Q==", - "engines": { - "npm": ">7" - }, - "peerDependencies": { - "@financial-times/o3-foundation": "^1.0.0" - } - }, - "apps/for-everyone-website/node_modules/@financial-times/o3-editorial-typography": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@financial-times/o3-editorial-typography/-/o3-editorial-typography-1.2.4.tgz", - "integrity": "sha512-A3Z4rNwcJc4AIvIJNRQn5pv4sKrsQwFMxlun0qIx8JQOTm3q0yV3c9p2FGMLO7rVbjPwqyHucGDkZlk5jpuQJA==", - "engines": { - "npm": ">7" - }, - "peerDependencies": { - "@financial-times/o3-foundation": "^1.0.0" - } - }, - "apps/for-everyone-website/node_modules/@financial-times/o3-foundation": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/@financial-times/o3-foundation/-/o3-foundation-1.6.0.tgz", - "integrity": "sha512-WSjiEHkczSC2MAmejrOFutv6QBDAPyHB50bryF12BjuU8cuulSfos0ZH0C5U8PU0ix5nK60NrLOc0s9+3Tezbw==", - "engines": { - "npm": ">7" - } - }, - "apps/for-everyone-website/node_modules/@financial-times/o3-tooltip": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/@financial-times/o3-tooltip/-/o3-tooltip-1.0.8.tgz", - "integrity": "sha512-VRDHfnw+jyS5dbYqspElnroM01PKmDgVZWnYJHPoIWxHRShG5KyGv0H33tlhGdwgGEnM8laBF5ym+MQjbZQlCA==", - "dependencies": { - "@popperjs/core": "^2.11.8" - }, - "engines": { - "npm": ">7" - }, - "peerDependencies": { - "@financial-times/o3-foundation": "^1.0.0" - } - }, "apps/for-everyone-website/node_modules/@types/node": { "version": "20.14.5", "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.5.tgz",