@mdzip/editor-vue 2.3.0 → 2.4.1

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/README.md CHANGED
@@ -102,7 +102,7 @@ prop (`{ navigation?, changeTraversal?, showUnchanged? }`) to opt any out.
102
102
  | `navigationMode` | `MdzipNavigationMode` | `'editor'` | Package navigation mode |
103
103
  | `navigationButtonActive` | `boolean` | `true` | Whether the navigation button is shown |
104
104
  | `inlineSvgLinks` | `boolean` | `true` | Shows archive SVGs that contain links inline, so the links can be clicked (draw.io `.drawio.svg` diagrams, for example); other SVGs stay images. Read when the view is created |
105
- | `hostFileActions` | `readonly MdzipFileAction[]` | — | The host's own items in the file tree's right-click menu on files (`{ id, label, appliesTo?, run }`), e.g. "Open in Another Editor". Read when the view is created |
105
+ | `hostFileActions` | `readonly MdzipFileAction[]` | — | The host's own items in the file tree's right-click menu on files (`{ id, label, appliesTo?, run }`), e.g. "Open in Another Editor". Also shown as buttons on the card that stands in for a `.drawio` image. Read when the view is created |
106
106
  | `markdownRenderer` | `MdzipMarkdownRenderer \| null` | `null` | Custom markdown renderer (keep the reference stable) |
107
107
  | `markdownExtensions` | `readonly MdzipMarkdownRenderExtension[]` | `[]` | Markdown pipeline extensions, diffed by `name` — inline arrays are safe |
108
108
  | `entryRenderers` | `readonly MdzipEntryRenderer[]` | `[]` | Entry renderers claiming the content area for matching entries, diffed by `id` — inline arrays are safe |
@@ -1,6 +1,6 @@
1
1
  export declare const PACKAGE_INFO: {
2
2
  readonly name: "@mdzip/editor-vue";
3
- readonly version: "2.3.0";
3
+ readonly version: "2.4.1";
4
4
  readonly repositoryUrl: "https://github.com/mdzip-project/mdzip-editor/tree/main/packages/editor-vue";
5
5
  readonly description: "Vue wrapper for the MDZip workspace editor.";
6
6
  };
@@ -1,7 +1,7 @@
1
1
  // Generated from package.json. Do not edit by hand.
2
2
  export const PACKAGE_INFO = {
3
3
  "name": "@mdzip/editor-vue",
4
- "version": "2.3.0",
4
+ "version": "2.4.1",
5
5
  "repositoryUrl": "https://github.com/mdzip-project/mdzip-editor/tree/main/packages/editor-vue",
6
6
  "description": "Vue wrapper for the MDZip workspace editor."
7
7
  };
package/package.json CHANGED
@@ -1,46 +1,46 @@
1
- {
2
- "name": "@mdzip/editor-vue",
3
- "version": "2.3.0",
4
- "description": "Vue wrapper for the MDZip workspace editor.",
5
- "license": "Apache-2.0",
6
- "repository": {
7
- "type": "git",
8
- "url": "git+https://github.com/mdzip-project/mdzip-editor.git",
9
- "directory": "packages/editor-vue"
10
- },
11
- "homepage": "https://mdzip.org",
12
- "bugs": {
13
- "url": "https://github.com/mdzip-project/mdzip-editor/issues"
14
- },
15
- "type": "module",
16
- "main": "dist/index.js",
17
- "types": "dist/index.d.ts",
18
- "exports": {
19
- ".": {
20
- "types": "./dist/index.d.ts",
21
- "import": "./dist/index.js"
22
- },
23
- "./diff-view": {
24
- "types": "./dist/diff-view.d.ts",
25
- "import": "./dist/diff-view.js"
26
- }
27
- },
28
- "files": [
29
- "dist"
30
- ],
31
- "scripts": {
32
- "generate:package-info": "node ../../scripts/generate-package-info.mjs",
33
- "prebuild": "npm run generate:package-info",
34
- "build": "tsc -p tsconfig.json",
35
- "test": "vitest run"
36
- },
37
- "dependencies": {
38
- "@mdzip/editor": "^2.3.0"
39
- },
40
- "peerDependencies": {
41
- "vue": ">=3.0.0"
42
- },
43
- "publishConfig": {
44
- "access": "public"
45
- }
46
- }
1
+ {
2
+ "name": "@mdzip/editor-vue",
3
+ "version": "2.4.1",
4
+ "description": "Vue wrapper for the MDZip workspace editor.",
5
+ "license": "Apache-2.0",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/mdzip-project/mdzip-editor.git",
9
+ "directory": "packages/editor-vue"
10
+ },
11
+ "homepage": "https://mdzip.org",
12
+ "bugs": {
13
+ "url": "https://github.com/mdzip-project/mdzip-editor/issues"
14
+ },
15
+ "type": "module",
16
+ "main": "dist/index.js",
17
+ "types": "dist/index.d.ts",
18
+ "exports": {
19
+ ".": {
20
+ "types": "./dist/index.d.ts",
21
+ "import": "./dist/index.js"
22
+ },
23
+ "./diff-view": {
24
+ "types": "./dist/diff-view.d.ts",
25
+ "import": "./dist/diff-view.js"
26
+ }
27
+ },
28
+ "files": [
29
+ "dist"
30
+ ],
31
+ "scripts": {
32
+ "generate:package-info": "node ../../scripts/generate-package-info.mjs",
33
+ "prebuild": "npm run generate:package-info",
34
+ "build": "tsc -p tsconfig.json",
35
+ "test": "vitest run"
36
+ },
37
+ "dependencies": {
38
+ "@mdzip/editor": "^2.4.1"
39
+ },
40
+ "peerDependencies": {
41
+ "vue": ">=3.0.0"
42
+ },
43
+ "publishConfig": {
44
+ "access": "public"
45
+ }
46
+ }