@cocoar/vue-markdown-editor 2.6.0 → 2.8.0

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.
@@ -0,0 +1,6 @@
1
+ type __VLS_Props = {
2
+ source: string;
3
+ };
4
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
5
+ export default _default;
6
+ //# sourceMappingURL=PlaceholderOverlay.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PlaceholderOverlay.vue.d.ts","sourceRoot":"","sources":["../../src/placeholder/PlaceholderOverlay.vue"],"names":[],"mappings":"AAmDA,KAAK,WAAW,GAAG;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;;AAwDtC,wBAOG"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Public surface for the empty-state placeholder.
3
+ *
4
+ * The placeholder is a muted overlay of the shared `@cocoar/vue-markdown`
5
+ * viewer — see `PlaceholderOverlay.vue` for the why. The editor renders it
6
+ * over the writing area while the document is empty; it never becomes
7
+ * document content, so an untouched editor still emits an empty string.
8
+ */
9
+ export { default as PlaceholderOverlay } from './PlaceholderOverlay.vue';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/placeholder/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocoar/vue-markdown-editor",
3
- "version": "2.6.0",
3
+ "version": "2.8.0",
4
4
  "description": "WYSIWYG Markdown editor for Vue 3 based on Milkdown, with Cocoar Design System styling",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -43,9 +43,9 @@
43
43
  "typecheck": "vue-tsc --noEmit"
44
44
  },
45
45
  "peerDependencies": {
46
- "@cocoar/vue-markdown": "2.6.0",
47
- "@cocoar/vue-markdown-core": "2.6.0",
48
- "@cocoar/vue-ui": "2.6.0",
46
+ "@cocoar/vue-markdown": "2.8.0",
47
+ "@cocoar/vue-markdown-core": "2.8.0",
48
+ "@cocoar/vue-ui": "2.8.0",
49
49
  "vue": "^3.5.0"
50
50
  },
51
51
  "dependencies": {
@@ -58,6 +58,7 @@
58
58
  "@milkdown/plugin-listener": "^7.20.0",
59
59
  "@milkdown/preset-commonmark": "^7.20.0",
60
60
  "@milkdown/preset-gfm": "^7.20.0",
61
+ "remark-frontmatter": "^5.0.0",
61
62
  "@milkdown/prose": "^7.20.0",
62
63
  "@milkdown/utils": "^7.20.0",
63
64
  "@milkdown/vue": "^7.20.0"