@dao42/d42paas-front 0.7.36 → 0.7.40

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.
package/dist/editor.d.ts CHANGED
@@ -23,6 +23,7 @@ type MessageType = {
23
23
  PlaygroundStatus?: PlaygroundStatus;
24
24
  dockerStatus?: DockerStatus;
25
25
  userList?: UserInfo[];
26
+ followingUser: UserInfo;
26
27
  };
27
28
 
28
29
  type ErrorType = {
@@ -75,6 +76,13 @@ export type MenuTagProps = {
75
76
  };
76
77
  };
77
78
 
79
+ export type EditorTheme = {
80
+ theme?: {
81
+ marginViewOverlays?: string;
82
+ lineNumbers?: string;
83
+ activeLineNumber?: string;
84
+ };
85
+ };
78
86
 
79
87
  export type ShellProps = {
80
88
  fontSize?: number;
@@ -301,7 +309,7 @@ export class DaoPaaS {
301
309
  * @param ComponentArgs
302
310
  * CSS.Properties<string | number>
303
311
  */
304
- Editor(args: ComponentArgs & MenuTagProps): void;
312
+ Editor(args: ComponentArgs & MenuTagProps & EditorTheme): void;
305
313
 
306
314
  /**
307
315
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dao42/d42paas-front",
3
- "version": "0.7.36",
3
+ "version": "0.7.40",
4
4
  "description": "> TODO: description",
5
5
  "author": "eric183 <kk297466058@gmail.com>",
6
6
  "homepage": "https://github.com/dao42/d42paas_frontend#readme",
@@ -110,7 +110,6 @@
110
110
  "mini-css-extract-plugin": "^2.4.5",
111
111
  "monaco-editor": "^0.31.0",
112
112
  "monaco-editor-core": "^0.31.0",
113
- "ninja-keys": "^1.1.9",
114
113
  "normalize-url": "^7.0.2",
115
114
  "ot": "^0.0.15",
116
115
  "postcss": "^8.0.9",