-
-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TASK: Upgrade to FontAwesome 6.5.2 #3801
Conversation
@wiegandj can you please rebase this change onto the 8.4 branch. This way no unrelated commits will show up in your PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to ignore some type related issues with our FA Icons component. We can either merge it like this and fix this separately or find a fix.
The TS error message was too convoluted for me to understand right now.
Ping @grebaldi @markusguenther @mhsdesign maybe one of you can understand the error.
Our {
ref?: Ref<SVGSVGElement>
} This definition collides with the intrinsic {
ref?: LegacyRef<FontAwesomeIcon>
} This can be easily fixed by adjusting the type definition for our
-export interface IconProps extends Omit<FontAwesomeIconProps, 'icon'> {
+export interface IconProps extends Omit<FontAwesomeIconProps, 'icon' | 'ref'> { If it's easier, I think it'd be okay to do this post-merge. But this branch needs a rebase anyway. |
b84066d
to
ce0a356
Compare
Currently translated at 100.0% (121 of 121 strings) Translation: Neos/Neos.Ui - Main - 8.3 Translate-URL: https://hosted.weblate.org/projects/neos/neos-ui-main-8-3/nl/
Currently translated at 100.0% (121 of 121 strings) Translation: Neos/Neos.Ui - Main - 8.3 Translate-URL: https://hosted.weblate.org/projects/neos/neos-ui-main-8-3/es/
There are some issues with the updated TS types from FA 6 which don’t work with out code. We ignore the issue for now, but could either find a fix in this PR or separate the problem. With the change the UI builds fine and the new icons can be used.
ce0a356
to
dcd3808
Compare
I rebased, solved conflicts and fixed the type issue like you described @grebaldi, thx a lot! |
… update "question-circle" is now called "circle-question"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Issue: #3793
Upgraded FontAwesome in neos-ui to 6.5.2.
Versions were tested in neos-development-collection before.
See upgrade for neos-development-collection:
Issue: neos/neos-development-collection#5107
PR: neos/neos-development-collection#5108