@docen/extensions 0.0.10 → 0.0.11
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 +315 -315
- package/dist/_chunks/tiptap-x0R9GhXd.d.mts +31 -0
- package/dist/index.d.mts +23 -14
- package/dist/index.mjs +47831 -8
- package/dist/tiptap.d.mts +2 -3
- package/dist/tiptap.mjs +31 -1
- package/dist/types.d.mts +133 -333
- package/dist/types.mjs +1 -1
- package/package.json +43 -46
- package/dist/index.cjs +0 -8
- package/dist/index.d.cts +0 -72
- package/dist/index.d.ts +0 -72
- package/dist/shared/extensions.BOBBi1Z_.d.cts +0 -6606
- package/dist/shared/extensions.BOBBi1Z_.d.mts +0 -6606
- package/dist/shared/extensions.BOBBi1Z_.d.ts +0 -6606
- package/dist/shared/extensions.CAUtiZQg.cjs +0 -72
- package/dist/shared/extensions.DmJvAao6.d.cts +0 -1863
- package/dist/shared/extensions.IF9nv9tR.d.mts +0 -1863
- package/dist/shared/extensions.ITVKw7bK.d.ts +0 -1863
- package/dist/shared/extensions.ymUB12ul.mjs +0 -72
- package/dist/tiptap.cjs +0 -1
- package/dist/tiptap.d.cts +0 -3
- package/dist/tiptap.d.ts +0 -3
- package/dist/types.cjs +0 -1
- package/dist/types.d.cts +0 -385
- package/dist/types.d.ts +0 -385
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
import { N as
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { A as Superscript, B as Underline, C as ListItem, E as OrderedList, F as TaskItem, I as TaskList, L as Text, M as TableCell, N as TableHeader, O as Strike, S as Link, T as Mention, _ as Highlight, a as Code, b as Italic, c as Details, d as Document, f as Emoji, h as HardBreak, i as BulletList, j as Table, k as Subscript, l as DetailsContent, m as FontSize, n as Blockquote, o as CodeBlockLowlight, p as FontFamily, r as Bold, s as Color, t as BackgroundColor, u as DetailsSummary, v as HorizontalRule, w as Mathematics, x as LineHeight, z as TextStyle } from "./_chunks/tiptap-x0R9GhXd.mjs";
|
|
2
|
+
import * as _tiptap_extension_paragraph0 from "@tiptap/extension-paragraph";
|
|
3
|
+
import * as _tiptap_extension_heading0 from "@tiptap/extension-heading";
|
|
4
|
+
import * as _tiptap_extension_table0 from "@tiptap/extension-table";
|
|
5
|
+
import * as _tiptap_extension_image0 from "@tiptap/extension-image";
|
|
6
|
+
import { TextAlign } from "@tiptap/extension-text-align";
|
|
7
|
+
import * as _tiptap_core0 from "@tiptap/core";
|
|
8
|
+
import { AnyExtension } from "@tiptap/core";
|
|
5
9
|
|
|
10
|
+
//#region src/extends/heading.d.ts
|
|
6
11
|
/**
|
|
7
12
|
* Custom Heading extension with DOCX-compatible style attributes
|
|
8
13
|
*
|
|
@@ -15,8 +20,9 @@ export { Mathematics } from '@tiptap/extension-mathematics';
|
|
|
15
20
|
* Note: Attributes store CSS values as-is (no unit conversion).
|
|
16
21
|
* Conversion happens in export-docx/import-docx packages.
|
|
17
22
|
*/
|
|
18
|
-
declare const Heading: Node<HeadingOptions, any>;
|
|
19
|
-
|
|
23
|
+
declare const Heading: _tiptap_core0.Node<_tiptap_extension_heading0.HeadingOptions, any>;
|
|
24
|
+
//#endregion
|
|
25
|
+
//#region src/extends/image.d.ts
|
|
20
26
|
/**
|
|
21
27
|
* Custom Image extension based on @tiptap/extension-image
|
|
22
28
|
*
|
|
@@ -34,8 +40,9 @@ declare const Heading: Node<HeadingOptions, any>;
|
|
|
34
40
|
* equivalents. They're preserved in HTML for round-trip conversion but only
|
|
35
41
|
* affect DOCX export/import.
|
|
36
42
|
*/
|
|
37
|
-
declare const Image: Node<ImageOptions, any>;
|
|
38
|
-
|
|
43
|
+
declare const Image: _tiptap_core0.Node<_tiptap_extension_image0.ImageOptions, any>;
|
|
44
|
+
//#endregion
|
|
45
|
+
//#region src/extends/paragraph.d.ts
|
|
39
46
|
/**
|
|
40
47
|
* Custom Paragraph extension with DOCX-compatible style attributes
|
|
41
48
|
*
|
|
@@ -49,8 +56,9 @@ declare const Image: Node<ImageOptions, any>;
|
|
|
49
56
|
* Note: Attributes store CSS values as-is (no unit conversion).
|
|
50
57
|
* Conversion happens in export-docx/import-docx packages.
|
|
51
58
|
*/
|
|
52
|
-
declare const Paragraph: Node<ParagraphOptions, any>;
|
|
53
|
-
|
|
59
|
+
declare const Paragraph: _tiptap_core0.Node<_tiptap_extension_paragraph0.ParagraphOptions, any>;
|
|
60
|
+
//#endregion
|
|
61
|
+
//#region src/extends/table-row.d.ts
|
|
54
62
|
/**
|
|
55
63
|
* Custom TableRow extension with row height support for DOCX round-trip
|
|
56
64
|
*
|
|
@@ -63,10 +71,11 @@ declare const Paragraph: Node<ParagraphOptions, any>;
|
|
|
63
71
|
* Note: Attribute stores CSS value as-is (no unit conversion).
|
|
64
72
|
* Conversion happens in export-docx/import-docx packages.
|
|
65
73
|
*/
|
|
66
|
-
declare const TableRow: Node<TableRowOptions, any>;
|
|
67
|
-
|
|
74
|
+
declare const TableRow: _tiptap_core0.Node<_tiptap_extension_table0.TableRowOptions, any>;
|
|
75
|
+
//#endregion
|
|
76
|
+
//#region src/extensions.d.ts
|
|
68
77
|
declare const tiptapNodeExtensions: AnyExtension[];
|
|
69
78
|
declare const tiptapMarkExtensions: AnyExtension[];
|
|
70
79
|
declare const tiptapExtensions: AnyExtension[];
|
|
71
|
-
|
|
72
|
-
export { Heading, Image, Paragraph, TableRow, tiptapExtensions, tiptapMarkExtensions, tiptapNodeExtensions };
|
|
80
|
+
//#endregion
|
|
81
|
+
export { BackgroundColor, Blockquote, Bold, BulletList, Code, CodeBlockLowlight, Color, Details, DetailsContent, DetailsSummary, Document, Emoji, FontFamily, FontSize, HardBreak, Heading, Highlight, HorizontalRule, Image, Italic, LineHeight, Link, ListItem, Mathematics, Mention, OrderedList, Paragraph, Strike, Subscript, Superscript, Table, TableCell, TableHeader, TableRow, TaskItem, TaskList, Text, TextAlign, TextStyle, Underline, tiptapExtensions, tiptapMarkExtensions, tiptapNodeExtensions };
|