@worktile/theia 14.2.0 → 14.2.3

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.
@@ -9,7 +9,7 @@ import { CustomElementKinds } from '../custom-types';
9
9
  import { FontSizes } from '../constants';
10
10
  import { ThePlugin } from './plugins';
11
11
  import { OverrideByKey, NestedStructureByKey } from './utility';
12
- import { ThePluginMenu } from './plugins/plugin-menu';
12
+ import { ThePluginMenuItemConfig } from './plugins/plugin-menu';
13
13
  export interface TheEditor extends AngularEditor, HistoryEditor {
14
14
  [key: string]: any;
15
15
  options: TheOptions;
@@ -98,7 +98,7 @@ export interface TheOptions {
98
98
  fontSize?: FontSizes;
99
99
  richMedia?: boolean;
100
100
  toolbar?: ToolbarOption;
101
- menu?: ThePluginMenu;
101
+ menu?: ThePluginMenuItemConfig[];
102
102
  disablePlugins?: string[];
103
103
  extraElementOptions?: ElementOptionsInfo[];
104
104
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@worktile/theia",
3
- "version": "14.2.0",
3
+ "version": "14.2.3",
4
4
  "description": "theia editor",
5
5
  "author": "YanDong <nanianqiumo@foxmail.com>",
6
6
  "homepage": "https://github.com/atinc/theia#readme",
package/public-api.d.ts CHANGED
@@ -21,3 +21,5 @@ export * from './services/context.service';
21
21
  export * from './test/index';
22
22
  export * from './components/listbox/listbox';
23
23
  export * from './components/listbox/listbox.type';
24
+ export * from './components/action/prevent-default';
25
+ export * from './components/plugin-menu/plugin-menu.component';