From b230e8ae620795dedcaa4519b9d3e841fca9289e Mon Sep 17 00:00:00 2001 From: Florian Duros Date: Fri, 9 Aug 2024 11:20:14 +0200 Subject: [PATCH 1/2] Update `@vector-im/compound-design-tokens` --- package.json | 4 ++-- yarn.lock | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index d16ff8250f..e2e887d10d 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,7 @@ "resolutions": { "@types/react-dom": "17.0.25", "@types/react": "17.0.80", - "@vector-im/compound-design-tokens": "1.7.0", + "@vector-im/compound-design-tokens": "1.8.0", "@vector-im/compound-web": "5.5.0", "@floating-ui/react": "0.26.11", "@radix-ui/react-id": "1.1.0" @@ -77,7 +77,7 @@ "dependencies": { "@formatjs/intl-segmenter": "^11.5.7", "@matrix-org/react-sdk-module-api": "^2.3.0", - "@vector-im/compound-design-tokens": "^1.6.1", + "@vector-im/compound-design-tokens": "^1.8.0", "@vector-im/compound-web": "^5.5.0", "jsrsasign": "^11.0.0", "katex": "^0.16.0", diff --git a/yarn.lock b/yarn.lock index 84f102bb0b..5df172e44c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3359,10 +3359,10 @@ resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406" integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ== -"@vector-im/compound-design-tokens@1.7.0", "@vector-im/compound-design-tokens@^1.6.1": - version "1.7.0" - resolved "https://registry.yarnpkg.com/@vector-im/compound-design-tokens/-/compound-design-tokens-1.7.0.tgz#508b41cd8464c72d73725030f5c84b627a41167c" - integrity sha512-cXb2QiwEwtEZiC+7IRvYIf7tBD1KoFcL4YsrFlWapD689Wi3qrmmhFRLFoijHUM3d8Ni6B+7p5SdACRrWb6xBQ== +"@vector-im/compound-design-tokens@1.8.0", "@vector-im/compound-design-tokens@^1.6.1", "@vector-im/compound-design-tokens@^1.8.0": + version "1.8.0" + resolved "https://registry.yarnpkg.com/@vector-im/compound-design-tokens/-/compound-design-tokens-1.8.0.tgz#bc844cb6b9842c1eb8e5c42f5cedcaf51a49b86f" + integrity sha512-PtQMG7kDzwtjw/fLKD63uWP5rJ8cgWc/aXarfEzxYUf9ceWxBajnYOBI2jDqtE3WIUe9uTVBzNEvmOBG/VIgTA== "@vector-im/compound-web@5.5.0", "@vector-im/compound-web@^5.5.0": version "5.5.0" From 40faccd4eeb3943418e0bc5f770345adf536551d Mon Sep 17 00:00:00 2001 From: Florian Duros Date: Fri, 9 Aug 2024 11:20:26 +0200 Subject: [PATCH 2/2] Remove old css workaround --- res/css/structures/ErrorView.pcss | 3 --- 1 file changed, 3 deletions(-) diff --git a/res/css/structures/ErrorView.pcss b/res/css/structures/ErrorView.pcss index e76932356a..3506e78700 100644 --- a/res/css/structures/ErrorView.pcss +++ b/res/css/structures/ErrorView.pcss @@ -51,10 +51,7 @@ limitations under the License. h2 { margin: var(--cpd-space-8x) 0; - /* Workaround for heading sm being broken in Compound design tokens */ font-size: var(--cpd-font-size-heading-sm); - line-height: var(--cpd-font-line-height-tight); - font-weight: var(--cpd-font-weight-semibold); } p {