Skip to content

Commit 5b0536f

Browse files
authored
Adjust usage of new shared icon (#9280)
1 parent e3b812b commit 5b0536f

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

Diff for: h/static/scripts/group-forms/components/CreateEditGroupForm.tsx

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import { useContext, useEffect, useId, useState } from 'preact/hooks';
33
import {
44
Button,
55
RadioGroup,
6-
LockIcon,
7-
GlobeAltIcon,
8-
GlobeAltLockIcon,
6+
LockFilledIcon,
7+
GlobeIcon,
8+
GlobeLockIcon,
99
} from '@hypothesis/frontend-shared';
1010
import { Config } from '../config';
1111
import type { Group } from '../config';
@@ -275,19 +275,19 @@ export default function CreateEditGroupForm({
275275
value="private"
276276
subtitle="Only members can create and read annotations."
277277
>
278-
<LockIcon /> Private
278+
<LockFilledIcon /> Private
279279
</RadioGroup.Radio>
280280
<RadioGroup.Radio
281281
value="restricted"
282282
subtitle="Only members can create annotations, anyone can read them."
283283
>
284-
<GlobeAltLockIcon /> Restricted
284+
<GlobeLockIcon /> Restricted
285285
</RadioGroup.Radio>
286286
<RadioGroup.Radio
287287
value="open"
288288
subtitle="Anyone can create and read annotations."
289289
>
290-
<GlobeAltIcon /> Open
290+
<GlobeIcon /> Open
291291
</RadioGroup.Radio>
292292
</RadioGroup>
293293
</>

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"@babel/preset-react": "^7.26.3",
1919
"@babel/preset-typescript": "^7.24.7",
2020
"@hypothesis/frontend-build": "^3.1.0",
21-
"@hypothesis/frontend-shared": "^8.15.0",
21+
"@hypothesis/frontend-shared": "^9.0.0",
2222
"@rollup/plugin-babel": "^6.0.4",
2323
"@rollup/plugin-commonjs": "^28.0.2",
2424
"@rollup/plugin-node-resolve": "^15.3.0",

Diff for: yarn.lock

+5-5
Original file line numberDiff line numberDiff line change
@@ -1808,15 +1808,15 @@ __metadata:
18081808
languageName: node
18091809
linkType: hard
18101810

1811-
"@hypothesis/frontend-shared@npm:^8.15.0":
1812-
version: 8.15.0
1813-
resolution: "@hypothesis/frontend-shared@npm:8.15.0"
1811+
"@hypothesis/frontend-shared@npm:^9.0.0":
1812+
version: 9.0.0
1813+
resolution: "@hypothesis/frontend-shared@npm:9.0.0"
18141814
dependencies:
18151815
highlight.js: ^11.6.0
18161816
wouter-preact: ^3.0.0
18171817
peerDependencies:
18181818
preact: ^10.25.1
1819-
checksum: 7489c92e3f0887a01ad541983a097e717fb57155bbaea1c83caaf26476c98f17061e4b195331b8a800790a523ed801e0fe93c0aa65b58d6918bdaca932691b79
1819+
checksum: 203f8562d9d0dd5fc6e26cd2e56d0264ea3129ed8e54673d13a15646f501221139f12c9a092b82e15a0c60f476821937617a7db9c9e5715b03aeebe082b0f986
18201820
languageName: node
18211821
linkType: hard
18221822

@@ -6358,7 +6358,7 @@ __metadata:
63586358
"@babel/preset-react": ^7.26.3
63596359
"@babel/preset-typescript": ^7.24.7
63606360
"@hypothesis/frontend-build": ^3.1.0
6361-
"@hypothesis/frontend-shared": ^8.15.0
6361+
"@hypothesis/frontend-shared": ^9.0.0
63626362
"@hypothesis/frontend-testing": ^1.5.0
63636363
"@rollup/plugin-babel": ^6.0.4
63646364
"@rollup/plugin-commonjs": ^28.0.2

0 commit comments

Comments
 (0)