ThirdPartyExternalLink feature requests (update children prop, add target prop) #3009
Replies: 4 comments 2 replies
-
Hi @billie-rose, let's unpack your use cases some more.
this sounds like you want to be able to customize more than just the content inside the link but the anchor element itself. Is that right? |
Beta Was this translation helpful? Give feedback.
-
It's possible the only thing we'd want to add here if opening a new tab is letting the user know in the dialog text that it's going to open a new tab. I can run that by an accessibility specialist. |
Beta Was this translation helpful? Give feedback.
-
Hi @billie-rose and @seesleestak! Thanks for bringing this to our team's attention. After speaking with our CMS PM, we're going to hold off on making customizations for the ThirdPartyExternalLink, as our current implementation follows current CMS guidance and there haven't been multiple use cases identified to officially adopt this change in the design system just yet. For the time being, we recommend your team make the dialog locally in your application (tagging @pwolfert to provide any other technical details, if necessary). We also suggest engaging with the UX leads (Allyssa & Erik) for further discussion if the current implementation is impacting user experience. Thank you! |
Beta Was this translation helpful? Give feedback.
-
@krithimurthy Just wanted to ask about this again since it sounds like there was some discussion that happened after this. The only change required would be to update the |
Beta Was this translation helpful? Give feedback.
-
Is it possible to update the ThirdPartyExternalLink to...
children
prop?We're currently forced to use
// @ts-expect-error: TS2322
because we have third-party external links using things like a social media fa-icon, an image, buttons, etc, and we need more customization in how we display those links than just astring
. The component in its current state will still work, so is it possible to remove thestring
qualifier?target
prop regardless.Thank you! I wasn't sure if these choices were intentional design decisions or not.
Beta Was this translation helpful? Give feedback.
All reactions