@manuscripts/transform 4.3.5 → 4.3.6

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.
@@ -336,7 +336,7 @@ const createSupplementaryMaterialsSection = (document, body, createElement) => {
336
336
  const section = createElement('sec');
337
337
  section.setAttribute('sec-type', 'supplementary-material');
338
338
  const title = createElement('title');
339
- title.textContent = 'Supplementary Material';
339
+ title.textContent = 'Supplements';
340
340
  section.append(title);
341
341
  section.append(...suppls);
342
342
  body.append(section);
@@ -59,4 +59,5 @@ exports.nodeNames = new Map([
59
59
  [schema_1.schema.nodes.blockquote_element, 'Block Quote'],
60
60
  [schema_1.schema.nodes.pullquote_element, 'Pull Quote'],
61
61
  [schema_1.schema.nodes.box_element, 'Box'],
62
+ [schema_1.schema.nodes.supplements, 'Supplements'],
62
63
  ]);
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = "4.3.5";
4
+ exports.VERSION = "4.3.6";
@@ -319,7 +319,7 @@ export const createSupplementaryMaterialsSection = (document, body, createElemen
319
319
  const section = createElement('sec');
320
320
  section.setAttribute('sec-type', 'supplementary-material');
321
321
  const title = createElement('title');
322
- title.textContent = 'Supplementary Material';
322
+ title.textContent = 'Supplements';
323
323
  section.append(title);
324
324
  section.append(...suppls);
325
325
  body.append(section);
@@ -56,4 +56,5 @@ export const nodeNames = new Map([
56
56
  [schema.nodes.blockquote_element, 'Block Quote'],
57
57
  [schema.nodes.pullquote_element, 'Pull Quote'],
58
58
  [schema.nodes.box_element, 'Box'],
59
+ [schema.nodes.supplements, 'Supplements'],
59
60
  ]);
@@ -1 +1 @@
1
- export const VERSION = "4.3.5";
1
+ export const VERSION = "4.3.6";
@@ -1 +1 @@
1
- export declare const VERSION = "4.3.5";
1
+ export declare const VERSION = "4.3.6";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@manuscripts/transform",
3
3
  "description": "ProseMirror transformer for Manuscripts applications",
4
- "version": "4.3.5",
4
+ "version": "4.3.6",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-transform",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",