🚀 Enhancements
- ⚠️ Refactor content script UI functions and add helper for "integrated" UIs (#333)
⚠️ Breaking Changes
createContentScriptUi
and createContentScriptIframe
, and some of their options, have been renamed:
createContentScriptUi({ ... })
→createShadowRootUi({ ... })
createContentScriptIframe({ ... })
→createIframeUi({ ... })
type: "inline" | "overlay" | "modal"
has been changed toposition: "inline" | "overlay" | "modal"
onRemove
is now called before the UI is removed from the DOM, previously it was called after the UI was removedmount
option has been renamed toonMount
, to better match the related option,onRemove
.