diff --git a/packages/frontend-plugin-api/report.api.md b/packages/frontend-plugin-api/report.api.md index fdcbd161d9..c209874e46 100644 --- a/packages/frontend-plugin-api/report.api.md +++ b/packages/frontend-plugin-api/report.api.md @@ -1937,10 +1937,8 @@ export const swappableComponentsApiRef: ApiRef_2; // @public export type ToastApi = { - post(toast: ToastApiMessage): string; - close(key: string): void; + post(toast: ToastApiMessage): ToastApiPostResult; toast$(): Observable; - close$(): Observable; }; // @public @@ -1955,6 +1953,12 @@ export type ToastApiMessage = { // @public export type ToastApiMessageWithKey = ToastApiMessage & { key: string; + close(): void; +}; + +// @public +export type ToastApiPostResult = { + close(): void; }; // @public diff --git a/plugins/app/report.api.md b/plugins/app/report.api.md index e294a54f30..6389ea7c4c 100644 --- a/plugins/app/report.api.md +++ b/plugins/app/report.api.md @@ -1021,10 +1021,7 @@ const appPlugin: OverridableFrontendPlugin< export default appPlugin; // @public -export function ToastDisplay(props: ToastDisplayProps): JSX_3.Element; - -// @public -export interface ToastDisplayProps { +export interface ToastApiMessageDisplayProps { // @deprecated anchorOrigin?: { vertical: 'top' | 'bottom'; @@ -1033,5 +1030,8 @@ export interface ToastDisplayProps { transientTimeoutMs?: number; } +// @public +export function ToastDisplay(props: ToastApiMessageDisplayProps): JSX_3.Element; + // (No @packageDocumentation comment for this package) ```