@lvce-editor/find-widget-worker 3.7.3 → 3.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -870,6 +870,7 @@ const TargetValue = 'event.target.value';
870
870
 
871
871
  const Tab = 2;
872
872
  const Enter = 3;
873
+ const Escape = 8;
873
874
  const KeyF = 34;
874
875
  const F4 = 60;
875
876
 
@@ -1961,6 +1962,10 @@ const focusPreviousElement = state => {
1961
1962
 
1962
1963
  const getKeyBindings = () => {
1963
1964
  return [{
1965
+ command: 'FindWidget.close',
1966
+ key: Escape,
1967
+ when: FocusFindWidget$1
1968
+ }, {
1964
1969
  command: 'FindWidget.focusNext',
1965
1970
  key: Enter,
1966
1971
  when: FocusFindWidget$1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/find-widget-worker",
3
- "version": "3.7.3",
3
+ "version": "3.7.4",
4
4
  "description": "Web Worker for the find widget in Lvce Editor",
5
5
  "repository": {
6
6
  "type": "git",