@manuscripts/transform 3.0.36 → 3.0.37

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.
@@ -25,6 +25,7 @@ const labelledNodeTypes = [
25
25
  schema_1.schema.nodes.listing_element,
26
26
  schema_1.schema.nodes.box_element,
27
27
  schema_1.schema.nodes.embed,
28
+ schema_1.schema.nodes.image_element,
28
29
  ];
29
30
  const excludedTypes = [schema_1.schema.nodes.graphical_abstract_section];
30
31
  const chooseLabel = (nodeType) => {
@@ -30,6 +30,7 @@ exports.nodeNames = new Map([
30
30
  [schema_1.schema.nodes.cross_reference, 'Cross Reference'],
31
31
  [schema_1.schema.nodes.equation_element, 'Equation'],
32
32
  [schema_1.schema.nodes.figure_element, 'Figure'],
33
+ [schema_1.schema.nodes.image_element, 'Image'],
33
34
  [schema_1.schema.nodes.table_element, 'Table'],
34
35
  [schema_1.schema.nodes.table_cell, 'Table Cell'],
35
36
  [schema_1.schema.nodes.table_col, 'Table Column'],
@@ -66,6 +66,7 @@ const nodeTitle = (node) => {
66
66
  case nodes.equation_element:
67
67
  case nodes.listing_element:
68
68
  case nodes.multi_graphic_figure_element:
69
+ case nodes.image_element:
69
70
  return '';
70
71
  default:
71
72
  return textSnippet(node);
@@ -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 = "3.0.36";
4
+ exports.VERSION = "3.0.37";
@@ -22,6 +22,7 @@ const labelledNodeTypes = [
22
22
  schema.nodes.listing_element,
23
23
  schema.nodes.box_element,
24
24
  schema.nodes.embed,
25
+ schema.nodes.image_element,
25
26
  ];
26
27
  const excludedTypes = [schema.nodes.graphical_abstract_section];
27
28
  const chooseLabel = (nodeType) => {
@@ -27,6 +27,7 @@ export const nodeNames = new Map([
27
27
  [schema.nodes.cross_reference, 'Cross Reference'],
28
28
  [schema.nodes.equation_element, 'Equation'],
29
29
  [schema.nodes.figure_element, 'Figure'],
30
+ [schema.nodes.image_element, 'Image'],
30
31
  [schema.nodes.table_element, 'Table'],
31
32
  [schema.nodes.table_cell, 'Table Cell'],
32
33
  [schema.nodes.table_col, 'Table Column'],
@@ -63,6 +63,7 @@ export const nodeTitle = (node) => {
63
63
  case nodes.equation_element:
64
64
  case nodes.listing_element:
65
65
  case nodes.multi_graphic_figure_element:
66
+ case nodes.image_element:
66
67
  return '';
67
68
  default:
68
69
  return textSnippet(node);
@@ -1 +1 @@
1
- export const VERSION = "3.0.36";
1
+ export const VERSION = "3.0.37";
@@ -1 +1 @@
1
- export declare const VERSION = "3.0.36";
1
+ export declare const VERSION = "3.0.37";
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": "3.0.36",
4
+ "version": "3.0.37",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-transform",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",