@node-projects/web-component-designer 0.0.166 → 0.0.167

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.
@@ -29,9 +29,9 @@ export class ContextMenu {
29
29
 
30
30
  .context_menu ul {
31
31
  list-style-type: none;
32
- padding: 0;
32
+ padding: 3px;
33
33
  margin: 0;
34
- background-color: #ccc;
34
+ background-color: #f5f7f7;
35
35
  box-shadow: 0 0 5px #333;
36
36
  }
37
37
 
@@ -46,15 +46,15 @@ export class ContextMenu {
46
46
  background-color: #bbb;
47
47
  }
48
48
 
49
- .context_menu li .cm_icon_span {
49
+ .context_menu li .cm_icon_span {
50
50
  width: 1.5em;
51
- height: 1.2em;
52
- vertical-align: bottom;
53
51
  display: inline-block;
54
52
  border-right: 1px solid #aaa;
55
- margin-right: 5px;
56
- padding-right: 5px;
57
- text-align: center;
53
+ padding: 0px 3px;
54
+ }
55
+
56
+ .context_menu li .cm_icon_span {
57
+ padding-left: 5px;
58
58
  }
59
59
 
60
60
  .context_menu li .cm_sub_span {
@@ -1,4 +1,5 @@
1
1
  export interface IContextMenuItem {
2
+ readonly id?: string;
2
3
  readonly title?: string;
3
4
  readonly icon?: string;
4
5
  readonly children?: IContextMenuItem[];
@@ -109,6 +109,7 @@ export class DesignerView extends BaseCustomWebComponentConstructorAppend {
109
109
  bottom: 16px;
110
110
  height: 16px;
111
111
  box-sizing: border-box;
112
+ z-index: 1;
112
113
  }
113
114
  .right-scroll {
114
115
  height: calc(100% - 32px);
@@ -117,6 +118,7 @@ export class DesignerView extends BaseCustomWebComponentConstructorAppend {
117
118
  top: 0;
118
119
  width: 16px;
119
120
  box-sizing: border-box;
121
+ z-index: 1;
120
122
  }
121
123
  .bottom-right {
122
124
  width: 16px;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "description": "A UI designer for Polymer apps",
3
3
  "name": "@node-projects/web-component-designer",
4
- "version": "0.0.166",
4
+ "version": "0.0.167",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "author": "",
@@ -14,22 +14,22 @@
14
14
  },
15
15
  "dependencies": {
16
16
  "@node-projects/base-custom-webcomponent": "^0.10.7",
17
- "@types/node": "^18.11.14",
17
+ "@types/node": "^18.11.18",
18
18
  "construct-style-sheets-polyfill": "^3.1.0"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@node-projects/lean-he-esm": "^3.3.0",
22
22
  "@node-projects/node-html-parser-esm": "^2.5.1",
23
- "@papyrs/stylo": "^0.0.41",
24
- "@types/codemirror": "^5.60.5",
25
- "@types/jquery": "^3.5.14",
23
+ "@papyrs/stylo": "^0.0.42",
24
+ "@types/codemirror": "^5.60.6",
25
+ "@types/jquery": "^3.5.16",
26
26
  "@types/jquery.fancytree": "0.0.7",
27
27
  "ace-builds": "^1.14.0",
28
28
  "codemirror": "^6.0.1",
29
29
  "esprima-next": "^5.8.4",
30
30
  "html2canvas": "*",
31
31
  "jest": "^29.3.1",
32
- "jquery": "^3.6.2",
32
+ "jquery": "^3.6.3",
33
33
  "jquery.fancytree": "^2.38.2",
34
34
  "monaco-editor": "^0.34.1",
35
35
  "ts-jest": "^29.0.3",