Unexpected Style Changes to Atlaskit Button

Hello everyone,

We’re still using the deprecated @atlaskit/button package ("@atlaskit/button": "^20.1.0") in parts of our application. Yesterday, we noticed some unexpected visual changes to the button components — specifically, a border being added via a ::after pseudo-element.

What’s odd is that these changes appeared in our already-deployed app without any code changes or redeployment from our side.

I had to patch and redeploy to restore the expected styles, but I’m curious:
Has anyone else experienced this recently?
Any idea how such a change could propagate without a deployment?

Here are the styles that were suddenly applied:

.css-1shrcdw-ButtonBase2:not([disabled])::after {
    border-radius: inherit;
    inset: var(--ds-space-0, 0px);
    border-style: solid;
    border-width: var(--ds-border-width, 1px);
    pointer-events: none;
    position: absolute;
    content: "";
    border-color: var(--ds-border, #091E4224);
}

Any insights or similar experiences would be appreciated!

Thanks!