I've been using map components for a while now and have had a workflow where in some cases I manually override the styling of some of the esri components. In my case I have overridden the styles of the attribution widget, always following the guidance as described here: https://developers.arcgis.com/documentation/esri-and-data-attribution/
Previously I have done the following:
1) Removed the Powered by Esri text - I hide it with css targetting ".esri-attribution__powered-by" selector. This has then been moved to a popup with all of the other parts of the applications key attribution.
2) Overridden the colours and styles specifically for the attribution widget. e.g. targetting the .esri-attribution selector.
The new updates have moved the attribution widget to the shadow-dom, meaning I can't target it with CSS overides anymore. I am hesitant to use css variable overrides as ideally I just want full control over the look and styling of the component.
I could reimplement this completely using the attribution viewmodel, however I can't see a way of removing the attribution from the arcgis-map in its initialisation. I end up having to hooking into the view ready event, and then removing it from the ui, which creates a frankly horrible flicker of content.
How can I achieve my desired override?