@manuscripts/style-guide 0.31.20 → 0.31.22
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/SubmissionInspector/BaseInformation.js +1 -1
- package/dist/cjs/components/icons/add-comment-icon.js +28 -0
- package/dist/cjs/components/icons/index.js +3 -1
- package/dist/es/components/SubmissionInspector/BaseInformation.js +1 -1
- package/dist/es/components/icons/add-comment-icon.js +23 -0
- package/dist/es/components/icons/index.js +1 -0
- package/dist/types/components/icons/add-comment-icon.d.ts +17 -0
- package/dist/types/components/icons/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -113,7 +113,7 @@ const BaseInformation = ({ submission, handleDateChange, userRole }) => {
|
|
|
113
113
|
react_1.default.createElement(Label, null, "DOI:"),
|
|
114
114
|
react_1.default.createElement(Value, null, submission.doi),
|
|
115
115
|
react_1.default.createElement(Label, null, "Journal:"),
|
|
116
|
-
react_1.default.createElement(Value,
|
|
116
|
+
react_1.default.createElement(Value, { "data-journal": submission.journal.title }, submission.journal.title),
|
|
117
117
|
react_1.default.createElement(Label, null, "Journal ID:"),
|
|
118
118
|
react_1.default.createElement(Value, null, submission.journal.id),
|
|
119
119
|
submission.author && (react_1.default.createElement(react_1.default.Fragment, null,
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*!
|
|
3
|
+
* © 2022 Atypon Systems LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
18
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
19
|
+
};
|
|
20
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
const react_1 = __importDefault(require("react"));
|
|
22
|
+
const AddComment = () => (react_1.default.createElement("svg", { width: "20", height: "15", viewBox: "0 0 20 15", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
23
|
+
react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.94841 4.18359C7.98238 3.96069 8 3.7324 8 3.5C8 3.22122 7.97465 2.94836 7.92613 2.68359H13.5C14.8854 2.68359 16.25 3.64298 16.25 5.10026V9.02502L19.1086 12.9954C19.2731 13.2238 19.2958 13.525 19.1675 13.7755C19.0392 14.026 18.7814 14.1836 18.5 14.1836H5.5C4.11463 14.1836 2.75 13.2242 2.75 11.7669V7.93778C2.9939 7.9787 3.24446 8 3.5 8C3.75553 8 4.00609 7.9787 4.25 7.93778V11.7669C4.25 12.1513 4.67537 12.6836 5.5 12.6836H17.0358L14.8913 9.70516C14.7994 9.57751 14.75 9.42421 14.75 9.26693V5.10026C14.75 4.71587 14.3246 4.18359 13.5 4.18359H7.94841Z", fill: "#FFBD26" }),
|
|
24
|
+
react_1.default.createElement("path", { d: "M11.5 7H8.5", stroke: "#FFBD26", strokeWidth: "1.5", strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
25
|
+
react_1.default.createElement("path", { d: "M12 10H7", stroke: "#FFBD26", strokeWidth: "1.5", strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
26
|
+
react_1.default.createElement("path", { d: "M3.5 1L3.5 6", stroke: "#FFBD26", strokeWidth: "1.5", strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
27
|
+
react_1.default.createElement("path", { d: "M6 3.5L1 3.5", stroke: "#FFBD26", strokeWidth: "1.5", strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round" })));
|
|
28
|
+
exports.default = AddComment;
|
|
@@ -18,7 +18,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
18
18
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
19
19
|
};
|
|
20
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
-
exports.UnsupportedFormatFileIcon = exports.MissingImage = exports.UploadIcon = exports.AttachIcon = exports.TaskStepNextIcon = exports.TaskStepDoneIcon = exports.TaskStepCurrentIcon = exports.ZoomOutIcon = exports.ZoomInIcon = exports.UserIcon = exports.TickMarkIcon = exports.SearchIcon = exports.ProjectsListIcon = exports.ProjectIcon = exports.ProjectNotificationIcon = exports.OrcidIcon = exports.GoogleIcon = exports.CloseOIcon = exports.BookmarkIcon = exports.BackArrowIcon = exports.AddIconInverted = exports.AddIconActive = exports.AddAuthor = void 0;
|
|
21
|
+
exports.UnsupportedFormatFileIcon = exports.MissingImage = exports.UploadIcon = exports.AttachIcon = exports.TaskStepNextIcon = exports.TaskStepDoneIcon = exports.TaskStepCurrentIcon = exports.ZoomOutIcon = exports.ZoomInIcon = exports.UserIcon = exports.TickMarkIcon = exports.SearchIcon = exports.ProjectsListIcon = exports.ProjectIcon = exports.ProjectNotificationIcon = exports.OrcidIcon = exports.GoogleIcon = exports.AddComment = exports.CloseOIcon = exports.BookmarkIcon = exports.BackArrowIcon = exports.AddIconInverted = exports.AddIconActive = exports.AddAuthor = void 0;
|
|
22
22
|
var add_author_1 = require("./add-author");
|
|
23
23
|
Object.defineProperty(exports, "AddAuthor", { enumerable: true, get: function () { return __importDefault(add_author_1).default; } });
|
|
24
24
|
var add_icon_active_1 = require("./add-icon-active");
|
|
@@ -31,6 +31,8 @@ var bookmark_1 = require("./bookmark");
|
|
|
31
31
|
Object.defineProperty(exports, "BookmarkIcon", { enumerable: true, get: function () { return __importDefault(bookmark_1).default; } });
|
|
32
32
|
var close_o_icon_1 = require("./close-o-icon");
|
|
33
33
|
Object.defineProperty(exports, "CloseOIcon", { enumerable: true, get: function () { return __importDefault(close_o_icon_1).default; } });
|
|
34
|
+
var add_comment_icon_1 = require("./add-comment-icon");
|
|
35
|
+
Object.defineProperty(exports, "AddComment", { enumerable: true, get: function () { return __importDefault(add_comment_icon_1).default; } });
|
|
34
36
|
var google_1 = require("./google");
|
|
35
37
|
Object.defineProperty(exports, "GoogleIcon", { enumerable: true, get: function () { return __importDefault(google_1).default; } });
|
|
36
38
|
var orcid_1 = require("./orcid");
|
|
@@ -88,7 +88,7 @@ export const BaseInformation = ({ submission, handleDateChange, userRole }) => {
|
|
|
88
88
|
React.createElement(Label, null, "DOI:"),
|
|
89
89
|
React.createElement(Value, null, submission.doi),
|
|
90
90
|
React.createElement(Label, null, "Journal:"),
|
|
91
|
-
React.createElement(Value,
|
|
91
|
+
React.createElement(Value, { "data-journal": submission.journal.title }, submission.journal.title),
|
|
92
92
|
React.createElement(Label, null, "Journal ID:"),
|
|
93
93
|
React.createElement(Value, null, submission.journal.id),
|
|
94
94
|
submission.author && (React.createElement(React.Fragment, null,
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* © 2022 Atypon Systems LLC
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import React from 'react';
|
|
17
|
+
const AddComment = () => (React.createElement("svg", { width: "20", height: "15", viewBox: "0 0 20 15", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
18
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.94841 4.18359C7.98238 3.96069 8 3.7324 8 3.5C8 3.22122 7.97465 2.94836 7.92613 2.68359H13.5C14.8854 2.68359 16.25 3.64298 16.25 5.10026V9.02502L19.1086 12.9954C19.2731 13.2238 19.2958 13.525 19.1675 13.7755C19.0392 14.026 18.7814 14.1836 18.5 14.1836H5.5C4.11463 14.1836 2.75 13.2242 2.75 11.7669V7.93778C2.9939 7.9787 3.24446 8 3.5 8C3.75553 8 4.00609 7.9787 4.25 7.93778V11.7669C4.25 12.1513 4.67537 12.6836 5.5 12.6836H17.0358L14.8913 9.70516C14.7994 9.57751 14.75 9.42421 14.75 9.26693V5.10026C14.75 4.71587 14.3246 4.18359 13.5 4.18359H7.94841Z", fill: "#FFBD26" }),
|
|
19
|
+
React.createElement("path", { d: "M11.5 7H8.5", stroke: "#FFBD26", strokeWidth: "1.5", strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
20
|
+
React.createElement("path", { d: "M12 10H7", stroke: "#FFBD26", strokeWidth: "1.5", strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
21
|
+
React.createElement("path", { d: "M3.5 1L3.5 6", stroke: "#FFBD26", strokeWidth: "1.5", strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
22
|
+
React.createElement("path", { d: "M6 3.5L1 3.5", stroke: "#FFBD26", strokeWidth: "1.5", strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round" })));
|
|
23
|
+
export default AddComment;
|
|
@@ -19,6 +19,7 @@ export { default as AddIconInverted } from './add-icon-inverted';
|
|
|
19
19
|
export { default as BackArrowIcon } from './back-arrow';
|
|
20
20
|
export { default as BookmarkIcon } from './bookmark';
|
|
21
21
|
export { default as CloseOIcon } from './close-o-icon';
|
|
22
|
+
export { default as AddComment } from './add-comment-icon';
|
|
22
23
|
export { default as GoogleIcon } from './google';
|
|
23
24
|
export { default as OrcidIcon } from './orcid';
|
|
24
25
|
export { default as ProjectNotificationIcon } from './project-notification';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* © 2022 Atypon Systems LLC
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
declare const AddComment: () => JSX.Element;
|
|
17
|
+
export default AddComment;
|
|
@@ -19,6 +19,7 @@ export { default as AddIconInverted } from './add-icon-inverted';
|
|
|
19
19
|
export { default as BackArrowIcon } from './back-arrow';
|
|
20
20
|
export { default as BookmarkIcon } from './bookmark';
|
|
21
21
|
export { default as CloseOIcon } from './close-o-icon';
|
|
22
|
+
export { default as AddComment } from './add-comment-icon';
|
|
22
23
|
export { default as GoogleIcon } from './google';
|
|
23
24
|
export { default as OrcidIcon } from './orcid';
|
|
24
25
|
export { default as ProjectNotificationIcon } from './project-notification';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@manuscripts/style-guide",
|
|
3
3
|
"description": "Shared components for Manuscripts applications",
|
|
4
|
-
"version": "0.31.
|
|
4
|
+
"version": "0.31.22",
|
|
5
5
|
"repository": "gitlab:atypon-opensource/manuscripts-style-guide",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"main": "dist/cjs",
|