Skip to content

Commit

Permalink
refactor: Upgrade Fuselage and remove unnecessary FieldError styl…
Browse files Browse the repository at this point in the history
…ing (#33205)
  • Loading branch information
rique223 committed Sep 11, 2024
1 parent cfc84ab commit 18b1b99
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion apps/meteor/client/views/admin/users/AdminUserForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ const AdminUserForm = ({ userData, onReload, context, refetchUserFormData, roleD
/>
</FieldRow>
{errors?.email && (
<FieldError aria-live='assertive' id={`${emailId}-error`} fontScale='c1' mbs={12}>
<FieldError aria-live='assertive' id={`${emailId}-error`}>
{errors.email.message}
</FieldError>
)}
Expand Down
8 changes: 4 additions & 4 deletions packages/fuselage-ui-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@
"@rocket.chat/icons": "*",
"@rocket.chat/prettier-config": "*",
"@rocket.chat/styled": "*",
"@rocket.chat/ui-avatar": "6.0.0",
"@rocket.chat/ui-contexts": "10.0.0",
"@rocket.chat/ui-kit": "0.36.1",
"@rocket.chat/ui-video-conf": "10.0.0",
"@rocket.chat/ui-avatar": "*",
"@rocket.chat/ui-contexts": "*",
"@rocket.chat/ui-kit": "*",
"@rocket.chat/ui-video-conf": "*",
"@tanstack/react-query": "*",
"react": "*",
"react-dom": "*"
Expand Down
4 changes: 2 additions & 2 deletions packages/gazzodown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@
"@rocket.chat/fuselage-tokens": "*",
"@rocket.chat/message-parser": "0.31.29",
"@rocket.chat/styled": "*",
"@rocket.chat/ui-client": "10.0.0",
"@rocket.chat/ui-contexts": "10.0.0",
"@rocket.chat/ui-client": "*",
"@rocket.chat/ui-contexts": "*",
"katex": "*",
"react": "*"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-avatar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
],
"peerDependencies": {
"@rocket.chat/fuselage": "*",
"@rocket.chat/ui-contexts": "10.0.0",
"@rocket.chat/ui-contexts": "*",
"react": "~17.0.2"
},
"volta": {
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"@rocket.chat/fuselage": "*",
"@rocket.chat/fuselage-hooks": "*",
"@rocket.chat/icons": "*",
"@rocket.chat/ui-contexts": "10.0.0",
"@rocket.chat/ui-contexts": "*",
"react": "~17.0.2"
},
"volta": {
Expand Down
4 changes: 2 additions & 2 deletions packages/ui-video-conf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
"@rocket.chat/fuselage-hooks": "*",
"@rocket.chat/icons": "*",
"@rocket.chat/styled": "*",
"@rocket.chat/ui-avatar": "6.0.0",
"@rocket.chat/ui-contexts": "10.0.0",
"@rocket.chat/ui-avatar": "*",
"@rocket.chat/ui-contexts": "*",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/web-ui-registration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"peerDependencies": {
"@rocket.chat/layout": "*",
"@rocket.chat/tools": "0.2.2",
"@rocket.chat/ui-contexts": "10.0.0",
"@rocket.chat/ui-contexts": "*",
"@tanstack/react-query": "*",
"react": "*",
"react-hook-form": "*",
Expand Down
22 changes: 11 additions & 11 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8934,10 +8934,10 @@ __metadata:
"@rocket.chat/icons": "*"
"@rocket.chat/prettier-config": "*"
"@rocket.chat/styled": "*"
"@rocket.chat/ui-avatar": 6.0.0
"@rocket.chat/ui-contexts": 10.0.0
"@rocket.chat/ui-kit": 0.36.1
"@rocket.chat/ui-video-conf": 10.0.0
"@rocket.chat/ui-avatar": "*"
"@rocket.chat/ui-contexts": "*"
"@rocket.chat/ui-kit": "*"
"@rocket.chat/ui-video-conf": "*"
"@tanstack/react-query": "*"
react: "*"
react-dom: "*"
Expand Down Expand Up @@ -9021,8 +9021,8 @@ __metadata:
"@rocket.chat/fuselage-tokens": "*"
"@rocket.chat/message-parser": 0.31.29
"@rocket.chat/styled": "*"
"@rocket.chat/ui-client": 10.0.0
"@rocket.chat/ui-contexts": 10.0.0
"@rocket.chat/ui-client": "*"
"@rocket.chat/ui-contexts": "*"
katex: "*"
react: "*"
languageName: unknown
Expand Down Expand Up @@ -10228,7 +10228,7 @@ __metadata:
typescript: ~5.5.4
peerDependencies:
"@rocket.chat/fuselage": "*"
"@rocket.chat/ui-contexts": 10.0.0
"@rocket.chat/ui-contexts": "*"
react: ~17.0.2
languageName: unknown
linkType: soft
Expand Down Expand Up @@ -10278,7 +10278,7 @@ __metadata:
"@rocket.chat/fuselage": "*"
"@rocket.chat/fuselage-hooks": "*"
"@rocket.chat/icons": "*"
"@rocket.chat/ui-contexts": 10.0.0
"@rocket.chat/ui-contexts": "*"
react: ~17.0.2
languageName: unknown
linkType: soft
Expand Down Expand Up @@ -10448,8 +10448,8 @@ __metadata:
"@rocket.chat/fuselage-hooks": "*"
"@rocket.chat/icons": "*"
"@rocket.chat/styled": "*"
"@rocket.chat/ui-avatar": 6.0.0
"@rocket.chat/ui-contexts": 10.0.0
"@rocket.chat/ui-avatar": "*"
"@rocket.chat/ui-contexts": "*"
react: ^17.0.2
react-dom: ^17.0.2
languageName: unknown
Expand Down Expand Up @@ -10536,7 +10536,7 @@ __metadata:
peerDependencies:
"@rocket.chat/layout": "*"
"@rocket.chat/tools": 0.2.2
"@rocket.chat/ui-contexts": 10.0.0
"@rocket.chat/ui-contexts": "*"
"@tanstack/react-query": "*"
react: "*"
react-hook-form: "*"
Expand Down

0 comments on commit 18b1b99

Please sign in to comment.