Closed
Description
If users run spotlight standalone/with the electron app, the current automatic SpotlightBrowser
injection logic won't work. I propose we export the spotlightBrowserIntegration
from the @spotlightjs/overlay
and @spotlightjs/spotlight
packages so that users can register the integration themselves in their browser apps and don't have to rely on the auto injection mechanism.
Important: We'll keep auto injection as-is (meaning it's on by default but can be deactivated). This is just an additional way to get events from the browser into spotlight.
### Tasks
- [ ] Export `spotlightBrowserIntegration`
- [ ] Add documentation