@manuscripts/body-editor 3.12.62 → 3.12.63

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.
@@ -91,7 +91,7 @@ const AffiliationForm = ({ values, onSave, onChange, actionsRef, newEntity = fal
91
91
  react_1.default.createElement(style_guide_1.FormRow, null,
92
92
  react_1.default.createElement(formik_1.Field, { name: "department", type: "textarea" }, (props) => (react_1.default.createElement(react_1.default.Fragment, null,
93
93
  react_1.default.createElement(UnsavedLabel_1.UnsavedLabel, { htmlFor: "department", showDot: showUnsavedDot('department') }, "Department"),
94
- react_1.default.createElement(style_guide_1.TextField, { id: "department", ...props.field, as: "textarea" }))))),
94
+ react_1.default.createElement(style_guide_1.TextField, { id: "department", ...props.field }))))),
95
95
  react_1.default.createElement(style_guide_1.FormRow, null,
96
96
  react_1.default.createElement(formik_1.Field, { name: "addressLine1" }, (props) => (react_1.default.createElement(react_1.default.Fragment, null,
97
97
  react_1.default.createElement(UnsavedLabel_1.UnsavedLabel, { htmlFor: "addressLine1", showDot: showUnsavedDot('addressLine1') }, "Street Address"),
@@ -431,6 +431,7 @@ const AddAffiliationButton = styled_components_1.default.button `
431
431
  &[data-active='true'] {
432
432
  background: ${(props) => props.theme.colors.background.fifth};
433
433
  border: 1px solid ${(props) => props.theme.colors.border.primary};
434
+ padding: 11px 8px 11px 12px;
434
435
  border-left: 0;
435
436
  border-right: 0;
436
437
  }
@@ -13,10 +13,10 @@ function affiliationSecondaryLine(item) {
13
13
  }
14
14
  const AffiliationsPanel = ({ items, selectedItems = [], onSelect, onOpenAffiliationsModal, }) => {
15
15
  const selectedIds = (0, GenericPanel_1.useListSelectedIds)(selectedItems);
16
- return (react_1.default.createElement(GenericPanel_1.GenericPanel, { title: "Institutional Affiliations", createLabel: "Create New Affiliation", onCreate: onOpenAffiliationsModal, createDataCy: "add-affiliations-link", emptyDataCy: "affiliations-panel-empty", isEmpty: items.length === 0, emptyIcon: react_1.default.createElement(style_guide_1.InfoCircleIcon, null), emptyMessage: react_1.default.createElement(react_1.default.Fragment, null,
16
+ return (react_1.default.createElement(GenericPanel_1.GenericPanel, { createLabel: "New Affiliation", onCreate: onOpenAffiliationsModal, createDataCy: "add-affiliations-link", emptyDataCy: "affiliations-panel-empty", isEmpty: items.length === 0, emptyIcon: react_1.default.createElement(style_guide_1.InfoCircleIcon, null), emptyMessage: react_1.default.createElement(react_1.default.Fragment, null,
17
17
  "There are no affiliations attributed yet!",
18
18
  react_1.default.createElement("br", null),
19
- "Click \u2018Create New Affiliation\u2019") },
19
+ "Click \u2018+ New Affiliation\u2019") },
20
20
  react_1.default.createElement(GenericPanel_1.ListItems, { "data-cy": "affiliations-panel" }, items.map((item) => (react_1.default.createElement(GenericPanel_1.ListItem, { key: item.id, selected: selectedIds.has(item.id), onClick: () => onSelect(item.id), primary: item.institution, secondary: affiliationSecondaryLine(item) }))))));
21
21
  };
22
22
  exports.AffiliationsPanel = AffiliationsPanel;
@@ -89,8 +89,8 @@ const CreateAffiliationModal = ({ affiliationsCount, onSave, onClose, }) => {
89
89
  react_1.default.createElement(style_guide_1.CloseButton, { onClick: () => setIsOpen(false), "data-cy": "modal-close-button" })),
90
90
  react_1.default.createElement(CreateModalStyles_1.StyledModalBody, null,
91
91
  react_1.default.createElement(CreateModalStyles_1.StyledScrollableModalContent, null,
92
- react_1.default.createElement(CreateModalStyles_1.FormTitle, null, "Create New Affiliation"),
92
+ react_1.default.createElement(CreateModalStyles_1.FormTitle, null, "Create Affiliation"),
93
93
  react_1.default.createElement(AffiliationForm_1.AffiliationForm, { values: (0, normalize_1.checkID)(selection, 'affiliation'), onSave: handleSave, onChange: handleChange, actionsRef: actionsRef, newEntity: true, onAffiliationErrorChange: setHasError }))),
94
- react_1.default.createElement(FormFooter_1.default, { onCancel: () => setIsOpen(false), primaryAction: react_1.default.createElement(ModalFormActions_1.ModalFormSaveButton, { form: "affiliation-form", isDisableSave: isDisableSave || hasError, label: "Create New Affiliation", onSubmitForm: () => actionsRef.current?.submitForm?.() }) }))));
94
+ react_1.default.createElement(FormFooter_1.default, { onCancel: () => setIsOpen(false), primaryAction: react_1.default.createElement(ModalFormActions_1.ModalFormSaveButton, { form: "affiliation-form", isDisableSave: isDisableSave || hasError, label: "New Affiliation", onSubmitForm: () => actionsRef.current?.submitForm?.() }) }))));
95
95
  };
96
96
  exports.CreateAffiliationModal = CreateAffiliationModal;
@@ -176,7 +176,7 @@ const AuthorDetailsForm = ({ values, onChange, onSave, actionsRef, isEmailRequir
176
176
  })),
177
177
  react_1.default.createElement(style_guide_1.FormRow, null,
178
178
  react_1.default.createElement(formik_1.Field, { name: 'role' }, (props) => (react_1.default.createElement(react_1.default.Fragment, null,
179
- react_1.default.createElement(UnsavedLabel_1.UnsavedLabel, { htmlFor: "role", showDot: showUnsavedDot('role') }, "Job Title"),
179
+ react_1.default.createElement(UnsavedLabel_1.UnsavedLabel, { htmlFor: "role", showDot: showUnsavedDot('role') }, "Job title"),
180
180
  react_1.default.createElement(style_guide_1.TextField, { id: 'role', ...props.field }))))),
181
181
  react_1.default.createElement(style_guide_1.FormRow, null,
182
182
  react_1.default.createElement(formik_1.Field, { name: 'ORCID', type: 'text' }, (props) => {
@@ -368,7 +368,6 @@ const AuthorsModal = ({ authors: $authors, affiliations: $affiliations, author,
368
368
  onOpenAffiliationsModal && (react_1.default.createElement(AuthorTabPanel, null,
369
369
  react_1.default.createElement(AffiliationsPanel_1.AffiliationsPanel, { items: affiliations, selectedItems: selectedAffiliations, onSelect: selectAffiliation, onOpenAffiliationsModal: onOpenAffiliationsModal }))),
370
370
  react_1.default.createElement(AuthorTabPanel, null,
371
- react_1.default.createElement(style_guide_1.FormSubtitle, null, "Contributions (CRediT)"),
372
371
  react_1.default.createElement(ContributionsDescriptionSubtitle, null, "Select the roles this author contributed to according to the CRediT taxonomy"),
373
372
  react_1.default.createElement(CreditDrawer_1.CreditContributionsCheckboxes, { items: vocabTermItems, selectedItems: selectedCreditRoles.map((r) => ({
374
373
  id: r.vocabTerm,
@@ -420,6 +419,7 @@ const AddAuthorButton = styled_components_1.default.button `
420
419
  &[data-active='true'] {
421
420
  background: ${(props) => props.theme.colors.background.fifth};
422
421
  border: 1px solid ${(props) => props.theme.colors.border.primary};
422
+ padding: 11px 8px 11px 12px;
423
423
  border-left: 0;
424
424
  border-right: 0;
425
425
  }
@@ -9,10 +9,10 @@ const react_1 = __importDefault(require("react"));
9
9
  const GenericPanel_1 = require("../authors-affiliations/GenericPanel");
10
10
  const AuthorsPanel = ({ items, selectedItems = [], onSelect, openAuthorsModal, }) => {
11
11
  const selectedIds = (0, GenericPanel_1.useListSelectedIds)(selectedItems);
12
- return (react_1.default.createElement(GenericPanel_1.GenericPanel, { title: "Authors", createLabel: "Add New Author", onCreate: openAuthorsModal, createDataCy: "add-authors-link", emptyDataCy: "authors-panel-empty", isEmpty: items.length === 0, emptyIcon: react_1.default.createElement(style_guide_1.InfoCircleIcon, null), emptyMessage: react_1.default.createElement(react_1.default.Fragment, null,
12
+ return (react_1.default.createElement(GenericPanel_1.GenericPanel, { createLabel: "New Author", onCreate: openAuthorsModal, createDataCy: "add-authors-link", emptyDataCy: "authors-panel-empty", isEmpty: items.length === 0, emptyIcon: react_1.default.createElement(style_guide_1.InfoCircleIcon, null), emptyMessage: react_1.default.createElement(react_1.default.Fragment, null,
13
13
  "There are no authors attributed yet!",
14
14
  react_1.default.createElement("br", null),
15
- "Click \u2018Add New Author\u2019") },
15
+ "Click \u2018+ New Author\u2019") },
16
16
  react_1.default.createElement(GenericPanel_1.ListItems, { "data-cy": "authors-panel" }, items.map((item) => (react_1.default.createElement(GenericPanel_1.ListItem, { key: item.id, selected: selectedIds.has(item.id), onClick: () => onSelect(item.id), primary: item.label }))))));
17
17
  };
18
18
  exports.AuthorsPanel = AuthorsPanel;
@@ -94,9 +94,9 @@ const CreateAuthorModal = ({ authorsCount, affiliations: $affiliations, onSave,
94
94
  react_1.default.createElement(style_guide_1.CloseButton, { onClick: () => setIsOpen(false), "data-cy": "modal-close-button" })),
95
95
  react_1.default.createElement(CreateModalStyles_1.StyledModalBody, null,
96
96
  react_1.default.createElement(CreateModalStyles_1.StyledScrollableModalContent, null,
97
- react_1.default.createElement(CreateModalStyles_1.FormTitle, null, "Create New Author"),
97
+ react_1.default.createElement(CreateModalStyles_1.FormTitle, null, "Create Author"),
98
98
  react_1.default.createElement(AuthorDetailsForm_1.AuthorDetailsForm, { values: (0, normalize_1.normalizeAuthor)(selection), onChange: handleChange, onSave: handleSave, actionsRef: actionsRef, isEmailRequired: isEmailRequired, selectedAffiliations: selectedAffiliations.map((a) => a.id), authorFormRef: authorFormRef, selectedCreditRoles: selectedCreditRoles, newEntity: true, onAuthorDetailsTabErrorChange: setHasError }))),
99
- react_1.default.createElement(FormFooter_1.default, { onCancel: () => setIsOpen(false), primaryAction: react_1.default.createElement(ModalFormActions_1.ModalFormSaveButton, { form: "author-details-form", isDisableSave: isDisableSave || hasError, label: "Create New Author", onSubmitForm: () => actionsRef.current?.submitForm?.() }) }))));
99
+ react_1.default.createElement(FormFooter_1.default, { onCancel: () => setIsOpen(false), primaryAction: react_1.default.createElement(ModalFormActions_1.ModalFormSaveButton, { form: "author-details-form", isDisableSave: isDisableSave || hasError, label: "New Author", onSubmitForm: () => actionsRef.current?.submitForm?.() }) }))));
100
100
  };
101
101
  exports.CreateAuthorModal = CreateAuthorModal;
102
102
  function createEmptyAuthor(priority) {
@@ -67,13 +67,6 @@ const PanelHeader = styled_components_1.default.div `
67
67
  padding: ${(props) => props.theme.grid.unit * 2}px
68
68
  ${(props) => props.theme.grid.unit * 4}px;
69
69
  `;
70
- const PanelTitle = styled_components_1.default.span `
71
- font-family: ${(props) => props.theme.font.family.sans};
72
- font-size: 18px;
73
- line-height: 24px;
74
- letter-spacing: -0.37px;
75
- color: ${(props) => props.theme.colors.text.secondary};
76
- `;
77
70
  const PanelCreateButton = (0, styled_components_1.default)(style_guide_1.IconButton) `
78
71
  color: #0d79d0;
79
72
  font-size: 14px;
@@ -115,9 +108,8 @@ const PanelEmptyText = styled_components_1.default.p `
115
108
  text-align: center;
116
109
  letter-spacing: -0.369px;
117
110
  `;
118
- const GenericPanel = ({ title, createLabel, onCreate, createDataCy, emptyDataCy, isEmpty, emptyIcon, emptyMessage, children, }) => (react_1.default.createElement(Panel, null,
111
+ const GenericPanel = ({ createLabel, onCreate, createDataCy, emptyDataCy, isEmpty, emptyIcon, emptyMessage, children, }) => (react_1.default.createElement(Panel, null,
119
112
  react_1.default.createElement(PanelHeader, null,
120
- react_1.default.createElement(PanelTitle, null, title),
121
113
  react_1.default.createElement(PanelCreateButton, { onClick: onCreate, "data-cy": createDataCy },
122
114
  react_1.default.createElement(style_guide_1.PlusIcon, null),
123
115
  createLabel)),
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MATHJAX_VERSION = exports.VERSION = void 0;
4
- exports.VERSION = '3.12.62';
4
+ exports.VERSION = '3.12.63';
5
5
  exports.MATHJAX_VERSION = '3.2.2';
@@ -51,7 +51,7 @@ export const AffiliationForm = ({ values, onSave, onChange, actionsRef, newEntit
51
51
  React.createElement(FormRow, null,
52
52
  React.createElement(Field, { name: "department", type: "textarea" }, (props) => (React.createElement(React.Fragment, null,
53
53
  React.createElement(UnsavedLabel, { htmlFor: "department", showDot: showUnsavedDot('department') }, "Department"),
54
- React.createElement(TextField, { id: "department", ...props.field, as: "textarea" }))))),
54
+ React.createElement(TextField, { id: "department", ...props.field }))))),
55
55
  React.createElement(FormRow, null,
56
56
  React.createElement(Field, { name: "addressLine1" }, (props) => (React.createElement(React.Fragment, null,
57
57
  React.createElement(UnsavedLabel, { htmlFor: "addressLine1", showDot: showUnsavedDot('addressLine1') }, "Street Address"),
@@ -391,6 +391,7 @@ const AddAffiliationButton = styled.button `
391
391
  &[data-active='true'] {
392
392
  background: ${(props) => props.theme.colors.background.fifth};
393
393
  border: 1px solid ${(props) => props.theme.colors.border.primary};
394
+ padding: 11px 8px 11px 12px;
394
395
  border-left: 0;
395
396
  border-right: 0;
396
397
  }
@@ -7,9 +7,9 @@ function affiliationSecondaryLine(item) {
7
7
  }
8
8
  export const AffiliationsPanel = ({ items, selectedItems = [], onSelect, onOpenAffiliationsModal, }) => {
9
9
  const selectedIds = useListSelectedIds(selectedItems);
10
- return (React.createElement(GenericPanel, { title: "Institutional Affiliations", createLabel: "Create New Affiliation", onCreate: onOpenAffiliationsModal, createDataCy: "add-affiliations-link", emptyDataCy: "affiliations-panel-empty", isEmpty: items.length === 0, emptyIcon: React.createElement(InfoCircleIcon, null), emptyMessage: React.createElement(React.Fragment, null,
10
+ return (React.createElement(GenericPanel, { createLabel: "New Affiliation", onCreate: onOpenAffiliationsModal, createDataCy: "add-affiliations-link", emptyDataCy: "affiliations-panel-empty", isEmpty: items.length === 0, emptyIcon: React.createElement(InfoCircleIcon, null), emptyMessage: React.createElement(React.Fragment, null,
11
11
  "There are no affiliations attributed yet!",
12
12
  React.createElement("br", null),
13
- "Click \u2018Create New Affiliation\u2019") },
13
+ "Click \u2018+ New Affiliation\u2019") },
14
14
  React.createElement(ListItems, { "data-cy": "affiliations-panel" }, items.map((item) => (React.createElement(ListItem, { key: item.id, selected: selectedIds.has(item.id), onClick: () => onSelect(item.id), primary: item.institution, secondary: affiliationSecondaryLine(item) }))))));
15
15
  };
@@ -50,7 +50,7 @@ export const CreateAffiliationModal = ({ affiliationsCount, onSave, onClose, })
50
50
  React.createElement(CloseButton, { onClick: () => setIsOpen(false), "data-cy": "modal-close-button" })),
51
51
  React.createElement(StyledModalBody, null,
52
52
  React.createElement(StyledScrollableModalContent, null,
53
- React.createElement(FormTitle, null, "Create New Affiliation"),
53
+ React.createElement(FormTitle, null, "Create Affiliation"),
54
54
  React.createElement(AffiliationForm, { values: checkID(selection, 'affiliation'), onSave: handleSave, onChange: handleChange, actionsRef: actionsRef, newEntity: true, onAffiliationErrorChange: setHasError }))),
55
- React.createElement(FormFooter, { onCancel: () => setIsOpen(false), primaryAction: React.createElement(ModalFormSaveButton, { form: "affiliation-form", isDisableSave: isDisableSave || hasError, label: "Create New Affiliation", onSubmitForm: () => actionsRef.current?.submitForm?.() }) }))));
55
+ React.createElement(FormFooter, { onCancel: () => setIsOpen(false), primaryAction: React.createElement(ModalFormSaveButton, { form: "affiliation-form", isDisableSave: isDisableSave || hasError, label: "New Affiliation", onSubmitForm: () => actionsRef.current?.submitForm?.() }) }))));
56
56
  };
@@ -136,7 +136,7 @@ export const AuthorDetailsForm = ({ values, onChange, onSave, actionsRef, isEmai
136
136
  })),
137
137
  React.createElement(FormRow, null,
138
138
  React.createElement(Field, { name: 'role' }, (props) => (React.createElement(React.Fragment, null,
139
- React.createElement(UnsavedLabel, { htmlFor: "role", showDot: showUnsavedDot('role') }, "Job Title"),
139
+ React.createElement(UnsavedLabel, { htmlFor: "role", showDot: showUnsavedDot('role') }, "Job title"),
140
140
  React.createElement(TextField, { id: 'role', ...props.field }))))),
141
141
  React.createElement(FormRow, null,
142
142
  React.createElement(Field, { name: 'ORCID', type: 'text' }, (props) => {
@@ -329,7 +329,6 @@ export const AuthorsModal = ({ authors: $authors, affiliations: $affiliations, a
329
329
  onOpenAffiliationsModal && (React.createElement(AuthorTabPanel, null,
330
330
  React.createElement(AffiliationsPanel, { items: affiliations, selectedItems: selectedAffiliations, onSelect: selectAffiliation, onOpenAffiliationsModal: onOpenAffiliationsModal }))),
331
331
  React.createElement(AuthorTabPanel, null,
332
- React.createElement(FormSubtitle, null, "Contributions (CRediT)"),
333
332
  React.createElement(ContributionsDescriptionSubtitle, null, "Select the roles this author contributed to according to the CRediT taxonomy"),
334
333
  React.createElement(CreditContributionsCheckboxes, { items: vocabTermItems, selectedItems: selectedCreditRoles.map((r) => ({
335
334
  id: r.vocabTerm,
@@ -380,6 +379,7 @@ const AddAuthorButton = styled.button `
380
379
  &[data-active='true'] {
381
380
  background: ${(props) => props.theme.colors.background.fifth};
382
381
  border: 1px solid ${(props) => props.theme.colors.border.primary};
382
+ padding: 11px 8px 11px 12px;
383
383
  border-left: 0;
384
384
  border-right: 0;
385
385
  }
@@ -3,9 +3,9 @@ import React from 'react';
3
3
  import { GenericPanel, ListItem, ListItems, useListSelectedIds, } from '../authors-affiliations/GenericPanel';
4
4
  export const AuthorsPanel = ({ items, selectedItems = [], onSelect, openAuthorsModal, }) => {
5
5
  const selectedIds = useListSelectedIds(selectedItems);
6
- return (React.createElement(GenericPanel, { title: "Authors", createLabel: "Add New Author", onCreate: openAuthorsModal, createDataCy: "add-authors-link", emptyDataCy: "authors-panel-empty", isEmpty: items.length === 0, emptyIcon: React.createElement(InfoCircleIcon, null), emptyMessage: React.createElement(React.Fragment, null,
6
+ return (React.createElement(GenericPanel, { createLabel: "New Author", onCreate: openAuthorsModal, createDataCy: "add-authors-link", emptyDataCy: "authors-panel-empty", isEmpty: items.length === 0, emptyIcon: React.createElement(InfoCircleIcon, null), emptyMessage: React.createElement(React.Fragment, null,
7
7
  "There are no authors attributed yet!",
8
8
  React.createElement("br", null),
9
- "Click \u2018Add New Author\u2019") },
9
+ "Click \u2018+ New Author\u2019") },
10
10
  React.createElement(ListItems, { "data-cy": "authors-panel" }, items.map((item) => (React.createElement(ListItem, { key: item.id, selected: selectedIds.has(item.id), onClick: () => onSelect(item.id), primary: item.label }))))));
11
11
  };
@@ -55,9 +55,9 @@ export const CreateAuthorModal = ({ authorsCount, affiliations: $affiliations, o
55
55
  React.createElement(CloseButton, { onClick: () => setIsOpen(false), "data-cy": "modal-close-button" })),
56
56
  React.createElement(StyledModalBody, null,
57
57
  React.createElement(StyledScrollableModalContent, null,
58
- React.createElement(FormTitle, null, "Create New Author"),
58
+ React.createElement(FormTitle, null, "Create Author"),
59
59
  React.createElement(AuthorDetailsForm, { values: normalizeAuthor(selection), onChange: handleChange, onSave: handleSave, actionsRef: actionsRef, isEmailRequired: isEmailRequired, selectedAffiliations: selectedAffiliations.map((a) => a.id), authorFormRef: authorFormRef, selectedCreditRoles: selectedCreditRoles, newEntity: true, onAuthorDetailsTabErrorChange: setHasError }))),
60
- React.createElement(FormFooter, { onCancel: () => setIsOpen(false), primaryAction: React.createElement(ModalFormSaveButton, { form: "author-details-form", isDisableSave: isDisableSave || hasError, label: "Create New Author", onSubmitForm: () => actionsRef.current?.submitForm?.() }) }))));
60
+ React.createElement(FormFooter, { onCancel: () => setIsOpen(false), primaryAction: React.createElement(ModalFormSaveButton, { form: "author-details-form", isDisableSave: isDisableSave || hasError, label: "New Author", onSubmitForm: () => actionsRef.current?.submitForm?.() }) }))));
61
61
  };
62
62
  function createEmptyAuthor(priority) {
63
63
  return {
@@ -27,13 +27,6 @@ const PanelHeader = styled.div `
27
27
  padding: ${(props) => props.theme.grid.unit * 2}px
28
28
  ${(props) => props.theme.grid.unit * 4}px;
29
29
  `;
30
- const PanelTitle = styled.span `
31
- font-family: ${(props) => props.theme.font.family.sans};
32
- font-size: 18px;
33
- line-height: 24px;
34
- letter-spacing: -0.37px;
35
- color: ${(props) => props.theme.colors.text.secondary};
36
- `;
37
30
  const PanelCreateButton = styled(IconButton) `
38
31
  color: #0d79d0;
39
32
  font-size: 14px;
@@ -75,9 +68,8 @@ const PanelEmptyText = styled.p `
75
68
  text-align: center;
76
69
  letter-spacing: -0.369px;
77
70
  `;
78
- export const GenericPanel = ({ title, createLabel, onCreate, createDataCy, emptyDataCy, isEmpty, emptyIcon, emptyMessage, children, }) => (React.createElement(Panel, null,
71
+ export const GenericPanel = ({ createLabel, onCreate, createDataCy, emptyDataCy, isEmpty, emptyIcon, emptyMessage, children, }) => (React.createElement(Panel, null,
79
72
  React.createElement(PanelHeader, null,
80
- React.createElement(PanelTitle, null, title),
81
73
  React.createElement(PanelCreateButton, { onClick: onCreate, "data-cy": createDataCy },
82
74
  React.createElement(PlusIcon, null),
83
75
  createLabel)),
@@ -1,2 +1,2 @@
1
- export const VERSION = '3.12.62';
1
+ export const VERSION = '3.12.63';
2
2
  export const MATHJAX_VERSION = '3.2.2';
@@ -25,7 +25,6 @@ export declare const ListItems: import("styled-components").StyledComponent<Reac
25
25
  forwardedAs?: string | React.ComponentType<any> | undefined;
26
26
  }, "ref"> & React.RefAttributes<HTMLElement>>, import("styled-components").DefaultTheme, {}, never>;
27
27
  export interface GenericPanelProps {
28
- title: string;
29
28
  createLabel: string;
30
29
  onCreate: () => void;
31
30
  createDataCy: string;
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "3.12.62";
1
+ export declare const VERSION = "3.12.63";
2
2
  export declare const MATHJAX_VERSION = "3.2.2";
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": "3.12.62",
4
+ "version": "3.12.63",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-body-editor",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",
@@ -40,8 +40,8 @@
40
40
  "@citation-js/plugin-pubmed": "0.3.0",
41
41
  "@citation-js/plugin-ris": "0.7.18",
42
42
  "@iarna/word-count": "1.1.2",
43
- "@manuscripts/style-guide": "3.5.30",
44
- "@manuscripts/track-changes-plugin": "2.3.15",
43
+ "@manuscripts/style-guide": "3.5.31",
44
+ "@manuscripts/track-changes-plugin": "2.3.16",
45
45
  "@manuscripts/transform": "4.3.51",
46
46
  "@popperjs/core": "2.11.8",
47
47
  "citeproc": "2.4.63",