@docen/extensions 0.0.9 → 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/dist/index.d.mts CHANGED
@@ -1,8 +1,13 @@
1
- import { N as Node, E as Extensions, A as AnyExtension } from './shared/extensions.SlCx0Bmn.mjs';
2
- import { H as HeadingOptions, I as ImageOptions, P as ParagraphOptions, T as TableRowOptions } from './shared/extensions.DAZn2HEU.mjs';
3
- export { v as BackgroundColor, B as Blockquote, m as Bold, c as BulletList, o as Code, C as CodeBlockLowlight, u as Color, j as Details, l as DetailsContent, k as DetailsSummary, D as Document, E as Emoji, F as FontFamily, w as FontSize, i as HardBreak, q as Highlight, b as HorizontalRule, n as Italic, x as LineHeight, p as Link, L as ListItem, M as Mention, O as OrderedList, S as Strike, r as Subscript, s as Superscript, f as Table, g as TableCell, h as TableHeader, e as TaskItem, d as TaskList, a as Text, t as TextStyle, U as Underline } from './shared/extensions.DAZn2HEU.mjs';
4
- export { Mathematics } from '@tiptap/extension-mathematics';
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
-
68
- declare const tiptapNodeExtensions: Extensions;
69
- declare const tiptapMarkExtensions: Extensions;
74
+ declare const TableRow: _tiptap_core0.Node<_tiptap_extension_table0.TableRowOptions, any>;
75
+ //#endregion
76
+ //#region src/extensions.d.ts
77
+ declare const tiptapNodeExtensions: AnyExtension[];
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 };