@zenuml/core 3.0.1 → 3.0.2
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/cy/smoke-return.html +1 -1
- package/dist/zenuml.esm.mjs +8067 -5598
- package/dist/zenuml.js +52 -52
- package/index.html +4 -1
- package/package.json +2 -2
- package/pnpm-lock.yaml +1862 -1258
- package/vite.config.js +1 -0
- package/vite.config.lib.js +6 -0
package/index.html
CHANGED
|
@@ -29,7 +29,6 @@
|
|
|
29
29
|
<link
|
|
30
30
|
rel="stylesheet"
|
|
31
31
|
href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.1/codemirror.min.css"
|
|
32
|
-
crossorigin="anonymous"
|
|
33
32
|
integrity="sha512-uf06llspW44/LZpHzHT6qBOIVODjWtv4MxCricRxkzvopAlSWnTf6hpZTFxuuZcuNE9CBQhqE0Seu1CoRk84nQ=="
|
|
34
33
|
crossorigin="anonymous"
|
|
35
34
|
referrerpolicy="no-referrer"
|
|
@@ -74,6 +73,10 @@
|
|
|
74
73
|
singleCursorHeightPerLine: false,
|
|
75
74
|
});
|
|
76
75
|
|
|
76
|
+
// Fixing an issue of wrong cursor position
|
|
77
|
+
// https://github.com/codemirror/codemirror5/issues/5724#issuecomment-470950897
|
|
78
|
+
document.fonts.ready.then(() => { editor.refresh(); });
|
|
79
|
+
|
|
77
80
|
// implement a waitUntil function
|
|
78
81
|
function waitUntil(condition, callback) {
|
|
79
82
|
if (condition()) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zenuml/core",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"build": "vite build -c vite.config.lib.js",
|
|
13
13
|
"test": "vitest",
|
|
14
14
|
"cy": "cypress run",
|
|
15
|
+
"cy:update": "cypress run --env updateSnapshots=true",
|
|
15
16
|
"cy:open": "cypress open",
|
|
16
17
|
"cy:smoke": "cypress run --spec cypress/e2e/smoke.spec.js",
|
|
17
18
|
"antlr:setup": "python3 -m pip install antlr4-tools",
|
|
@@ -113,7 +114,6 @@
|
|
|
113
114
|
"browserslist": [
|
|
114
115
|
"last 2 years"
|
|
115
116
|
],
|
|
116
|
-
"packageManager": "pnpm@7.18.1",
|
|
117
117
|
"engines": {
|
|
118
118
|
"node": ">=12.0.0"
|
|
119
119
|
},
|