@spotlightjs/overlay
Advanced tools
Comparing version 1.0.1 to 1.1.0
import { SpotlightOverlayOptions } from './types'; | ||
type AppProps = Omit<SpotlightOverlayOptions, 'debug' | 'injectImmediately'> & Required<Pick<SpotlightOverlayOptions, 'sidecarUrl'>>; | ||
export default function App({ openOnInit, showTriggerButton, integrations, sidecarUrl, anchor, }: AppProps): import("react/jsx-runtime").JSX.Element; | ||
export default function App({ openOnInit, showTriggerButton, integrations, sidecarUrl, anchor, fullPage, }: AppProps): import("react/jsx-runtime").JSX.Element; | ||
export {}; |
import { Integration, IntegrationData } from '../integrations/integration'; | ||
import { NotificationCount } from '../types'; | ||
export default function Debugger({ integrations, isOpen, setOpen, integrationData, isOnline, setTriggerButtonCount: setNotificationCount, }: { | ||
export default function Debugger({ integrations, isOpen, setOpen, integrationData, isOnline, setTriggerButtonCount: setNotificationCount, fullPage, }: { | ||
integrations: Integration[]; | ||
@@ -10,2 +10,3 @@ isOpen: boolean; | ||
setTriggerButtonCount: (count: NotificationCount) => void; | ||
fullPage: boolean; | ||
}): import("react/jsx-runtime").JSX.Element; |
@@ -36,2 +36,2 @@ import { SpotlightOverlayOptions } from './types.ts'; | ||
export declare function trigger(eventName: string, payload: unknown): Promise<void>; | ||
export declare function init({ openOnInit, showTriggerButton, injectImmediately, sidecarUrl, anchor, debug, integrations, experiments, }?: SpotlightOverlayOptions): Promise<void>; | ||
export declare function init({ openOnInit, showTriggerButton, injectImmediately, sidecarUrl, anchor, debug, integrations, experiments, fullPage, }?: SpotlightOverlayOptions): Promise<void>; |
@@ -73,2 +73,8 @@ import { type Integration } from './integrations/integration'; | ||
experiments?: ExperimentsConfig; | ||
/** | ||
* If set to `true`, the Spotlight overlay will be rendered in full page mode. | ||
* It can't be closed nor minimized. | ||
* This is useful for replaceing error page or in when directly rendered as an html page | ||
*/ | ||
fullPage?: boolean; | ||
}; | ||
@@ -75,0 +81,0 @@ export type NotificationCount = { |
{ | ||
"name": "@spotlightjs/overlay", | ||
"description": "The overlay of Spotlight to add debug interface to your web app.", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"license": "Apache-2.0", | ||
@@ -6,0 +6,0 @@ "type": "module", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10231760
78510