Hey!
i created different variants to my button component, and when i add it to my project, i want to change the size of it. when I’m hovering over the button it changes to the hovered variant and excepts the text override, but not the size override and i can’t figure out why. thank you!
So it looks like issue is that the text label wasn’t set as a component property, which ensures that any text changes made in one state will propagate to all the others. Once I set the text as a property the interactions worked as expected.
Saw this same issue, double check that the component variant sizes are exactly the same. If they are different it will reset to the variant size.
In the attached Figma, the different states have different widths (e.g., 138px, 142px, 140px). That will cause the size to revert to the variant original instead of your desired override.