Skip to content

Commit

Permalink
Remove deprecated API: unfocusSearchFieldContainer, doUnfocusSearchFi…
Browse files Browse the repository at this point in the history
…eldContainer()

fixes #10622

Signed-off-by: Sarvesh Mishra <[email protected]>
  • Loading branch information
SarveshMishra committed Jan 12, 2022
1 parent fb74ef0 commit 8bf3a04
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 8bf3a04

Please sign in to comment.