Hey there,
I’m in a situation where I want to update my existing components with the new variant properties (especially boolean and text). In my buttons, for example, it would make the variants drop from 264 to 120, which is a great improvement for maintainability.
However this component is already used in about twenty projects, with more than 840 instances overall. Publishing the changes will result in creating breaking changes if I delete the deprecated variants.
My question is: is there a smart way to do this (maybe more than just creating a “button v2” component)? Is it possible to automate a replacement, with some plugins or whatever, to make it work like “button primary with text and left icon will be now replaced by button primary with left icon boolean true and text boolean true” when updating the projects (more or less like we are prompted to do when opening a project with missing fonts)?
Thanks a lot