@manuscripts/body-editor 1.7.1 → 1.7.2

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.
@@ -86,5 +86,6 @@ exports.default = (props, dispatch) => {
86
86
  table_element_footer: (0, table_element_footer_editable_1.default)(props),
87
87
  toc_element: (0, toc_element_editable_1.default)(props),
88
88
  comments: (0, empty_1.default)('comments'),
89
+ supplements: (0, empty_1.default)('supplements'),
89
90
  };
90
91
  };
@@ -81,5 +81,6 @@ export default (props, dispatch) => {
81
81
  table_element_footer: tableElementFooter(props),
82
82
  toc_element: tocElement(props),
83
83
  comments: empty('comments'),
84
+ supplements: empty('supplements'),
84
85
  };
85
86
  };
@@ -574,5 +574,8 @@ declare const _default: (props: EditorProps, dispatch: Dispatch) => {
574
574
  comments: () => {
575
575
  dom: HTMLDivElement;
576
576
  };
577
+ supplements: () => {
578
+ dom: HTMLDivElement;
579
+ };
577
580
  };
578
581
  export default _default;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@manuscripts/body-editor",
3
3
  "description": "Prosemirror components for editing and viewing manuscripts",
4
- "version": "1.7.1",
4
+ "version": "1.7.2",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-body-editor",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",
@@ -109,4 +109,4 @@
109
109
  "resolutions": {
110
110
  "@types/react": "^17.0.2"
111
111
  }
112
- }
112
+ }