@sunertech/docx 10.0.7 → 10.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.
package/README.md CHANGED
@@ -6,6 +6,9 @@
6
6
  Easily generate and modify .docx files with JS/TS. Works for Node and on the Browser.
7
7
  </p>
8
8
 
9
+ <p align="center">
10
+ This fork supports Chart
11
+ </p>
9
12
  ---
10
13
 
11
14
  [![NPM version][npm-image]][npm-url]
@@ -20,6 +23,7 @@
20
23
  <img src="https://i.imgur.com/QeL1HuU.png" alt="drawing"/>
21
24
  </p>
22
25
 
26
+
23
27
  # Demo
24
28
 
25
29
  ## Browser
package/dist/index.d.cts CHANGED
@@ -1661,7 +1661,7 @@ export declare type IPageSizeAttributes = {
1661
1661
  };
1662
1662
 
1663
1663
  export declare type IParagraphOptions = {
1664
- readonly text?: string;
1664
+ readonly text?: string | IRunOptions;
1665
1665
  readonly children?: readonly ParagraphChild[];
1666
1666
  } & IParagraphPropertiesOptions;
1667
1667
 
package/dist/index.d.ts CHANGED
@@ -1661,7 +1661,7 @@ export declare type IPageSizeAttributes = {
1661
1661
  };
1662
1662
 
1663
1663
  export declare type IParagraphOptions = {
1664
- readonly text?: string;
1664
+ readonly text?: string | IRunOptions;
1665
1665
  readonly children?: readonly ParagraphChild[];
1666
1666
  } & IParagraphPropertiesOptions;
1667
1667
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sunertech/docx",
3
- "version": "10.0.7",
3
+ "version": "10.0.8",
4
4
  "description": "Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.",
5
5
  "type": "module",
6
6
  "main": "dist/index.umd.cjs",