Skip to content

Commit

Permalink
Update to latest frontend-shared, which exposes preact 10.25 types
Browse files Browse the repository at this point in the history
  • Loading branch information
acelaya committed Dec 2, 2024
1 parent f30f245 commit c738173
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.16.7",
"@hypothesis/frontend-build": "^3.0.0",
"@hypothesis/frontend-shared": "^8.10.2",
"@hypothesis/frontend-shared": "^8.12.0",
"@hypothesis/frontend-testing": "^1.3.1",
"@npmcli/arborist": "^8.0.0",
"@octokit/rest": "^21.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/sidebar/components/MarkdownEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ function TextArea({
classes,
containerRef,
...restProps
}: TextAreaProps & JSX.HTMLAttributes<HTMLTextAreaElement>) {
}: TextAreaProps & JSX.TextareaHTMLAttributes<HTMLTextAreaElement>) {
return (
<textarea
className={classnames(
Expand Down
1 change: 0 additions & 1 deletion src/sidebar/components/MenuArrow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ export default function MenuArrow({
const Icon = direction === 'up' ? PointerUpIcon : PointerDownIcon;
return (
<Icon
name="pointer"
className={classnames(
'absolute inline z-2 text-grey-3 fill-white',
classes,
Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2435,15 +2435,15 @@ __metadata:
languageName: node
linkType: hard

"@hypothesis/frontend-shared@npm:^8.10.2":
version: 8.11.0
resolution: "@hypothesis/frontend-shared@npm:8.11.0"
"@hypothesis/frontend-shared@npm:^8.12.0":
version: 8.12.0
resolution: "@hypothesis/frontend-shared@npm:8.12.0"
dependencies:
highlight.js: ^11.6.0
wouter-preact: ^3.0.0
peerDependencies:
preact: ^10.4.0
checksum: d42d765e59ff658d5b4320b117e6ab74a1f007ee026d88395e2152b7c8f4aa84178f382062d641cde12049b8c9b61b3cca2634938f97e7e857d56a06f075d950
preact: ^10.25.1
checksum: 900be36b83fa0b73f1705ac6b774414b0ca8a6c779d0e3d96390212c2cb317071d5d8bbf1c771b11ff9e1e040c89972e8a716c3f5d0a0188b5ef6943eaab3c37
languageName: node
linkType: hard

Expand Down Expand Up @@ -8685,7 +8685,7 @@ __metadata:
"@babel/preset-react": ^7.0.0
"@babel/preset-typescript": ^7.16.7
"@hypothesis/frontend-build": ^3.0.0
"@hypothesis/frontend-shared": ^8.10.2
"@hypothesis/frontend-shared": ^8.12.0
"@hypothesis/frontend-testing": ^1.3.1
"@npmcli/arborist": ^8.0.0
"@octokit/rest": ^21.0.0
Expand Down

0 comments on commit c738173

Please sign in to comment.