Salesforce is strict on putting items in package. Once we put it in, we cannot remove it out. I know it, but is it possible to hide it (or deprecate it)?
We have an Aura component, which our customer can use in Lightning App Builder.
Now, we developed a LWC which is successor of old Aura component. Displaying it side by side with Aura component in Lightning App Builder may confusing customer.
I want to display LWC only, hide the old Aura component away. If customer is using old Aura component in their custom application, they can just continue using them. They just cannot drag and drop it to their app any more.
Do you have any idea?
UPDATE
Since I cannot add code to comment, I add my trying code here. I have tried below stuffs but it doesn't work:
<!--
@deprecated
The component is no longer supported and will be removed in a future release.
-->
<aura:component ....
Also tried:
<!--
@deprecated
The component is no longer supported and will be removed in a future release.
-->
<design:component ....
But both of them don't work. I still can see it in Lightning App Builder.