Hey guys, at my company we’re changing our design system and adding new variants to components that already exist in the library. To keep the library file clean of work in progress, we’ve designed these new versions of the components in a separate file. Now we need to update the original library with these new versions of the components, but using paste-and-replace causes the links to the components to be lost, even if the component has the same name. The structure of the components is even the same in some cases, but the links to the component still get lost after replacing them, probably because they have properties the older ones did not have.
What is the secure and best path to update the old components with the new versions ensuring the links on the files that use the library won’t get lost?