@manuscripts/body-editor 3.20.0 → 3.20.1
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.
- package/dist/cjs/components/authors/DraggableAuthor.js +2 -1
- package/dist/cjs/versions.js +1 -1
- package/dist/es/components/authors/DraggableAuthor.js +2 -1
- package/dist/es/versions.js +1 -1
- package/dist/types/versions.d.ts +1 -1
- package/package.json +2 -2
- package/src/components/authors/DraggableAuthor.tsx +1 -1
- package/src/versions.ts +1 -1
|
@@ -53,6 +53,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
53
53
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
54
54
|
exports.DraggableAuthor = void 0;
|
|
55
55
|
const style_guide_1 = require("@manuscripts/style-guide");
|
|
56
|
+
const mui_1 = require("@manuscripts/style-guide/mui");
|
|
56
57
|
const react_1 = __importStar(require("react"));
|
|
57
58
|
const react_dnd_1 = require("react-dnd");
|
|
58
59
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
@@ -192,7 +193,7 @@ exports.DraggableAuthor = react_1.default.memo(({ author, isSelected, onClick, o
|
|
|
192
193
|
isSelected && react_1.default.createElement(DragHandle, null),
|
|
193
194
|
react_1.default.createElement(Box, null,
|
|
194
195
|
showSuccessIcon && react_1.default.createElement(StyledCrclTickAnimation, { size: 36 }),
|
|
195
|
-
react_1.default.createElement(
|
|
196
|
+
react_1.default.createElement(mui_1.Avatar, { size: 36, color: '#6e6e6e', opacity: showSuccessIcon ? 0.05 : 1 })),
|
|
196
197
|
react_1.default.createElement(AuthorNotes, { "data-cy": "author-notes" }, author.isCorresponding && (react_1.default.createElement(AuthorBadge, null,
|
|
197
198
|
react_1.default.createElement(style_guide_1.CorrespondingAuthorIcon, null))))),
|
|
198
199
|
react_1.default.createElement(AuthorName, { "data-cy": "author-name" }, (0, authors_1.authorLabel)(author)),
|
package/dist/cjs/versions.js
CHANGED
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import {
|
|
16
|
+
import { CorrespondingAuthorIcon, CrclTickAnimation, DeleteIcon, DraggableIcon, withNavigableListItem, } from '@manuscripts/style-guide';
|
|
17
|
+
import { Avatar } from '@manuscripts/style-guide/mui';
|
|
17
18
|
import React, { useRef, useState } from 'react';
|
|
18
19
|
import { useDrag, useDrop } from 'react-dnd';
|
|
19
20
|
import styled from 'styled-components';
|
package/dist/es/versions.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '3.20.
|
|
1
|
+
export const VERSION = '3.20.1';
|
|
2
2
|
export const MATHJAX_VERSION = '3.2.2';
|
package/dist/types/versions.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "3.20.
|
|
1
|
+
export declare const VERSION = "3.20.1";
|
|
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.20.
|
|
4
|
+
"version": "3.20.1",
|
|
5
5
|
"repository": "github:Atypon-OpenSource/manuscripts-body-editor",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"main": "dist/cjs",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@citation-js/plugin-pubmed": "0.3.0",
|
|
42
42
|
"@citation-js/plugin-ris": "0.7.18",
|
|
43
43
|
"@iarna/word-count": "1.1.2",
|
|
44
|
-
"@manuscripts/style-guide": "3.8.
|
|
44
|
+
"@manuscripts/style-guide": "3.8.3",
|
|
45
45
|
"@manuscripts/track-changes-plugin": "2.4.0",
|
|
46
46
|
"@manuscripts/transform": "4.6.0",
|
|
47
47
|
"@popperjs/core": "2.11.8",
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import {
|
|
18
|
-
Avatar,
|
|
19
18
|
CorrespondingAuthorIcon,
|
|
20
19
|
CrclTickAnimation,
|
|
21
20
|
DeleteIcon,
|
|
22
21
|
DraggableIcon,
|
|
23
22
|
withNavigableListItem,
|
|
24
23
|
} from '@manuscripts/style-guide'
|
|
24
|
+
import { Avatar } from '@manuscripts/style-guide/mui'
|
|
25
25
|
import React, { useRef, useState } from 'react'
|
|
26
26
|
import { useDrag, useDrop } from 'react-dnd'
|
|
27
27
|
import styled from 'styled-components'
|
package/src/versions.ts
CHANGED