@operato/app 1.5.51 → 1.5.53

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@operato/app",
3
3
  "description": "WebApplication production supporting components following open-wc recommendations",
4
4
  "author": "heartyoh",
5
- "version": "1.5.51",
5
+ "version": "1.5.53",
6
6
  "main": "dist/src/index.js",
7
7
  "module": "dist/src/index.js",
8
8
  "exports": {
@@ -136,15 +136,15 @@
136
136
  "@material/mwc-button": "^0.27.0",
137
137
  "@material/mwc-icon": "^0.27.0",
138
138
  "@material/mwc-icon-button": "^0.27.0",
139
- "@operato/attachment": "^1.5.51",
140
- "@operato/data-grist": "^1.5.51",
141
- "@operato/font": "^1.5.51",
139
+ "@operato/attachment": "^1.5.53",
140
+ "@operato/data-grist": "^1.5.53",
141
+ "@operato/font": "^1.5.53",
142
142
  "@operato/form": "^1.5.44",
143
143
  "@operato/graphql": "^1.4.76",
144
144
  "@operato/i18n": "^1.5.14",
145
- "@operato/input": "^1.5.51",
145
+ "@operato/input": "^1.5.53",
146
146
  "@operato/layout": "^1.5.48",
147
- "@operato/property-editor": "^1.5.51",
147
+ "@operato/property-editor": "^1.5.53",
148
148
  "@operato/shell": "^1.5.48",
149
149
  "@operato/styles": "^1.5.48",
150
150
  "@operato/utils": "^1.5.44",
@@ -189,5 +189,5 @@
189
189
  "prettier --write"
190
190
  ]
191
191
  },
192
- "gitHead": "35850ad26ab8c395d6f6791daf76549ffda3d404"
192
+ "gitHead": "e35db9ef796e57eff8cb9ed321fa8eae7c7971a6"
193
193
  }
@@ -36,6 +36,7 @@ export default class OxInputGraphql extends OxFormField {
36
36
  flex-direction: column;
37
37
  position: relative;
38
38
  background: white;
39
+ overflow: auto;
39
40
  }
40
41
 
41
42
  .cm-editor {
@@ -112,7 +113,17 @@ export default class OxInputGraphql extends OxFormField {
112
113
  }),
113
114
  highlightActiveLine(),
114
115
  history(),
115
- keymap.of([...historyKeymap, indentWithTab]),
116
+ keymap.of([
117
+ ...historyKeymap,
118
+ indentWithTab,
119
+ {
120
+ key: 'Escape',
121
+ run: (view: EditorView) => {
122
+ togglefullscreen(this)
123
+ return true
124
+ }
125
+ }
126
+ ]),
116
127
  EditorView.updateListener.of(v => {
117
128
  if (v.docChanged) {
118
129
  this._self_changing = true
@@ -128,12 +139,6 @@ export default class OxInputGraphql extends OxFormField {
128
139
  })
129
140
  }
130
141
 
131
- this._editor.contentDOM.addEventListener('keydown', event => {
132
- if (event.key === 'Escape') {
133
- togglefullscreen(this._editor!.contentDOM)
134
- }
135
- })
136
-
137
142
  return this._editor
138
143
  }
139
144
  }