This PR is to apply the same changes in n-myft-ui to x-follow-button.
We always need to update two repos (n-myft-ui & x-follow-button) when some changes in myftLozenge mixins.
x-follow-button was originally created to replace all the n-myft-ui follow buttons on ft.com however we haven't done that yet. It causes some features are unsynced because we forget to update two of them.
To avoid the issue, we should use n-myft-ui's myftLozenge mixins until we move all the follow button to x-follow-button.
This PR has two parts
Remove own myftLozenge mixins, change to use n-myft-ui's mixins
⚠️ Need to check no difference between own ones and n-myft-ui ones
Update n-myft-ui to the latest version to apply new focus styling from o-normalise & o-buttons
1. Remove own myftLozenge mixins, change to use n-myft-ui's mixins
No big difference when I replaced the own lozenge mixins to n-myft-ui ones.
Only this n-myft-ui change had been forgotten to sync to x-follow-button.
aria-pressed=false
aria-pressed=true
Own lozenge mixins
n-myft-ui lozenge mixins
2. Update n-myft-ui to the latest version to apply new focus styling from o-normalise & o-buttons
x-follow-button has the same issue as
n-myft-ui
's follow button after origami team released new focus styling across ft.com.The detail is in this n-myft-ui PR.
This PR is to apply the same changes in
n-myft-ui
tox-follow-button
. We always need to update two repos (n-myft-ui
&x-follow-button
) when some changes inmyftLozenge
mixins.x-follow-button
was originally created to replace all the n-myft-ui follow buttons on ft.com however we haven't done that yet. It causes some features are unsynced because we forget to update two of them.To avoid the issue, we should use
n-myft-ui
'smyftLozenge
mixins until we move all the follow button tox-follow-button
.This PR has two parts
Remove own
myftLozenge
mixins, change to usen-myft-ui
's mixins ⚠️ Need to check no difference between own ones andn-myft-ui
onesUpdate
n-myft-ui
to the latest version to apply new focus styling fromo-normalise
&o-buttons
1. Remove own
myftLozenge
mixins, change to usen-myft-ui
's mixinsaria-pressed=false
aria-pressed=true
2. Update
n-myft-ui
to the latest version to apply new focus styling fromo-normalise
&o-buttons
aria-pressed=false
aria-pressed=true