@theia/toolbar 1.67.0-next.3 → 1.67.0-next.56

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 (85) hide show
  1. package/README.md +8 -1
  2. package/package.json +12 -11
  3. package/src/browser/icons/codicons.ts +647 -0
  4. package/src/browser/icons/font-awesome-icons.ts +804 -0
  5. package/src/browser/icons/icon-set-provider.ts +135 -0
  6. package/src/browser/style/toolbar.css +12 -19
  7. package/src/browser/toolbar-icon-selector-dialog.tsx +43 -36
  8. package/lib/browser/abstract-toolbar-contribution.d.ts +0 -17
  9. package/lib/browser/abstract-toolbar-contribution.d.ts.map +0 -1
  10. package/lib/browser/abstract-toolbar-contribution.js +0 -61
  11. package/lib/browser/abstract-toolbar-contribution.js.map +0 -1
  12. package/lib/browser/application-shell-with-toolbar-override.d.ts +0 -17
  13. package/lib/browser/application-shell-with-toolbar-override.d.ts.map +0 -1
  14. package/lib/browser/application-shell-with-toolbar-override.js +0 -91
  15. package/lib/browser/application-shell-with-toolbar-override.js.map +0 -1
  16. package/lib/browser/codicons.d.ts +0 -2
  17. package/lib/browser/codicons.d.ts.map +0 -1
  18. package/lib/browser/codicons.js +0 -21
  19. package/lib/browser/codicons.js.map +0 -1
  20. package/lib/browser/font-awesome-icons.d.ts +0 -2
  21. package/lib/browser/font-awesome-icons.d.ts.map +0 -1
  22. package/lib/browser/font-awesome-icons.js +0 -21
  23. package/lib/browser/font-awesome-icons.js.map +0 -1
  24. package/lib/browser/package.spec.d.ts +0 -1
  25. package/lib/browser/package.spec.d.ts.map +0 -1
  26. package/lib/browser/package.spec.js +0 -19
  27. package/lib/browser/package.spec.js.map +0 -1
  28. package/lib/browser/toolbar-command-contribution.d.ts +0 -21
  29. package/lib/browser/toolbar-command-contribution.d.ts.map +0 -1
  30. package/lib/browser/toolbar-command-contribution.js +0 -188
  31. package/lib/browser/toolbar-command-contribution.js.map +0 -1
  32. package/lib/browser/toolbar-command-quick-input-service.d.ts +0 -20
  33. package/lib/browser/toolbar-command-quick-input-service.d.ts.map +0 -1
  34. package/lib/browser/toolbar-command-quick-input-service.js +0 -105
  35. package/lib/browser/toolbar-command-quick-input-service.js.map +0 -1
  36. package/lib/browser/toolbar-constants.d.ts +0 -24
  37. package/lib/browser/toolbar-constants.d.ts.map +0 -1
  38. package/lib/browser/toolbar-constants.js +0 -76
  39. package/lib/browser/toolbar-constants.js.map +0 -1
  40. package/lib/browser/toolbar-content-hover-widget-patcher.d.ts +0 -9
  41. package/lib/browser/toolbar-content-hover-widget-patcher.d.ts.map +0 -1
  42. package/lib/browser/toolbar-content-hover-widget-patcher.js +0 -53
  43. package/lib/browser/toolbar-content-hover-widget-patcher.js.map +0 -1
  44. package/lib/browser/toolbar-controller.d.ts +0 -40
  45. package/lib/browser/toolbar-controller.d.ts.map +0 -1
  46. package/lib/browser/toolbar-controller.js +0 -199
  47. package/lib/browser/toolbar-controller.js.map +0 -1
  48. package/lib/browser/toolbar-defaults.d.ts +0 -4
  49. package/lib/browser/toolbar-defaults.d.ts.map +0 -1
  50. package/lib/browser/toolbar-defaults.js +0 -61
  51. package/lib/browser/toolbar-defaults.js.map +0 -1
  52. package/lib/browser/toolbar-frontend-module.d.ts +0 -5
  53. package/lib/browser/toolbar-frontend-module.d.ts.map +0 -1
  54. package/lib/browser/toolbar-frontend-module.js +0 -28
  55. package/lib/browser/toolbar-frontend-module.js.map +0 -1
  56. package/lib/browser/toolbar-icon-selector-dialog.d.ts +0 -66
  57. package/lib/browser/toolbar-icon-selector-dialog.d.ts.map +0 -1
  58. package/lib/browser/toolbar-icon-selector-dialog.js +0 -225
  59. package/lib/browser/toolbar-icon-selector-dialog.js.map +0 -1
  60. package/lib/browser/toolbar-interfaces.d.ts +0 -47
  61. package/lib/browser/toolbar-interfaces.d.ts.map +0 -1
  62. package/lib/browser/toolbar-interfaces.js +0 -43
  63. package/lib/browser/toolbar-interfaces.js.map +0 -1
  64. package/lib/browser/toolbar-preference-schema.d.ts +0 -6
  65. package/lib/browser/toolbar-preference-schema.d.ts.map +0 -1
  66. package/lib/browser/toolbar-preference-schema.js +0 -74
  67. package/lib/browser/toolbar-preference-schema.js.map +0 -1
  68. package/lib/browser/toolbar-storage-provider.d.ts +0 -50
  69. package/lib/browser/toolbar-storage-provider.d.ts.map +0 -1
  70. package/lib/browser/toolbar-storage-provider.js +0 -347
  71. package/lib/browser/toolbar-storage-provider.js.map +0 -1
  72. package/lib/browser/toolbar.d.ts +0 -57
  73. package/lib/browser/toolbar.d.ts.map +0 -1
  74. package/lib/browser/toolbar.js +0 -332
  75. package/lib/browser/toolbar.js.map +0 -1
  76. package/lib/common/toolbar-preference-contribution.d.ts +0 -11
  77. package/lib/common/toolbar-preference-contribution.d.ts.map +0 -1
  78. package/lib/common/toolbar-preference-contribution.js +0 -34
  79. package/lib/common/toolbar-preference-contribution.js.map +0 -1
  80. package/lib/node/toolbar-backend-module.d.ts +0 -4
  81. package/lib/node/toolbar-backend-module.d.ts.map +0 -1
  82. package/lib/node/toolbar-backend-module.js +0 -26
  83. package/lib/node/toolbar-backend-module.js.map +0 -1
  84. package/src/browser/codicons.ts +0 -18
  85. package/src/browser/font-awesome-icons.ts +0 -18
package/README.md CHANGED
@@ -14,11 +14,18 @@
14
14
 
15
15
  The `@theia/toolbar` extension contributes a global toolbar to the application shell. The toolbar supplements the `Command Palette` and allows users to easily add, remove, and rearrange toolbar items to their liking. The toolbar is hidden by default and ships with a default layout which can be overridden by downstream applications. Extenders can also contribute custom widgets to the toolbar through a contribution point.
16
16
 
17
+ ### Icon Management
18
+
19
+ When a new item is added to the toolbar, a dialog appears showing all installed icons. This feature allows users to easily select a suitable icon for their toolbar item without needing to know the icon names in advance. The dialog visually displays available icons from both the FontAwesome and Codicons libraries.
20
+
21
+ The `update-icons.js` script collects the icon strings for FontAwesome and Codicons from the currently installed dependencies and saves them to temporary JSON files. The content is then copied to `codicon.ts` and `font-awesome-icons.ts` to update the icon lists.
22
+ A util npm script is available: `npm run update:icons`.
23
+
17
24
  ## Additional Information
18
25
 
19
26
  An example toolbar custom widget and layout override can be found in [here](https://github.com/eclipse-theia/theia/tree/master/examples/api-samples/src/browser/toolbar).
20
27
 
21
- - [API documentation for `@theia/toolbar`](https://eclipse-theia.github.io/theia/docs/next/modules/toolbar.html)
28
+ - [API documentation for `@theia/toolbar`](https://eclipse-theia.github.io/theia/docs/next/modules/_theia_toolbar.html)
22
29
  - [Theia - GitHub](https://github.com/eclipse-theia/theia)
23
30
  - [Theia - Website](https://theia-ide.org/)
24
31
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theia/toolbar",
3
- "version": "1.67.0-next.3+7946ca874",
3
+ "version": "1.67.0-next.56+d8f18cc386c",
4
4
  "description": "Theia - Toolbar",
5
5
  "keywords": [
6
6
  "theia-extension"
@@ -24,18 +24,19 @@
24
24
  "compile": "theiaext compile",
25
25
  "lint": "theiaext lint",
26
26
  "test": "theiaext test",
27
- "watch": "theiaext watch"
27
+ "watch": "theiaext watch",
28
+ "update:icons": "node ./update-icons.js"
28
29
  },
29
30
  "dependencies": {
30
- "@theia/core": "1.67.0-next.3+7946ca874",
31
- "@theia/editor": "1.67.0-next.3+7946ca874",
32
- "@theia/file-search": "1.67.0-next.3+7946ca874",
33
- "@theia/filesystem": "1.67.0-next.3+7946ca874",
34
- "@theia/monaco": "1.67.0-next.3+7946ca874",
31
+ "@theia/core": "1.67.0-next.56+d8f18cc386c",
32
+ "@theia/editor": "1.67.0-next.56+d8f18cc386c",
33
+ "@theia/file-search": "1.67.0-next.56+d8f18cc386c",
34
+ "@theia/filesystem": "1.67.0-next.56+d8f18cc386c",
35
+ "@theia/monaco": "1.67.0-next.56+d8f18cc386c",
35
36
  "@theia/monaco-editor-core": "1.96.302",
36
- "@theia/search-in-workspace": "1.67.0-next.3+7946ca874",
37
- "@theia/userstorage": "1.67.0-next.3+7946ca874",
38
- "@theia/workspace": "1.67.0-next.3+7946ca874",
37
+ "@theia/search-in-workspace": "1.67.0-next.56+d8f18cc386c",
38
+ "@theia/userstorage": "1.67.0-next.56+d8f18cc386c",
39
+ "@theia/workspace": "1.67.0-next.56+d8f18cc386c",
39
40
  "ajv": "^6.5.3",
40
41
  "jsonc-parser": "^2.2.0",
41
42
  "perfect-scrollbar": "1.5.5",
@@ -50,5 +51,5 @@
50
51
  "publishConfig": {
51
52
  "access": "public"
52
53
  },
53
- "gitHead": "7946ca874b04e6249d883e9a586f193194df1365"
54
+ "gitHead": "d8f18cc386c45a736cd193d42eab02c8f64c6b10"
54
55
  }