Skip to content

Commit 4fd5790

Browse files
authored
build(deps): bump @vector-im/compound-web from 7.6.2 to 7.6.3 in /frontend (#4083)
2 parents 0940c18 + 39a8fcf commit 4fd5790

26 files changed

+649
-903
lines changed

frontend/package-lock.json

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
"@radix-ui/react-dialog": "^1.1.6",
2525
"@tanstack/react-query": "^5.66.9",
2626
"@tanstack/react-router": "^1.109.2",
27-
"@vector-im/compound-design-tokens": "3.0.1",
28-
"@vector-im/compound-web": "^7.6.2",
27+
"@vector-im/compound-design-tokens": "4.0.0",
28+
"@vector-im/compound-web": "^7.6.3",
2929
"@zxcvbn-ts/core": "^3.0.4",
3030
"@zxcvbn-ts/language-common": "^3.0.4",
3131
"classnames": "^2.5.1",

frontend/src/components/Client/__snapshots__/OAuth2ClientDetail.test.tsx.snap

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ exports[`<OAuth2ClientDetail> > renders client details 1`] = `
99
class="flex flex-row gap-2 justify-start items-center"
1010
>
1111
<h3
12-
class="_typography_yh5dq_162 _font-heading-md-semibold_yh5dq_121"
12+
class="_typography_6v6n8_153 _font-heading-md-semibold_6v6n8_112"
1313
>
1414
Test Client
1515
</h3>
@@ -18,11 +18,11 @@ exports[`<OAuth2ClientDetail> > renders client details 1`] = `
1818
class="flex flex-col gap-6"
1919
>
2020
<h4
21-
class="_typography_yh5dq_162 _font-heading-sm-semibold_yh5dq_102"
21+
class="_typography_6v6n8_153 _font-heading-sm-semibold_6v6n8_93"
2222
>
2323
Client info
2424
<div
25-
class="_separator_144s5_17"
25+
class="_separator_7ckbw_8"
2626
data-kind="section"
2727
data-orientation="horizontal"
2828
role="separator"
@@ -35,12 +35,12 @@ exports[`<OAuth2ClientDetail> > renders client details 1`] = `
3535
class="flex flex-col min-w-0"
3636
>
3737
<h5
38-
class="_typography_yh5dq_162 _font-body-sm-regular_yh5dq_40 text-secondary"
38+
class="_typography_6v6n8_153 _font-body-sm-regular_6v6n8_31 text-secondary"
3939
>
4040
Name
4141
</h5>
4242
<p
43-
class="_typography_yh5dq_162 _font-body-md-regular_yh5dq_59 text-ellipsis overflow-hidden"
43+
class="_typography_6v6n8_153 _font-body-md-regular_6v6n8_50 text-ellipsis overflow-hidden"
4444
>
4545
Test Client
4646
</p>
@@ -49,15 +49,15 @@ exports[`<OAuth2ClientDetail> > renders client details 1`] = `
4949
class="flex flex-col min-w-0"
5050
>
5151
<h5
52-
class="_typography_yh5dq_162 _font-body-sm-regular_yh5dq_40 text-secondary"
52+
class="_typography_6v6n8_153 _font-body-sm-regular_6v6n8_31 text-secondary"
5353
>
5454
Terms of service
5555
</h5>
5656
<p
57-
class="_typography_yh5dq_162 _font-body-md-regular_yh5dq_59 text-ellipsis overflow-hidden"
57+
class="_typography_6v6n8_153 _font-body-md-regular_6v6n8_50 text-ellipsis overflow-hidden"
5858
>
5959
<a
60-
class="_link_ue21z_17 _externalLink_a97355"
60+
class="_link_1v5rz_8 _externalLink_a97355"
6161
data-kind="primary"
6262
data-size="medium"
6363
href="https://client.org/tos"
@@ -72,15 +72,15 @@ exports[`<OAuth2ClientDetail> > renders client details 1`] = `
7272
class="flex flex-col min-w-0"
7373
>
7474
<h5
75-
class="_typography_yh5dq_162 _font-body-sm-regular_yh5dq_40 text-secondary"
75+
class="_typography_6v6n8_153 _font-body-sm-regular_6v6n8_31 text-secondary"
7676
>
7777
Policy
7878
</h5>
7979
<p
80-
class="_typography_yh5dq_162 _font-body-md-regular_yh5dq_59 text-ellipsis overflow-hidden"
80+
class="_typography_6v6n8_153 _font-body-md-regular_6v6n8_50 text-ellipsis overflow-hidden"
8181
>
8282
<a
83-
class="_link_ue21z_17 _externalLink_a97355"
83+
class="_link_1v5rz_8 _externalLink_a97355"
8484
data-kind="primary"
8585
data-size="medium"
8686
href="https://client.org/policy"

frontend/src/components/GenericError.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// SPDX-License-Identifier: AGPL-3.0-only
55
// Please see LICENSE in the repository root for full details.
66

7-
import IconError from "@vector-im/compound-design-tokens/assets/web/icons/error";
7+
import IconErrorSolid from "@vector-im/compound-design-tokens/assets/web/icons/error-solid";
88
import { Button } from "@vector-im/compound-web";
99
import { useState } from "react";
1010
import { Translation } from "react-i18next";
@@ -22,7 +22,7 @@ const GenericError: React.FC<{ error: unknown; dontSuspend?: boolean }> = ({
2222
<div className="flex flex-col gap-6">
2323
<PageHeading
2424
invalid
25-
Icon={IconError}
25+
Icon={IconErrorSolid}
2626
title={t("frontend.error.title", {
2727
defaultValue: "Something went wrong",
2828
})}

frontend/src/components/Session/__snapshots__/DeviceTypeIcon.test.tsx.snap

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ exports[`<DeviceTypeIcon /> > renders mobile device type 1`] = `
1212
xmlns="http://www.w3.org/2000/svg"
1313
>
1414
<path
15-
d="M7 23c-.55 0-1.02-.196-1.412-.587A1.926 1.926 0 0 1 5 21V3c0-.55.196-1.02.588-1.413A1.926 1.926 0 0 1 7 1h10c.55 0 1.02.196 1.413.587.39.393.587.863.587 1.413v18c0 .55-.196 1.02-.587 1.413A1.926 1.926 0 0 1 17 23H7Zm0-5h10V6H7v12Z"
15+
d="M7 23q-.824 0-1.412-.587A1.93 1.93 0 0 1 5 21V3q0-.824.588-1.412A1.93 1.93 0 0 1 7 1h10q.824 0 1.413.587Q19 2.176 19 3v18q0 .824-.587 1.413A1.93 1.93 0 0 1 17 23zm0-5h10V6H7z"
1616
/>
1717
</svg>
1818
</div>
@@ -30,7 +30,7 @@ exports[`<DeviceTypeIcon /> > renders pc device type 1`] = `
3030
xmlns="http://www.w3.org/2000/svg"
3131
>
3232
<path
33-
d="M4 18c-.55 0-1.02-.196-1.413-.587A1.926 1.926 0 0 1 2 16V5c0-.55.196-1.02.587-1.413A1.926 1.926 0 0 1 4 3h16c.55 0 1.02.196 1.413.587.39.393.587.863.587 1.413v11c0 .55-.196 1.02-.587 1.413A1.926 1.926 0 0 1 20 18H4Zm0-2h16V5H4v11Zm-2 5a.967.967 0 0 1-.712-.288A.968.968 0 0 1 1 20c0-.283.096-.52.288-.712A.967.967 0 0 1 2 19h20c.283 0 .52.096.712.288.192.191.288.429.288.712s-.096.52-.288.712A.968.968 0 0 1 22 21H2Z"
33+
d="M4 18q-.824 0-1.412-.587A1.93 1.93 0 0 1 2 16V5q0-.824.587-1.412A1.93 1.93 0 0 1 4 3h16q.824 0 1.413.587Q22 4.176 22 5v11q0 .824-.587 1.413A1.93 1.93 0 0 1 20 18zm0-2h16V5H4zm-2 5a.97.97 0 0 1-.712-.288A.97.97 0 0 1 1 20q0-.424.288-.712A.97.97 0 0 1 2 19h20q.424 0 .712.288.288.287.288.712 0 .424-.288.712A.97.97 0 0 1 22 21z"
3434
/>
3535
</svg>
3636
</div>
@@ -48,7 +48,7 @@ exports[`<DeviceTypeIcon /> > renders tablet device type 1`] = `
4848
xmlns="http://www.w3.org/2000/svg"
4949
>
5050
<path
51-
d="M4 20c-.55 0-1.02-.196-1.413-.587A1.926 1.926 0 0 1 2 18V6c0-.55.196-1.02.587-1.412A1.926 1.926 0 0 1 4 4h16c.55 0 1.02.196 1.413.588.391.391.587.862.587 1.412v12c0 .55-.196 1.02-.587 1.413A1.926 1.926 0 0 1 20 20H4Zm0-2h16V8H4v10Z"
51+
d="M4 20q-.824 0-1.412-.587A1.93 1.93 0 0 1 2 18V6q0-.824.587-1.412A1.93 1.93 0 0 1 4 4h16q.824 0 1.413.588Q22 5.175 22 6v12q0 .824-.587 1.413A1.93 1.93 0 0 1 20 20zm0-2h16V8H4z"
5252
/>
5353
</svg>
5454
</div>
@@ -66,10 +66,10 @@ exports[`<DeviceTypeIcon /> > renders unknown device type 1`] = `
6666
xmlns="http://www.w3.org/2000/svg"
6767
>
6868
<path
69-
d="M5 21c-.55 0-1.02-.196-1.413-.587A1.926 1.926 0 0 1 3 19V5c0-.55.196-1.02.587-1.413A1.926 1.926 0 0 1 5 3h14c.55 0 1.02.196 1.413.587.39.393.587.863.587 1.413v14c0 .55-.196 1.02-.587 1.413A1.926 1.926 0 0 1 19 21H5Zm0-2h14V5H5v14Z"
69+
d="M5 21q-.824 0-1.412-.587A1.93 1.93 0 0 1 3 19V5q0-.824.587-1.412A1.93 1.93 0 0 1 5 3h14q.824 0 1.413.587Q21 4.176 21 5v14q0 .824-.587 1.413A1.93 1.93 0 0 1 19 21zm0-2h14V5H5z"
7070
/>
7171
<path
72-
d="M11 10a1 1 0 1 1 1.479.878c-.31.17-.659.413-.94.741-.286.334-.539.8-.539 1.381a1 1 0 0 0 2 .006.3.3 0 0 1 .057-.085 1.39 1.39 0 0 1 .382-.288A3 3 0 1 0 9 10a1 1 0 1 0 2 0Zm1.999 3.011v-.004.005ZM12 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"
72+
d="M11 10a1 1 0 1 1 1.479.878c-.31.17-.659.413-.94.741-.286.334-.539.8-.539 1.381a1 1 0 0 0 2 .006.3.3 0 0 1 .057-.085 1.4 1.4 0 0 1 .382-.288A3 3 0 1 0 9 10a1 1 0 1 0 2 0m1.999 3.012v-.005zM12 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2"
7373
/>
7474
</svg>
7575
</div>

frontend/src/components/SessionDetail/SessionInfo.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import IconChat from "@vector-im/compound-design-tokens/assets/web/icons/chat";
77
import IconComputer from "@vector-im/compound-design-tokens/assets/web/icons/computer";
8-
import IconError from "@vector-im/compound-design-tokens/assets/web/icons/error";
8+
import IconErrorSolid from "@vector-im/compound-design-tokens/assets/web/icons/error-solid";
99
import IconInfo from "@vector-im/compound-design-tokens/assets/web/icons/info";
1010
import IconSend from "@vector-im/compound-design-tokens/assets/web/icons/send";
1111
import IconUserProfile from "@vector-im/compound-design-tokens/assets/web/icons/user-profile";
@@ -68,7 +68,7 @@ export const ScopeSendMessages: React.FC = () => {
6868
const ScopeSynapseAdmin: React.FC = () => {
6969
const { t } = useTranslation();
7070
return (
71-
<VisualListItem Icon={IconError}>
71+
<VisualListItem Icon={IconErrorSolid}>
7272
{t("mas.scope.synapse_admin")}
7373
</VisualListItem>
7474
);
@@ -77,7 +77,9 @@ const ScopeSynapseAdmin: React.FC = () => {
7777
const ScopeMasAdmin: React.FC = () => {
7878
const { t } = useTranslation();
7979
return (
80-
<VisualListItem Icon={IconError}>{t("mas.scope.mas_admin")}</VisualListItem>
80+
<VisualListItem Icon={IconErrorSolid}>
81+
{t("mas.scope.mas_admin")}
82+
</VisualListItem>
8183
);
8284
};
8385

0 commit comments

Comments
 (0)