Hidden, nested components become searchable once they're used within main components

Dealing with a library that uses hidden, nested base components to build the main components. Externally, in different files, when I search for something, these hidden base components don’t show up. So far, so good.

However, as to my limited testing, once I add a component that uses this particular hidden component, the hidden component also becomes searchable in the assets panel.

Once I remove the main component with that particular hidden component, the hidden component is no longer searchable.

This seems like a bug to me. Eventhough I use a certain component with the nested, hidden component, I don’t want these hidden components to show up when you search something. Especially because they don’t show up in the assets panel on its own.

Anyone got insights here? Thanks.