@manuscripts/style-guide 3.7.1 → 3.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.
- package/dist/cjs/components/icons/convert-to-weblink.js +5 -0
- package/dist/cjs/components/icons/external-link.js +5 -0
- package/dist/cjs/components/icons/index.js +5 -1
- package/dist/es/components/icons/convert-to-weblink.js +3 -0
- package/dist/es/components/icons/external-link.js +3 -0
- package/dist/es/components/icons/index.js +2 -0
- package/dist/types/components/icons/convert-to-weblink.d.ts +4 -0
- package/dist/types/components/icons/external-link.d.ts +4 -0
- package/dist/types/components/icons/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
|
+
const ConvertToWebLinkIcon = (props) => ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", ...props, children: [(0, jsx_runtime_1.jsxs)("g", { clipPath: "url(#clip0_24947_17192)", children: [(0, jsx_runtime_1.jsx)("path", { d: "M6.80381 11.6705L5.15413 13.3202C4.47021 14.0041 3.36265 14.0041 2.6793 13.3203C1.99582 12.6368 1.99582 11.5292 2.67917 10.8458L5.97909 7.54589C6.66244 6.86252 7.77011 6.86252 8.45345 7.54589C8.68126 7.77369 9.05062 7.77369 9.27842 7.54589C9.50622 7.31809 9.50622 6.94873 9.27842 6.72093C8.13944 5.58196 6.29311 5.58196 5.15413 6.72093L1.85423 10.0208C0.715256 11.1598 0.715256 13.0061 1.85423 14.1451C2.99307 15.2847 4.83954 15.2847 5.97912 14.1451L7.62879 12.4954C7.8566 12.2676 7.8566 11.8983 7.62879 11.6705C7.40099 11.4427 7.03161 11.4427 6.80381 11.6705Z", fill: "#6E6E6E" }), (0, jsx_runtime_1.jsx)("path", { d: "M14.1453 1.85423C13.0064 0.715256 11.1594 0.715256 10.0205 1.85423L8.0412 3.83348C7.8134 4.06128 7.8134 4.43064 8.0412 4.65844C8.269 4.88624 8.63836 4.88624 8.86616 4.65844L10.8454 2.67919C11.5288 1.99582 12.637 1.99582 13.3204 2.67919C14.0037 3.36254 14.0037 4.47021 13.3204 5.15356L9.69088 8.78308C9.0075 9.46646 7.89986 9.46646 7.21651 8.78308C6.98871 8.55528 6.61935 8.55528 6.39155 8.78308C6.16375 9.01088 6.16375 9.38024 6.39155 9.60804C7.53053 10.747 9.37686 10.747 10.5158 9.60804L14.1453 5.97855C15.2843 4.83957 15.2843 2.99321 14.1453 1.85423Z", fill: "#6E6E6E" })] }), (0, jsx_runtime_1.jsx)("path", { d: "M6.03135 0.0257959C6.3353 -0.05247 6.65943 0.0510401 6.84802 0.286352C7.03658 0.521689 7.05102 0.840387 6.88387 1.08935L5.92777 2.5136C5.71875 2.82482 5.28946 2.93734 4.93682 2.77323L4.14405 2.40418C3.66469 2.7133 3.2454 3.0558 2.88917 3.40468C2.02685 4.24923 1.59582 5.06266 1.51378 5.43164C1.42833 5.81669 1.02404 6.06457 0.610469 5.9852C0.196888 5.90565 -0.0693643 5.52924 0.0158945 5.14419C0.176091 4.42231 0.805747 3.37852 1.78069 2.42365C2.77623 1.44866 4.19941 0.497558 6.03135 0.0257959Z", fill: "#6E6E6E" }), (0, jsx_runtime_1.jsx)("path", { d: "M14.4863 10.5684C14.5718 10.1833 14.976 9.93537 15.3896 10.0148C15.8031 10.0944 16.0693 10.4708 15.9841 10.8558C15.8239 11.5777 15.1943 12.6215 14.2194 13.5763C13.2239 14.5513 11.8008 15.5024 9.96896 15.9742C9.66499 16.0525 9.33991 15.949 9.15134 15.7136C8.96301 15.4783 8.94937 15.1595 9.11648 14.9106L10.0725 13.4864L10.1612 13.3788C10.3881 13.1513 10.755 13.0832 11.0634 13.2268L11.8552 13.5949C12.3344 13.2858 12.7538 12.9441 13.11 12.5953C13.9724 11.7507 14.4043 10.9374 14.4863 10.5684Z", fill: "#6E6E6E" }), (0, jsx_runtime_1.jsx)("defs", { children: (0, jsx_runtime_1.jsx)("clipPath", { id: "clip0_24947_17192", children: (0, jsx_runtime_1.jsx)("rect", { width: "14", height: "14", fill: "white", transform: "translate(1 1)" }) }) })] }));
|
|
5
|
+
exports.default = ConvertToWebLinkIcon;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
|
+
const ExternalLinkIcon = ({ color = '#6E6E6E', ...props }) => ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", ...props, children: [(0, jsx_runtime_1.jsx)("path", { d: "M14.5 11.375V13.0625C14.5 13.994 13.744 14.75 12.8125 14.75H4.9375C4.006 14.75 3.25 13.994 3.25 13.0625V5.1875C3.25 4.256 4.006 3.5 4.9375 3.5H6.625", stroke: color, strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }), (0, jsx_runtime_1.jsx)("path", { d: "M14.499 7.75V3.5H10.249C9.83479 3.5 9.49901 3.16421 9.49901 2.75C9.49901 2.33579 9.83479 2 10.249 2H15.249C15.6632 2 15.999 2.33579 15.999 2.75V7.75C15.999 8.16421 15.6632 8.5 15.249 8.5C14.8348 8.5 14.499 8.16421 14.499 7.75Z", fill: color }), (0, jsx_runtime_1.jsx)("path", { d: "M14.7914 4.2785C15.083 3.98443 15.0812 3.5095 14.7873 3.21784C14.4932 2.92625 14.0183 2.92801 13.7266 3.22199L7.74728 9.25242C7.45571 9.54649 7.4575 10.0214 7.75143 10.3131C8.04546 10.6046 8.52042 10.6028 8.81209 10.3089L14.7914 4.2785Z", fill: color })] }));
|
|
5
|
+
exports.default = ExternalLinkIcon;
|
|
@@ -20,7 +20,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
20
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
21
|
exports.FilePdfIcon = exports.FileMainDocumentIcon = exports.FileLatexIcon = exports.FileImageIcon = exports.FileHeadshotGridIcon = exports.FileGraphicalAbstractIcon = exports.FileFigureIcon = exports.FileDocumentIcon = exports.FileCorruptedIcon = exports.FileCompressedIcon = exports.FileCodeIcon = exports.FileAudioIcon = exports.EditAttrsTrackingIcon = exports.EditIcon = exports.DraggableIcon = exports.DotsIcon = exports.DeleteIcon = exports.DeleteSolidIcon = exports.CorrespondingAuthorIcon = exports.CommentIcon = exports.CommentResolveIcon = exports.CommentReplyIcon = exports.CitationCountIcon = exports.SystemUserAvatarIcon = exports.ChatIcon = exports.CameraIcon = exports.CalendarIcon = exports.BookIcon = exports.AffiliationPlaceholderIcon = exports.AuthorPlaceholderIcon = exports.AffiliationIcon = exports.AlertIcon = exports.AvatarIcon = exports.AttentionRedIcon = exports.AttentionOrangeIcon = exports.AttentionGreenIcon = exports.AttentionBlueIcon = exports.AttachIcon = exports.ArrowUpIcon = exports.ArrowLeftIcon = exports.ArrowDownCircleIcon = exports.ArrowDownIcon = exports.AddRoleIcon = exports.AddIcon = exports.AddOutlineIcon = exports.AddNewIcon = exports.AddedIcon = exports.AddFigureIcon = exports.AddCommentIcon = exports.AddAuthorIcon = void 0;
|
|
22
22
|
exports.ToolbarBoldIcon = exports.TickIcon = exports.TaskStepDoneIcon = exports.SupplementsIcon = exports.SliderOnIcon = exports.SliderOffIcon = exports.SectionCategoryIcon = exports.SearchIcon = exports.ScrollIcon = exports.SaveStatusErrorIcon = exports.SaveStatusSavingIcon = exports.SaveStatusSavedIcon = exports.SaveStatusOfflineIcon = exports.RoleReadingIcon = exports.RoleAnnotatingIcon = exports.PlusIcon = exports.ORCIDIcon = exports.OutlineUnorderedListIcon = exports.OutlineTableIcon = exports.OutlineSectionIcon = exports.OutlinePullQuoteIcon = exports.OutlineParagraphIcon = exports.OutlineOrderedListIcon = exports.OutlineManuscriptIcon = exports.OutlineFigureIcon = exports.OutlineEmbedIcon = exports.OutlineEquationIcon = exports.OutlineCodeIcon = exports.OutlineBlockQuoteIcon = exports.ManuscriptIcon = exports.LeadingHalfLeftIcon = exports.LeadingWallpaperIcon = exports.LeadingLargeFloatIcon = exports.LeadingSmallFloatIcon = exports.LeadingHeroImageIcon = exports.LogoutIcon = exports.LockIcon = exports.LinkIcon = exports.InspectorPluginIcon = exports.InfoCircleIcon = exports.ImageRightIcon = exports.ImageDefaultIcon = exports.ImageLeftIcon = exports.HelpIcon = exports.GlobeIcon = exports.HandleOutlineIcon = exports.HandleInspectorIcon = exports.FileVideoIcon = exports.FileUnknownIcon = exports.FileTableIcon = void 0;
|
|
23
|
-
exports.WebLinkIcon = exports.PencilIcon = exports.NotificationsIcon = exports.EyeIcon = exports.XIcon = exports.DangerIcon = exports.AddInstitutionIcon = exports.AddUserIcon = exports.ProfileIcon = exports.CrclTickAnimation = exports.VerticalEllipsisIcon = exports.UploadIcon = exports.TriangleExpandedIcon = exports.TriangleCollapsedIcon = exports.TranslateIcon = exports.ToolbarUnindentIcon = exports.ToolbarIndentIcon = exports.ToolbarUnorderedListIcon = exports.ToolbarUnderlineIcon = exports.ToolbarTableIcon = exports.ToolbarSymbolIcon = exports.ToolbarSuperscriptIcon = exports.ToolbarSubscriptIcon = exports.ToolbarSpecialCharactersIcon = exports.ToolbarOrderedListIcon = exports.ToolbarItalicIcon = exports.ToolbarFigureIcon = exports.ToolbarEquationIcon = exports.ToolbarCodeIcon = exports.ToolbarCrossReferenceIcon = exports.ToolbarCitationIcon = exports.ToolbarBoxedTextIcon = void 0;
|
|
23
|
+
exports.ExternalLinkIcon = exports.ConvertToWebLinkIcon = exports.WebLinkIcon = exports.PencilIcon = exports.NotificationsIcon = exports.EyeIcon = exports.XIcon = exports.DangerIcon = exports.AddInstitutionIcon = exports.AddUserIcon = exports.ProfileIcon = exports.CrclTickAnimation = exports.VerticalEllipsisIcon = exports.UploadIcon = exports.TriangleExpandedIcon = exports.TriangleCollapsedIcon = exports.TranslateIcon = exports.ToolbarUnindentIcon = exports.ToolbarIndentIcon = exports.ToolbarUnorderedListIcon = exports.ToolbarUnderlineIcon = exports.ToolbarTableIcon = exports.ToolbarSymbolIcon = exports.ToolbarSuperscriptIcon = exports.ToolbarSubscriptIcon = exports.ToolbarSpecialCharactersIcon = exports.ToolbarOrderedListIcon = exports.ToolbarItalicIcon = exports.ToolbarFigureIcon = exports.ToolbarEquationIcon = exports.ToolbarCodeIcon = exports.ToolbarCrossReferenceIcon = exports.ToolbarCitationIcon = exports.ToolbarBoxedTextIcon = void 0;
|
|
24
24
|
var add_author_1 = require("./add-author");
|
|
25
25
|
Object.defineProperty(exports, "AddAuthorIcon", { enumerable: true, get: function () { return __importDefault(add_author_1).default; } });
|
|
26
26
|
var add_comment_1 = require("./add-comment");
|
|
@@ -285,3 +285,7 @@ var pencil_icon_1 = require("./pencil-icon");
|
|
|
285
285
|
Object.defineProperty(exports, "PencilIcon", { enumerable: true, get: function () { return __importDefault(pencil_icon_1).default; } });
|
|
286
286
|
var weblink_1 = require("./weblink");
|
|
287
287
|
Object.defineProperty(exports, "WebLinkIcon", { enumerable: true, get: function () { return __importDefault(weblink_1).default; } });
|
|
288
|
+
var convert_to_weblink_1 = require("./convert-to-weblink");
|
|
289
|
+
Object.defineProperty(exports, "ConvertToWebLinkIcon", { enumerable: true, get: function () { return __importDefault(convert_to_weblink_1).default; } });
|
|
290
|
+
var external_link_1 = require("./external-link");
|
|
291
|
+
Object.defineProperty(exports, "ExternalLinkIcon", { enumerable: true, get: function () { return __importDefault(external_link_1).default; } });
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
const ConvertToWebLinkIcon = (props) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", ...props, children: [_jsxs("g", { clipPath: "url(#clip0_24947_17192)", children: [_jsx("path", { d: "M6.80381 11.6705L5.15413 13.3202C4.47021 14.0041 3.36265 14.0041 2.6793 13.3203C1.99582 12.6368 1.99582 11.5292 2.67917 10.8458L5.97909 7.54589C6.66244 6.86252 7.77011 6.86252 8.45345 7.54589C8.68126 7.77369 9.05062 7.77369 9.27842 7.54589C9.50622 7.31809 9.50622 6.94873 9.27842 6.72093C8.13944 5.58196 6.29311 5.58196 5.15413 6.72093L1.85423 10.0208C0.715256 11.1598 0.715256 13.0061 1.85423 14.1451C2.99307 15.2847 4.83954 15.2847 5.97912 14.1451L7.62879 12.4954C7.8566 12.2676 7.8566 11.8983 7.62879 11.6705C7.40099 11.4427 7.03161 11.4427 6.80381 11.6705Z", fill: "#6E6E6E" }), _jsx("path", { d: "M14.1453 1.85423C13.0064 0.715256 11.1594 0.715256 10.0205 1.85423L8.0412 3.83348C7.8134 4.06128 7.8134 4.43064 8.0412 4.65844C8.269 4.88624 8.63836 4.88624 8.86616 4.65844L10.8454 2.67919C11.5288 1.99582 12.637 1.99582 13.3204 2.67919C14.0037 3.36254 14.0037 4.47021 13.3204 5.15356L9.69088 8.78308C9.0075 9.46646 7.89986 9.46646 7.21651 8.78308C6.98871 8.55528 6.61935 8.55528 6.39155 8.78308C6.16375 9.01088 6.16375 9.38024 6.39155 9.60804C7.53053 10.747 9.37686 10.747 10.5158 9.60804L14.1453 5.97855C15.2843 4.83957 15.2843 2.99321 14.1453 1.85423Z", fill: "#6E6E6E" })] }), _jsx("path", { d: "M6.03135 0.0257959C6.3353 -0.05247 6.65943 0.0510401 6.84802 0.286352C7.03658 0.521689 7.05102 0.840387 6.88387 1.08935L5.92777 2.5136C5.71875 2.82482 5.28946 2.93734 4.93682 2.77323L4.14405 2.40418C3.66469 2.7133 3.2454 3.0558 2.88917 3.40468C2.02685 4.24923 1.59582 5.06266 1.51378 5.43164C1.42833 5.81669 1.02404 6.06457 0.610469 5.9852C0.196888 5.90565 -0.0693643 5.52924 0.0158945 5.14419C0.176091 4.42231 0.805747 3.37852 1.78069 2.42365C2.77623 1.44866 4.19941 0.497558 6.03135 0.0257959Z", fill: "#6E6E6E" }), _jsx("path", { d: "M14.4863 10.5684C14.5718 10.1833 14.976 9.93537 15.3896 10.0148C15.8031 10.0944 16.0693 10.4708 15.9841 10.8558C15.8239 11.5777 15.1943 12.6215 14.2194 13.5763C13.2239 14.5513 11.8008 15.5024 9.96896 15.9742C9.66499 16.0525 9.33991 15.949 9.15134 15.7136C8.96301 15.4783 8.94937 15.1595 9.11648 14.9106L10.0725 13.4864L10.1612 13.3788C10.3881 13.1513 10.755 13.0832 11.0634 13.2268L11.8552 13.5949C12.3344 13.2858 12.7538 12.9441 13.11 12.5953C13.9724 11.7507 14.4043 10.9374 14.4863 10.5684Z", fill: "#6E6E6E" }), _jsx("defs", { children: _jsx("clipPath", { id: "clip0_24947_17192", children: _jsx("rect", { width: "14", height: "14", fill: "white", transform: "translate(1 1)" }) }) })] }));
|
|
3
|
+
export default ConvertToWebLinkIcon;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
const ExternalLinkIcon = ({ color = '#6E6E6E', ...props }) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", ...props, children: [_jsx("path", { d: "M14.5 11.375V13.0625C14.5 13.994 13.744 14.75 12.8125 14.75H4.9375C4.006 14.75 3.25 13.994 3.25 13.0625V5.1875C3.25 4.256 4.006 3.5 4.9375 3.5H6.625", stroke: color, strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }), _jsx("path", { d: "M14.499 7.75V3.5H10.249C9.83479 3.5 9.49901 3.16421 9.49901 2.75C9.49901 2.33579 9.83479 2 10.249 2H15.249C15.6632 2 15.999 2.33579 15.999 2.75V7.75C15.999 8.16421 15.6632 8.5 15.249 8.5C14.8348 8.5 14.499 8.16421 14.499 7.75Z", fill: color }), _jsx("path", { d: "M14.7914 4.2785C15.083 3.98443 15.0812 3.5095 14.7873 3.21784C14.4932 2.92625 14.0183 2.92801 13.7266 3.22199L7.74728 9.25242C7.45571 9.54649 7.4575 10.0214 7.75143 10.3131C8.04546 10.6046 8.52042 10.6028 8.81209 10.3089L14.7914 4.2785Z", fill: color })] }));
|
|
3
|
+
export default ExternalLinkIcon;
|
|
@@ -145,3 +145,5 @@ export { default as EyeIcon } from './eye-icon';
|
|
|
145
145
|
export { default as NotificationsIcon } from './notifications';
|
|
146
146
|
export { default as PencilIcon } from './pencil-icon';
|
|
147
147
|
export { default as WebLinkIcon } from './weblink';
|
|
148
|
+
export { default as ConvertToWebLinkIcon } from './convert-to-weblink';
|
|
149
|
+
export { default as ExternalLinkIcon } from './external-link';
|
|
@@ -145,3 +145,5 @@ export { default as EyeIcon } from './eye-icon';
|
|
|
145
145
|
export { default as NotificationsIcon } from './notifications';
|
|
146
146
|
export { default as PencilIcon } from './pencil-icon';
|
|
147
147
|
export { default as WebLinkIcon } from './weblink';
|
|
148
|
+
export { default as ConvertToWebLinkIcon } from './convert-to-weblink';
|
|
149
|
+
export { default as ExternalLinkIcon } from './external-link';
|
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": "3.7.
|
|
4
|
+
"version": "3.7.2",
|
|
5
5
|
"repository": "github:Atypon-OpenSource/manuscripts-style-guide",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"main": "dist/cjs",
|