codemirror-helix
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -940,2 +940,5 @@ // src/lib.ts | ||
const dom = el("div"); | ||
dom.style.display = "flex"; | ||
dom.style.justifyContent = "space-between"; | ||
dom.style.fontFamily = "monospace"; | ||
const mode = el("span"); | ||
@@ -970,5 +973,9 @@ mode.textContent = "NOR"; | ||
this.dom = el("div"); | ||
this.dom.style.display = "flex"; | ||
this.dom.style.justifyContent = "space-between"; | ||
this.dom.style.fontFamily = "monospace"; | ||
this.dom.style.minHeight = "2em"; | ||
this.command = el("span"); | ||
this.input = el("div"); | ||
this.input.hidden = true; | ||
this.input = el("span"); | ||
this.input.style.visibility = "hidden"; | ||
this.showCommand(null); | ||
@@ -989,3 +996,3 @@ { | ||
this.input.insertBefore(input, null); | ||
this.input.hidden = false; | ||
this.input.style.visibility = ""; | ||
input.focus(); | ||
@@ -1004,4 +1011,5 @@ } | ||
input.type = "text"; | ||
input.setAttribute("main-field", "true"); | ||
input.style.fontFamily = "monospace"; | ||
input.style.border = "none"; | ||
input.style.outline = "none"; | ||
input.style.background = "inherit"; | ||
let isCompositing = false; | ||
@@ -1049,3 +1057,3 @@ input.addEventListener("compositionstart", () => { | ||
this.input.removeChild(this.input.lastChild); | ||
this.input.hidden = true; | ||
this.input.style.visibility = "hidden"; | ||
this.view.focus(); | ||
@@ -1052,0 +1060,0 @@ } |
@@ -940,2 +940,5 @@ // src/lib.ts | ||
const dom = el("div"); | ||
dom.style.display = "flex"; | ||
dom.style.justifyContent = "space-between"; | ||
dom.style.fontFamily = "monospace"; | ||
const mode = el("span"); | ||
@@ -970,5 +973,9 @@ mode.textContent = "NOR"; | ||
this.dom = el("div"); | ||
this.dom.style.display = "flex"; | ||
this.dom.style.justifyContent = "space-between"; | ||
this.dom.style.fontFamily = "monospace"; | ||
this.dom.style.minHeight = "2em"; | ||
this.command = el("span"); | ||
this.input = el("div"); | ||
this.input.hidden = true; | ||
this.input = el("span"); | ||
this.input.style.visibility = "hidden"; | ||
this.showCommand(null); | ||
@@ -989,3 +996,3 @@ { | ||
this.input.insertBefore(input, null); | ||
this.input.hidden = false; | ||
this.input.style.visibility = ""; | ||
input.focus(); | ||
@@ -1004,4 +1011,5 @@ } | ||
input.type = "text"; | ||
input.setAttribute("main-field", "true"); | ||
input.style.fontFamily = "monospace"; | ||
input.style.border = "none"; | ||
input.style.outline = "none"; | ||
input.style.background = "inherit"; | ||
let isCompositing = false; | ||
@@ -1049,3 +1057,3 @@ input.addEventListener("compositionstart", () => { | ||
this.input.removeChild(this.input.lastChild); | ||
this.input.hidden = true; | ||
this.input.style.visibility = "hidden"; | ||
this.view.focus(); | ||
@@ -1052,0 +1060,0 @@ } |
{ | ||
"name": "codemirror-helix", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"type": "module", | ||
@@ -23,2 +23,3 @@ "license": "MPL-2.0", | ||
"types": "./dist/lib.d.ts", | ||
"main": "./dist/lib.js", | ||
"exports": { | ||
@@ -25,0 +26,0 @@ "development": "./dist/lib.development.js", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
80554
2303
0