@manuscripts/transform 3.0.38-test1.0 → 3.0.38

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.
@@ -17,7 +17,7 @@
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
18
  exports.isEmbedNode = exports.embed = void 0;
19
19
  exports.embed = {
20
- content: "figcaption",
20
+ content: 'figcaption',
21
21
  attrs: {
22
22
  id: { default: '' },
23
23
  dataTracked: { default: null },
@@ -57,5 +57,5 @@ exports.nodeNames = new Map([
57
57
  [schema_1.schema.nodes.table_element, 'Table'],
58
58
  [schema_1.schema.nodes.blockquote_element, 'Block Quote'],
59
59
  [schema_1.schema.nodes.pullquote_element, 'Pull Quote'],
60
- [schema_1.schema.nodes.box_element, 'Box'],
60
+ [schema_1.schema.nodes.box_element, 'Boxed Text'],
61
61
  ]);
@@ -69,7 +69,7 @@ const nodeTitle = (node) => {
69
69
  case nodes.image_element:
70
70
  return '';
71
71
  case nodes.box_element:
72
- return 'boxed test1';
72
+ return '';
73
73
  default:
74
74
  return textSnippet(node);
75
75
  }
@@ -84,8 +84,6 @@ const nodeTitlePlaceholder = (nodeType) => {
84
84
  return 'Untitled Section';
85
85
  case nodes.bibliography_section:
86
86
  return 'Bibliography';
87
- case nodes.box_element:
88
- return 'boxed text2';
89
87
  default:
90
88
  return node_names_1.nodeNames.get(nodeType) || '';
91
89
  }
@@ -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.38-test1.0";
4
+ exports.VERSION = "3.0.38";
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  export const embed = {
17
- content: "figcaption",
17
+ content: 'figcaption',
18
18
  attrs: {
19
19
  id: { default: '' },
20
20
  dataTracked: { default: null },
@@ -54,5 +54,5 @@ export const nodeNames = new Map([
54
54
  [schema.nodes.table_element, 'Table'],
55
55
  [schema.nodes.blockquote_element, 'Block Quote'],
56
56
  [schema.nodes.pullquote_element, 'Pull Quote'],
57
- [schema.nodes.box_element, 'Box'],
57
+ [schema.nodes.box_element, 'Boxed Text'],
58
58
  ]);
@@ -66,7 +66,7 @@ export const nodeTitle = (node) => {
66
66
  case nodes.image_element:
67
67
  return '';
68
68
  case nodes.box_element:
69
- return 'boxed test1';
69
+ return '';
70
70
  default:
71
71
  return textSnippet(node);
72
72
  }
@@ -80,8 +80,6 @@ export const nodeTitlePlaceholder = (nodeType) => {
80
80
  return 'Untitled Section';
81
81
  case nodes.bibliography_section:
82
82
  return 'Bibliography';
83
- case nodes.box_element:
84
- return 'boxed text2';
85
83
  default:
86
84
  return nodeNames.get(nodeType) || '';
87
85
  }
@@ -1 +1 @@
1
- export const VERSION = "3.0.38-test1.0";
1
+ export const VERSION = "3.0.38";
@@ -1 +1 @@
1
- export declare const VERSION = "3.0.38-test1.0";
1
+ export declare const VERSION = "3.0.38";
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.38-test1.0",
4
+ "version": "3.0.38",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-transform",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",