From 8bf3a046986165b71700adb839192ebe89bccb7a Mon Sep 17 00:00:00 2001 From: Sarvesh Mishra Date: Wed, 12 Jan 2022 21:56:12 +0530 Subject: [PATCH] Remove deprecated API: unfocusSearchFieldContainer, doUnfocusSearchFieldContainer() fixes #10622 Signed-off-by: Sarvesh Mishra --- CHANGELOG.md | 1 + .../src/browser/search-in-workspace-widget.tsx | 11 ----------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e0464ffd25b98..2a3129b2bc79d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ - [plugin] Removed deprecated fields `id` and `label` from `theia.Command` [#10512](https://github.com/eclipse-theia/theia/pull/10512) - [plugin-ext] `ViewContextKeyService#with` method removed. Use `ContextKeyService#with` instead. `PluginViewWidget` and `PluginTreeWidget` inject the `ContextKeyService` rather than `ViewContextKeyService`. [#10546](https://github.com/eclipse-theia/theia/pull/10546) - [navigator] added `Open Containing Folder` command [#10523](https://github.com/eclipse-theia/theia/pull/10523) +- [core] Removed deprecated API: `unfocusSearchFieldContainer`, `doUnfocusSearchFieldContainer()` [#10625](https://github.com/eclipse-theia/theia/pull/10625) ## v1.21.0 - 12/16/2021 diff --git a/packages/search-in-workspace/src/browser/search-in-workspace-widget.tsx b/packages/search-in-workspace/src/browser/search-in-workspace-widget.tsx index 33f4166c52089..4dd89790804f7 100644 --- a/packages/search-in-workspace/src/browser/search-in-workspace-widget.tsx +++ b/packages/search-in-workspace/src/browser/search-in-workspace-widget.tsx @@ -410,17 +410,6 @@ export class SearchInWorkspaceWidget extends BaseWidget implements StatefulWidge this.update(); } - /** - * @deprecated use `blurSearchFieldContainer` instead. - */ - protected readonly unfocusSearchFieldContainer = this.blurSearchFieldContainer; - /** - * @deprecated use `doBlurSearchFieldContainer` instead. - */ - protected doUnfocusSearchFieldContainer(): void { - this.doBlurSearchFieldContainer(); - } - private _searchTimeout: number; protected readonly search = (e: React.KeyboardEvent) => { e.persist();