@manuscripts/style-guide 2.1.13 → 2.1.14-LEAN-2023.0
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/AutoSaveInput.js +1 -1
- package/dist/cjs/components/DatePicker/CalendarDatePicker.js +7 -1
- package/dist/cjs/components/Dialog.js +2 -11
- package/dist/cjs/components/DraggableModal.js +12 -3
- package/dist/cjs/components/Drawer.js +2 -2
- package/dist/cjs/components/MultiValueInput.js +2 -2
- package/dist/cjs/components/RadioButton.js +3 -17
- package/dist/cjs/components/RelativeDate.js +2 -14
- package/dist/cjs/components/SelectField.js +1 -1
- package/dist/cjs/components/SelectedItemsBox.js +2 -14
- package/dist/cjs/components/StyledModal.js +6 -15
- package/dist/cjs/components/Tooltip.js +2 -2
- package/dist/cjs/components/icons/add-author.js +1 -1
- package/dist/cjs/components/icons/add-comment.js +1 -1
- package/dist/cjs/components/icons/add-figure.js +1 -1
- package/dist/cjs/components/icons/add-institution.js +1 -1
- package/dist/cjs/components/icons/add-new.js +1 -1
- package/dist/cjs/components/icons/add-outline.js +1 -1
- package/dist/cjs/components/icons/add-user.js +1 -1
- package/dist/cjs/components/icons/add.js +1 -1
- package/dist/cjs/components/icons/added.js +1 -1
- package/dist/cjs/components/icons/affiliation-placeholder.js +1 -1
- package/dist/cjs/components/icons/affiliation.js +1 -1
- package/dist/cjs/components/icons/arrow-down-circle.js +1 -1
- package/dist/cjs/components/icons/arrow-down.js +1 -1
- package/dist/cjs/components/icons/arrow-left.js +1 -1
- package/dist/cjs/components/icons/arrow-up.js +1 -1
- package/dist/cjs/components/icons/attach.js +1 -1
- package/dist/cjs/components/icons/attention-blue.js +1 -1
- package/dist/cjs/components/icons/attention-green.js +1 -1
- package/dist/cjs/components/icons/attention-orange.js +1 -1
- package/dist/cjs/components/icons/attention-red.js +1 -1
- package/dist/cjs/components/icons/author-placeholder.js +1 -1
- package/dist/cjs/components/icons/avatar.js +1 -1
- package/dist/cjs/components/icons/citation-count.js +1 -1
- package/dist/cjs/components/icons/comment-reply.js +1 -1
- package/dist/cjs/components/icons/comment-resolve.js +1 -1
- package/dist/cjs/components/icons/corresponding-author.js +1 -1
- package/dist/cjs/components/icons/delete-solid.js +1 -1
- package/dist/cjs/components/icons/deleted.js +1 -1
- package/dist/cjs/components/icons/dots.js +1 -1
- package/dist/cjs/components/icons/draggable-icon.js +1 -1
- package/dist/cjs/components/icons/edit.js +1 -1
- package/dist/cjs/components/icons/file-audio.js +1 -1
- package/dist/cjs/components/icons/file-code.js +1 -1
- package/dist/cjs/components/icons/file-compressed.js +1 -1
- package/dist/cjs/components/icons/file-corrupted.js +1 -1
- package/dist/cjs/components/icons/file-document.js +1 -1
- package/dist/cjs/components/icons/file-figure.js +1 -1
- package/dist/cjs/components/icons/file-graphical-abstract.js +1 -1
- package/dist/cjs/components/icons/file-image.js +1 -1
- package/dist/cjs/components/icons/file-latex-icon.js +1 -1
- package/dist/cjs/components/icons/file-main-document.js +1 -1
- package/dist/cjs/components/icons/file-pdf.js +1 -1
- package/dist/cjs/components/icons/file-table.js +1 -1
- package/dist/cjs/components/icons/file-unknown.js +1 -1
- package/dist/cjs/components/icons/file-video.js +1 -1
- package/dist/cjs/components/icons/handle-inspector.js +1 -1
- package/dist/cjs/components/icons/handle-outline.js +1 -1
- package/dist/cjs/components/icons/link.js +1 -1
- package/dist/cjs/components/icons/outline-block-quote.js +1 -1
- package/dist/cjs/components/icons/outline-code.js +1 -1
- package/dist/cjs/components/icons/outline-equation.js +1 -1
- package/dist/cjs/components/icons/outline-figure.js +1 -1
- package/dist/cjs/components/icons/outline-manuscript.js +1 -1
- package/dist/cjs/components/icons/outline-ordered-list.js +1 -1
- package/dist/cjs/components/icons/outline-paragraph.js +1 -1
- package/dist/cjs/components/icons/outline-pull-quote.js +1 -1
- package/dist/cjs/components/icons/outline-section.js +1 -1
- package/dist/cjs/components/icons/outline-table.js +1 -1
- package/dist/cjs/components/icons/outline-unordered-list.js +1 -1
- package/dist/cjs/components/icons/plus.js +1 -1
- package/dist/cjs/components/icons/profile-avatar.js +1 -1
- package/dist/cjs/components/icons/role-annotating.js +1 -1
- package/dist/cjs/components/icons/role-reading.js +1 -1
- package/dist/cjs/components/icons/save-status-offline.js +1 -1
- package/dist/cjs/components/icons/save-status-saved.js +1 -1
- package/dist/cjs/components/icons/save-status-saving.js +1 -1
- package/dist/cjs/components/icons/search.js +1 -1
- package/dist/cjs/components/icons/system-user-avatar.js +1 -1
- package/dist/cjs/components/icons/task-step-done.js +1 -1
- package/dist/cjs/components/icons/toolbar-bold.js +1 -1
- package/dist/cjs/components/icons/toolbar-citation.js +1 -1
- package/dist/cjs/components/icons/toolbar-code.js +1 -1
- package/dist/cjs/components/icons/toolbar-equation.js +1 -1
- package/dist/cjs/components/icons/toolbar-figure.js +1 -1
- package/dist/cjs/components/icons/toolbar-indent.js +1 -1
- package/dist/cjs/components/icons/toolbar-italic.js +1 -1
- package/dist/cjs/components/icons/toolbar-ordered-list.js +1 -1
- package/dist/cjs/components/icons/toolbar-subscript.js +1 -1
- package/dist/cjs/components/icons/toolbar-superscript.js +1 -1
- package/dist/cjs/components/icons/toolbar-symbol.js +1 -1
- package/dist/cjs/components/icons/toolbar-table.js +1 -1
- package/dist/cjs/components/icons/toolbar-underline.js +1 -1
- package/dist/cjs/components/icons/toolbar-unordered-list.js +1 -1
- package/dist/cjs/components/icons/triangle-collapsed.js +1 -1
- package/dist/cjs/components/icons/triangle-expanded.js +1 -1
- package/dist/cjs/components/icons/upload.js +1 -1
- package/dist/cjs/components/icons/vertical-ellipsis.js +1 -1
- package/dist/cjs/components/icons/x.js +1 -1
- package/dist/cjs/hooks/use-menus.js +10 -2
- package/dist/cjs/lib/__tests__/errors-decoder.test.js +38 -0
- package/dist/cjs/lib/capabilities.js +10 -10
- package/dist/cjs/lib/menus.js +1 -1
- package/dist/es/components/AutoSaveInput.js +1 -1
- package/dist/es/components/DatePicker/CalendarDatePicker.js +7 -1
- package/dist/es/components/Dialog.js +2 -11
- package/dist/es/components/DraggableModal.js +12 -3
- package/dist/es/components/Drawer.js +2 -2
- package/dist/es/components/MultiValueInput.js +2 -2
- package/dist/es/components/RadioButton.js +3 -17
- package/dist/es/components/RelativeDate.js +2 -14
- package/dist/es/components/SelectField.js +1 -1
- package/dist/es/components/SelectedItemsBox.js +2 -14
- package/dist/es/components/StyledModal.js +6 -15
- package/dist/es/components/Tooltip.js +2 -2
- package/dist/es/components/icons/add-author.js +1 -1
- package/dist/es/components/icons/add-comment.js +1 -1
- package/dist/es/components/icons/add-figure.js +1 -1
- package/dist/es/components/icons/add-institution.js +1 -1
- package/dist/es/components/icons/add-new.js +1 -1
- package/dist/es/components/icons/add-outline.js +1 -1
- package/dist/es/components/icons/add-user.js +1 -1
- package/dist/es/components/icons/add.js +1 -1
- package/dist/es/components/icons/added.js +1 -1
- package/dist/es/components/icons/affiliation-placeholder.js +1 -1
- package/dist/es/components/icons/affiliation.js +1 -1
- package/dist/es/components/icons/arrow-down-circle.js +1 -1
- package/dist/es/components/icons/arrow-down.js +1 -1
- package/dist/es/components/icons/arrow-left.js +1 -1
- package/dist/es/components/icons/arrow-up.js +1 -1
- package/dist/es/components/icons/attach.js +1 -1
- package/dist/es/components/icons/attention-blue.js +1 -1
- package/dist/es/components/icons/attention-green.js +1 -1
- package/dist/es/components/icons/attention-orange.js +1 -1
- package/dist/es/components/icons/attention-red.js +1 -1
- package/dist/es/components/icons/author-placeholder.js +1 -1
- package/dist/es/components/icons/avatar.js +1 -1
- package/dist/es/components/icons/citation-count.js +1 -1
- package/dist/es/components/icons/comment-reply.js +1 -1
- package/dist/es/components/icons/comment-resolve.js +1 -1
- package/dist/es/components/icons/corresponding-author.js +1 -1
- package/dist/es/components/icons/delete-solid.js +1 -1
- package/dist/es/components/icons/deleted.js +1 -1
- package/dist/es/components/icons/dots.js +1 -1
- package/dist/es/components/icons/draggable-icon.js +1 -1
- package/dist/es/components/icons/edit.js +1 -1
- package/dist/es/components/icons/file-audio.js +1 -1
- package/dist/es/components/icons/file-code.js +1 -1
- package/dist/es/components/icons/file-compressed.js +1 -1
- package/dist/es/components/icons/file-corrupted.js +1 -1
- package/dist/es/components/icons/file-document.js +1 -1
- package/dist/es/components/icons/file-figure.js +1 -1
- package/dist/es/components/icons/file-graphical-abstract.js +1 -1
- package/dist/es/components/icons/file-image.js +1 -1
- package/dist/es/components/icons/file-latex-icon.js +1 -1
- package/dist/es/components/icons/file-main-document.js +1 -1
- package/dist/es/components/icons/file-pdf.js +1 -1
- package/dist/es/components/icons/file-table.js +1 -1
- package/dist/es/components/icons/file-unknown.js +1 -1
- package/dist/es/components/icons/file-video.js +1 -1
- package/dist/es/components/icons/handle-inspector.js +1 -1
- package/dist/es/components/icons/handle-outline.js +1 -1
- package/dist/es/components/icons/link.js +1 -1
- package/dist/es/components/icons/outline-block-quote.js +1 -1
- package/dist/es/components/icons/outline-code.js +1 -1
- package/dist/es/components/icons/outline-equation.js +1 -1
- package/dist/es/components/icons/outline-figure.js +1 -1
- package/dist/es/components/icons/outline-manuscript.js +1 -1
- package/dist/es/components/icons/outline-ordered-list.js +1 -1
- package/dist/es/components/icons/outline-paragraph.js +1 -1
- package/dist/es/components/icons/outline-pull-quote.js +1 -1
- package/dist/es/components/icons/outline-section.js +1 -1
- package/dist/es/components/icons/outline-table.js +1 -1
- package/dist/es/components/icons/outline-unordered-list.js +1 -1
- package/dist/es/components/icons/plus.js +1 -1
- package/dist/es/components/icons/profile-avatar.js +1 -1
- package/dist/es/components/icons/role-annotating.js +1 -1
- package/dist/es/components/icons/role-reading.js +1 -1
- package/dist/es/components/icons/save-status-offline.js +1 -1
- package/dist/es/components/icons/save-status-saved.js +1 -1
- package/dist/es/components/icons/save-status-saving.js +1 -1
- package/dist/es/components/icons/search.js +1 -1
- package/dist/es/components/icons/system-user-avatar.js +1 -1
- package/dist/es/components/icons/task-step-done.js +1 -1
- package/dist/es/components/icons/toolbar-bold.js +1 -1
- package/dist/es/components/icons/toolbar-citation.js +1 -1
- package/dist/es/components/icons/toolbar-code.js +1 -1
- package/dist/es/components/icons/toolbar-equation.js +1 -1
- package/dist/es/components/icons/toolbar-figure.js +1 -1
- package/dist/es/components/icons/toolbar-indent.js +1 -1
- package/dist/es/components/icons/toolbar-italic.js +1 -1
- package/dist/es/components/icons/toolbar-ordered-list.js +1 -1
- package/dist/es/components/icons/toolbar-subscript.js +1 -1
- package/dist/es/components/icons/toolbar-superscript.js +1 -1
- package/dist/es/components/icons/toolbar-symbol.js +1 -1
- package/dist/es/components/icons/toolbar-table.js +1 -1
- package/dist/es/components/icons/toolbar-underline.js +1 -1
- package/dist/es/components/icons/toolbar-unordered-list.js +1 -1
- package/dist/es/components/icons/triangle-collapsed.js +1 -1
- package/dist/es/components/icons/triangle-expanded.js +1 -1
- package/dist/es/components/icons/upload.js +1 -1
- package/dist/es/components/icons/vertical-ellipsis.js +1 -1
- package/dist/es/components/icons/x.js +1 -1
- package/dist/es/hooks/use-menus.js +10 -2
- package/dist/es/lib/__tests__/errors-decoder.test.js +33 -0
- package/dist/es/lib/capabilities.js +10 -10
- package/dist/es/lib/menus.js +1 -1
- package/dist/types/lib/__tests__/errors-decoder.test.d.ts +16 -0
- package/package.json +74 -76
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
const HandleOutlineIcon = (props) => (React.createElement("svg",
|
|
2
|
+
const HandleOutlineIcon = (props) => (React.createElement("svg", { width: "16", height: "12", viewBox: "0 0 16 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
3
|
React.createElement("path", { d: "M14.9834 11.7752H4.43804C4.00342 11.7752 3.65115 11.423 3.65115 10.9883C3.65115 10.5537 4.00342 10.2014 4.43804 10.2014H14.9831C15.4177 10.2014 15.77 10.5537 15.77 10.9883C15.77 11.423 15.418 11.7752 14.9834 11.7752Z", fill: "#6E6E6E" }),
|
|
4
4
|
React.createElement("path", { d: "M14.9834 6.83592H4.43804C4.00342 6.83592 3.65115 6.48365 3.65115 6.04903C3.65115 5.61441 4.00342 5.26215 4.43804 5.26215H14.9831C15.4177 5.26215 15.77 5.61441 15.77 6.04903C15.7702 6.48365 15.418 6.83592 14.9834 6.83592Z", fill: "#6E6E6E" }),
|
|
5
5
|
React.createElement("path", { d: "M14.9834 1.89665H4.43804C4.00342 1.89665 3.65115 1.54438 3.65115 1.10976C3.65115 0.675138 4.00342 0.322876 4.43804 0.322876H14.9831C15.4177 0.322876 15.77 0.675138 15.77 1.10976C15.77 1.54438 15.418 1.89665 14.9834 1.89665Z", fill: "#6E6E6E" }),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
const LinkIcon = (props) => (React.createElement("svg",
|
|
2
|
+
const LinkIcon = (props) => (React.createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
3
|
React.createElement("path", { d: "M6.63317 12.1949L4.74782 14.0803C3.9662 14.8619 2.70042 14.8619 1.91945 14.0804C1.13832 13.2993 1.13832 12.0334 1.91929 11.2524L5.69063 7.48109C6.4716 6.70009 7.73751 6.70009 8.51848 7.48109C8.77882 7.74143 9.20095 7.74143 9.46129 7.48109C9.72163 7.22075 9.72163 6.79862 9.46129 6.53828C8.1596 5.23659 6.04951 5.23659 4.74782 6.53828L0.97651 10.3096C-0.325178 11.6113 -0.325178 13.7214 0.97651 15.0231C2.27804 16.3254 4.38829 16.3254 5.69067 15.0231L7.57601 13.1377C7.83635 12.8774 7.83635 12.4552 7.57601 12.1949C7.31567 11.9346 6.89351 11.9346 6.63317 12.1949Z", fill: "#6E6E6E" }),
|
|
4
4
|
React.createElement("path", { d: "M15.0235 0.976266C13.7218 -0.325422 11.6111 -0.325422 10.3094 0.976266L8.04737 3.23827C7.78702 3.49861 7.78702 3.92073 8.04737 4.18108C8.30771 4.44142 8.72984 4.44142 8.99018 4.18108L11.2522 1.91908C12.0331 1.13808 13.2997 1.13808 14.0807 1.91908C14.8617 2.70005 14.8617 3.96595 14.0807 4.74692L9.93271 8.89495C9.15171 9.67595 7.88584 9.67595 7.10487 8.89495C6.84452 8.63461 6.4224 8.63461 6.16205 8.89495C5.90171 9.1553 5.90171 9.57742 6.16205 9.83777C7.46374 11.1395 9.57384 11.1395 10.8755 9.83777L15.0235 5.68977C16.3252 4.38808 16.3252 2.27795 15.0235 0.976266Z", fill: "#6E6E6E" })));
|
|
5
5
|
export default LinkIcon;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
const OutlineBlockQuoteIcon = (props) => (React.createElement("svg",
|
|
2
|
+
const OutlineBlockQuoteIcon = (props) => (React.createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
3
|
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.9098 2C12.5223 2 13.0801 2.28215 13.4826 2.74866C13.8647 3.19156 14.1053 3.80224 14.1053 4.47925V10.6319C14.1053 11.3089 13.8647 11.9196 13.4826 12.3624C13.0801 12.829 12.5223 13.1111 11.9098 13.1111H4.09026C3.47778 13.1111 2.91998 12.829 2.51747 12.3624C2.13533 11.9196 1.89478 11.3089 1.89478 10.6319V4.47925C1.89478 3.80224 2.13533 3.19156 2.51747 2.74866C2.91998 2.28215 3.47778 2 4.09026 2H11.9098Z", stroke: "#F474AE", strokeWidth: "1.5" }),
|
|
4
4
|
React.createElement("path", { d: "M9.68858 9.77734C10.3827 9.77734 10.9475 9.15104 10.9475 8.38111C10.9475 7.63837 10.4219 7.02917 9.76151 6.98709C9.75008 6.85028 9.75875 6.47781 10.0808 5.9591C10.1051 5.92 10.1007 5.86726 10.0705 5.83373C9.93925 5.68818 9.858 5.59633 9.80101 5.53206C9.72609 5.44732 9.69187 5.4087 9.64181 5.35836C9.62492 5.34145 9.60353 5.3329 9.58222 5.3329C9.56143 5.3329 9.54073 5.34097 9.52402 5.35711C8.99417 5.8685 8.40886 6.89482 8.42134 8.16213L8.42988 8.38832C8.48289 9.19312 9.01228 9.77734 9.68858 9.77734Z", fill: "#F474AE" }),
|
|
5
5
|
React.createElement("path", { d: "M6.32017 9.77734C7.01431 9.77734 7.57905 9.15104 7.57905 8.38111C7.57905 7.63837 7.05346 7.02917 6.39311 6.98709C6.38167 6.85028 6.39034 6.47781 6.71237 5.9591C6.73671 5.92 6.73229 5.86726 6.70207 5.83373C6.57084 5.68818 6.4896 5.59633 6.4326 5.53206C6.35768 5.44732 6.32346 5.4087 6.2734 5.35836C6.25652 5.34145 6.23512 5.3329 6.21381 5.3329C6.19302 5.3329 6.17232 5.34097 6.15561 5.35711C5.5946 5.89858 4.97139 7.01735 5.06147 8.38822C5.11448 9.19312 5.64388 9.77734 6.32017 9.77734Z", fill: "#F474AE" })));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
const OutlineCodeIcon = (props) => (React.createElement("svg",
|
|
2
|
+
const OutlineCodeIcon = (props) => (React.createElement("svg", { width: "19", height: "18", viewBox: "0 0 19 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
3
|
React.createElement("path", { d: "M6.61521 13.4672L2.34019 9.19213L6.71906 4.81326", stroke: "#B3A1FC", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
4
4
|
React.createElement("path", { d: "M12.419 13.4672L16.6941 9.19213L12.3152 4.81326", stroke: "#B3A1FC", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })));
|
|
5
5
|
export default OutlineCodeIcon;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
const OutlineEquationIcon = (props) => (React.createElement("svg",
|
|
2
|
+
const OutlineEquationIcon = (props) => (React.createElement("svg", { width: "19", height: "18", viewBox: "0 0 19 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
3
|
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.00284 10.0912C7.00284 8.13615 7.50772 6.5302 8.55508 5.19816H9.57559C8.80215 6.18645 8.19522 8.24895 8.19522 10.0859C8.19522 11.9335 8.79678 13.996 9.57559 14.9843H8.55508C7.50772 13.6523 7.00284 12.0463 7.00284 10.0912ZM12.9835 11.2568H12.8976L11.6193 13.33H10.3517L12.2906 10.4189L10.3356 7.48088H11.6837L12.9405 9.54338H13.0318L14.2779 7.48088H15.5616L13.6334 10.3705L15.5831 13.33H14.2565L12.9835 11.2568ZM4.93594 3.3125C5.33438 3.3125 5.58438 3.35938 5.85001 3.41406L5.61563 4.52344C5.44376 4.48438 5.17032 4.44531 4.80313 4.44531C4.02969 4.44531 3.55313 4.85156 3.37344 5.79688L3.22501 6.57812H5.15469L4.92032 7.70312H2.99063L1.47501 15H0.100006L1.61563 7.70312H0.217194L0.451569 6.57812H1.85001L2.00626 5.75781C2.33438 4.03125 3.23282 3.3125 4.93594 3.3125ZM17.3636 5.19816C18.4056 6.5302 18.9105 8.13615 18.9105 10.0912C18.9105 12.0463 18.4056 13.6523 17.3636 14.9843H16.3431C17.1165 13.996 17.7235 11.9335 17.7235 10.0859C17.7235 8.24895 17.1165 6.18645 16.3431 5.19816H17.3636Z", fill: "#FE8F1F" })));
|
|
4
4
|
export default OutlineEquationIcon;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
const OutlineFigureIcon = (props) => (React.createElement("svg",
|
|
2
|
+
const OutlineFigureIcon = (props) => (React.createElement("svg", { width: "11", height: "14", viewBox: "0 0 11 14", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
3
|
React.createElement("g", { clipPath: "url(#clip0_203_2510)" },
|
|
4
4
|
React.createElement("path", { d: "M8.25 1.25H2.75C1.64543 1.25 0.75 2.14543 0.75 3.25V10.75C0.75 11.8546 1.64543 12.75 2.75 12.75H8.25C9.35457 12.75 10.25 11.8546 10.25 10.75V3.25C10.25 2.14543 9.35457 1.25 8.25 1.25Z", stroke: "#8DD439", strokeWidth: "1.5" }),
|
|
5
5
|
React.createElement("path", { d: "M5 4.75C5 4.33579 4.66421 4 4.25 4C3.83579 4 3.5 4.33579 3.5 4.75V10.25C3.5 10.6642 3.83579 11 4.25 11C4.66421 11 5 10.6642 5 10.25V4.75Z", fill: "#8DD439" }),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
const OutlineManuscriptIcon = (props) => (React.createElement("svg",
|
|
2
|
+
const OutlineManuscriptIcon = (props) => (React.createElement("svg", { width: "16", height: "18", viewBox: "0 0 16 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
3
|
React.createElement("rect", { x: "1.25", y: "1.25", width: "13.5", height: "15.5", rx: "1.75", stroke: "#FFBD26", strokeWidth: "1.5" }),
|
|
4
4
|
React.createElement("rect", { x: "4.375", y: "4.375", width: "4.25", height: "0.75", rx: "0.375", stroke: "#FFBD26", strokeWidth: "0.75" }),
|
|
5
5
|
React.createElement("rect", { x: "4.375", y: "8.375", width: "7.25", height: "0.75", rx: "0.375", stroke: "#FFBD26", strokeWidth: "0.75" }),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
const OutlineOrderedListIcon = (props) => (React.createElement("svg",
|
|
2
|
+
const OutlineOrderedListIcon = (props) => (React.createElement("svg", { width: "19", height: "18", viewBox: "0 0 19 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
3
|
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4.07165 10C5.15312 10 5.87634 10.5792 5.87634 11.433C5.87634 11.9688 5.5616 12.4442 4.70446 13.2076L3.90759 13.9408V14.0045H5.9433V14.9621H2.27031V14.1417L3.7971 12.7054C4.50692 12.0491 4.68772 11.8047 4.68772 11.5201C4.68772 11.1652 4.42656 10.9275 4.02812 10.9275C3.61294 10.9275 3.325 11.2087 3.325 11.6071V11.6306H2.2V11.6105C2.2 10.6496 2.95 10 4.07165 10ZM16.0583 12C16.4725 12 16.8083 12.3358 16.8083 12.75C16.8083 13.1642 16.4725 13.5 16.0583 13.5H9.55826C9.14404 13.5 8.80826 13.1642 8.80826 12.75C8.80826 12.3358 9.14404 12 9.55826 12H16.0583ZM4.67433 3.25V8.08147H3.44553V4.35826H3.38192L2.21674 5.14509V4.08705L3.44553 3.25H4.67433ZM16.0583 5C16.4725 5 16.8083 5.33579 16.8083 5.75C16.8083 6.16421 16.4725 6.5 16.0583 6.5H9.55826C9.14404 6.5 8.80826 6.16421 8.80826 5.75C8.80826 5.33579 9.14404 5 9.55826 5H16.0583Z", fill: "#0B6BB8" })));
|
|
4
4
|
export default OutlineOrderedListIcon;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
const OutlineParagraphIcon = (props) => (React.createElement("svg",
|
|
2
|
+
const OutlineParagraphIcon = (props) => (React.createElement("svg", { width: "9", height: "14", viewBox: "0 0 9 14", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
3
|
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.86 0.5C8.02 0.5 8.1 0.579999 8.1 0.74V13.76C8.1 13.92 8.02 14 7.86 14H7.05C6.89 14 6.81 13.92 6.81 13.76V1.835C6.81 1.775 6.78 1.745 6.72 1.745H5.145C5.085 1.745 5.055 1.775 5.055 1.835V13.76C5.055 13.92 4.975 14 4.815 14H3.99C3.83 14 3.75 13.92 3.75 13.76V7.34C3.75 7.28 3.72 7.25 3.66 7.25C3.02999 7.2 2.4725 7.025 1.9875 6.725C1.5025 6.425 1.1225 6.03 0.847498 5.54C0.572496 5.05 0.434998 4.495 0.434998 3.875C0.434998 3.235 0.582496 2.6575 0.877498 2.1425C1.1725 1.6275 1.58749 1.225 2.1225 0.935C2.6575 0.644999 3.27999 0.5 3.99 0.5H7.86Z", fill: "#6E6E6E" })));
|
|
4
4
|
export default OutlineParagraphIcon;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
const OutlinePullQuoteIcon = (props) => (React.createElement("svg",
|
|
2
|
+
const OutlinePullQuoteIcon = (props) => (React.createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
3
|
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.9098 2C12.508 2 13.0473 2.23511 13.4386 2.60744C13.8547 3.00349 14.1053 3.5527 14.1053 4.15498V9.36594C14.1053 9.96822 13.8547 10.5174 13.4386 10.9135C13.0473 11.2858 12.508 11.5209 11.9098 11.5209H7.83366C7.68767 11.5209 7.309 12.3465 6.96876 12.791C6.70571 13.1346 6.46407 13.4489 6.30314 13.6313C6.15419 13.8 5.90332 14.0496 5.62402 14.3247C5.49595 14.0581 5.36099 13.7524 5.24394 13.3942C5.04532 12.7863 4.97569 12.264 4.90137 11.8546L3.97666 11.5181C3.42392 11.4904 2.92782 11.2621 2.5615 10.9135C2.14533 10.5174 1.89478 9.96822 1.89478 9.36594V4.15498C1.89478 3.5527 2.14533 3.00349 2.5615 2.60744C2.95275 2.23511 3.49204 2 4.09026 2H11.9098Z", stroke: "#F474AE", strokeWidth: "1.5" }),
|
|
4
4
|
React.createElement("path", { d: "M9.68858 8.88867C10.3827 8.88867 10.9475 8.26237 10.9475 7.49244C10.9475 6.74969 10.4219 6.1405 9.76151 6.09841C9.75008 5.96161 9.75875 5.58913 10.0808 5.07043C10.1051 5.03132 10.1007 4.97858 10.0705 4.94506C9.93925 4.7995 9.858 4.70766 9.80101 4.64339C9.72609 4.55865 9.69187 4.52003 9.64181 4.46969C9.62492 4.45278 9.60353 4.44423 9.58222 4.44423C9.56143 4.44423 9.54073 4.45229 9.52402 4.46844C8.99417 4.97983 8.40886 6.00615 8.42134 7.27346L8.42988 7.49965C8.48289 8.30445 9.01228 8.88867 9.68858 8.88867Z", fill: "#F474AE" }),
|
|
5
5
|
React.createElement("path", { d: "M6.32017 8.88867C7.01431 8.88867 7.57905 8.26237 7.57905 7.49244C7.57905 6.74969 7.05346 6.1405 6.39311 6.09841C6.38167 5.96161 6.39034 5.58913 6.71237 5.07043C6.73671 5.03132 6.73229 4.97858 6.70207 4.94506C6.57084 4.7995 6.4896 4.70766 6.4326 4.64339C6.35768 4.55865 6.32346 4.52003 6.2734 4.46969C6.25652 4.45278 6.23512 4.44423 6.21381 4.44423C6.19302 4.44423 6.17232 4.45229 6.15561 4.46844C5.5946 5.00991 4.97139 6.12867 5.06147 7.49955C5.11448 8.30445 5.64388 8.88867 6.32017 8.88867Z", fill: "#F474AE" })));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
const OutlineSectionIcon = (props) => (React.createElement("svg",
|
|
2
|
+
const OutlineSectionIcon = (props) => (React.createElement("svg", { width: "19", height: "18", viewBox: "0 0 19 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
3
|
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.89694 10.4436L9.59987 10.5961C10.6416 10.5961 11.4461 9.89316 11.4461 8.9785C11.4461 8.2671 10.938 7.76742 10.0064 7.56417L9.30345 7.41172C8.2787 7.41172 7.44873 8.14006 7.44873 9.02931C7.44873 9.72378 7.97381 10.2404 8.89694 10.4436ZM9.48977 16.0078C7.55036 16.0078 6.13603 14.9746 6.02593 13.4756H7.51648C7.63505 14.2547 8.45655 14.7713 9.56599 14.7713C10.7178 14.7713 11.5054 14.2293 11.5054 13.4332C11.5054 12.798 10.9973 12.3915 9.82853 12.0782L8.6344 11.7563C6.77967 11.2567 5.94971 10.5029 5.94971 9.31726C5.94971 8.24169 6.64417 7.42866 7.83831 7.09837V6.96286C6.60182 6.48013 5.98358 5.70944 5.98358 4.65081C5.98358 3.07557 7.35557 2 9.37967 2C11.2598 2 12.5556 2.94006 12.7504 4.44756H11.2852C11.1666 3.71075 10.4129 3.23648 9.3458 3.23648C8.21094 3.23648 7.44873 3.77003 7.44873 4.56612C7.44873 5.20977 7.93993 5.61629 9.10019 5.92964L10.2943 6.25146C12.1236 6.74267 12.9451 7.47948 12.9451 8.6228C12.9451 9.78306 12.0644 10.7655 10.794 11.0195V11.155C12.2168 11.4769 12.9451 12.2137 12.9451 13.3316C12.9451 14.8984 11.5139 16.0078 9.48977 16.0078Z", fill: "#48BEE7" })));
|
|
4
4
|
export default OutlineSectionIcon;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
const OutlineTableIcon = (props) => (React.createElement("svg",
|
|
2
|
+
const OutlineTableIcon = (props) => (React.createElement("svg", { width: "19", height: "18", viewBox: "0 0 19 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
3
|
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.4615 4.25C14.9448 4.25 15.3823 4.44588 15.699 4.76256C16.0157 5.07925 16.2115 5.51675 16.2115 6V12C16.2115 12.4832 16.0157 12.9207 15.699 13.2374C15.3823 13.5541 14.9448 13.75 14.4615 13.75H5.03846C4.55521 13.75 4.11771 13.5541 3.80102 13.2374C3.48434 12.9207 3.28846 12.4832 3.28846 12V6C3.28846 5.51675 3.48434 5.07925 3.80102 4.76256C4.11771 4.44588 4.55521 4.25 5.03846 4.25H14.4615Z", stroke: "#F35143", strokeWidth: "1.5" }),
|
|
4
4
|
React.createElement("path", { d: "M16 7.5H3.5V8.5H16V7.5Z", fill: "#F35143", stroke: "#F35143" }),
|
|
5
5
|
React.createElement("path", { d: "M7.61538 4.5H6.61538V13.5H7.61538V4.5Z", fill: "#F35143", stroke: "#F35143" })));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
const OutlineUnorderedListIcon = (props) => (React.createElement("svg",
|
|
2
|
+
const OutlineUnorderedListIcon = (props) => (React.createElement("svg", { width: "19", height: "18", viewBox: "0 0 19 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
3
|
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M17.25 12C17.6642 12 18 12.3358 18 12.75C18 13.1642 17.6642 13.5 17.25 13.5H9.75C9.33579 13.5 9 13.1642 9 12.75C9 12.3358 9.33579 12 9.75 12H17.25ZM17.25 5C17.6642 5 18 5.33579 18 5.75C18 6.16421 17.6642 6.5 17.25 6.5H9.75C9.33579 6.5 9 6.16421 9 5.75C9 5.33579 9.33579 5 9.75 5H17.25Z", fill: "#0B6BB8" }),
|
|
4
4
|
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.75569 3.5C5.00148 3.5 6.01139 4.50991 6.01139 5.75569C6.01139 7.00148 5.00148 8.01139 3.75569 8.01139C2.50991 8.01139 1.5 7.00148 1.5 5.75569C1.5 4.50991 2.50991 3.5 3.75569 3.5ZM3.75569 4.73038C3.18943 4.73038 2.73038 5.18943 2.73038 5.75569C2.73038 6.32196 3.18943 6.78101 3.75569 6.78101C4.32196 6.78101 4.78101 6.32196 4.78101 5.75569C4.78101 5.18943 4.32196 4.73038 3.75569 4.73038Z", fill: "#0B6BB8" }),
|
|
5
5
|
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.75569 10.5C5.00148 10.5 6.01139 11.5099 6.01139 12.7557C6.01139 14.0015 5.00148 15.0114 3.75569 15.0114C2.50991 15.0114 1.5 14.0015 1.5 12.7557C1.5 11.5099 2.50991 10.5 3.75569 10.5ZM3.75569 11.7304C3.18943 11.7304 2.73038 12.1894 2.73038 12.7557C2.73038 13.322 3.18943 13.781 3.75569 13.781C4.32196 13.781 4.78101 13.322 4.78101 12.7557C4.78101 12.1894 4.32196 11.7304 3.75569 11.7304Z", fill: "#0B6BB8" })));
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import React from 'react';
|
|
17
|
-
export const PlusIcon = (props) => (React.createElement("svg",
|
|
17
|
+
export const PlusIcon = (props) => (React.createElement("svg", { width: "11", height: "10", viewBox: "0 0 11 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
18
18
|
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.5 0.5C5.25147 0.5 5.05 0.701472 5.05 0.95V4.55H1.45C1.20147 4.55 1 4.75147 1 5C1 5.24853 1.20147 5.45 1.45 5.45H5.05V9.05C5.05 9.29853 5.25147 9.5 5.5 9.5C5.74853 9.5 5.95 9.29853 5.95 9.05V5.45H9.55C9.79853 5.45 10 5.24853 10 5C10 4.75147 9.79853 4.55 9.55 4.55H5.95V0.95C5.95 0.701472 5.74853 0.5 5.5 0.5Z", fill: "#6E6E6E" }),
|
|
19
19
|
React.createElement("path", { d: "M5.05 4.55V5.05H5.55V4.55H5.05ZM5.05 5.45H5.55V4.95H5.05V5.45ZM5.95 5.45V4.95H5.45V5.45H5.95ZM5.95 4.55H5.45V5.05H5.95V4.55ZM5.55 0.95C5.55 0.977614 5.52761 1 5.5 1V0C4.97533 0 4.55 0.425329 4.55 0.95H5.55ZM5.55 4.55V0.95H4.55V4.55H5.55ZM1.45 5.05H5.05V4.05H1.45V5.05ZM1.5 5C1.5 5.02761 1.47761 5.05 1.45 5.05V4.05C0.925329 4.05 0.5 4.47533 0.5 5H1.5ZM1.45 4.95C1.47761 4.95 1.5 4.97239 1.5 5H0.5C0.5 5.52467 0.925328 5.95 1.45 5.95V4.95ZM5.05 4.95H1.45V5.95H5.05V4.95ZM5.55 9.05V5.45H4.55V9.05H5.55ZM5.5 9C5.52761 9 5.55 9.02239 5.55 9.05H4.55C4.55 9.57467 4.97533 10 5.5 10V9ZM5.45 9.05C5.45 9.02239 5.47239 9 5.5 9V10C6.02467 10 6.45 9.57467 6.45 9.05H5.45ZM5.45 5.45V9.05H6.45V5.45H5.45ZM9.55 4.95H5.95V5.95H9.55V4.95ZM9.5 5C9.5 4.97239 9.52238 4.95 9.55 4.95V5.95C10.0747 5.95 10.5 5.52467 10.5 5H9.5ZM9.55 5.05C9.52239 5.05 9.5 5.02761 9.5 5H10.5C10.5 4.47533 10.0747 4.05 9.55 4.05V5.05ZM5.95 5.05H9.55V4.05H5.95V5.05ZM5.45 0.95V4.55H6.45V0.95H5.45ZM5.5 1C5.47239 1 5.45 0.977615 5.45 0.95H6.45C6.45 0.425329 6.02467 0 5.5 0V1Z", fill: "#6E6E6E" })));
|
|
20
20
|
export default PlusIcon;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
const ProfileAvatarIcon = (props) => (React.createElement("svg",
|
|
2
|
+
const ProfileAvatarIcon = (props) => (React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "44", height: "44", viewBox: "0 0 32 32", fill: "none", ...props },
|
|
3
3
|
React.createElement("path", { d: "M16 0C24.837 0 32 7.163 32 16C32 24.837 24.837 32 16 32C7.163 32 0 24.837 0 16C0 7.163 7.163 0 16 0ZM16 17.585C14.7258 17.585 13.4651 17.8457 12.2954 18.351C11.1257 18.8563 10.0718 19.5956 9.19841 20.5234C8.32504 21.4512 7.65073 22.5478 7.21694 23.7459C6.78315 24.944 6.59907 26.2181 6.676 27.49C9.31009 29.6338 12.6038 30.802 16 30.797C19.396 30.802 22.6896 29.6342 25.324 27.491C25.4009 26.2191 25.2168 24.945 24.7831 23.7469C24.3493 22.5488 23.675 21.4522 22.8016 20.5244C21.9282 19.5966 20.8743 18.8573 19.7046 18.352C18.5349 17.8467 17.2742 17.586 16 17.586V17.585ZM16 1.203C7.828 1.203 1.203 7.828 1.203 16C1.203 20.03 2.815 23.685 5.429 26.354C5.672 21.779 8.82 17.976 13.062 16.753C12.0228 16.1131 11.2209 15.1516 10.778 14.0145C10.3351 12.8773 10.2754 11.6267 10.608 10.4526C10.9406 9.27843 11.6473 8.24491 12.6208 7.509C13.5943 6.7731 14.7814 6.37501 16.0018 6.37522C17.2221 6.37543 18.4091 6.77391 19.3823 7.51015C20.3556 8.24639 21.0619 9.28015 21.3941 10.4544C21.7263 11.6287 21.6662 12.8793 21.2229 14.0163C20.7796 15.1533 19.9774 16.1145 18.938 16.754C23.18 17.976 26.328 21.779 26.571 26.354C29.2842 23.5912 30.802 19.8723 30.797 16C30.797 7.828 24.172 1.203 16 1.203ZM16 7.621C15.4219 7.61225 14.8479 7.71854 14.3113 7.93369C13.7747 8.14885 13.2863 8.46857 12.8744 8.87426C12.4625 9.27994 12.1355 9.76349 11.9122 10.2968C11.6889 10.83 11.574 11.4024 11.574 11.9805C11.574 12.5586 11.6889 13.131 11.9122 13.6642C12.1355 14.1975 12.4625 14.6811 12.8744 15.0867C13.2863 15.4924 13.7747 15.8122 14.3113 16.0273C14.8479 16.2425 15.4219 16.3488 16 16.34C17.1448 16.3227 18.2368 15.8557 19.0402 15.0401C19.8436 14.2244 20.294 13.1254 20.294 11.9805C20.294 10.8356 19.8436 9.73663 19.0402 8.92095C18.2368 8.10527 17.1448 7.63834 16 7.621Z", fill: "#6E6E6E" })));
|
|
4
4
|
export default ProfileAvatarIcon;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
const RoleAnnotatingIcon = (props) => (React.createElement("svg",
|
|
2
|
+
const RoleAnnotatingIcon = (props) => (React.createElement("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
3
|
React.createElement("path", { d: "M5.5 6.5H12.5", stroke: "#6E6E6E", strokeWidth: "1.5", strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
4
4
|
React.createElement("path", { d: "M5.5 9.5H12.5", stroke: "#6E6E6E", strokeWidth: "1.5", strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
5
5
|
React.createElement("path", { d: "M16.5 8C16.5 4.41 13.142 1.5 9 1.5C4.858 1.5 1.5 4.41 1.5 8C1.5 11.59 4.858 14.5 9 14.5C9.525 14.5 10.037 14.452 10.532 14.363L14.5 16.5V12.409C15.738 11.25 16.5 9.704 16.5 8Z", stroke: "#6E6E6E", strokeWidth: "1.5", strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round" })));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
const RoleReadingIcon = (props) => (React.createElement("svg",
|
|
2
|
+
const RoleReadingIcon = (props) => (React.createElement("svg", { width: "18", height: "16", viewBox: "0 0 18 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
3
|
React.createElement("path", { d: "M1.5 8.5L3.5 1.5H5.5", stroke: "#6E6E6E", strokeWidth: "1.5", strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
4
4
|
React.createElement("path", { d: "M16.5 8.5L14.5 1.5H12.5", stroke: "#6E6E6E", strokeWidth: "1.5", strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
5
5
|
React.createElement("path", { d: "M1.5 8.5H7.5V12.5C7.5 12.7652 7.39464 13.0196 7.20711 13.2071C7.01957 13.3946 6.76522 13.5 6.5 13.5H2.5C2.23478 13.5 1.98043 13.3946 1.79289 13.2071C1.60536 13.0196 1.5 12.7652 1.5 12.5V8.5Z", stroke: "#6E6E6E", strokeWidth: "1.5", strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import React from 'react';
|
|
17
|
-
const SaveStatusOfflineIcon = (props) => (React.createElement("svg",
|
|
17
|
+
const SaveStatusOfflineIcon = (props) => (React.createElement("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
18
18
|
React.createElement("path", { d: "M12.487 5.513C11.8612 4.67043 10.9855 4.04685 9.98458 3.73112C8.98366 3.4154 7.90863 3.42363 6.91267 3.75466C5.91672 4.08569 5.05064 4.72261 4.43787 5.57468C3.82509 6.42674 3.49687 7.45048 3.49999 8.5C3.49999 8.517 3.49999 8.533 3.49999 8.55C2.89241 8.67337 2.35235 9.0181 1.98464 9.51726C1.61694 10.0164 1.44782 10.6344 1.51013 11.2512C1.57244 11.8681 1.86172 12.4398 2.32182 12.8553C2.78192 13.2709 3.38001 13.5006 3.99999 13.5H4.49999", stroke: "#6E6E6E", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
19
19
|
React.createElement("path", { d: "M7.32797 13.5H14C14.663 13.5 15.2989 13.2366 15.7677 12.7678C16.2366 12.2989 16.5 11.663 16.5 11C16.5 10.337 16.2366 9.70108 15.7677 9.23224C15.2989 8.7634 14.663 8.50001 14 8.50001C13.8304 8.50013 13.6612 8.51722 13.495 8.55101C13.495 8.53301 13.5 8.51701 13.5 8.50001C13.4987 8.14523 13.4598 7.79158 13.384 7.44501", stroke: "#6E6E6E", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
20
20
|
React.createElement("path", { d: "M1.5 16.5L16.5 1.5", stroke: "#6E6E6E", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })));
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import React from 'react';
|
|
17
|
-
const SaveStatusSavedIcon = (props) => (React.createElement("svg",
|
|
17
|
+
const SaveStatusSavedIcon = (props) => (React.createElement("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
18
18
|
React.createElement("path", { d: "M9 16.5C13.1421 16.5 16.5 13.1421 16.5 9C16.5 4.85786 13.1421 1.5 9 1.5C4.85786 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85786 16.5 9 16.5Z", stroke: "#6E6E6E", strokeWidth: "1.5", strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
19
19
|
React.createElement("path", { d: "M5.5 8.5L8 11L13 6", stroke: "#6E6E6E", strokeWidth: "1.5", strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round" })));
|
|
20
20
|
export default SaveStatusSavedIcon;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import React from 'react';
|
|
17
|
-
const SaveStatusSavingIcon = (props) => (React.createElement("svg",
|
|
17
|
+
const SaveStatusSavingIcon = (props) => (React.createElement("svg", { width: "17", height: "18", viewBox: "0 0 17 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
18
18
|
React.createElement("path", { d: "M1.5 8.5C1.5 4.634 4.634 1.5 8.5 1.5C11.136 1.5 13.328 3.141 14.5 5.5", stroke: "#6E6E6E", strokeWidth: "1.5", strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
19
19
|
React.createElement("path", { d: "M14.5 1.5V5.5H10.5", stroke: "#6E6E6E", strokeWidth: "1.5", strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
20
20
|
React.createElement("path", { d: "M15.5 9.5C15.5 13.366 12.366 16.5 8.5 16.5C5.864 16.5 3.672 14.859 2.5 12.5", stroke: "#6E6E6E", strokeWidth: "1.5", strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import React from 'react';
|
|
17
|
-
const SearchIcon = (props) => (React.createElement("svg",
|
|
17
|
+
const SearchIcon = (props) => (React.createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
18
18
|
React.createElement("path", { d: "M6.5 12C9.53757 12 12 9.53757 12 6.5C12 3.46243 9.53757 1 6.5 1C3.46243 1 1 3.46243 1 6.5C1 9.53757 3.46243 12 6.5 12Z", stroke: "#1A9BC7" }),
|
|
19
19
|
React.createElement("path", { d: "M10.3739 10.4674L13.56 14.45", stroke: "#1A9BC7", strokeLinecap: "square" })));
|
|
20
20
|
export default SearchIcon;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
const SystemUserAvatarIcon = (props) => (React.createElement("svg",
|
|
2
|
+
const SystemUserAvatarIcon = (props) => (React.createElement("svg", { width: "44", height: "44", viewBox: "0 0 44 44", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
3
|
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M35.437 30.3453L34.6649 30.2143C34.5844 29.9547 34.481 29.7042 34.3547 29.4652L34.8096 28.8287C35.0027 28.5576 34.9728 28.1876 34.7361 27.9532L34.0513 27.2684C33.9227 27.1398 33.7526 27.0685 33.5711 27.0685C33.4286 27.0685 33.293 27.1122 33.1781 27.1949L32.5393 27.6499C32.2912 27.5189 32.0315 27.4109 31.7627 27.3305L31.634 26.5676C31.5788 26.239 31.2962 26 30.963 26H29.9956C29.6624 26 29.3798 26.239 29.3246 26.5676L29.1913 27.3489C28.934 27.4293 28.6835 27.535 28.4445 27.6637L27.8126 27.2087C27.6977 27.126 27.5598 27.0823 27.4174 27.0823C27.2358 27.0823 27.0635 27.1535 26.9371 27.2822L26.25 27.967C26.0157 28.2014 25.9835 28.5713 26.1765 28.8425L26.6361 29.4882C26.5097 29.7295 26.4086 29.9799 26.3305 30.2396L25.5676 30.3683C25.239 30.4234 25 30.7061 25 31.0393V32.0067C25 32.3399 25.239 32.6225 25.5676 32.6777L26.3489 32.8109C26.4293 33.0683 26.535 33.3188 26.6637 33.5578L26.211 34.1874C26.018 34.4585 26.0478 34.8285 26.2845 35.0629L26.9693 35.7477C27.098 35.8763 27.268 35.9476 27.4495 35.9476C27.592 35.9476 27.7276 35.9039 27.8425 35.8212L28.4882 35.3616C28.7203 35.4834 28.9638 35.5822 29.2143 35.6603L29.343 36.4324C29.3981 36.761 29.6808 37 30.014 37H30.9837C31.3169 37 31.5995 36.761 31.6547 36.4324L31.7856 35.6603C32.0453 35.5799 32.2958 35.4765 32.5347 35.3501L33.1712 35.8051C33.2861 35.8878 33.424 35.9315 33.5665 35.9315C33.748 35.9315 33.9181 35.8602 34.0467 35.7316L34.7315 35.0468C34.9659 34.8124 34.9981 34.4424 34.805 34.1713L34.3501 33.5325C34.4764 33.2912 34.5821 33.0407 34.6603 32.7834L35.4324 32.6547C35.761 32.5995 35.9999 32.3169 35.9999 31.9837V31.0163C36.0045 30.6831 35.7656 30.4005 35.437 30.3453ZM28.1274 31.4989C28.1274 30.1891 29.1913 29.1251 30.5011 29.1251C31.8109 29.1251 32.8748 30.1891 32.8748 31.4989C32.8748 32.8087 31.8109 33.8726 30.5011 33.8726C29.1913 33.8726 28.1274 32.8087 28.1274 31.4989Z", fill: "#6E6E6E" }),
|
|
4
4
|
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M17.0138 21.4873C17.2969 21.9615 17.142 22.5755 16.6678 22.8586C14.7744 23.9892 13.6294 24.4712 12.8103 24.8161C12.7449 24.8436 12.6815 24.8703 12.6201 24.8964C11.8656 25.2161 11.4739 25.4057 10.8121 26.0811C10.615 26.2824 10.4074 26.7043 10.2533 27.3874C10.1058 28.0415 10.0346 28.8077 10.0102 29.5603C9.98602 30.3076 10.0086 31.0117 10.0377 31.5309C10.0522 31.7897 10.0682 32.0005 10.0804 32.1452C10.0808 32.1496 10.0811 32.154 10.0815 32.1582C10.1142 32.1931 10.1687 32.243 10.257 32.3052C10.45 32.4411 10.7422 32.5914 11.1489 32.7435C11.9617 33.0475 13.0936 33.3084 14.4579 33.5121C17.177 33.918 20.655 34.0729 23.9685 33.9684C24.5205 33.951 24.9821 34.3843 24.9995 34.9363C25.0169 35.4884 24.5835 35.95 24.0315 35.9674C20.6304 36.0746 17.0284 35.918 14.1627 35.4902C12.7346 35.277 11.4478 34.9906 10.4483 34.6167C9.9489 34.43 9.48654 34.2087 9.10561 33.9405C8.73164 33.6772 8.36481 33.3182 8.17468 32.8321C8.14227 32.7492 8.12106 32.6624 8.11162 32.5739L9.10598 32.4678C8.11162 32.5739 8.11164 32.5741 8.11162 32.5739L8.11094 32.5675L8.10947 32.5531L8.10439 32.5017C8.10014 32.4575 8.09428 32.394 8.08748 32.3134C8.07389 32.1524 8.05652 31.9226 8.04084 31.6427C8.00959 31.0847 7.98461 30.3188 8.0113 29.4955C8.03781 28.6777 8.11614 27.7727 8.30234 26.9473C8.482 26.1508 8.7925 25.2847 9.38351 24.6815C10.2981 23.7479 10.9514 23.4313 11.8397 23.0549C11.9021 23.0285 11.966 23.0015 12.0318 22.9739C12.8206 22.6419 13.8677 22.2011 15.6425 21.1414C16.1167 20.8583 16.7306 21.0132 17.0138 21.4873ZM26.9862 21.4873C27.2694 21.0132 27.8833 20.8583 28.3575 21.1414C29.7486 21.972 30.6922 22.4217 31.4007 22.7316C31.9067 22.9529 32.1375 23.5426 31.9162 24.0485C31.6949 24.5545 31.1053 24.7853 30.5993 24.564C29.8197 24.223 28.8008 23.7355 27.3322 22.8586C26.858 22.5755 26.7031 21.9615 26.9862 21.4873Z", fill: "#6E6E6E" }),
|
|
5
5
|
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M22 20C25.3137 20 28 17.3137 28 14C28 10.6863 25.3137 8 22 8C18.6863 8 16 10.6863 16 14C16 17.3137 18.6863 20 22 20ZM22 22C26.4183 22 30 18.4183 30 14C30 9.58172 26.4183 6 22 6C17.5817 6 14 9.58172 14 14C14 18.4183 17.5817 22 22 22Z", fill: "#6E6E6E" }),
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import React from 'react';
|
|
17
|
-
const TaskStepDoneIcon = (props) => (React.createElement("svg",
|
|
17
|
+
const TaskStepDoneIcon = (props) => (React.createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
18
18
|
React.createElement("path", { d: "M8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16Z", fill: "#353535" }),
|
|
19
19
|
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4.96942 7.53878C4.56992 7.16264 3.93338 7.1734 3.53964 7.57093L3.71338 7.39552C3.32324 7.78942 3.33476 8.41736 3.73198 8.79134L6.4256 11.3274L12.2328 5.82715C12.6326 5.44848 12.6332 4.83693 12.2258 4.45339L12.4056 4.62263C12.0019 4.24258 11.3437 4.2432 10.9389 4.62068L6.38269 8.86941L4.96942 7.53878Z", fill: "white" })));
|
|
20
20
|
export default TaskStepDoneIcon;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
const ToolbarBoldIcon = (props) => (React.createElement("svg",
|
|
2
|
+
const ToolbarBoldIcon = (props) => (React.createElement("svg", { width: "19", height: "16", viewBox: "0 0 19 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
3
|
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.0757 13.5688H5V3H9.9292C12.0386 3 13.2837 3.99609 13.2837 5.63672C13.2837 6.77197 12.4341 7.73145 11.3135 7.88525V8.02441C12.6978 8.09766 13.7671 9.17432 13.7671 10.522C13.7671 12.375 12.3389 13.5688 10.0757 13.5688ZM7.68799 4.89697V7.30664H9.10889C10.0903 7.30664 10.6616 6.85254 10.6616 6.10547C10.6616 5.35107 10.127 4.89697 9.21143 4.89697H7.68799ZM7.68799 11.6719H9.31396C10.4272 11.6719 11.0352 11.1812 11.0352 10.2876C11.0352 9.42334 10.4126 8.93994 9.29932 8.93994H7.68799V11.6719Z", fill: "#6E6E6E" })));
|
|
4
4
|
export default ToolbarBoldIcon;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
const ToolbarCitationIcon = (props) => (React.createElement("svg",
|
|
2
|
+
const ToolbarCitationIcon = (props) => (React.createElement("svg", { width: "19", height: "16", viewBox: "0 0 19 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
3
|
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.018 6.842L13.656 5.482L14.336 7.114L10.63 8.406L12.874 11.5L11.48 12.554L9.134 9.29L6.924 12.554L5.394 11.5L7.604 8.406L4 7.114L4.612 5.482L8.216 6.842V3H10.018V6.842Z", fill: "#1A9BC7" })));
|
|
4
4
|
export default ToolbarCitationIcon;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
const ToolbarCodeIcon = (props) => (React.createElement("svg",
|
|
2
|
+
const ToolbarCodeIcon = (props) => (React.createElement("svg", { width: "19", height: "16", viewBox: "0 0 19 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
3
|
React.createElement("path", { d: "M5.96863 12.7023L1.46861 8.20223L6.07794 3.5929", stroke: "#B3A1FC", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
4
4
|
React.createElement("path", { d: "M13.0779 12.7023L17.578 8.20223L12.9686 3.5929", stroke: "#B3A1FC", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })));
|
|
5
5
|
export default ToolbarCodeIcon;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
const ToolbarEquationIcon = (props) => (React.createElement("svg",
|
|
2
|
+
const ToolbarEquationIcon = (props) => (React.createElement("svg", { width: "19", height: "16", viewBox: "0 0 19 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
3
|
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.00284 9.09123C7.00284 7.13615 7.50772 5.5302 8.55508 4.19816H9.57559C8.80215 5.18645 8.19522 7.24895 8.19522 9.08586C8.19522 10.9335 8.79678 12.996 9.57559 13.9843H8.55508C7.50772 12.6523 7.00284 11.0463 7.00284 9.09123ZM12.9835 10.2568H12.8976L11.6193 12.33H10.3517L12.2906 9.41887L10.3356 6.48088H11.6837L12.9405 8.54338H13.0318L14.2779 6.48088H15.5616L13.6334 9.37053L15.5831 12.33H14.2565L12.9835 10.2568ZM4.93594 2.3125C5.33438 2.3125 5.58438 2.35938 5.85001 2.41406L5.61563 3.52344C5.44376 3.48438 5.17032 3.44531 4.80313 3.44531C4.02969 3.44531 3.55313 3.85156 3.37344 4.79688L3.22501 5.57812H5.15469L4.92032 6.70312H2.99063L1.47501 14H0.100006L1.61563 6.70312H0.217194L0.451569 5.57812H1.85001L2.00626 4.75781C2.33438 3.03125 3.23282 2.3125 4.93594 2.3125ZM17.3636 4.19816C18.4056 5.5302 18.9105 7.13615 18.9105 9.09123C18.9105 11.0463 18.4056 12.6523 17.3636 13.9843H16.3431C17.1165 12.996 17.7235 10.9335 17.7235 9.08586C17.7235 7.24895 17.1165 5.18645 16.3431 4.19816H17.3636Z", fill: "#FE8F1F" })));
|
|
4
4
|
export default ToolbarEquationIcon;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
const ToolbarFigureIcon = (props) => (React.createElement("svg",
|
|
2
|
+
const ToolbarFigureIcon = (props) => (React.createElement("svg", { width: "19", height: "16", viewBox: "0 0 19 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
3
|
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12.5 0.5C14.433 0.5 16 2.067 16 4V12C16 13.933 14.433 15.5 12.5 15.5H6.5C4.567 15.5 3 13.933 3 12V4C3 2.067 4.567 0.5 6.5 0.5H12.5ZM12.5 2H6.5C5.39543 2 4.5 2.89543 4.5 4V12C4.5 13.1046 5.39543 14 6.5 14H12.5C13.6046 14 14.5 13.1046 14.5 12V4C14.5 2.89543 13.6046 2 12.5 2ZM7.25 5C7.66421 5 8 5.33579 8 5.75V11.25C8 11.6642 7.66421 12 7.25 12C6.83579 12 6.5 11.6642 6.5 11.25V5.75C6.5 5.33579 6.83579 5 7.25 5ZM10.25 7C10.6642 7 11 7.33579 11 7.75V11.25C11 11.6642 10.6642 12 10.25 12C9.83579 12 9.5 11.6642 9.5 11.25V7.75C9.5 7.33579 9.83579 7 10.25 7Z", fill: "#8DD439" })));
|
|
4
4
|
export default ToolbarFigureIcon;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
const ToolbarIndentIcon = (props) => (React.createElement("svg",
|
|
2
|
+
const ToolbarIndentIcon = (props) => (React.createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
3
|
React.createElement("line", { x1: "13", y1: "6.5", x2: "20", y2: "6.5", stroke: "#6E6E6E", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
4
4
|
React.createElement("line", { x1: "13", y1: "10.25", x2: "20", y2: "10.25", stroke: "#6E6E6E", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
5
5
|
React.createElement("line", { x1: "13", y1: "14", x2: "20", y2: "14", stroke: "#6E6E6E", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
const ToolbarItalicIcon = (props) => (React.createElement("svg",
|
|
2
|
+
const ToolbarItalicIcon = (props) => (React.createElement("svg", { width: "19", height: "16", viewBox: "0 0 19 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
3
|
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.21802 13.4211H7.5L9.82349 2.5H11.5415L9.21802 13.4211Z", fill: "#6E6E6E" })));
|
|
4
4
|
export default ToolbarItalicIcon;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
const ToolbarOrderedListIcon = (props) => (React.createElement("svg",
|
|
2
|
+
const ToolbarOrderedListIcon = (props) => (React.createElement("svg", { width: "19", height: "16", viewBox: "0 0 19 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
3
|
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.87165 9C4.95312 9 5.67634 9.57924 5.67634 10.433C5.67634 10.9688 5.36161 11.4442 4.50446 12.2076L3.70759 12.9408V13.0045H5.7433V13.9621H2.07031V13.1417L3.5971 11.7054C4.30692 11.0491 4.48772 10.8047 4.48772 10.5201C4.48772 10.1652 4.22656 9.92745 3.82812 9.92745C3.41295 9.92745 3.125 10.2087 3.125 10.6071V10.6306H2V10.6105C2 9.64955 2.75 9 3.87165 9ZM15.8583 11C16.2725 11 16.6083 11.3358 16.6083 11.75C16.6083 12.1642 16.2725 12.5 15.8583 12.5H9.35826C8.94405 12.5 8.60826 12.1642 8.60826 11.75C8.60826 11.3358 8.94405 11 9.35826 11H15.8583ZM4.47433 2.25V7.08147H3.24554V3.35826H3.18192L2.01674 4.14509V3.08705L3.24554 2.25H4.47433ZM15.8583 4C16.2725 4 16.6083 4.33579 16.6083 4.75C16.6083 5.16421 16.2725 5.5 15.8583 5.5H9.35826C8.94405 5.5 8.60826 5.16421 8.60826 4.75C8.60826 4.33579 8.94405 4 9.35826 4H15.8583Z", fill: "#0B6BB8" })));
|
|
4
4
|
export default ToolbarOrderedListIcon;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
const ToolbarSubscriptIcon = (props) => (React.createElement("svg",
|
|
2
|
+
const ToolbarSubscriptIcon = (props) => (React.createElement("svg", { width: "19", height: "16", viewBox: "0 0 19 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
3
|
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.9121 8.71838V15.0597H12.585V10.0104H12.5059L10.9502 11.0826V9.84778L12.5894 8.71838H13.9121ZM11.2808 3.90002V5.31555H8.45605V13.0597H6.81836V5.31555H4V3.90002H11.2808Z", fill: "#6E6E6E" })));
|
|
4
4
|
export default ToolbarSubscriptIcon;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
const ToolbarSuperscriptIcon = (props) => (React.createElement("svg",
|
|
2
|
+
const ToolbarSuperscriptIcon = (props) => (React.createElement("svg", { width: "19", height: "16", viewBox: "0 0 19 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
3
|
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.7808 3.88165V5.29718H7.95605V13.0413H6.31836V5.29718H3.5V3.88165H10.7808ZM15.4121 2.70001V9.04132H14.085V3.992H14.0059L12.4502 5.06427V3.82941L14.0894 2.70001H15.4121Z", fill: "#6E6E6E" })));
|
|
4
4
|
export default ToolbarSuperscriptIcon;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
const ToolbarSymbolIcon = (props) => (React.createElement("svg",
|
|
2
|
+
const ToolbarSymbolIcon = (props) => (React.createElement("svg", { width: "19", height: "16", viewBox: "0 0 19 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
3
|
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.93411 4.5L10.3289 6.8948L10.3309 6.89282L11.4033 7.96526L7.86861 11.5H13.38V13H5.38V11.5H5.72371L9.25647 7.96725L5.78922 4.5H5.35V3H13.35V4.5H7.93411Z", fill: "#FFBD26" })));
|
|
4
4
|
export default ToolbarSymbolIcon;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
const ToolbarTableIcon = (props) => (React.createElement("svg",
|
|
2
|
+
const ToolbarTableIcon = (props) => (React.createElement("svg", { width: "19", height: "16", viewBox: "0 0 19 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
3
|
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M15 2C16.3807 2 17.5 3.11929 17.5 4.5V11.5C17.5 12.8807 16.3807 14 15 14H4C2.61929 14 1.5 12.8807 1.5 11.5V4.5C1.5 3.11929 2.61929 2 4 2H15ZM5 7H3V11.5C3 12.0128 3.38604 12.4355 3.88338 12.4933L4 12.5H5V7ZM16 7H6.5V12.5H15C15.5128 12.5 15.9355 12.114 15.9933 11.6166L16 11.5V7ZM5 3.5H4C3.44772 3.5 3 3.94772 3 4.5V5.5H5V3.5ZM15 3.5H6.5V5.5H16V4.5C16 3.98716 15.614 3.56449 15.1166 3.50673L15 3.5Z", fill: "#F35143" })));
|
|
4
4
|
export default ToolbarTableIcon;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
const ToolbarUnderlineIcon = (props) => (React.createElement("svg",
|
|
2
|
+
const ToolbarUnderlineIcon = (props) => (React.createElement("svg", { width: "19", height: "16", viewBox: "0 0 19 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
3
|
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.75 12.4551C14.1642 12.4551 14.5 12.7909 14.5 13.2051C14.5 13.6193 14.1642 13.9551 13.75 13.9551H5.25C4.83579 13.9551 4.5 13.6193 4.5 13.2051C4.5 12.7909 4.83579 12.4551 5.25 12.4551H13.75ZM7.57227 2.5V7.90234C7.57227 9.04492 8.28711 9.8125 9.54102 9.8125C10.7949 9.8125 11.5039 9.04492 11.5039 7.90234V2.5H13.0156V8.04297C13.0156 9.88867 11.6797 11.166 9.54102 11.166C7.40234 11.166 6.06641 9.88867 6.06641 8.04297V2.5H7.57227Z", fill: "#6E6E6E" })));
|
|
4
4
|
export default ToolbarUnderlineIcon;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
const ToolbarUnorderedListIcon = (props) => (React.createElement("svg",
|
|
2
|
+
const ToolbarUnorderedListIcon = (props) => (React.createElement("svg", { width: "19", height: "16", viewBox: "0 0 19 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
3
|
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.75569 2.5C5.00148 2.5 6.01139 3.50991 6.01139 4.75569C6.01139 6.00148 5.00148 7.01139 3.75569 7.01139C2.50991 7.01139 1.5 6.00148 1.5 4.75569C1.5 3.50991 2.50991 2.5 3.75569 2.5ZM3.75569 3.73038C3.18943 3.73038 2.73038 4.18943 2.73038 4.75569C2.73038 5.32196 3.18943 5.78101 3.75569 5.78101C4.32196 5.78101 4.78101 5.32196 4.78101 4.75569C4.78101 4.18943 4.32196 3.73038 3.75569 3.73038ZM3.75569 9.5C5.00148 9.5 6.01139 10.5099 6.01139 11.7557C6.01139 13.0015 5.00148 14.0114 3.75569 14.0114C2.50991 14.0114 1.5 13.0015 1.5 11.7557C1.5 10.5099 2.50991 9.5 3.75569 9.5ZM3.75569 10.7304C3.18943 10.7304 2.73038 11.1894 2.73038 11.7557C2.73038 12.322 3.18943 12.781 3.75569 12.781C4.32196 12.781 4.78101 12.322 4.78101 11.7557C4.78101 11.1894 4.32196 10.7304 3.75569 10.7304ZM16.25 11C16.6642 11 17 11.3358 17 11.75C17 12.1642 16.6642 12.5 16.25 12.5H9.75C9.33579 12.5 9 12.1642 9 11.75C9 11.3358 9.33579 11 9.75 11H16.25ZM16.25 4C16.6642 4 17 4.33579 17 4.75C17 5.16421 16.6642 5.5 16.25 5.5H9.75C9.33579 5.5 9 5.16421 9 4.75C9 4.33579 9.33579 4 9.75 4H16.25Z", fill: "#0B6BB8" })));
|
|
4
4
|
export default ToolbarUnorderedListIcon;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
const TriangleCollapsedIcon = (props) => (React.createElement("svg",
|
|
2
|
+
const TriangleCollapsedIcon = (props) => (React.createElement("svg", { width: "17", height: "17", viewBox: "0 0 17 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
3
|
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.731 5.65627C5.38994 5.23955 5.43134 4.60792 5.82348 4.24548C6.21562 3.88304 6.81 3.92704 7.15106 4.34375L10.5 8.43549L7.20134 12.6403C6.86855 13.0645 6.27516 13.1217 5.87597 12.7681C5.47679 12.4144 5.42296 11.7839 5.75575 11.3596L8.02818 8.46297L5.731 5.65627Z", fill: "#6E6E6E" })));
|
|
4
4
|
export default TriangleCollapsedIcon;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
const TriangleExpandedIcon = (props) => (React.createElement("svg",
|
|
2
|
+
const TriangleExpandedIcon = (props) => (React.createElement("svg", { width: "17", height: "17", viewBox: "0 0 17 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
3
|
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.8437 6.231C11.2604 5.88994 11.8921 5.93134 12.2545 6.32348C12.617 6.71562 12.573 7.31 12.1562 7.65106L8.06451 11L3.85969 7.70134C3.43548 7.36855 3.37828 6.77516 3.73193 6.37598C4.08557 5.97679 4.71615 5.92296 5.14035 6.25575L8.03703 8.52818L10.8437 6.231Z", fill: "#6E6E6E" })));
|
|
4
4
|
export default TriangleExpandedIcon;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
const UploadIcon = (props) => (React.createElement("svg",
|
|
2
|
+
const UploadIcon = (props) => (React.createElement("svg", { width: "17", height: "18", viewBox: "0 0 17 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
3
|
React.createElement("path", { d: "M8.5 12.5V1.5", stroke: "#6E6E6E", strokeWidth: "1.5", strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
4
4
|
React.createElement("path", { d: "M13.5 6.5L8.5 1.5L3.5 6.5", stroke: "#6E6E6E", strokeWidth: "1.5", strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
5
5
|
React.createElement("path", { d: "M15.5 16.5H1.5", stroke: "#6E6E6E", strokeWidth: "1.5", strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round" })));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
const VerticalEllipsisIcon = (props) => (React.createElement("svg",
|
|
2
|
+
const VerticalEllipsisIcon = (props) => (React.createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
3
|
React.createElement("circle", { cx: "8", cy: "2", r: "2", fill: "#1A9BC7" }),
|
|
4
4
|
React.createElement("circle", { cx: "8", cy: "8", r: "2", fill: "#1A9BC7" }),
|
|
5
5
|
React.createElement("circle", { cx: "8", cy: "14", r: "2", fill: "#1A9BC7" })));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export const XIcon = (props) => (React.createElement("svg",
|
|
2
|
+
export const XIcon = (props) => (React.createElement("svg", { width: 30, height: 30, viewBox: "0 0 30 30", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
3
|
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.34921 12.4923C3.01447 12.1576 3.01447 11.6187 3.34921 11.2839L12.7654 \n 1.86772C13.1001 1.53298 13.639 1.53298 13.9738 1.86772C14.3085 2.20246 \n 14.3085 2.74135 13.9738 3.07609L4.55758 12.4923C4.22284 12.8271 3.68395 \n 12.8271 3.34921 12.4923Z" }),
|
|
4
4
|
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.34921 1.86667C3.01447 2.20141 3.01447 2.74029 3.34921 3.07503L12.7654 \n 12.4913C13.1001 12.826 13.639 12.826 13.9738 12.4913C14.3085 12.1565 \n 14.3085 11.6176 13.9738 11.2829L4.55758 1.86667C4.22284 1.53193 3.68395 \n 1.53193 3.34921 1.86667Z" })));
|
|
5
5
|
export default XIcon;
|
|
@@ -26,13 +26,21 @@ const getSubmenuState = (specs, pointer, position) => {
|
|
|
26
26
|
return spec;
|
|
27
27
|
}
|
|
28
28
|
const current = [...position, index];
|
|
29
|
-
return
|
|
29
|
+
return {
|
|
30
|
+
...spec,
|
|
31
|
+
submenu: spec.submenu && getSubmenuState(spec.submenu, pointer, current),
|
|
32
|
+
isOpen: isPart(pointer, current),
|
|
33
|
+
};
|
|
30
34
|
});
|
|
31
35
|
};
|
|
32
36
|
const getMenuState = (specs, pointer) => {
|
|
33
37
|
return specs.map((spec, index) => {
|
|
34
38
|
const position = [index];
|
|
35
|
-
return
|
|
39
|
+
return {
|
|
40
|
+
...spec,
|
|
41
|
+
submenu: spec.submenu && getSubmenuState(spec.submenu, pointer, position),
|
|
42
|
+
isOpen: isPart(pointer, position),
|
|
43
|
+
};
|
|
36
44
|
});
|
|
37
45
|
};
|
|
38
46
|
const getMenuAt = (state, position) => {
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* © 2019 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 decodeError from '../errors-decoder';
|
|
17
|
+
describe('decodedError', () => {
|
|
18
|
+
it('should decode error as', () => {
|
|
19
|
+
const decoded = decodeError('NOTES_NOT_UPDATED');
|
|
20
|
+
expect(decoded).toEqual({
|
|
21
|
+
title: 'Production Notes cannot be updated',
|
|
22
|
+
description: 'There was an internal error while updating the Production notes.',
|
|
23
|
+
type: 'System',
|
|
24
|
+
});
|
|
25
|
+
});
|
|
26
|
+
it('should decode unknown error as', () => {
|
|
27
|
+
const decoded = decodeError('UNKNOWN_FAKE_ERROR');
|
|
28
|
+
expect(decoded).toEqual({
|
|
29
|
+
title: 'Unknown',
|
|
30
|
+
description: '',
|
|
31
|
+
});
|
|
32
|
+
});
|
|
33
|
+
});
|
|
@@ -8,15 +8,15 @@ var Actions;
|
|
|
8
8
|
Actions["editWithoutTracking"] = "edit-without-tracking";
|
|
9
9
|
})(Actions || (Actions = {}));
|
|
10
10
|
export const getCapabilities = (project, profile, role, actions, isViewingMode) => {
|
|
11
|
-
const userID = profile
|
|
12
|
-
const isMemberOf = (group) =>
|
|
13
|
-
const isOwner = isMemberOf(project
|
|
14
|
-
const isEditor = isMemberOf(project
|
|
15
|
-
const isWriter = isMemberOf(project
|
|
16
|
-
const isAnnotator = isMemberOf(project
|
|
17
|
-
const isProofer = isMemberOf(project
|
|
18
|
-
const isViewer = isMemberOf(project
|
|
19
|
-
const allowed = (action) => !!
|
|
11
|
+
const userID = profile?.userID;
|
|
12
|
+
const isMemberOf = (group) => group?.includes(userID ?? '') ?? false;
|
|
13
|
+
const isOwner = isMemberOf(project?.owners);
|
|
14
|
+
const isEditor = isMemberOf(project?.editors);
|
|
15
|
+
const isWriter = isMemberOf(project?.writers);
|
|
16
|
+
const isAnnotator = isMemberOf(project?.annotators);
|
|
17
|
+
const isProofer = isMemberOf(project?.proofers);
|
|
18
|
+
const isViewer = isMemberOf(project?.viewers) || isViewingMode;
|
|
19
|
+
const allowed = (action) => !!actions?.includes(action);
|
|
20
20
|
const canEditWithoutTracking = allowed(Actions.editWithoutTracking);
|
|
21
21
|
const isPrivileged = isOwner || isEditor || isWriter;
|
|
22
22
|
const canEditFiles = (isPrivileged || isAnnotator) && !isViewingMode;
|
|
@@ -63,5 +63,5 @@ export const useCalcPermission = ({ project, profile, role, permittedActions, is
|
|
|
63
63
|
};
|
|
64
64
|
export const CapabilitiesProvider = (props) => {
|
|
65
65
|
const { can } = props;
|
|
66
|
-
return (React.createElement(CapabilitiesContext.Provider, { value: can }, props
|
|
66
|
+
return (React.createElement(CapabilitiesContext.Provider, { value: can }, props?.children));
|
|
67
67
|
};
|
package/dist/es/lib/menus.js
CHANGED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* © 2019 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
|
+
export {};
|