@datawhale/prosemirror-render 0.0.7 → 0.0.8

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.
@@ -1,2 +1,4 @@
1
- import { type AsyncComponentOptions } from 'vue';
1
+ import { type AsyncComponentOptions } from "vue";
2
+ import type { PMNode } from "@datawhale/dipwap-types/index";
2
3
  export declare const customDefineAsyncComponent: (loader: () => Promise<any>, options?: Partial<AsyncComponentOptions>) => any;
4
+ export declare function splitDocIntoMultiPagesByHeading(doc: PMNode): PMNode[];
@@ -1 +1,2 @@
1
- export { default as TreeRender } from './TreeRender.vue';
1
+ export { default as TreeRender } from "./TreeRender.vue";
2
+ export { splitDocIntoMultiPagesByHeading } from "./collections/utils";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datawhale/prosemirror-render",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.es.js",
@@ -10,7 +10,7 @@
10
10
  ],
11
11
  "scripts": {
12
12
  "build": "vite build && vue-tsc -p tsconfig.build.json",
13
- "bump": "npm version patch --no-git-tag-version"
13
+ "bump": "npm run build && npm version patch --no-git-tag-version"
14
14
  },
15
15
  "keywords": [],
16
16
  "author": "",