@manuscripts/style-guide 2.1.11-LEAN-4511.0 → 2.1.12-LEAN-2023.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (210) hide show
  1. package/dist/cjs/components/AutoSaveInput.js +1 -1
  2. package/dist/cjs/components/DatePicker/CalendarDatePicker.js +7 -1
  3. package/dist/cjs/components/Dialog.js +2 -11
  4. package/dist/cjs/components/DraggableModal.js +12 -3
  5. package/dist/cjs/components/Drawer.js +2 -2
  6. package/dist/cjs/components/MultiValueInput.js +2 -2
  7. package/dist/cjs/components/RadioButton.js +3 -17
  8. package/dist/cjs/components/RelativeDate.js +2 -14
  9. package/dist/cjs/components/SelectField.js +1 -1
  10. package/dist/cjs/components/SelectedItemsBox.js +2 -14
  11. package/dist/cjs/components/StyledModal.js +6 -15
  12. package/dist/cjs/components/Tooltip.js +2 -2
  13. package/dist/cjs/components/icons/add-author.js +1 -1
  14. package/dist/cjs/components/icons/add-comment.js +1 -1
  15. package/dist/cjs/components/icons/add-figure.js +1 -1
  16. package/dist/cjs/components/icons/add-institution.js +1 -1
  17. package/dist/cjs/components/icons/add-new.js +1 -1
  18. package/dist/cjs/components/icons/add-outline.js +1 -1
  19. package/dist/cjs/components/icons/add-user.js +1 -1
  20. package/dist/cjs/components/icons/add.js +1 -1
  21. package/dist/cjs/components/icons/added.js +1 -1
  22. package/dist/cjs/components/icons/affiliation-placeholder.js +1 -1
  23. package/dist/cjs/components/icons/affiliation.js +1 -1
  24. package/dist/cjs/components/icons/arrow-down-circle.js +1 -1
  25. package/dist/cjs/components/icons/arrow-down.js +1 -1
  26. package/dist/cjs/components/icons/arrow-left.js +1 -1
  27. package/dist/cjs/components/icons/arrow-up.js +1 -1
  28. package/dist/cjs/components/icons/attach.js +1 -1
  29. package/dist/cjs/components/icons/attention-blue.js +1 -1
  30. package/dist/cjs/components/icons/attention-green.js +1 -1
  31. package/dist/cjs/components/icons/attention-orange.js +1 -1
  32. package/dist/cjs/components/icons/attention-red.js +1 -1
  33. package/dist/cjs/components/icons/author-placeholder.js +1 -1
  34. package/dist/cjs/components/icons/avatar.js +1 -1
  35. package/dist/cjs/components/icons/citation-count.js +1 -1
  36. package/dist/cjs/components/icons/comment-reply.js +1 -1
  37. package/dist/cjs/components/icons/comment-resolve.js +1 -1
  38. package/dist/cjs/components/icons/corresponding-author.js +1 -1
  39. package/dist/cjs/components/icons/delete-solid.js +1 -1
  40. package/dist/cjs/components/icons/deleted.js +1 -1
  41. package/dist/cjs/components/icons/dots.js +1 -1
  42. package/dist/cjs/components/icons/draggable-icon.js +1 -1
  43. package/dist/cjs/components/icons/edit.js +1 -1
  44. package/dist/cjs/components/icons/file-audio.js +1 -1
  45. package/dist/cjs/components/icons/file-code.js +1 -1
  46. package/dist/cjs/components/icons/file-compressed.js +1 -1
  47. package/dist/cjs/components/icons/file-corrupted.js +1 -1
  48. package/dist/cjs/components/icons/file-document.js +1 -1
  49. package/dist/cjs/components/icons/file-figure.js +1 -1
  50. package/dist/cjs/components/icons/file-graphical-abstract.js +1 -1
  51. package/dist/cjs/components/icons/file-image.js +1 -1
  52. package/dist/cjs/components/icons/file-latex-icon.js +1 -1
  53. package/dist/cjs/components/icons/file-main-document.js +1 -1
  54. package/dist/cjs/components/icons/file-pdf.js +1 -1
  55. package/dist/cjs/components/icons/file-table.js +1 -1
  56. package/dist/cjs/components/icons/file-unknown.js +1 -1
  57. package/dist/cjs/components/icons/file-video.js +1 -1
  58. package/dist/cjs/components/icons/handle-inspector.js +1 -1
  59. package/dist/cjs/components/icons/handle-outline.js +1 -1
  60. package/dist/cjs/components/icons/link.js +1 -1
  61. package/dist/cjs/components/icons/outline-block-quote.js +1 -1
  62. package/dist/cjs/components/icons/outline-code.js +1 -1
  63. package/dist/cjs/components/icons/outline-equation.js +1 -1
  64. package/dist/cjs/components/icons/outline-figure.js +1 -1
  65. package/dist/cjs/components/icons/outline-manuscript.js +1 -1
  66. package/dist/cjs/components/icons/outline-ordered-list.js +1 -1
  67. package/dist/cjs/components/icons/outline-paragraph.js +1 -1
  68. package/dist/cjs/components/icons/outline-pull-quote.js +1 -1
  69. package/dist/cjs/components/icons/outline-section.js +1 -1
  70. package/dist/cjs/components/icons/outline-table.js +1 -1
  71. package/dist/cjs/components/icons/outline-unordered-list.js +1 -1
  72. package/dist/cjs/components/icons/plus.js +1 -1
  73. package/dist/cjs/components/icons/profile-avatar.js +1 -1
  74. package/dist/cjs/components/icons/role-annotating.js +1 -1
  75. package/dist/cjs/components/icons/role-reading.js +1 -1
  76. package/dist/cjs/components/icons/save-status-offline.js +1 -1
  77. package/dist/cjs/components/icons/save-status-saved.js +1 -1
  78. package/dist/cjs/components/icons/save-status-saving.js +1 -1
  79. package/dist/cjs/components/icons/search.js +1 -1
  80. package/dist/cjs/components/icons/system-user-avatar.js +1 -1
  81. package/dist/cjs/components/icons/task-step-done.js +1 -1
  82. package/dist/cjs/components/icons/toolbar-bold.js +1 -1
  83. package/dist/cjs/components/icons/toolbar-citation.js +1 -1
  84. package/dist/cjs/components/icons/toolbar-code.js +1 -1
  85. package/dist/cjs/components/icons/toolbar-equation.js +1 -1
  86. package/dist/cjs/components/icons/toolbar-figure.js +1 -1
  87. package/dist/cjs/components/icons/toolbar-indent.js +1 -1
  88. package/dist/cjs/components/icons/toolbar-italic.js +1 -1
  89. package/dist/cjs/components/icons/toolbar-ordered-list.js +1 -1
  90. package/dist/cjs/components/icons/toolbar-subscript.js +1 -1
  91. package/dist/cjs/components/icons/toolbar-superscript.js +1 -1
  92. package/dist/cjs/components/icons/toolbar-symbol.js +1 -1
  93. package/dist/cjs/components/icons/toolbar-table.js +1 -1
  94. package/dist/cjs/components/icons/toolbar-underline.js +1 -1
  95. package/dist/cjs/components/icons/toolbar-unordered-list.js +1 -1
  96. package/dist/cjs/components/icons/triangle-collapsed.js +1 -1
  97. package/dist/cjs/components/icons/triangle-expanded.js +1 -1
  98. package/dist/cjs/components/icons/upload.js +1 -1
  99. package/dist/cjs/components/icons/vertical-ellipsis.js +1 -1
  100. package/dist/cjs/components/icons/x.js +1 -1
  101. package/dist/cjs/hooks/use-menus.js +10 -2
  102. package/dist/cjs/lib/__tests__/errors-decoder.test.js +38 -0
  103. package/dist/cjs/lib/capabilities.js +8 -8
  104. package/dist/cjs/lib/menus.js +1 -1
  105. package/dist/es/components/AutoSaveInput.js +1 -1
  106. package/dist/es/components/DatePicker/CalendarDatePicker.js +7 -1
  107. package/dist/es/components/Dialog.js +2 -11
  108. package/dist/es/components/DraggableModal.js +12 -3
  109. package/dist/es/components/Drawer.js +2 -2
  110. package/dist/es/components/MultiValueInput.js +2 -2
  111. package/dist/es/components/RadioButton.js +3 -17
  112. package/dist/es/components/RelativeDate.js +2 -14
  113. package/dist/es/components/SelectField.js +1 -1
  114. package/dist/es/components/SelectedItemsBox.js +2 -14
  115. package/dist/es/components/StyledModal.js +6 -15
  116. package/dist/es/components/Tooltip.js +2 -2
  117. package/dist/es/components/icons/add-author.js +1 -1
  118. package/dist/es/components/icons/add-comment.js +1 -1
  119. package/dist/es/components/icons/add-figure.js +1 -1
  120. package/dist/es/components/icons/add-institution.js +1 -1
  121. package/dist/es/components/icons/add-new.js +1 -1
  122. package/dist/es/components/icons/add-outline.js +1 -1
  123. package/dist/es/components/icons/add-user.js +1 -1
  124. package/dist/es/components/icons/add.js +1 -1
  125. package/dist/es/components/icons/added.js +1 -1
  126. package/dist/es/components/icons/affiliation-placeholder.js +1 -1
  127. package/dist/es/components/icons/affiliation.js +1 -1
  128. package/dist/es/components/icons/arrow-down-circle.js +1 -1
  129. package/dist/es/components/icons/arrow-down.js +1 -1
  130. package/dist/es/components/icons/arrow-left.js +1 -1
  131. package/dist/es/components/icons/arrow-up.js +1 -1
  132. package/dist/es/components/icons/attach.js +1 -1
  133. package/dist/es/components/icons/attention-blue.js +1 -1
  134. package/dist/es/components/icons/attention-green.js +1 -1
  135. package/dist/es/components/icons/attention-orange.js +1 -1
  136. package/dist/es/components/icons/attention-red.js +1 -1
  137. package/dist/es/components/icons/author-placeholder.js +1 -1
  138. package/dist/es/components/icons/avatar.js +1 -1
  139. package/dist/es/components/icons/citation-count.js +1 -1
  140. package/dist/es/components/icons/comment-reply.js +1 -1
  141. package/dist/es/components/icons/comment-resolve.js +1 -1
  142. package/dist/es/components/icons/corresponding-author.js +1 -1
  143. package/dist/es/components/icons/delete-solid.js +1 -1
  144. package/dist/es/components/icons/deleted.js +1 -1
  145. package/dist/es/components/icons/dots.js +1 -1
  146. package/dist/es/components/icons/draggable-icon.js +1 -1
  147. package/dist/es/components/icons/edit.js +1 -1
  148. package/dist/es/components/icons/file-audio.js +1 -1
  149. package/dist/es/components/icons/file-code.js +1 -1
  150. package/dist/es/components/icons/file-compressed.js +1 -1
  151. package/dist/es/components/icons/file-corrupted.js +1 -1
  152. package/dist/es/components/icons/file-document.js +1 -1
  153. package/dist/es/components/icons/file-figure.js +1 -1
  154. package/dist/es/components/icons/file-graphical-abstract.js +1 -1
  155. package/dist/es/components/icons/file-image.js +1 -1
  156. package/dist/es/components/icons/file-latex-icon.js +1 -1
  157. package/dist/es/components/icons/file-main-document.js +1 -1
  158. package/dist/es/components/icons/file-pdf.js +1 -1
  159. package/dist/es/components/icons/file-table.js +1 -1
  160. package/dist/es/components/icons/file-unknown.js +1 -1
  161. package/dist/es/components/icons/file-video.js +1 -1
  162. package/dist/es/components/icons/handle-inspector.js +1 -1
  163. package/dist/es/components/icons/handle-outline.js +1 -1
  164. package/dist/es/components/icons/link.js +1 -1
  165. package/dist/es/components/icons/outline-block-quote.js +1 -1
  166. package/dist/es/components/icons/outline-code.js +1 -1
  167. package/dist/es/components/icons/outline-equation.js +1 -1
  168. package/dist/es/components/icons/outline-figure.js +1 -1
  169. package/dist/es/components/icons/outline-manuscript.js +1 -1
  170. package/dist/es/components/icons/outline-ordered-list.js +1 -1
  171. package/dist/es/components/icons/outline-paragraph.js +1 -1
  172. package/dist/es/components/icons/outline-pull-quote.js +1 -1
  173. package/dist/es/components/icons/outline-section.js +1 -1
  174. package/dist/es/components/icons/outline-table.js +1 -1
  175. package/dist/es/components/icons/outline-unordered-list.js +1 -1
  176. package/dist/es/components/icons/plus.js +1 -1
  177. package/dist/es/components/icons/profile-avatar.js +1 -1
  178. package/dist/es/components/icons/role-annotating.js +1 -1
  179. package/dist/es/components/icons/role-reading.js +1 -1
  180. package/dist/es/components/icons/save-status-offline.js +1 -1
  181. package/dist/es/components/icons/save-status-saved.js +1 -1
  182. package/dist/es/components/icons/save-status-saving.js +1 -1
  183. package/dist/es/components/icons/search.js +1 -1
  184. package/dist/es/components/icons/system-user-avatar.js +1 -1
  185. package/dist/es/components/icons/task-step-done.js +1 -1
  186. package/dist/es/components/icons/toolbar-bold.js +1 -1
  187. package/dist/es/components/icons/toolbar-citation.js +1 -1
  188. package/dist/es/components/icons/toolbar-code.js +1 -1
  189. package/dist/es/components/icons/toolbar-equation.js +1 -1
  190. package/dist/es/components/icons/toolbar-figure.js +1 -1
  191. package/dist/es/components/icons/toolbar-indent.js +1 -1
  192. package/dist/es/components/icons/toolbar-italic.js +1 -1
  193. package/dist/es/components/icons/toolbar-ordered-list.js +1 -1
  194. package/dist/es/components/icons/toolbar-subscript.js +1 -1
  195. package/dist/es/components/icons/toolbar-superscript.js +1 -1
  196. package/dist/es/components/icons/toolbar-symbol.js +1 -1
  197. package/dist/es/components/icons/toolbar-table.js +1 -1
  198. package/dist/es/components/icons/toolbar-underline.js +1 -1
  199. package/dist/es/components/icons/toolbar-unordered-list.js +1 -1
  200. package/dist/es/components/icons/triangle-collapsed.js +1 -1
  201. package/dist/es/components/icons/triangle-expanded.js +1 -1
  202. package/dist/es/components/icons/upload.js +1 -1
  203. package/dist/es/components/icons/vertical-ellipsis.js +1 -1
  204. package/dist/es/components/icons/x.js +1 -1
  205. package/dist/es/hooks/use-menus.js +10 -2
  206. package/dist/es/lib/__tests__/errors-decoder.test.js +33 -0
  207. package/dist/es/lib/capabilities.js +8 -8
  208. package/dist/es/lib/menus.js +1 -1
  209. package/dist/types/lib/__tests__/errors-decoder.test.d.ts +16 -0
  210. package/package.json +72 -74
@@ -53,7 +53,7 @@ class AutoSaveInput extends react_1.default.Component {
53
53
  }
54
54
  render() {
55
55
  const { component: Component, field, placeholder, disabled, testId, } = this.props;
56
- return (react_1.default.createElement(Component, Object.assign({}, field, { placeholder: placeholder, disabled: disabled, checked: !!field.value, onFocus: this.handleFocus, onBlur: this.handleBlur, onChange: this.handleChange, "data-testid": testId && `${testId}__input`, "aria-invalid": this.props.isInvalid || undefined })));
56
+ return (react_1.default.createElement(Component, { ...field, placeholder: placeholder, disabled: disabled, checked: !!field.value, onFocus: this.handleFocus, onBlur: this.handleBlur, onChange: this.handleChange, "data-testid": testId && `${testId}__input`, "aria-invalid": this.props.isInvalid || undefined }));
57
57
  }
58
58
  }
59
59
  exports.AutoSaveInput = AutoSaveInput;
@@ -50,7 +50,13 @@ exports.calendarPotentialDueDate = calendarPotentialDueDate;
50
50
  const calendarDatePickerDefaultDateFormat = 'd MMM, EEEE';
51
51
  exports.calendarDatePickerDefaultDateFormat = calendarDatePickerDefaultDateFormat;
52
52
  const CalendarDatePicker = ({ Button, handleDateChange, originalDueDate, currentDueDate, datePickerConfigs, dialogConfigs, primaryButtonTitle = 'Reschedule', secondaryButtonTitle = 'Cancel', }) => {
53
- datePickerConfigs = Object.assign({ position: 'bottom', color: '#f2fbfc', selectedDayClassName: 'selected-day', calendarClassName: 'responsive-calendar' }, datePickerConfigs);
53
+ datePickerConfigs = {
54
+ position: 'bottom',
55
+ color: '#f2fbfc',
56
+ selectedDayClassName: 'selected-day',
57
+ calendarClassName: 'responsive-calendar',
58
+ ...datePickerConfigs,
59
+ };
54
60
  const dialog = Object.assign({}, dialogConfigs, {
55
61
  header: 'Change the task due date?',
56
62
  });
@@ -14,15 +14,6 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
18
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
19
- return new (P || (P = Promise))(function (resolve, reject) {
20
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
21
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
22
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
23
- step((generator = generator.apply(thisArg, _arguments || [])).next());
24
- });
25
- };
26
17
  var __importDefault = (this && this.__importDefault) || function (mod) {
27
18
  return (mod && mod.__esModule) ? mod : { "default": mod };
28
19
  };
@@ -107,13 +98,13 @@ class Dialog extends react_1.default.Component {
107
98
  this.setDisabledBtnState = (state) => {
108
99
  this.setState({ primaryActionDisabled: state });
109
100
  };
110
- this.handleSubmit = (e) => __awaiter(this, void 0, void 0, function* () {
101
+ this.handleSubmit = async (e) => {
111
102
  const { primaryActionDisabled } = this.state;
112
103
  e.preventDefault();
113
104
  if (!primaryActionDisabled) {
114
105
  this.props.actions.primary.action();
115
106
  }
116
- });
107
+ };
117
108
  }
118
109
  componentDidMount() {
119
110
  this.setDisabledBtnState(!!this.props.confirmFieldText);
@@ -55,7 +55,11 @@ const DraggableModal = ({ children, isOpen, onRequestClose }) => {
55
55
  }
56
56
  pos.prevX = event.screenX;
57
57
  pos.prevY = event.screenY;
58
- setPos((state) => (Object.assign(Object.assign({}, state), { prevX: event.screenX, prevY: event.screenY })));
58
+ setPos((state) => ({
59
+ ...state,
60
+ prevX: event.screenX,
61
+ prevY: event.screenY,
62
+ }));
59
63
  setDrag(true);
60
64
  };
61
65
  const mouseMove = (0, react_1.useCallback)(function (event) {
@@ -64,8 +68,13 @@ const DraggableModal = ({ children, isOpen, onRequestClose }) => {
64
68
  }
65
69
  const left = pos.left + event.screenX - pos.prevX;
66
70
  const top = pos.top + event.screenY - pos.prevY;
67
- setPos((state) => (Object.assign(Object.assign({}, state), { left,
68
- top, prevX: event.screenX, prevY: event.screenY })));
71
+ setPos((state) => ({
72
+ ...state,
73
+ left,
74
+ top,
75
+ prevX: event.screenX,
76
+ prevY: event.screenY,
77
+ }));
69
78
  }, [pos, drag]);
70
79
  (0, react_1.useEffect)(() => {
71
80
  const mouseup = () => {
@@ -129,8 +129,8 @@ const Drawer = ({ items, selectedIds = [], title, onSelect, onBack, width, }) =>
129
129
  react_1.default.createElement("span", null, "\u2190"),
130
130
  "Back"),
131
131
  react_1.default.createElement(DrawerTitle, null, title),
132
- react_1.default.createElement(ItemsList, null, items.map((item) => (react_1.default.createElement(ListItem, { "data-cy": "item", key: item.id, selected: selectedIds === null || selectedIds === void 0 ? void 0 : selectedIds.includes(item.id), onClick: () => onSelect(item.id) },
133
- react_1.default.createElement(Icon, null, (selectedIds === null || selectedIds === void 0 ? void 0 : selectedIds.includes(item.id)) ? (react_1.default.createElement(icons_1.AddedIcon, { width: 22, height: 22 })) : (react_1.default.createElement(icons_1.AddIcon, { width: 22, height: 22 }))),
132
+ react_1.default.createElement(ItemsList, null, items.map((item) => (react_1.default.createElement(ListItem, { "data-cy": "item", key: item.id, selected: selectedIds?.includes(item.id), onClick: () => onSelect(item.id) },
133
+ react_1.default.createElement(Icon, null, selectedIds?.includes(item.id) ? (react_1.default.createElement(icons_1.AddedIcon, { width: 22, height: 22 })) : (react_1.default.createElement(icons_1.AddIcon, { width: 22, height: 22 }))),
134
134
  react_1.default.createElement(LabelContainer, null,
135
135
  react_1.default.createElement(ItemLabel, null, item.label),
136
136
  react_1.default.createElement(ItemMeta, null,
@@ -109,7 +109,7 @@ const MultiValueInput = ({ id, inputType, placeholder = '', initialValues = [],
109
109
  if (value.trim() && !values.includes(value.trim())) {
110
110
  const updatedValues = [...values, value.trim()];
111
111
  setValues(updatedValues);
112
- onChange === null || onChange === void 0 ? void 0 : onChange(updatedValues);
112
+ onChange?.(updatedValues);
113
113
  }
114
114
  setCurrentValue('');
115
115
  };
@@ -136,7 +136,7 @@ const MultiValueInput = ({ id, inputType, placeholder = '', initialValues = [],
136
136
  const handleRemoveValue = (index) => {
137
137
  const updatedValues = values.filter((_, i) => i !== index);
138
138
  setValues(updatedValues);
139
- onChange === null || onChange === void 0 ? void 0 : onChange(updatedValues);
139
+ onChange?.(updatedValues);
140
140
  };
141
141
  const xplaceholder = placeholder
142
142
  ? placeholder
@@ -14,17 +14,6 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- var __rest = (this && this.__rest) || function (s, e) {
18
- var t = {};
19
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
20
- t[p] = s[p];
21
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
22
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
23
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
24
- t[p[i]] = s[p[i]];
25
- }
26
- return t;
27
- };
28
17
  var __importDefault = (this && this.__importDefault) || function (mod) {
29
18
  return (mod && mod.__esModule) ? mod : { "default": mod };
30
19
  };
@@ -78,10 +67,7 @@ const Input = styled_components_1.default.input `
78
67
  }
79
68
  }
80
69
  `;
81
- const RadioButton = (_a) => {
82
- var { checked, id, label, name } = _a, rest = __rest(_a, ["checked", "id", "label", "name"]);
83
- return (react_1.default.createElement(react_1.default.Fragment, null,
84
- react_1.default.createElement(Input, Object.assign({ checked: checked, type: "radio", name: name, id: id }, rest)),
85
- react_1.default.createElement("label", { htmlFor: id }, label)));
86
- };
70
+ const RadioButton = ({ checked, id, label, name, ...rest }) => (react_1.default.createElement(react_1.default.Fragment, null,
71
+ react_1.default.createElement(Input, { checked: checked, type: "radio", name: name, id: id, ...rest }),
72
+ react_1.default.createElement("label", { htmlFor: id }, label)));
87
73
  exports.RadioButton = RadioButton;
@@ -14,25 +14,13 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- var __rest = (this && this.__rest) || function (s, e) {
18
- var t = {};
19
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
20
- t[p] = s[p];
21
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
22
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
23
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
24
- t[p[i]] = s[p[i]];
25
- }
26
- return t;
27
- };
28
17
  var __importDefault = (this && this.__importDefault) || function (mod) {
29
18
  return (mod && mod.__esModule) ? mod : { "default": mod };
30
19
  };
31
20
  Object.defineProperty(exports, "__esModule", { value: true });
32
21
  exports.RelativeDate = void 0;
33
22
  const react_1 = __importDefault(require("react"));
34
- const RelativeDate = (_a) => {
35
- var { date } = _a, props = __rest(_a, ["date"]);
23
+ const RelativeDate = ({ date, ...props }) => {
36
24
  if (!date) {
37
25
  return null;
38
26
  }
@@ -43,6 +31,6 @@ const RelativeDate = (_a) => {
43
31
  value = Math.floor(value / 24);
44
32
  unit = 'day';
45
33
  }
46
- return react_1.default.createElement("span", Object.assign({}, props), formatter.format(value, unit));
34
+ return react_1.default.createElement("span", { ...props }, formatter.format(value, unit));
47
35
  };
48
36
  exports.RelativeDate = RelativeDate;
@@ -21,5 +21,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
21
21
  exports.SelectField = void 0;
22
22
  const react_1 = __importDefault(require("react"));
23
23
  const react_select_1 = __importDefault(require("react-select"));
24
- const SelectField = ({ id, options, field, form, }) => (react_1.default.createElement(react_select_1.default, { inputId: id, options: options, name: field.name, classNamePrefix: field.name, value: options === null || options === void 0 ? void 0 : options.find((option) => option.value === field.value), onChange: (option) => form.setFieldValue(field.name, option === null || option === void 0 ? void 0 : option.value), onBlur: field.onBlur }));
24
+ const SelectField = ({ id, options, field, form, }) => (react_1.default.createElement(react_select_1.default, { inputId: id, options: options, name: field.name, classNamePrefix: field.name, value: options?.find((option) => option.value === field.value), onChange: (option) => form.setFieldValue(field.name, option?.value), onBlur: field.onBlur }));
25
25
  exports.SelectField = SelectField;
@@ -1,15 +1,4 @@
1
1
  "use strict";
2
- var __rest = (this && this.__rest) || function (s, e) {
3
- var t = {};
4
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
- t[p] = s[p];
6
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
- t[p[i]] = s[p[i]];
10
- }
11
- return t;
12
- };
13
2
  var __importDefault = (this && this.__importDefault) || function (mod) {
14
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
15
4
  };
@@ -70,9 +59,8 @@ const RemoveButton = styled_components_1.default.button `
70
59
  font-family: ${(props) => props.theme.font.family.sans};
71
60
  font-weight: ${(props) => props.theme.font.weight.light};
72
61
  `;
73
- const SelectedItemsBox = (_a) => {
74
- var { items, onRemove, placeholder = 'No items selected' } = _a, props = __rest(_a, ["items", "onRemove", "placeholder"]);
75
- return (react_1.default.createElement(BoxContainer, Object.assign({}, props), items.length > 0 ? (react_1.default.createElement(ItemsList, null, items.map((item) => (react_1.default.createElement(Item, { key: item.id, "data-cy": "item" },
62
+ const SelectedItemsBox = ({ items, onRemove, placeholder = 'No items selected', ...props }) => {
63
+ return (react_1.default.createElement(BoxContainer, { ...props }, items.length > 0 ? (react_1.default.createElement(ItemsList, null, items.map((item) => (react_1.default.createElement(Item, { key: item.id, "data-cy": "item" },
76
64
  item.label,
77
65
  react_1.default.createElement(RemoveButton, { onClick: () => onRemove(item.id), "aria-label": `Remove ${item.label}` }, "x")))))) : (react_1.default.createElement(EmptyContainer, null,
78
66
  react_1.default.createElement(Placeholder, null, placeholder)))));
@@ -14,17 +14,6 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- var __rest = (this && this.__rest) || function (s, e) {
18
- var t = {};
19
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
20
- t[p] = s[p];
21
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
22
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
23
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
24
- t[p[i]] = s[p[i]];
25
- }
26
- return t;
27
- };
28
17
  var __importDefault = (this && this.__importDefault) || function (mod) {
29
18
  return (mod && mod.__esModule) ? mod : { "default": mod };
30
19
  };
@@ -38,13 +27,15 @@ const Sidebar_1 = require("./Sidebar");
38
27
  const totalTransitionTime = 800;
39
28
  const transitionDelay = 300;
40
29
  const delayedTransitionTime = totalTransitionTime - transitionDelay;
41
- const ReactModalAdapter = (_a) => {
42
- var { className, modalClassName } = _a, props = __rest(_a, ["className", "modalClassName"]);
30
+ const ReactModalAdapter = ({ className, modalClassName, ...props }) => {
43
31
  props.style = props.style || {};
44
32
  if (props.pointerEventsOnBackdrop == 'none') {
45
- props.style.content = Object.assign(Object.assign({}, props.style.content), { pointerEvents: 'all' });
33
+ props.style.content = {
34
+ ...props.style.content,
35
+ pointerEvents: 'all',
36
+ };
46
37
  }
47
- return (react_1.default.createElement(react_modal_1.default, Object.assign({ className: modalClassName, portalClassName: className, closeTimeoutMS: totalTransitionTime, preventScroll: true, appElement: document.getElementById('root') }, props)));
38
+ return (react_1.default.createElement(react_modal_1.default, { className: modalClassName, portalClassName: className, closeTimeoutMS: totalTransitionTime, preventScroll: true, appElement: document.getElementById('root'), ...props }));
48
39
  };
49
40
  exports.ModalContainer = styled_components_1.default.div `
50
41
  background: ${(props) => props.theme.colors.background.primary};
@@ -29,7 +29,7 @@ const StyledTooltipWrapper = styled_components_1.default.div `
29
29
  `;
30
30
  const defaultOpenEvents = ['click', 'mouseenter'];
31
31
  const Tooltip = (props) => (react_1.default.createElement(StyledTooltipWrapper, null,
32
- react_1.default.createElement(react_tooltip_1.Tooltip, Object.assign({ positionStrategy: "fixed", offset: 10, openEvents: {
32
+ react_1.default.createElement(react_tooltip_1.Tooltip, { positionStrategy: "fixed", offset: 10, openEvents: {
33
33
  mouseenter: true,
34
34
  mouseover: true,
35
35
  click: false,
@@ -38,5 +38,5 @@ const Tooltip = (props) => (react_1.default.createElement(StyledTooltipWrapper,
38
38
  mouseout: true,
39
39
  blur: true,
40
40
  click: false,
41
- } }, props))));
41
+ }, ...props })));
42
42
  exports.Tooltip = Tooltip;
@@ -19,7 +19,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
19
19
  };
20
20
  Object.defineProperty(exports, "__esModule", { value: true });
21
21
  const react_1 = __importDefault(require("react"));
22
- const AddAuthorIcon = (props) => (react_1.default.createElement("svg", Object.assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
22
+ const AddAuthorIcon = (props) => (react_1.default.createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
23
23
  react_1.default.createElement("rect", { width: "24", height: "24", rx: "12", fill: "#0D79D0" }),
24
24
  react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12.5 8C12.2515 8 12.05 8.20147 12.05 8.45V12.05H8.45C8.20147 12.05 8 12.2515 8 12.5C8 12.7485 8.20147 12.95 8.45 12.95H12.05V16.55C12.05 16.7985 12.2515 17 12.5 17C12.7485 17 12.95 16.7985 12.95 16.55V12.95H16.55C16.7985 12.95 17 12.7485 17 12.5C17 12.2515 16.7985 12.05 16.55 12.05H12.95V8.45C12.95 8.20147 12.7485 8 12.5 8Z", fill: "white" }),
25
25
  react_1.default.createElement("path", { d: "M12.05 12.05V12.55H12.55V12.05H12.05ZM12.05 12.95H12.55V12.45H12.05V12.95ZM12.95 12.95V12.45H12.45V12.95H12.95ZM12.95 12.05H12.45V12.55H12.95V12.05ZM12.55 8.45C12.55 8.47761 12.5276 8.5 12.5 8.5V7.5C11.9753 7.5 11.55 7.92533 11.55 8.45H12.55ZM12.55 12.05V8.45H11.55V12.05H12.55ZM8.45 12.55H12.05V11.55H8.45V12.55ZM8.5 12.5C8.5 12.5276 8.47761 12.55 8.45 12.55V11.55C7.92533 11.55 7.5 11.9753 7.5 12.5H8.5ZM8.45 12.45C8.47761 12.45 8.5 12.4724 8.5 12.5H7.5C7.5 13.0247 7.92533 13.45 8.45 13.45V12.45ZM12.05 12.45H8.45V13.45H12.05V12.45ZM12.55 16.55V12.95H11.55V16.55H12.55ZM12.5 16.5C12.5276 16.5 12.55 16.5224 12.55 16.55H11.55C11.55 17.0747 11.9753 17.5 12.5 17.5V16.5ZM12.45 16.55C12.45 16.5224 12.4724 16.5 12.5 16.5V17.5C13.0247 17.5 13.45 17.0747 13.45 16.55H12.45ZM12.45 12.95V16.55H13.45V12.95H12.45ZM16.55 12.45H12.95V13.45H16.55V12.45ZM16.5 12.5C16.5 12.4724 16.5224 12.45 16.55 12.45V13.45C17.0747 13.45 17.5 13.0247 17.5 12.5H16.5ZM16.55 12.55C16.5224 12.55 16.5 12.5276 16.5 12.5H17.5C17.5 11.9753 17.0747 11.55 16.55 11.55V12.55ZM12.95 12.55H16.55V11.55H12.95V12.55ZM12.45 8.45V12.05H13.45V8.45H12.45ZM12.5 8.5C12.4724 8.5 12.45 8.47761 12.45 8.45H13.45C13.45 7.92533 13.0247 7.5 12.5 7.5V8.5Z", fill: "white" })));
@@ -19,7 +19,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
19
19
  };
20
20
  Object.defineProperty(exports, "__esModule", { value: true });
21
21
  const react_1 = __importDefault(require("react"));
22
- const AddCommentIcon = (props) => (react_1.default.createElement("svg", Object.assign({ width: "20", height: "15", viewBox: "0 0 20 15", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
22
+ const AddCommentIcon = (props) => (react_1.default.createElement("svg", { width: "20", height: "15", viewBox: "0 0 20 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
23
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
24
  react_1.default.createElement("path", { d: "M11.5 7H8.5", stroke: "#FFBD26", strokeWidth: "1.5", strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round" }),
25
25
  react_1.default.createElement("path", { d: "M12 10H7", stroke: "#FFBD26", strokeWidth: "1.5", strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round" }),
@@ -19,7 +19,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
19
19
  };
20
20
  Object.defineProperty(exports, "__esModule", { value: true });
21
21
  const react_1 = __importDefault(require("react"));
22
- const AddFigureIcon = (props) => (react_1.default.createElement("svg", Object.assign({ width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
22
+ const AddFigureIcon = (props) => (react_1.default.createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
23
23
  react_1.default.createElement("path", { d: "M14.5 15.5H1.5C0.948 15.5 0.5 15.052 0.5 14.5V1.5C0.5 0.948 0.948 0.5 1.5 0.5H14.5C15.052 0.5 15.5 0.948 15.5 1.5V14.5C15.5 15.052 15.052 15.5 14.5 15.5Z", stroke: "#353535", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
24
24
  react_1.default.createElement("path", { d: "M2.5 12.5L9.5 7.5L13.5 11.5", stroke: "#353535", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
25
25
  react_1.default.createElement("path", { d: "M4.5 7C5.32843 7 6 6.32843 6 5.5C6 4.67157 5.32843 4 4.5 4C3.67157 4 3 4.67157 3 5.5C3 6.32843 3.67157 7 4.5 7Z", fill: "#353535" })));
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const react_1 = __importDefault(require("react"));
7
- const AddInstitutionIcon = (props) => (react_1.default.createElement("svg", Object.assign({ width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, props, { xmlns: "http://www.w3.org/2000/svg" }),
7
+ const AddInstitutionIcon = (props) => (react_1.default.createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", ...props, xmlns: "http://www.w3.org/2000/svg" },
8
8
  react_1.default.createElement("g", { clipPath: "url(#clip0_23584_38259)" },
9
9
  react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M1 5.5C0.7 5.5 0.5 5.3 0.5 5V4C0.5 3.8 0.6 3.6 0.8 3.55L8.1 0.55C8.2 0.5 8.25 0.5 8.3 0.5C8.35 0.5 8.45 0.5 8.5 0.55L15.2 3.55C15.4 3.6 15.5 3.8 15.5 4V5C15.5 5.3 15.3 5.5 15 5.5H1Z", fill: "white" }),
10
10
  react_1.default.createElement("path", { d: "M8.3 1L15 4V5H1V4L8.3 1ZM8.3 0C8.15 0 8.05 0 7.9 0.05L0.6 3.05C0.25 3.25 0 3.6 0 4V5C0 5.55 0.45 6 1 6H15C15.55 6 16 5.55 16 5V4C16 3.6 15.75 3.25 15.4 3.1L8.7 0.1C8.6 0.05 8.45 0 8.3 0Z", fill: "#0D79D0" }),
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const react_1 = __importDefault(require("react"));
7
- const AddNewIcon = (props) => (react_1.default.createElement("svg", Object.assign({ width: "16", height: "18", viewBox: "0 0 16 18", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
7
+ const AddNewIcon = (props) => (react_1.default.createElement("svg", { width: "16", height: "18", viewBox: "0 0 16 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
8
8
  react_1.default.createElement("rect", { x: "1.25", y: "1.25", width: "13.5", height: "15.5", rx: "1.75", fill: "white", stroke: "#6E6E6E", strokeWidth: "1.5" }),
9
9
  react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9 6.5C9 6.08579 8.66421 5.75 8.25 5.75H7.25V4.75C7.25 4.33579 6.91421 4 6.5 4C6.08579 4 5.75 4.33579 5.75 4.75V5.75H4.75C4.33579 5.75 4 6.08579 4 6.5C4 6.91421 4.33579 7.25 4.75 7.25H5.75V8.25C5.75 8.66421 6.08579 9 6.5 9C6.91421 9 7.25 8.66421 7.25 8.25V7.25H8.25C8.66421 7.25 9 6.91421 9 6.5Z", fill: "#6E6E6E" })));
10
10
  exports.default = AddNewIcon;
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const react_1 = __importDefault(require("react"));
7
- const AddOutlineIcon = (props) => (react_1.default.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "16", height: "18", viewBox: "0 0 16 18", fill: "none" }, props),
7
+ const AddOutlineIcon = (props) => (react_1.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "18", viewBox: "0 0 16 18", fill: "none", ...props },
8
8
  react_1.default.createElement("path", { d: "M6.875 1.27794C7.57115 0.876016 8.42885 0.876016 9.125 1.27794L14.125 4.16469C14.8212 4.56662 15.25 5.3094 15.25 6.11325V11.8868C15.25 12.6906 14.8212 13.4334 14.125 13.8353L9.125 16.7221C8.42885 17.124 7.57115 17.124 6.875 16.7221L1.875 13.8353C1.17885 13.4334 0.75 12.6906 0.75 11.8868V6.11325C0.75 5.3094 1.17885 4.56662 1.875 4.16469L6.875 1.27794Z", stroke: "#353535", strokeWidth: "1.5" }),
9
9
  react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.00244 4.70996C7.78153 4.70996 7.60244 4.88905 7.60244 5.10996V8.30996H4.40244C4.18153 8.30996 4.00244 8.48905 4.00244 8.70996C4.00244 8.93087 4.18153 9.10996 4.40244 9.10996H7.60244V12.31C7.60244 12.5309 7.78153 12.71 8.00244 12.71C8.22336 12.71 8.40244 12.5309 8.40244 12.31V9.10996H11.6024C11.8234 9.10996 12.0024 8.93087 12.0024 8.70996C12.0024 8.48905 11.8234 8.30996 11.6024 8.30996H8.40244V5.10996C8.40244 4.88905 8.22336 4.70996 8.00244 4.70996Z", fill: "#353535" }),
10
10
  react_1.default.createElement("path", { d: "M7.60244 8.30996V8.80996H8.10244V8.30996H7.60244ZM7.60244 9.10996H8.10244V8.60996H7.60244V9.10996ZM8.40244 9.10996V8.60996H7.90244V9.10996H8.40244ZM8.40244 8.30996H7.90244V8.80996H8.40244V8.30996ZM8.10244 5.10996C8.10244 5.16519 8.05767 5.20996 8.00244 5.20996V4.20996C7.50539 4.20996 7.10244 4.6129 7.10244 5.10996H8.10244ZM8.10244 8.30996V5.10996H7.10244V8.30996H8.10244ZM4.40244 8.80996H7.60244V7.80996H4.40244V8.80996ZM4.50244 8.70996C4.50244 8.76519 4.45767 8.80996 4.40244 8.80996V7.80996C3.90538 7.80996 3.50244 8.2129 3.50244 8.70996H4.50244ZM4.40244 8.60996C4.45767 8.60996 4.50244 8.65473 4.50244 8.70996H3.50244C3.50244 9.20702 3.90538 9.60996 4.40244 9.60996V8.60996ZM7.60244 8.60996H4.40244V9.60996H7.60244V8.60996ZM8.10244 12.31V9.10996H7.10244V12.31H8.10244ZM8.00244 12.21C8.05767 12.21 8.10244 12.2547 8.10244 12.31H7.10244C7.10244 12.807 7.50539 13.21 8.00244 13.21V12.21ZM7.90244 12.31C7.90244 12.2547 7.94721 12.21 8.00244 12.21V13.21C8.4995 13.21 8.90244 12.807 8.90244 12.31H7.90244ZM7.90244 9.10996V12.31H8.90244V9.10996H7.90244ZM11.6024 8.60996H8.40244V9.60996H11.6024V8.60996ZM11.5024 8.70996C11.5024 8.65473 11.5472 8.60996 11.6024 8.60996V9.60996C12.0995 9.60996 12.5024 9.20702 12.5024 8.70996H11.5024ZM11.6024 8.80996C11.5472 8.80996 11.5024 8.76519 11.5024 8.70996H12.5024C12.5024 8.21291 12.0995 7.80996 11.6024 7.80996V8.80996ZM8.40244 8.80996H11.6024V7.80996H8.40244V8.80996ZM7.90244 5.10996V8.30996H8.90244V5.10996H7.90244ZM8.00244 5.20996C7.94721 5.20996 7.90244 5.16519 7.90244 5.10996H8.90244C8.90244 4.6129 8.4995 4.20996 8.00244 4.20996V5.20996Z", fill: "#353535" })));
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const react_1 = __importDefault(require("react"));
7
- const AddUserIcon = (props) => (react_1.default.createElement("svg", Object.assign({ width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, props, { xmlns: "http://www.w3.org/2000/svg" }),
7
+ const AddUserIcon = (props) => (react_1.default.createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", ...props, xmlns: "http://www.w3.org/2000/svg" },
8
8
  react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.00688 7.74367C5.14845 7.98076 5.07101 8.28773 4.83392 8.42929C3.8872 8.99458 3.31472 9.23561 2.90515 9.40805C2.87244 9.42182 2.84077 9.43516 2.81003 9.44818C2.43279 9.60806 2.23693 9.70285 1.90606 10.0406C1.80749 10.1412 1.7037 10.3521 1.62666 10.6937C1.55288 11.0208 1.51732 11.4038 1.50512 11.7802C1.49301 12.1538 1.50432 12.5058 1.51886 12.7655C1.5261 12.8948 1.53409 13.0002 1.5402 13.0726C1.54039 13.0748 1.54057 13.077 1.54075 13.0791C1.5571 13.0965 1.58434 13.1215 1.62852 13.1526C1.72502 13.2205 1.87112 13.2957 2.07447 13.3717C2.48086 13.5237 3.04678 13.6542 3.72897 13.756C5.08851 13.959 6.82749 14.0364 8.48424 13.9842C8.76025 13.9755 8.99105 14.1922 8.99975 14.4682C9.00846 14.7442 8.79177 14.975 8.51576 14.9837C6.81518 15.0373 5.01419 14.959 3.58133 14.7451C2.86732 14.6385 2.22392 14.4953 1.72416 14.3084C1.47445 14.215 1.24327 14.1044 1.05281 13.9703C0.865818 13.8386 0.682404 13.6591 0.587339 13.416C0.571134 13.3746 0.560531 13.3312 0.555811 13.287L1.05299 13.2339C0.555811 13.287 0.555811 13.287 0.555811 13.287L0.555471 13.2837L0.554734 13.2766L0.552195 13.2508C0.550072 13.2287 0.54714 13.197 0.543741 13.1567C0.536946 13.0762 0.52826 12.9613 0.520422 12.8214C0.504795 12.5423 0.492303 12.1594 0.505648 11.7478C0.518906 11.3388 0.55807 10.8864 0.651169 10.4736C0.741001 10.0754 0.896249 9.64235 1.19176 9.34073C1.64906 8.87397 1.9757 8.71567 2.41983 8.52745C2.45104 8.51423 2.48302 8.50077 2.51589 8.48693C2.91031 8.32093 3.43386 8.10057 4.32126 7.5707C4.55835 7.42914 4.86532 7.50657 5.00688 7.74367ZM9.99312 7.74367C10.1347 7.50658 10.4417 7.42914 10.6787 7.5707C11.3743 7.98602 11.8461 8.21084 12.2004 8.36581C12.4534 8.47647 12.5688 8.77128 12.4581 9.02427C12.3474 9.27727 12.0526 9.39266 11.7996 9.282C11.4098 9.1115 10.9004 8.86775 10.1661 8.42929C9.92899 8.28773 9.85155 7.98076 9.99312 7.74367Z", fill: "#0D79D0" }),
9
9
  react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.5 7C9.15685 7 10.5 5.65685 10.5 4C10.5 2.34315 9.15685 1 7.5 1C5.84315 1 4.5 2.34315 4.5 4C4.5 5.65685 5.84315 7 7.5 7ZM7.5 8C9.70914 8 11.5 6.20914 11.5 4C11.5 1.79086 9.70914 0 7.5 0C5.29086 0 3.5 1.79086 3.5 4C3.5 6.20914 5.29086 8 7.5 8Z", fill: "#0D79D0" }),
10
10
  react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.25 13.75V15.25C13.25 15.6642 12.9142 16 12.5 16C12.0858 16 11.75 15.6642 11.75 15.25V13.75H10.25C9.83579 13.75 9.5 13.4142 9.5 13C9.5 12.5858 9.83579 12.25 10.25 12.25H11.75V10.75C11.75 10.3358 12.0858 10 12.5 10C12.9142 10 13.25 10.3358 13.25 10.75V12.25H14.75C15.1642 12.25 15.5 12.5858 15.5 13C15.5 13.4142 15.1642 13.75 14.75 13.75H13.25Z", fill: "#0D79D0" })));
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const react_1 = __importDefault(require("react"));
7
- const AddIcon = (props) => (react_1.default.createElement("svg", Object.assign({ width: "22", height: "24", viewBox: "0 0 22 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
7
+ const AddIcon = (props) => (react_1.default.createElement("svg", { width: "22", height: "24", viewBox: "0 0 22 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
8
8
  react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.55064 0.720124C10.0717 -0.134581 11.9283 -0.134583 13.4494 0.720123L19.4494 4.0916C21.0248 4.97688 22 6.64341 22 8.45057V14.9612C22 16.7684 21.0248 18.4349 19.4494 19.3202L13.4494 22.6916C11.9283 23.5463 10.0717 23.5463 8.55064 22.6916L2.55064 19.3202C0.975165 18.4349 0 16.7684 0 14.9612L0 8.45057C0 6.64341 0.975162 4.97688 2.55064 4.0916L8.55064 0.720124Z", fill: "#FFBD26" }),
9
9
  react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.0039 5.96533C10.7002 5.96533 10.4539 6.21158 10.4539 6.51533V10.783H6.0392C5.74357 10.783 5.50391 11.0226 5.50391 11.3183C5.50391 11.6139 5.74357 11.8536 6.0392 11.8536H10.4539V16.1212C10.4539 16.425 10.7002 16.6712 11.0039 16.6712C11.3077 16.6712 11.5539 16.425 11.5539 16.1212V11.8536H15.9686C16.2642 11.8536 16.5039 11.6139 16.5039 11.3183C16.5039 11.0226 16.2642 10.783 15.9686 10.783H11.5539V6.51533C11.5539 6.21158 11.3077 5.96533 11.0039 5.96533Z", fill: "white" }),
10
10
  react_1.default.createElement("path", { d: "M10.4539 10.783V11.283H10.9539V10.783H10.4539ZM10.4539 11.8536H10.9539V11.3536H10.4539V11.8536ZM11.5539 11.8536V11.3536H11.0539V11.8536H11.5539ZM11.5539 10.783H11.0539V11.283H11.5539V10.783ZM10.9539 6.51533C10.9539 6.48772 10.9763 6.46533 11.0039 6.46533V5.46533C10.424 5.46533 9.95391 5.93543 9.95391 6.51533H10.9539ZM10.9539 10.783V6.51533H9.95391V10.783H10.9539ZM6.0392 11.283H10.4539V10.283H6.0392V11.283ZM6.00391 11.3183C6.00391 11.2988 6.01971 11.283 6.0392 11.283V10.283C5.46742 10.283 5.00391 10.7465 5.00391 11.3183H6.00391ZM6.0392 11.3536C6.01971 11.3536 6.00391 11.3378 6.00391 11.3183H5.00391C5.00391 11.89 5.46742 12.3536 6.0392 12.3536V11.3536ZM10.4539 11.3536H6.0392V12.3536H10.4539V11.3536ZM10.9539 16.1212V11.8536H9.95391V16.1212H10.9539ZM11.0039 16.1712C10.9763 16.1712 10.9539 16.1488 10.9539 16.1212H9.95391C9.95391 16.7011 10.424 17.1712 11.0039 17.1712V16.1712ZM11.0539 16.1212C11.0539 16.1488 11.0315 16.1712 11.0039 16.1712V17.1712C11.5838 17.1712 12.0539 16.7011 12.0539 16.1212H11.0539ZM11.0539 11.8536V16.1212H12.0539V11.8536H11.0539ZM15.9686 11.3536H11.5539V12.3536H15.9686V11.3536ZM16.0039 11.3183C16.0039 11.3378 15.9881 11.3536 15.9686 11.3536V12.3536C16.5404 12.3536 17.0039 11.89 17.0039 11.3183H16.0039ZM15.9686 11.283C15.9881 11.283 16.0039 11.2988 16.0039 11.3183H17.0039C17.0039 10.7465 16.5404 10.283 15.9686 10.283V11.283ZM11.5539 11.283H15.9686V10.283H11.5539V11.283ZM11.0539 6.51533V10.783H12.0539V6.51533H11.0539ZM11.0039 6.46533C11.0315 6.46533 11.0539 6.48772 11.0539 6.51533H12.0539C12.0539 5.93543 11.5838 5.46533 11.0039 5.46533V6.46533Z", fill: "white" })));
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const react_1 = __importDefault(require("react"));
7
- const AddedIcon = (props) => (react_1.default.createElement("svg", Object.assign({ width: "22", height: "22", viewBox: "0 0 22 22", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
7
+ const AddedIcon = (props) => (react_1.default.createElement("svg", { width: "22", height: "22", viewBox: "0 0 22 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
8
8
  react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.538 0.721074L18.6149 3.57386C20.1857 4.45652 21.1534 6.08774 21.1534 7.85305V13.5586C21.1534 15.3239 20.1857 16.9552 18.6149 17.8378L13.538 20.6906C11.9672 21.5733 10.0319 21.5733 8.46109 20.6906L3.38416 17.8378C1.81336 16.9552 0.845703 15.3239 0.845703 13.5586V7.85305C0.845703 6.08774 1.81336 4.45652 3.38416 3.57386L8.46109 0.721074C10.0319 -0.161582 11.9672 -0.161582 13.538 0.721074Z", fill: "#80BE86" }),
9
9
  react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.83268 10.9309C7.49327 10.6199 6.94679 10.6344 6.62336 10.9522L6.53347 11.0406C6.20499 11.3634 6.21569 11.8788 6.55357 12.1884L9.46864 14.8597L16.5368 8.29962C16.8769 7.98396 16.8719 7.47082 16.5372 7.16418L16.4442 7.07895C16.1044 6.76753 15.5537 6.76749 15.2148 7.07833L9.42434 12.3895L7.83268 10.9309Z", fill: "white" })));
10
10
  exports.default = AddedIcon;
@@ -19,7 +19,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
19
19
  };
20
20
  Object.defineProperty(exports, "__esModule", { value: true });
21
21
  const react_1 = __importDefault(require("react"));
22
- const AffiliationPlaceholderIcon = (props) => (react_1.default.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "300", height: "300", viewBox: "0 0 300 300", fill: "none" }, props),
22
+ const AffiliationPlaceholderIcon = (props) => (react_1.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "300", height: "300", viewBox: "0 0 300 300", fill: "none", ...props },
23
23
  react_1.default.createElement("path", { opacity: "0.599", fillRule: "evenodd", clipRule: "evenodd", d: "M168.692 9.91468L262.258 63.9018C267.848 67.127 272.49 71.7671 275.718 77.3556C278.945 82.9441 280.644 89.284 280.644 95.7375V203.671C280.644 210.125 278.945 216.465 275.717 222.053C272.489 227.642 267.847 232.282 262.257 235.507L168.691 289.493C163.105 292.715 156.771 294.412 150.322 294.412C143.874 294.412 137.539 292.715 131.954 289.493L38.3874 235.507C32.7974 232.282 28.155 227.642 24.9273 222.053C21.6995 216.465 20.0001 210.125 20 203.671V95.7375C20.0001 89.2839 21.6995 82.944 24.9273 77.3555C28.155 71.767 32.7974 67.1269 38.3874 63.9018L131.954 9.91468C137.539 6.69207 143.874 4.99561 150.322 4.99561C156.771 4.99561 163.105 6.69207 168.691 9.91468H168.692Z", fill: "#F2F2F2" }),
24
24
  react_1.default.createElement("path", { opacity: "0.268", d: "M150.093 231.872C195.274 231.872 231.9 195.246 231.9 150.065C231.9 104.884 195.274 68.2578 150.093 68.2578C104.912 68.2578 68.2856 104.884 68.2856 150.065C68.2856 195.246 104.912 231.872 150.093 231.872Z", fill: "#D5E7E9" }),
25
25
  react_1.default.createElement("path", { opacity: "0.644", d: "M150.093 201.942C178.744 201.942 201.97 178.716 201.97 150.065C201.97 121.413 178.744 98.187 150.093 98.187C121.442 98.187 98.2151 121.413 98.2151 150.065C98.2151 178.716 121.442 201.942 150.093 201.942Z", fill: "#D5E7E9" }),
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const react_1 = __importDefault(require("react"));
7
- const AffiliationIcon = (props) => (react_1.default.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" }, props),
7
+ const AffiliationIcon = (props) => (react_1.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", ...props },
8
8
  react_1.default.createElement("path", { d: "M13.65 4.50004C13.65 5.41131 12.9113 6.15004 12 6.15004C11.0888 6.15004 10.35 5.41131 10.35 4.50004C10.35 3.58877 11.0888 2.85004 12 2.85004C12.9113 2.85004 13.65 3.58877 13.65 4.50004Z", fill: "#6E6E6E" }),
9
9
  react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M1.5 19.5C0.675 19.5 0 20.175 0 21V22.5C0 23.325 0.675 24 1.5 24H22.5C23.325 24 24 23.325 24 22.5V21C24 20.175 23.325 19.5 22.5 19.5V9C23.325 9 24 8.325 24 7.5V6C24 5.4 23.625 4.875 23.1 4.65L12.6 0.15C12.45 0.075 12.225 0 12 0C11.775 0 11.625 0 11.4 0.075L0.9 4.575C0.375 4.875 0 5.4 0 6V7.5C0 8.325 0.675 9 1.5 9V19.5ZM22.5 6L12 1.5L1.5 6V7.5H22.5V6ZM4.5 9H3V19.5H4.5V9ZM6 19.5H9.75V9H6V19.5ZM1.5 21V22.5H22.5V21H1.5ZM12.75 9V19.5H11.25V9H12.75ZM14.25 19.5H18V9H14.25V19.5ZM21 19.5H19.5V9H21V19.5Z", fill: "#6E6E6E" })));
10
10
  exports.default = AffiliationIcon;
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const react_1 = __importDefault(require("react"));
7
- const ArrowDownCircleIcon = (props) => (react_1.default.createElement("svg", Object.assign({ width: "19", height: "19", viewBox: "0 0 19 19", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
7
+ const ArrowDownCircleIcon = (props) => (react_1.default.createElement("svg", { width: "19", height: "19", viewBox: "0 0 19 19", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
8
8
  react_1.default.createElement("path", { d: "M18.5 9.5C18.5 14.4706 14.4706 18.5 9.5 18.5C4.52944 18.5 0.5 14.4706 0.5 9.5C0.5 4.52944 4.52944 0.5 9.5 0.5C14.4706 0.5 18.5 4.52944 18.5 9.5Z", stroke: "#E2E2E2" }),
9
9
  react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12.3437 8.231C12.7604 7.88994 13.3921 7.93134 13.7545 8.32348C14.117 8.71562 14.073 9.31 13.6562 9.65106L9.56451 13L5.35969 9.70134C4.93548 9.36855 4.87828 8.77516 5.23193 8.37598C5.58557 7.97679 6.21615 7.92296 6.64035 8.25575L9.53703 10.5282L12.3437 8.231Z", fill: "#6E6E6E" })));
10
10
  exports.default = ArrowDownCircleIcon;
@@ -4,6 +4,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const react_1 = __importDefault(require("react"));
7
- const ArrowDownIcon = (props) => (react_1.default.createElement("svg", Object.assign({ width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
7
+ const ArrowDownIcon = (props) => (react_1.default.createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
8
8
  react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.0625 6L12 6.9375L8 10.9375L4 6.9375L4.9375 6L8 9.0625L11.0625 6Z", fill: "#6E6E6E" })));
9
9
  exports.default = ArrowDownIcon;
@@ -4,6 +4,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const react_1 = __importDefault(require("react"));
7
- const ArrowLeftIcon = (props) => (react_1.default.createElement("svg", Object.assign({ width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
7
+ const ArrowLeftIcon = (props) => (react_1.default.createElement("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
8
8
  react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.769 9.34373C8.11006 9.76045 8.06866 10.3921 7.67652 10.7545C7.28438 11.117 6.69 11.073 6.34894 10.6562L3 6.56451L6.29866 2.35969C6.63145 1.93548 7.22484 1.87828 7.62403 2.23193C8.02321 2.58557 8.07704 3.21615 7.74425 3.64035L5.47182 6.53703L7.769 9.34373Z", fill: "#6E6E6E" })));
9
9
  exports.default = ArrowLeftIcon;
@@ -4,6 +4,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const react_1 = __importDefault(require("react"));
7
- const ArrowUpIcon = (props) => (react_1.default.createElement("svg", Object.assign({ width: "9", height: "5", viewBox: "0 0 9 5", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
7
+ const ArrowUpIcon = (props) => (react_1.default.createElement("svg", { width: "9", height: "5", viewBox: "0 0 9 5", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
8
8
  react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M1.65627 4.769C1.23955 5.11006 0.607922 5.06866 0.24548 4.67652C-0.116961 4.28438 -0.0729634 3.69 0.343752 3.34894L4.43549 7.75526e-07L8.64031 3.29867C9.06452 3.63145 9.12172 4.22484 8.76807 4.62403C8.41443 5.02321 7.78385 5.07704 7.35965 4.74425L4.46297 2.47182L1.65627 4.769Z", fill: "#6E6E6E" })));
9
9
  exports.default = ArrowUpIcon;
@@ -19,6 +19,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
19
19
  };
20
20
  Object.defineProperty(exports, "__esModule", { value: true });
21
21
  const react_1 = __importDefault(require("react"));
22
- const AttachIcon = (props) => (react_1.default.createElement("svg", Object.assign({ width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
22
+ const AttachIcon = (props) => (react_1.default.createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
23
23
  react_1.default.createElement("path", { d: "M8.85683 5.35715L5.85183 8.36215C5.16883 9.04515 5.16883 10.1531 5.85183 10.8371C6.53483 11.5201 7.64283 11.5201 8.32683 10.8371L12.3928 6.77115C13.7598 5.40415 13.7598 3.18815 12.3928 1.82115C11.0258 0.454148 8.80983 0.454148 7.44283 1.82115L3.02383 6.24115C0.973828 8.29115 0.973828 11.6151 3.02383 13.6661C5.07383 15.7161 8.39783 15.7161 10.4488 13.6661L14.5138 9.60015", stroke: "#6E6E6E", strokeWidth: "1.5", strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round" })));
24
24
  exports.default = AttachIcon;
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const react_1 = __importDefault(require("react"));
7
- const AttentionBlueIcon = (props) => (react_1.default.createElement("svg", Object.assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
7
+ const AttentionBlueIcon = (props) => (react_1.default.createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
8
8
  react_1.default.createElement("g", { clipPath: "url(#clip0_62_49)" },
9
9
  react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12 22.5C17.799 22.5 22.5 17.799 22.5 12C22.5 6.201 17.799 1.5 12 1.5C6.201 1.5 1.5 6.201 1.5 12C1.5 17.799 6.2 22.5 12 22.5ZM12 24C18.627 24 24 18.627 24 12C24 5.373 18.627 0 12 0C5.373 0 0 5.373 0 12C0 18.627 5.372 24 12 24ZM12 8C11.7348 8 11.4804 7.89464 11.2929 7.70711C11.1054 7.51957 11 7.26522 11 7C11 6.73478 11.1054 6.48043 11.2929 6.29289C11.4804 6.10536 11.7348 6 12 6C12.2652 6 12.5196 6.10536 12.7071 6.29289C12.8946 6.48043 13 6.73478 13 7C13 7.26522 12.8946 7.51957 12.7071 7.70711C12.5196 7.89464 12.2652 8 12 8ZM12.02 18.2C11.7813 18.2 11.5524 18.1052 11.3836 17.9364C11.2148 17.7676 11.12 17.5387 11.12 17.3V10.1C11.12 9.86131 11.2148 9.63239 11.3836 9.4636C11.5524 9.29482 11.7813 9.2 12.02 9.2C12.2587 9.2 12.4876 9.29482 12.6564 9.4636C12.8252 9.63239 12.92 9.86131 12.92 10.1V17.3C12.92 17.5387 12.8252 17.7676 12.6564 17.9364C12.4876 18.1052 12.2587 18.2 12.02 18.2Z", fill: "#1A9BC7" })),
10
10
  react_1.default.createElement("defs", null,
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const react_1 = __importDefault(require("react"));
7
- const AttentionGreenIcon = (props) => (react_1.default.createElement("svg", Object.assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
7
+ const AttentionGreenIcon = (props) => (react_1.default.createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
8
8
  react_1.default.createElement("path", { d: "M11.9998 0C5.38278 0 0 5.3832 0 12C0 18.6168 5.38278 24 11.9998 24C18.6167 24 24 18.6168 24 12C24 5.3832 18.6167 0 11.9998 0ZM11.9998 22.4262C6.2508 22.4262 1.5738 17.749 1.5738 12C1.5738 6.25098 6.25074 1.57386 11.9998 1.57386C17.7488 1.57386 22.426 6.25104 22.426 12C22.4261 17.749 17.7487 22.4262 11.9998 22.4262Z", fill: "#36B260" }),
9
9
  react_1.default.createElement("path", { d: "M16.3444 8.07156L10.1565 14.2591L7.65515 11.7583C7.34777 11.4513 6.84983 11.4511 6.54245 11.7585C6.23495 12.066 6.23495 12.564 6.54245 12.8714L9.60023 15.9287C9.75389 16.0822 9.95519 16.159 10.1565 16.159C10.3578 16.159 10.5596 16.0822 10.7132 15.9284L10.7149 15.9263L17.457 9.18426C17.7645 8.87706 17.7645 8.3787 17.457 8.0715C17.1497 7.76412 16.6514 7.76412 16.3444 8.07156Z", fill: "#36B260" })));
10
10
  exports.default = AttentionGreenIcon;
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const react_1 = __importDefault(require("react"));
7
- const AttentionOrangeIcon = (props) => (react_1.default.createElement("svg", Object.assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
7
+ const AttentionOrangeIcon = (props) => (react_1.default.createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
8
8
  react_1.default.createElement("g", { clipPath: "url(#clip0_62_51)" },
9
9
  react_1.default.createElement("path", { d: "M12 19.7C12.5523 19.7 13 19.2523 13 18.7C13 18.1477 12.5523 17.7 12 17.7C11.4477 17.7 11 18.1477 11 18.7C11 19.2523 11.4477 19.7 12 19.7Z", fill: "#FE8F1F" }),
10
10
  react_1.default.createElement("path", { d: "M12.92 8.4C12.92 7.90294 12.5171 7.5 12.02 7.5C11.5229 7.5 11.12 7.90294 11.12 8.4V15.6C11.12 16.0971 11.5229 16.5 12.02 16.5C12.5171 16.5 12.92 16.0971 12.92 15.6V8.4Z", fill: "#FE8F1F" }),
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const react_1 = __importDefault(require("react"));
7
- const AttentionRedIcon = (props) => (react_1.default.createElement("svg", Object.assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
7
+ const AttentionRedIcon = (props) => (react_1.default.createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
8
8
  react_1.default.createElement("g", { clipPath: "url(#clip0_62_44)" },
9
9
  react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12 1.5C17.799 1.5 22.5 6.201 22.5 12C22.5 17.799 17.799 22.5 12 22.5C6.201 22.5 1.5 17.799 1.5 12C1.5 6.201 6.2 1.5 12 1.5ZM12 0C18.627 0 24 5.373 24 12C24 18.627 18.627 24 12 24C5.373 24 0 18.627 0 12C0 5.373 5.372 0 12 0ZM12 16.2C11.7348 16.2 11.4804 16.3054 11.2929 16.4929C11.1054 16.6804 11 16.9348 11 17.2C11 17.4652 11.1054 17.7196 11.2929 17.9071C11.4804 18.0946 11.7348 18.2 12 18.2C12.2652 18.2 12.5196 18.0946 12.7071 17.9071C12.8946 17.7196 13 17.4652 13 17.2C13 16.9348 12.8946 16.6804 12.7071 16.4929C12.5196 16.3054 12.2652 16.2 12 16.2ZM12.02 6C11.7813 6 11.5524 6.09482 11.3836 6.2636C11.2148 6.43239 11.12 6.66131 11.12 6.9V14.1C11.12 14.3387 11.2148 14.5676 11.3836 14.7364C11.5524 14.9052 11.7813 15 12.02 15C12.2587 15 12.4876 14.9052 12.6564 14.7364C12.8252 14.5676 12.92 14.3387 12.92 14.1V6.9C12.92 6.66131 12.8252 6.43239 12.6564 6.2636C12.4876 6.09482 12.2587 6 12.02 6Z", fill: "#F35143" })),
10
10
  react_1.default.createElement("defs", null,
@@ -19,7 +19,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
19
19
  };
20
20
  Object.defineProperty(exports, "__esModule", { value: true });
21
21
  const react_1 = __importDefault(require("react"));
22
- const AuthorPlaceholderIcon = (props) => (react_1.default.createElement("svg", Object.assign({ width: "300", height: "300", viewBox: "0 0 300 300", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
22
+ const AuthorPlaceholderIcon = (props) => (react_1.default.createElement("svg", { width: "300", height: "300", viewBox: "0 0 300 300", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
23
23
  react_1.default.createElement("path", { opacity: "0.599", fillRule: "evenodd", clipRule: "evenodd", d: "M165.626 9.91492L259.192 63.902C264.782 67.1272 269.424 71.7674 272.652 77.3559C275.879 82.9444 277.578 89.2842 277.578 95.7378V203.671C277.578 210.125 275.879 216.465 272.651 222.053C269.423 227.642 264.781 232.282 259.191 235.507L165.625 289.493C160.039 292.716 153.705 294.412 147.256 294.412C140.808 294.412 134.473 292.716 128.888 289.493L35.3215 235.507C29.7314 232.282 25.0891 227.642 21.8614 222.053C18.6336 216.465 16.9342 210.125 16.9341 203.671V95.7378C16.9342 89.2841 18.6336 82.9442 21.8614 77.3557C25.0891 71.7672 29.7314 67.1271 35.3215 63.902L128.888 9.91492C134.473 6.69232 140.808 4.99585 147.256 4.99585C153.705 4.99585 160.039 6.69232 165.625 9.91492H165.626Z", fill: "#F2F2F2" }),
24
24
  react_1.default.createElement("path", { opacity: "0.268", d: "M150.093 231.872C195.274 231.872 231.9 195.246 231.9 150.065C231.9 104.884 195.274 68.2581 150.093 68.2581C104.912 68.2581 68.2856 104.884 68.2856 150.065C68.2856 195.246 104.912 231.872 150.093 231.872Z", fill: "#D5E7E9" }),
25
25
  react_1.default.createElement("path", { opacity: "0.644", d: "M150.093 201.943C178.744 201.943 201.97 178.716 201.97 150.065C201.97 121.414 178.744 98.1874 150.093 98.1874C121.442 98.1874 98.2151 121.414 98.2151 150.065C98.2151 178.716 121.442 201.943 150.093 201.943Z", fill: "#D5E7E9" }),
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const react_1 = __importDefault(require("react"));
7
- const AvatarIcon = (props) => (react_1.default.createElement("svg", Object.assign({ width: "44", height: "44", viewBox: "0 0 44 44", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
7
+ const AvatarIcon = (props) => (react_1.default.createElement("svg", { width: "44", height: "44", viewBox: "0 0 44 44", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
8
8
  react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M26.9862 21.4873C27.2694 21.0132 27.8833 20.8583 28.3575 21.1414C30.1323 22.2011 31.1794 22.6419 31.9682 22.9739C32.034 23.0015 32.0979 23.0285 32.1603 23.0549C33.0486 23.4313 33.7019 23.7479 34.6165 24.6815C35.2075 25.2847 35.518 26.1508 35.6977 26.9473C35.8839 27.7727 35.9622 28.6777 35.9887 29.4955C36.0154 30.3188 35.9904 31.0847 35.9592 31.6427C35.9435 31.9226 35.9261 32.1524 35.9125 32.3134C35.9057 32.394 35.8999 32.4575 35.8956 32.5017L35.8905 32.5531L35.8891 32.5675L35.8886 32.5717L35.8885 32.5731C35.8885 32.5733 35.8884 32.5739 34.894 32.4678L35.8885 32.5731C35.8775 32.6756 35.8507 32.7768 35.8091 32.8712C35.4529 33.6792 34.5926 34.174 33.7912 34.5021C32.9244 34.857 31.8215 35.1359 30.5958 35.3528C28.1361 35.788 25.021 36.0005 21.9357 36C18.8507 35.9995 15.7456 35.786 13.3064 35.3502C12.0914 35.1332 10.9995 34.8537 10.1462 34.4974C9.71919 34.3191 9.32064 34.1087 8.98894 33.8549C8.6608 33.6039 8.34607 33.2703 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.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.1071 32.1855 10.1461 32.222 10.2042 32.2665C10.3547 32.3816 10.5866 32.5139 10.917 32.6519C11.5787 32.9283 12.5101 33.1763 13.6581 33.3814C15.9451 33.79 18.9252 33.9995 21.936 34C24.9467 34.0005 27.9381 33.792 30.2473 33.3834C31.4061 33.1784 32.3531 32.9297 33.0334 32.6512C33.373 32.5122 33.6169 32.3774 33.7797 32.2573C33.845 32.209 33.8899 32.1687 33.9202 32.1376C33.9324 31.9931 33.948 31.7851 33.9623 31.5309C33.9914 31.0117 34.014 30.3076 33.9898 29.5603C33.9653 28.8077 33.8942 28.0415 33.7467 27.3874C33.5926 26.7043 33.385 26.2824 33.1879 26.0811C32.5261 25.4057 32.1344 25.2161 31.38 24.8964C31.3185 24.8703 31.2551 24.8436 31.1897 24.8161C30.3706 24.4712 29.2256 23.9892 27.3322 22.8586C26.858 22.5755 26.7031 21.9615 26.9862 21.4873Z", fill: "#6E6E6E" }),
9
9
  react_1.default.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" }),
10
10
  react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M22 42.087C33.0937 42.087 42.087 33.0937 42.087 22C42.087 10.9063 33.0937 1.91304 22 1.91304C10.9063 1.91304 1.91304 10.9063 1.91304 22C1.91304 33.0937 10.9063 42.087 22 42.087ZM22 44C34.1503 44 44 34.1503 44 22C44 9.84974 34.1503 0 22 0C9.84974 0 0 9.84974 0 22C0 34.1503 9.84974 44 22 44Z", fill: "#6E6E6E" })));
@@ -4,6 +4,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const react_1 = __importDefault(require("react"));
7
- const CitationCountIcon = (props) => (react_1.default.createElement("svg", Object.assign({ width: "18", height: "16", viewBox: "0 0 18 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
7
+ const CitationCountIcon = (props) => (react_1.default.createElement("svg", { width: "18", height: "16", viewBox: "0 0 18 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
8
8
  react_1.default.createElement("path", { d: "M7.04082 15V15.75H7.79082V15H7.04082ZM1 15H0.25V15.75H1V15ZM6.98639 1H7.73639V0.25H6.98639V1ZM6.98639 3.71318V4.46318H7.73639V3.71318H6.98639ZM3.82993 8.97674H3.07993V9.72674H3.82993V8.97674ZM7.04082 8.97674H7.79082V8.22674H7.04082V8.97674ZM17 15V15.75H17.75V15H17ZM10.9592 15H10.2092V15.75H10.9592V15ZM16.9456 1H17.6956V0.25H16.9456V1ZM16.9456 3.71318V4.46318H17.6956V3.71318H16.9456ZM13.7891 8.97674H13.0391V9.72674H13.7891V8.97674ZM17 8.97674H17.75V8.22674H17V8.97674ZM7.04082 14.25H1V15.75H7.04082V14.25ZM1.75 15V8.97674H0.25V15H1.75ZM1.75 8.97674C1.75 7.94593 1.86197 6.98457 2.08203 6.09001L0.625454 5.7317C0.373856 6.75446 0.25 7.837 0.25 8.97674H1.75ZM2.08203 6.09001C2.2994 5.2064 2.6292 4.44921 3.06325 3.80804L1.82111 2.96715C1.27556 3.77302 0.879745 4.69799 0.625454 5.7317L2.08203 6.09001ZM3.06325 3.80804C3.48836 3.18007 4.02861 2.68023 4.69102 2.30281L3.94844 0.999515C3.08703 1.49032 2.37559 2.14808 1.82111 2.96715L3.06325 3.80804ZM4.69102 2.30281C5.32296 1.94275 6.07986 1.75 6.98639 1.75V0.25C5.86117 0.25 4.84031 0.491354 3.94844 0.999515L4.69102 2.30281ZM6.23639 1V3.71318H7.73639V1H6.23639ZM6.98639 2.96318C6.24207 2.96318 5.56238 3.15073 5.00484 3.58031L5.92033 4.76853C6.16098 4.58312 6.49715 4.46318 6.98639 4.46318V2.96318ZM5.00484 3.58031C4.50577 3.96483 4.11078 4.46447 3.81256 5.05916L5.15342 5.73154C5.36315 5.31331 5.62121 4.999 5.92033 4.76853L5.00484 3.58031ZM3.81256 5.05916C3.51804 5.64649 3.32427 6.29539 3.22357 6.99828L4.70841 7.21102C4.78911 6.64776 4.94001 6.15713 5.15342 5.73154L3.81256 5.05916ZM3.22357 6.99828C3.12802 7.66519 3.07993 8.32478 3.07993 8.97674H4.57993C4.57993 8.39873 4.62255 7.81026 4.70841 7.21102L3.22357 6.99828ZM3.82993 9.72674H7.04082V8.22674H3.82993V9.72674ZM6.29082 8.97674V15H7.79082V8.97674H6.29082ZM17 14.25H10.9592V15.75H17V14.25ZM11.7092 15V8.97674H10.2092V15H11.7092ZM11.7092 8.97674C11.7092 7.94593 11.8212 6.98457 12.0412 6.09001L10.5846 5.7317C10.333 6.75446 10.2092 7.837 10.2092 8.97674H11.7092ZM12.0412 6.09001C12.2586 5.2064 12.5884 4.44921 13.0224 3.80804L11.7803 2.96715C11.2347 3.77302 10.8389 4.69799 10.5846 5.7317L12.0412 6.09001ZM13.0224 3.80804C13.4475 3.18007 13.9878 2.68023 14.6502 2.30281L13.9076 0.999515C13.0462 1.49032 12.3348 2.14808 11.7803 2.96715L13.0224 3.80804ZM14.6502 2.30281C15.2821 1.94275 16.039 1.75 16.9456 1.75V0.25C15.8204 0.25 14.7995 0.491354 13.9076 0.999515L14.6502 2.30281ZM16.1956 1V3.71318H17.6956V1H16.1956ZM16.9456 2.96318C16.2013 2.96318 15.5216 3.15073 14.964 3.58031L15.8795 4.76853C16.1202 4.58312 16.4563 4.46318 16.9456 4.46318V2.96318ZM14.964 3.58031C14.465 3.96483 14.07 4.46447 13.7717 5.05916L15.1126 5.73154C15.3223 5.31331 15.5804 4.999 15.8795 4.76853L14.964 3.58031ZM13.7717 5.05916C13.4772 5.64649 13.2835 6.29539 13.1828 6.99828L14.6676 7.21102C14.7483 6.64776 14.8992 6.15713 15.1126 5.73154L13.7717 5.05916ZM13.1828 6.99828C13.0872 7.66519 13.0391 8.32478 13.0391 8.97674H14.5391C14.5391 8.39873 14.5817 7.81026 14.6676 7.21102L13.1828 6.99828ZM13.7891 9.72674H17V8.22674H13.7891V9.72674ZM16.25 8.97674V15H17.75V8.97674H16.25Z", fill: "#C9C9C9" })));
9
9
  exports.default = CitationCountIcon;
@@ -4,6 +4,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const react_1 = __importDefault(require("react"));
7
- const CommentReplyIcon = (props) => (react_1.default.createElement("svg", Object.assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
7
+ const CommentReplyIcon = (props) => (react_1.default.createElement("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props },
8
8
  react_1.default.createElement("path", { d: "M15 16.032C15 11.333 15 6.032 5 7.152M6.628 10.03L4 7.015L6.628 4V10.03Z", stroke: "#6E6E6E", strokeWidth: "2", strokeLinecap: "round" })));
9
9
  exports.default = CommentReplyIcon;