flow-mindmap 0.3.1 → 0.3.3

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/style.css CHANGED
@@ -1,4 +1,4 @@
1
- .zm-node-menu{position:fixed;z-index:40;min-width:168px;padding:4px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 8px 24px #0f172a24;display:flex;flex-direction:column;gap:2px;font-size:13px;color:#1e293b;-webkit-user-select:none;user-select:none}.zm-node-menu-item{display:flex;align-items:center;gap:8px;padding:6px 10px;border:none;background:transparent;color:inherit;font:inherit;text-align:left;border-radius:4px;cursor:pointer;width:100%;transition:background .1s}.zm-node-menu-item:hover:not(:disabled){background:#f1f5f9}.zm-node-menu-item:active:not(:disabled){background:#e2e8f0}.zm-node-menu-item:disabled{color:#94a3b8;cursor:not-allowed}.zm-node-menu-icon{display:inline-flex;align-items:center;justify-content:center;width:13px;height:13px;font-size:10px;font-family:JetBrains Mono,Fira Code,Consolas,monospace;font-weight:600;color:#64748b;flex-shrink:0}.zm-node-menu-icon-code{font-size:10px;letter-spacing:-1px}.zm-node-menu-icon-table{font-size:12px;font-family:inherit}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!
1
+ .zm-node-menu{position:fixed;z-index:40;min-width:168px;padding:4px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 8px 24px #0f172a24;display:flex;flex-direction:column;gap:2px;font-size:13px;color:#1e293b;-webkit-user-select:none;user-select:none}.zm-node-menu-item{display:flex;align-items:center;gap:8px;padding:6px 10px;border:none;background:transparent;color:inherit;font:inherit;text-align:left;border-radius:4px;cursor:pointer;width:100%;transition:background .1s}.zm-node-menu-item:hover:not(:disabled){background:#f1f5f9}.zm-node-menu-item:active:not(:disabled){background:#e2e8f0}.zm-node-menu-item:disabled{color:#94a3b8;cursor:not-allowed}.zm-node-menu-icon{display:inline-flex;align-items:center;justify-content:center;width:13px;height:13px;font-size:10px;font-family:JetBrains Mono,Fira Code,Consolas,monospace;font-weight:600;color:#64748b;flex-shrink:0}.zm-node-menu-icon-code{font-size:10px;letter-spacing:-1px}.zm-node-menu-icon-table{font-size:12px;font-family:inherit}.zm-canvas-menu{position:fixed;z-index:40;min-width:140px;padding:4px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 8px 24px #0f172a24;display:flex;flex-direction:column;gap:2px;font-size:13px;color:#1e293b;-webkit-user-select:none;user-select:none}.zm-canvas-menu-item{display:flex;align-items:center;gap:8px;padding:6px 10px;border:none;background:transparent;color:inherit;font:inherit;text-align:left;border-radius:4px;cursor:pointer;width:100%;transition:background .1s}.zm-canvas-menu-item:hover:not(:disabled){background:#f1f5f9}.zm-canvas-menu-item:active:not(:disabled){background:#e2e8f0}.zm-canvas-menu-item:disabled{color:#94a3b8;cursor:not-allowed}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!
2
2
  Theme: GitHub
3
3
  Description: Light theme as seen on github.com
4
4
  Author: github.com
package/package.json CHANGED
@@ -1,78 +1,78 @@
1
1
  {
2
- "name": "flow-mindmap",
3
- "version": "0.3.1",
4
- "description": "A modern, minimalist mind mapping tool xmind-style, embeddable as a Vue component.",
5
- "type": "module",
6
- "license": "Apache-2.0",
7
- "author": {
8
- "name": "xuze",
9
- "email": "569552263@qq.com"
10
- },
11
- "repository": {
12
- "type": "git",
13
- "url": "git+https://github.com/xz333221/flow-mindmap.git"
14
- },
15
- "bugs": {
16
- "url": "https://github.com/xz333221/flow-mindmap/issues"
17
- },
18
- "keywords": [
19
- "mindmap",
20
- "mind-map",
21
- "xmind",
22
- "vue",
23
- "vue3",
24
- "vite",
25
- "svg",
26
- "canvas",
27
- "tree"
28
- ],
29
- "files": [
30
- "dist",
31
- "README.md",
32
- "LICENSE"
33
- ],
34
- "main": "./dist/flow-mindmap.umd.cjs",
35
- "module": "./dist/flow-mindmap.js",
36
- "types": "./dist/entry.d.ts",
37
- "exports": {
38
- ".": {
39
- "types": "./dist/entry.d.ts",
40
- "import": "./dist/flow-mindmap.js",
41
- "require": "./dist/flow-mindmap.umd.cjs"
42
- },
43
- "./style.css": "./dist/style.css"
44
- },
45
- "scripts": {
46
- "pull": "git pull",
47
- "dev": "vite --port 7851 --strictPort",
48
- "build:types": "vue-tsc -p tsconfig.build.json",
49
- "build:lib": "vite build --mode lib",
50
- "build": "pnpm build:types && pnpm build:lib",
51
- "preview": "vite preview --port 7852",
52
- "typecheck": "vue-tsc --noEmit",
53
- "lint": "eslint . --ext .vue,.ts,.js --max-warnings 0",
54
- "test": "vitest run",
55
- "test:watch": "vitest"
56
- },
57
- "peerDependencies": {
58
- "vue": "^3.4.0"
59
- },
60
- "devDependencies": {
61
- "@types/dompurify": "^3.2.0",
62
- "@types/node": "^25.9.1",
63
- "@vitejs/plugin-vue": "^5.1.4",
64
- "@vue/test-utils": "^2.4.11",
65
- "happy-dom": "^20.10.1",
66
- "playwright": "^1.60.0",
67
- "typescript": "^5.6.3",
68
- "vite": "^5.4.10",
69
- "vitest": "3.2.4",
70
- "vue": "^3.5.12",
71
- "vue-tsc": "^2.1.10"
72
- },
73
- "dependencies": {
74
- "dompurify": "^3.4.8",
75
- "highlight.js": "^11.11.1",
76
- "marked": "^18.0.5"
77
- }
78
- }
2
+ "name": "flow-mindmap",
3
+ "version": "0.3.3",
4
+ "description": "A modern, minimalist mind mapping tool 鈥?xmind-style, embeddable as a Vue component.",
5
+ "type": "module",
6
+ "license": "Apache-2.0",
7
+ "author": {
8
+ "name": "xuze",
9
+ "email": "569552263@qq.com"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "git+https://github.com/xz333221/flow-mindmap.git"
14
+ },
15
+ "bugs": {
16
+ "url": "https://github.com/xz333221/flow-mindmap/issues"
17
+ },
18
+ "keywords": [
19
+ "mindmap",
20
+ "mind-map",
21
+ "xmind",
22
+ "vue",
23
+ "vue3",
24
+ "vite",
25
+ "svg",
26
+ "canvas",
27
+ "tree"
28
+ ],
29
+ "files": [
30
+ "dist",
31
+ "README.md",
32
+ "LICENSE"
33
+ ],
34
+ "main": "./dist/flow-mindmap.umd.cjs",
35
+ "module": "./dist/flow-mindmap.js",
36
+ "types": "./dist/entry.d.ts",
37
+ "exports": {
38
+ ".": {
39
+ "types": "./dist/entry.d.ts",
40
+ "import": "./dist/flow-mindmap.js",
41
+ "require": "./dist/flow-mindmap.umd.cjs"
42
+ },
43
+ "./style.css": "./dist/style.css"
44
+ },
45
+ "scripts": {
46
+ "pull": "git pull",
47
+ "dev": "vite --port 7851 --strictPort",
48
+ "build:types": "vue-tsc -p tsconfig.build.json",
49
+ "build:lib": "vite build --mode lib",
50
+ "build": "pnpm build:types \u0026\u0026 pnpm build:lib",
51
+ "preview": "vite preview --port 7852",
52
+ "typecheck": "vue-tsc --noEmit",
53
+ "lint": "eslint . --ext .vue,.ts,.js --max-warnings 0",
54
+ "test": "vitest run",
55
+ "test:watch": "vitest"
56
+ },
57
+ "peerDependencies": {
58
+ "vue": "^3.4.0"
59
+ },
60
+ "devDependencies": {
61
+ "@types/dompurify": "^3.2.0",
62
+ "@types/node": "^25.9.1",
63
+ "@vitejs/plugin-vue": "^5.1.4",
64
+ "@vue/test-utils": "^2.4.11",
65
+ "happy-dom": "^20.10.1",
66
+ "playwright": "^1.60.0",
67
+ "typescript": "^5.6.3",
68
+ "vite": "^5.4.10",
69
+ "vitest": "3.2.4",
70
+ "vue": "^3.5.12",
71
+ "vue-tsc": "^2.1.10"
72
+ },
73
+ "dependencies": {
74
+ "dompurify": "^3.4.8",
75
+ "highlight.js": "^11.11.1",
76
+ "marked": "^18.0.5"
77
+ }
78
+ }