@manuscripts/body-editor 3.12.15 → 3.12.16

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.
@@ -433,7 +433,10 @@ const ActionTitle = styled_components_1.default.div `
433
433
  const AffiliationTabs = (0, styled_components_1.default)(style_guide_1.InspectorTabs) `
434
434
  position: relative;
435
435
  `;
436
- const AffiliationTabPanel = (0, styled_components_1.default)(style_guide_1.InspectorTabPanel).attrs({ tabIndex: -1, unmount: false }) `
436
+ const AffiliationTabPanel = (0, styled_components_1.default)(style_guide_1.InspectorTabPanel).attrs({
437
+ tabIndex: -1,
438
+ unmount: false,
439
+ }) `
437
440
  margin-top: ${(props) => props.theme.grid.unit * 4}px;
438
441
  `;
439
442
  const StyledModalBody = (0, styled_components_1.default)(style_guide_1.ModalBody) `
@@ -119,9 +119,7 @@ const AuthorDetailsForm = ({ values, onChange, onSave, actionsRef, isEmailRequir
119
119
  const hasError = (0, formik_1.getIn)(formik.touched, 'email') &&
120
120
  (0, formik_1.getIn)(formik.errors, 'email');
121
121
  return (react_1.default.createElement(react_1.default.Fragment, null,
122
- react_1.default.createElement(style_guide_1.Label, { htmlFor: "email" }, isEmailRequired
123
- ? 'Email address*'
124
- : 'Email address'),
122
+ react_1.default.createElement(style_guide_1.Label, { htmlFor: "email" }, isEmailRequired ? 'Email address*' : 'Email address'),
125
123
  react_1.default.createElement(TextFieldWithError, { id: 'email', type: "email", required: isEmailRequired, ...props.field, error: hasError }),
126
124
  hasError && (react_1.default.createElement(style_guide_1.InputErrorText, null, (0, formik_1.getIn)(formik.errors, 'email')))));
127
125
  })),
@@ -415,7 +415,10 @@ const ActionTitle = styled_components_1.default.div `
415
415
  const AuthorTabs = (0, styled_components_1.default)(style_guide_1.InspectorTabs) `
416
416
  position: relative;
417
417
  `;
418
- const AuthorTabPanel = (0, styled_components_1.default)(style_guide_1.InspectorTabPanel).attrs({ tabIndex: -1, unmount: false }) `
418
+ const AuthorTabPanel = (0, styled_components_1.default)(style_guide_1.InspectorTabPanel).attrs({
419
+ tabIndex: -1,
420
+ unmount: false,
421
+ }) `
419
422
  margin-top: ${(props) => props.theme.grid.unit * 4}px;
420
423
  `;
421
424
  const StyledSidebarContent = (0, styled_components_1.default)(style_guide_1.SidebarContent) `
@@ -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.15';
4
+ exports.VERSION = '3.12.16';
5
5
  exports.MATHJAX_VERSION = '3.2.2';
@@ -393,7 +393,10 @@ const ActionTitle = styled.div `
393
393
  const AffiliationTabs = styled(InspectorTabs) `
394
394
  position: relative;
395
395
  `;
396
- const AffiliationTabPanel = styled(InspectorTabPanel).attrs({ tabIndex: -1, unmount: false }) `
396
+ const AffiliationTabPanel = styled(InspectorTabPanel).attrs({
397
+ tabIndex: -1,
398
+ unmount: false,
399
+ }) `
397
400
  margin-top: ${(props) => props.theme.grid.unit * 4}px;
398
401
  `;
399
402
  const StyledModalBody = styled(ModalBody) `
@@ -80,9 +80,7 @@ export const AuthorDetailsForm = ({ values, onChange, onSave, actionsRef, isEmai
80
80
  const hasError = getIn(formik.touched, 'email') &&
81
81
  getIn(formik.errors, 'email');
82
82
  return (React.createElement(React.Fragment, null,
83
- React.createElement(Label, { htmlFor: "email" }, isEmailRequired
84
- ? 'Email address*'
85
- : 'Email address'),
83
+ React.createElement(Label, { htmlFor: "email" }, isEmailRequired ? 'Email address*' : 'Email address'),
86
84
  React.createElement(TextFieldWithError, { id: 'email', type: "email", required: isEmailRequired, ...props.field, error: hasError }),
87
85
  hasError && (React.createElement(InputErrorText, null, getIn(formik.errors, 'email')))));
88
86
  })),
@@ -375,7 +375,10 @@ const ActionTitle = styled.div `
375
375
  const AuthorTabs = styled(InspectorTabs) `
376
376
  position: relative;
377
377
  `;
378
- const AuthorTabPanel = styled(InspectorTabPanel).attrs({ tabIndex: -1, unmount: false }) `
378
+ const AuthorTabPanel = styled(InspectorTabPanel).attrs({
379
+ tabIndex: -1,
380
+ unmount: false,
381
+ }) `
379
382
  margin-top: ${(props) => props.theme.grid.unit * 4}px;
380
383
  `;
381
384
  const StyledSidebarContent = styled(SidebarContent) `
@@ -1,2 +1,2 @@
1
- export const VERSION = '3.12.15';
1
+ export const VERSION = '3.12.16';
2
2
  export const MATHJAX_VERSION = '3.2.2';
@@ -21,7 +21,7 @@ import { AffiliationsModal, handleDeleteAffiliation, handleSaveAffiliation, hand
21
21
  import { alertIcon } from '../icons';
22
22
  import { affiliationName, } from '../lib/authors';
23
23
  import { handleComment } from '../lib/comments';
24
- import { findChildByID, findChildrenAttrsByType, } from '../lib/view';
24
+ import { findChildByID, findChildrenAttrsByType } from '../lib/view';
25
25
  import { affiliationsKey } from '../plugins/affiliations';
26
26
  import { selectedSuggestionKey } from '../plugins/selected-suggestion';
27
27
  import BlockView from './block_view';
@@ -21,7 +21,7 @@ import { AuthorsModal, handleDeleteContributor, handleSaveContributor, } from '.
21
21
  import { authorComparator, authorLabel, } from '../lib/authors';
22
22
  import { handleComment } from '../lib/comments';
23
23
  import { createKeyboardInteraction } from '../lib/navigation-utils';
24
- import { findChildByID, findChildrenAttrsByType, } from '../lib/view';
24
+ import { findChildByID, findChildrenAttrsByType } from '../lib/view';
25
25
  import { affiliationsKey } from '../plugins/affiliations';
26
26
  import { selectedSuggestionKey } from '../plugins/selected-suggestion';
27
27
  import BlockView from './block_view';
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "3.12.15";
1
+ export declare const VERSION = "3.12.16";
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.15",
4
+ "version": "3.12.16",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-body-editor",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",