-
Notifications
You must be signed in to change notification settings - Fork 33
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
fix(Button): element's type supports Link of react-router-dom #2858
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 66ee611:
|
9b3f924
to
66ee611
Compare
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.
Nice fix! Looks good. Here's a CSB.
## [10.12.0](v10.11.0...v10.12.0) (2023-11-07) ### ✨ Features * **MultiInputMask:** add support for multiple inputs ([#2736](#2736)) ([099c823](099c823)) * **useTheme:** return boolean constants: isUi, isSbanken and isEiendom ([#2845](#2845)) ([d3bb9be](d3bb9be)) ### 📝 Documentation * fix heading evels in contribution guide ([e67a05a](e67a05a)) * fix heading levels in contribution guide ([#2853](#2853)) ([4c01854](4c01854)) * **Theme:** enhance info about using the shared theme provider ([#2860](#2860)) ([dec0664](dec0664)) ### 🐛 Bug Fixes * **Button:** element's type supports Link of react-router-dom ([#2858](#2858)) ([b90acdb](b90acdb)) * **DrawerList:** Add focus style for Sbanken theme ([#2856](#2856)) ([1815342](1815342)) * **FormLabel:** move hover color logic to act on properties forId and onClick ([#2848](#2848)) ([43723ab](43723ab)) * **MultiInputMask:** incorrect legend hover and focus within effect ([#2861](#2861)) ([1cd6be4](1cd6be4)) * **PaymentCard:** overlay icon fill color ([#2846](#2846)) ([712a227](712a227))
🎉 This PR is included in version 10.12.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This is just a "quick fix", making it possible in TypeScript to send
Link
of react-router-dom as a value to theelement
prop.This possibility was removed as part of e030657
I'm not 100% sure about this fix(as I've just reverted(added back
any
) from this e030657#diff-ece10293b585707067686d660cf459378b2027585fc414e1263e9694b0ed0be2L38First reported here: https://dnb-it.slack.com/archives/CMXABCHEY/p1699274667145269
I think/hope we could release this as part of v10.11.1(or v10.12.0?), as the reporters are eager for a fix 🙏
Seems like the "problem" was introduced in v10.10.0, should we also try making a release v10.10.1 for this, or is that too much work perhaps? 🤔