Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/polite-peas-mate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@frontify/app-bridge-theme": patch
---

chore: deprecate closeSearchDialog command
chore: deprecate closeAiBrandAssistantDialog command
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ export const openAiBrandAssistantDialog = (): DispatchHandlerParameter<
CommandRegistry
> => ({ name: 'openAiBrandAssistantDialog' });

/**
* @deprecated This will be removed in version 2.0.0 of `@frontify/app-bridge-theme`
* There won't be a replacement for this command.
*/
export const closeAiBrandAssistantDialog = (): DispatchHandlerParameter<
'closeAiBrandAssistantDialog',
CommandRegistry
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ export const openSearchDialog = (): DispatchHandlerParameter<'openSearchDialog',
name: 'openSearchDialog',
});

/**
* @deprecated This will be removed in version 2.0.0 of `@frontify/app-bridge-theme`
* There won't be a replacement for this command.
*/
export const closeSearchDialog = (): DispatchHandlerParameter<'closeSearchDialog', CommandRegistry> => ({
name: 'closeSearchDialog',
});