If you go to the “Code” tab of a component in the Atlassian Design docs:
The “Source” link points to a private Bitbucket repo (atlassian-frontend)
You can go to the npm package, but the repository in that npm package is that same broken link above: the Button component for example.
Naturally, you’ll open your search engine of choice and try to find the source code. Depending on which forum post or search engine result you happened to land on, you could end up in any of the following repos:
Thanks for bringing this up, @HayleyTom! I can see the issue.
You’re right that atlassian-frontend-mirror is the correct public repository to go to, as it is the public mirror of our internal atlassian-frontend. I can confirm that officially.
In other words, the contents of these are identical (note slightly different paths):
It’s on our backlog to improve those direct links on the docs. The above info should let you workaround that and get to the source whenever you need it. Apologies for the inconvenience in the meantime.
This morning a fix to the issue was merged and deployed to the production atlassian.design site. Public components on that site should now correctly link to the public mirror from the Code tab on that website.