ic-ui-kit
ic-ui-kit copied to clipboard
Loading indicator should always be the circular variant when at `icon` size
Summary of the bug
When the size prop on the loading indicator is set to icon, it should always show the circular variant and never the linear variant (this is the case in the Figma designs).
🪜 How to reproduce
- Go to the story for the icon loading indicator and change the
typein the DevTools tolinear. - See that it tries to render a very small linear loading indicator e.g.:
🧐 Expected behaviour
As defined on Figma, the loading indicator should always display the circular variant when it is set to its icon size.
Additional info
It is probably worth adding a note to the description for the size prop to say that setting it to icon will always display the circular indicator.
Design thinks likely best to keep consistent with Button loading, so Figma needs updating
Duplicate issue to #1476