@kedataindo/docflow-vue 0.0.78 → 0.0.79

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,14 @@
1
+ import type { Editor } from '@tiptap/core';
2
+ /**
3
+ * DOM element of the heading node at `pos`, or null when the node is not a
4
+ * heading / no longer exists at that position.
5
+ *
6
+ * Used by the outline (TOC sidebar) to scroll to the heading a user clicked.
7
+ * Resolving by POSITION instead of scanning heading `textContent` matters:
8
+ * inline atoms (citation-backed footnotes, citations, page-number widgets)
9
+ * render extra text into the heading DOM, so its textContent no longer equals
10
+ * the label built from the node's text — and duplicate heading texts would
11
+ * always resolve to the first occurrence.
12
+ */
13
+ export declare function headingElementAt(editor: Editor, pos: number): HTMLElement | null;
14
+ //# sourceMappingURL=headingDom.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"headingDom.d.ts","sourceRoot":"","sources":["../../src/utils/headingDom.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAE1C;;;;;;;;;;GAUG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,WAAW,GAAG,IAAI,CAUhF"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kedataindo/docflow-vue",
3
3
  "license": "UNLICENSED",
4
- "version": "0.0.78",
4
+ "version": "0.0.79",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",
@@ -24,9 +24,9 @@
24
24
  "dependencies": {
25
25
  "lucide-vue-next": "^1.0.0",
26
26
  "prosemirror-model": "^1.25.11",
27
- "@kedataindo/docflow-core": "0.0.75",
28
- "@kedataindo/docflow-layout-engine": "0.0.74",
29
- "@kedataindo/docflow-plugins": "0.0.77"
27
+ "@kedataindo/docflow-core": "0.0.76",
28
+ "@kedataindo/docflow-layout-engine": "0.0.75",
29
+ "@kedataindo/docflow-plugins": "0.0.78"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "vue": "^3.5.0"