datastake-daf 0.6.477 → 0.6.478

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.
@@ -13155,9 +13155,11 @@ const renderElement = item => {
13155
13155
  }));
13156
13156
  } else {
13157
13157
  sectionChildren.push(new docx__namespace.Paragraph({
13158
- text: data.title,
13159
- bold: true,
13160
- size: 24,
13158
+ children: [new docx__namespace.TextRun({
13159
+ text: data.title,
13160
+ bold: true,
13161
+ size: 24
13162
+ })],
13161
13163
  spacing: {
13162
13164
  after: 100
13163
13165
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datastake-daf",
3
- "version": "0.6.477",
3
+ "version": "0.6.478",
4
4
  "dependencies": {
5
5
  "@ant-design/icons": "^5.2.5",
6
6
  "@antv/g2": "^5.1.1",
@@ -399,9 +399,13 @@ const renderElement = (item) => {
399
399
  } else {
400
400
  sectionChildren.push(
401
401
  new docx.Paragraph({
402
- text: data.title,
403
- bold: true,
404
- size: 24,
402
+ children: [
403
+ new docx.TextRun({
404
+ text: data.title,
405
+ bold: true,
406
+ size: 24
407
+ })
408
+ ],
405
409
  spacing: { after: 100 }
406
410
  })
407
411
  );