@theia/toolbar 1.39.0-next.9 → 1.40.0

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.
Files changed (55) hide show
  1. package/lib/browser/abstract-toolbar-contribution.js +1 -1
  2. package/lib/browser/abstract-toolbar-contribution.js.map +1 -1
  3. package/lib/browser/application-shell-with-toolbar-override.js +1 -1
  4. package/lib/browser/application-shell-with-toolbar-override.js.map +1 -1
  5. package/lib/browser/codicons.js +1 -1
  6. package/lib/browser/codicons.js.map +1 -1
  7. package/lib/browser/font-awesome-icons.js +1 -1
  8. package/lib/browser/font-awesome-icons.js.map +1 -1
  9. package/lib/browser/package.spec.js +1 -1
  10. package/lib/browser/package.spec.js.map +1 -1
  11. package/lib/browser/toolbar-command-contribution.js +1 -1
  12. package/lib/browser/toolbar-command-contribution.js.map +1 -1
  13. package/lib/browser/toolbar-command-quick-input-service.js +8 -4
  14. package/lib/browser/toolbar-command-quick-input-service.js.map +1 -1
  15. package/lib/browser/toolbar-constants.js +1 -1
  16. package/lib/browser/toolbar-constants.js.map +1 -1
  17. package/lib/browser/toolbar-controller.js +2 -2
  18. package/lib/browser/toolbar-controller.js.map +1 -1
  19. package/lib/browser/toolbar-defaults.js +1 -1
  20. package/lib/browser/toolbar-defaults.js.map +1 -1
  21. package/lib/browser/toolbar-frontend-module.js +1 -1
  22. package/lib/browser/toolbar-frontend-module.js.map +1 -1
  23. package/lib/browser/toolbar-icon-selector-dialog.js +2 -2
  24. package/lib/browser/toolbar-icon-selector-dialog.js.map +1 -1
  25. package/lib/browser/toolbar-interfaces.js +1 -1
  26. package/lib/browser/toolbar-interfaces.js.map +1 -1
  27. package/lib/browser/toolbar-preference-contribution.js +1 -1
  28. package/lib/browser/toolbar-preference-contribution.js.map +1 -1
  29. package/lib/browser/toolbar-preference-schema.js +1 -1
  30. package/lib/browser/toolbar-preference-schema.js.map +1 -1
  31. package/lib/browser/toolbar-storage-provider.js +1 -1
  32. package/lib/browser/toolbar-storage-provider.js.map +1 -1
  33. package/lib/browser/toolbar.d.ts +0 -1
  34. package/lib/browser/toolbar.d.ts.map +1 -1
  35. package/lib/browser/toolbar.js +2 -14
  36. package/lib/browser/toolbar.js.map +1 -1
  37. package/package.json +11 -11
  38. package/src/browser/abstract-toolbar-contribution.tsx +1 -1
  39. package/src/browser/application-shell-with-toolbar-override.ts +1 -1
  40. package/src/browser/codicons.ts +1 -1
  41. package/src/browser/font-awesome-icons.ts +1 -1
  42. package/src/browser/package.spec.ts +1 -1
  43. package/src/browser/style/toolbar.css +107 -105
  44. package/src/browser/toolbar-command-contribution.ts +1 -1
  45. package/src/browser/toolbar-command-quick-input-service.ts +1 -1
  46. package/src/browser/toolbar-constants.ts +1 -1
  47. package/src/browser/toolbar-controller.ts +1 -1
  48. package/src/browser/toolbar-defaults.ts +1 -1
  49. package/src/browser/toolbar-frontend-module.ts +1 -1
  50. package/src/browser/toolbar-icon-selector-dialog.tsx +1 -1
  51. package/src/browser/toolbar-interfaces.ts +1 -1
  52. package/src/browser/toolbar-preference-contribution.ts +1 -1
  53. package/src/browser/toolbar-preference-schema.ts +1 -1
  54. package/src/browser/toolbar-storage-provider.ts +1 -1
  55. package/src/browser/toolbar.tsx +3 -16
@@ -11,7 +11,7 @@
11
11
  // with the GNU Classpath Exception which is available at
12
12
  // https://www.gnu.org/software/classpath/license.html.
13
13
  //
14
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
14
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
15
15
  // *****************************************************************************
16
16
 
17
17
  import * as jsoncParser from 'jsonc-parser';
@@ -11,7 +11,7 @@
11
11
  // with the GNU Classpath Exception which is available at
12
12
  // https://www.gnu.org/software/classpath/license.html.
13
13
  //
14
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
14
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
15
15
  // *****************************************************************************
16
16
 
17
17
  import * as React from '@theia/core/shared/react';
@@ -51,7 +51,8 @@ export class ToolbarImpl extends TabBarToolbar {
51
51
  protected isBusyDeferred = new Deferred<void>();
52
52
 
53
53
  @postConstruct()
54
- protected init(): void {
54
+ protected override init(): void {
55
+ super.init();
55
56
  this.doInit();
56
57
  }
57
58
 
@@ -312,20 +313,6 @@ export class ToolbarImpl extends TabBarToolbar {
312
313
  );
313
314
  }
314
315
 
315
- protected resolveKeybindingForCommand(commandID: string | undefined): string {
316
- if (!commandID) {
317
- return '';
318
- }
319
- const keybindings = this.keybindingRegistry.getKeybindingsForCommand(commandID);
320
- if (keybindings.length > 0) {
321
- const binding = keybindings[0];
322
- const bindingKeySequence = this.keybindingRegistry.resolveKeybinding(binding);
323
- const keyCode = bindingKeySequence[0];
324
- return ` (${this.keybindingRegistry.acceleratorForKeyCode(keyCode, '+')})`;
325
- }
326
- return '';
327
- }
328
-
329
316
  protected handleOnDragStart = (e: React.DragEvent<HTMLDivElement>): void => this.doHandleOnDragStart(e);
330
317
  protected doHandleOnDragStart(e: React.DragEvent<HTMLDivElement>): void {
331
318
  const draggedElement = e.currentTarget;