-
Notifications
You must be signed in to change notification settings - Fork 32
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): support target property #1817
Conversation
Was it so that I need to generate/add this change to |
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 980a48c:
|
ff4024e
to
42c89c6
Compare
✅ DNB Eufemia Portal deploy preview ready
|
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. We need soon to rewrite it to TypeScript 😉
As of now, there is a type definition file for the button. So it will not "overwrite" it actually with the "new" docs.
I pushed a commit with it, so should be fine.
# [9.43.0](v9.42.0...v9.43.0) (2022-12-19) ### Bug Fixes * **Button:** support target property ([#1817](#1817)) ([71f5ee3](71f5ee3)) * **TableContainer:** align always visible scrollbar ([#1819](#1819)) ([c16519d](c16519d)) * **TableContainer:** no space on empty foot + clip scrollbar ([#1827](#1827)) ([04dd93b](04dd93b)) * **Table:** prevent expanded row to not change column width ([#1816](#1816)) ([bbf94a8](bbf94a8)) * **useHandleSortState:** change default direction from asc to off ([#1826](#1826)) ([c7e4d6f](c7e4d6f)) * **useHandleSortState:** fix import issue ([#1823](#1823)) ([c595ff1](c595ff1)) ### Features * **Scrollbar:** add new look to scrollbars ([#1815](#1815)) ([a590b50](a590b50))
🎉 This PR is included in version 9.43.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
* fix(Button): support target property * Add target to the type definition file Co-authored-by: Tobias Høegh <tobias@tujo.no>
This PR is adding documentation and "TypeScript support" for the
target
property.Here's an example of when consumers using TypeScript, tries to use the Button component with the
target
property as of today(pre this PR):