[ic-button] update target prop to add 'open in new window' icon
Summary of the bug
When the target prop is used on ic-link the 'open in new window' icon is displayed when target="_blank". When the target prop is used on ic-button it just works in the background, but we think it should also display the 'open in new window' icon.
🧐 Expected behaviour
The target prop on button should work the same as link (but only when TagType is an <a>).
Additional info
Please also add this prop to the button playground so we can see it working.
Why is this in design to do? If a button is to open in a new window, the designer can use button with icon displayed on the right and assign 'open in new window' icon to the button.
Not sure what we need to do as design here.
I think in triage we were wondering what happens if someone wants an icon button or a button with the icon on the right, and for it to open in a new window e.g. can the button have 2 icons next to each other? Or should we restrict it so icons on the right don't show if the 'open in new window' icon needs to be shown?