@manuscripts/style-guide 2.1.8-LEAN-4344.0 → 2.1.8

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 (317) hide show
  1. package/dist/cjs/components/AlertMessage.js +49 -13
  2. package/dist/cjs/components/AutoSaveInput.js +53 -30
  3. package/dist/cjs/components/Avatar.js +40 -3
  4. package/dist/cjs/components/ContextMenu.js +22 -5
  5. package/dist/cjs/components/DatePicker/CalendarDatePicker.js +105 -87
  6. package/dist/cjs/components/Dialog.js +68 -24
  7. package/dist/cjs/components/DraggableModal.js +42 -4
  8. package/dist/cjs/components/Drawer.js +21 -2
  9. package/dist/cjs/components/Dropdown.js +1 -3
  10. package/dist/cjs/components/InspectorSection.js +48 -5
  11. package/dist/cjs/components/LoadingOverlay.js +5 -3
  12. package/dist/cjs/components/Menus/Menus.js +28 -9
  13. package/dist/cjs/components/Menus/Shortcut.js +18 -3
  14. package/dist/cjs/components/Menus/Submenu.js +28 -7
  15. package/dist/cjs/components/MultiValueInput.js +29 -3
  16. package/dist/cjs/components/NavDropdown.js +26 -3
  17. package/dist/cjs/components/RadioButton.js +19 -2
  18. package/dist/cjs/components/RelativeDate.js +20 -2
  19. package/dist/cjs/components/Resizer/Resizer.js +92 -100
  20. package/dist/cjs/components/Resizer/ResizerButton.js +12 -7
  21. package/dist/cjs/components/RichText/RichText.js +25 -3
  22. package/dist/cjs/components/RichText/RichTextField.js +25 -3
  23. package/dist/cjs/components/SaveStatus.js +31 -5
  24. package/dist/cjs/components/SelectField.js +17 -2
  25. package/dist/cjs/components/SelectedItemsBox.js +5 -2
  26. package/dist/cjs/components/StyledModal.js +17 -2
  27. package/dist/cjs/components/SystemUserAvatar.js +40 -3
  28. package/dist/cjs/components/TextField.js +22 -2
  29. package/dist/cjs/components/TextFieldContainer.js +22 -2
  30. package/dist/cjs/components/TextFieldError.js +19 -2
  31. package/dist/cjs/components/TextFieldGroupContainer.js +22 -2
  32. package/dist/cjs/components/Tooltip.js +4 -3
  33. package/dist/cjs/components/icons/add-author.js +23 -2
  34. package/dist/cjs/components/icons/add-comment.js +25 -2
  35. package/dist/cjs/components/icons/add-institution.js +20 -2
  36. package/dist/cjs/components/icons/add-new.js +7 -2
  37. package/dist/cjs/components/icons/add-outline.js +8 -2
  38. package/dist/cjs/components/icons/add-user.js +8 -2
  39. package/dist/cjs/components/icons/add.js +8 -2
  40. package/dist/cjs/components/icons/added.js +7 -2
  41. package/dist/cjs/components/icons/affiliation-placeholder.js +39 -2
  42. package/dist/cjs/components/icons/affiliation.js +7 -2
  43. package/dist/cjs/components/icons/alert.js +6 -2
  44. package/dist/cjs/components/icons/arrow-down-circle.js +7 -2
  45. package/dist/cjs/components/icons/arrow-down.js +6 -2
  46. package/dist/cjs/components/icons/arrow-left.js +6 -2
  47. package/dist/cjs/components/icons/arrow-up.js +6 -2
  48. package/dist/cjs/components/icons/attach.js +21 -2
  49. package/dist/cjs/components/icons/attention-blue.js +10 -2
  50. package/dist/cjs/components/icons/attention-green.js +7 -2
  51. package/dist/cjs/components/icons/attention-orange.js +12 -2
  52. package/dist/cjs/components/icons/attention-red.js +10 -2
  53. package/dist/cjs/components/icons/author-placeholder.js +46 -2
  54. package/dist/cjs/components/icons/avatar.js +8 -2
  55. package/dist/cjs/components/icons/book.js +22 -2
  56. package/dist/cjs/components/icons/circle-tick-animation.js +7 -2
  57. package/dist/cjs/components/icons/citation-count.js +6 -2
  58. package/dist/cjs/components/icons/comment-reply.js +6 -2
  59. package/dist/cjs/components/icons/comment-resolve.js +21 -2
  60. package/dist/cjs/components/icons/comment.js +25 -2
  61. package/dist/cjs/components/icons/corresponding-author.js +12 -2
  62. package/dist/cjs/components/icons/delete-solid.js +6 -2
  63. package/dist/cjs/components/icons/deleted.js +11 -2
  64. package/dist/cjs/components/icons/dots.js +23 -2
  65. package/dist/cjs/components/icons/draggable-icon.js +13 -2
  66. package/dist/cjs/components/icons/edit-attrs-tracking.js +7 -2
  67. package/dist/cjs/components/icons/edit.js +6 -2
  68. package/dist/cjs/components/icons/file-audio.js +23 -2
  69. package/dist/cjs/components/icons/file-code.js +23 -2
  70. package/dist/cjs/components/icons/file-compressed.js +30 -2
  71. package/dist/cjs/components/icons/file-corrupted.js +24 -2
  72. package/dist/cjs/components/icons/file-document.js +24 -2
  73. package/dist/cjs/components/icons/file-figure.js +23 -2
  74. package/dist/cjs/components/icons/file-graphical-abstract.js +8 -2
  75. package/dist/cjs/components/icons/file-image.js +6 -2
  76. package/dist/cjs/components/icons/file-latex-icon.js +25 -2
  77. package/dist/cjs/components/icons/file-main-document.js +10 -2
  78. package/dist/cjs/components/icons/file-pdf.js +22 -2
  79. package/dist/cjs/components/icons/file-table.js +21 -2
  80. package/dist/cjs/components/icons/file-unknown.js +22 -2
  81. package/dist/cjs/components/icons/file-video.js +21 -2
  82. package/dist/cjs/components/icons/handle-inspector.js +6 -2
  83. package/dist/cjs/components/icons/handle-outline.js +11 -2
  84. package/dist/cjs/components/icons/help.js +8 -2
  85. package/dist/cjs/components/icons/image-default.js +9 -2
  86. package/dist/cjs/components/icons/image-left.js +9 -2
  87. package/dist/cjs/components/icons/image-right.js +9 -2
  88. package/dist/cjs/components/icons/link.js +7 -2
  89. package/dist/cjs/components/icons/lock.js +9 -2
  90. package/dist/cjs/components/icons/logout.js +6 -2
  91. package/dist/cjs/components/icons/manuscript.js +24 -2
  92. package/dist/cjs/components/icons/outline-block-quote.js +8 -2
  93. package/dist/cjs/components/icons/outline-code.js +7 -2
  94. package/dist/cjs/components/icons/outline-embed.js +7 -2
  95. package/dist/cjs/components/icons/outline-equation.js +6 -2
  96. package/dist/cjs/components/icons/outline-figure.js +12 -2
  97. package/dist/cjs/components/icons/outline-manuscript.js +9 -2
  98. package/dist/cjs/components/icons/outline-ordered-list.js +6 -2
  99. package/dist/cjs/components/icons/outline-paragraph.js +6 -2
  100. package/dist/cjs/components/icons/outline-pull-quote.js +8 -2
  101. package/dist/cjs/components/icons/outline-section.js +6 -2
  102. package/dist/cjs/components/icons/outline-table.js +8 -2
  103. package/dist/cjs/components/icons/outline-unordered-list.js +8 -2
  104. package/dist/cjs/components/icons/plus.js +22 -2
  105. package/dist/cjs/components/icons/profile-avatar.js +6 -2
  106. package/dist/cjs/components/icons/role-annotating.js +8 -2
  107. package/dist/cjs/components/icons/role-reading.js +10 -2
  108. package/dist/cjs/components/icons/save-status-offline.js +23 -2
  109. package/dist/cjs/components/icons/save-status-saved.js +22 -2
  110. package/dist/cjs/components/icons/save-status-saving.js +24 -2
  111. package/dist/cjs/components/icons/scroll.js +10 -2
  112. package/dist/cjs/components/icons/search.js +22 -2
  113. package/dist/cjs/components/icons/section-category.js +21 -2
  114. package/dist/cjs/components/icons/slider-off.js +7 -2
  115. package/dist/cjs/components/icons/slider-on.js +7 -2
  116. package/dist/cjs/components/icons/system-user-avatar.js +9 -2
  117. package/dist/cjs/components/icons/task-step-done.js +22 -2
  118. package/dist/cjs/components/icons/tick.js +6 -2
  119. package/dist/cjs/components/icons/toolbar-bold.js +6 -2
  120. package/dist/cjs/components/icons/toolbar-citation.js +6 -2
  121. package/dist/cjs/components/icons/toolbar-code.js +7 -2
  122. package/dist/cjs/components/icons/toolbar-equation.js +6 -2
  123. package/dist/cjs/components/icons/toolbar-figure.js +6 -2
  124. package/dist/cjs/components/icons/toolbar-indent.js +11 -2
  125. package/dist/cjs/components/icons/toolbar-italic.js +6 -2
  126. package/dist/cjs/components/icons/toolbar-ordered-list.js +6 -2
  127. package/dist/cjs/components/icons/toolbar-subscript.js +6 -2
  128. package/dist/cjs/components/icons/toolbar-superscript.js +6 -2
  129. package/dist/cjs/components/icons/toolbar-symbol.js +6 -2
  130. package/dist/cjs/components/icons/toolbar-table.js +6 -2
  131. package/dist/cjs/components/icons/toolbar-underline.js +6 -2
  132. package/dist/cjs/components/icons/toolbar-unindent.js +11 -2
  133. package/dist/cjs/components/icons/toolbar-unordered-list.js +6 -2
  134. package/dist/cjs/components/icons/triangle-collapsed.js +6 -2
  135. package/dist/cjs/components/icons/triangle-expanded.js +6 -2
  136. package/dist/cjs/components/icons/upload.js +8 -2
  137. package/dist/cjs/components/icons/vertical-ellipsis.js +8 -2
  138. package/dist/cjs/components/icons/x.js +7 -2
  139. package/dist/cjs/hooks/use-scroll-detection.js +2 -2
  140. package/dist/cjs/lib/capabilities.js +5 -6
  141. package/dist/cjs/lib/files.js +17 -14
  142. package/dist/es/components/AlertMessage.js +47 -14
  143. package/dist/es/components/AutoSaveInput.js +50 -30
  144. package/dist/es/components/Avatar.js +17 -3
  145. package/dist/es/components/ContextMenu.js +22 -5
  146. package/dist/es/components/DatePicker/CalendarDatePicker.js +80 -86
  147. package/dist/es/components/Dialog.js +68 -24
  148. package/dist/es/components/DraggableModal.js +19 -4
  149. package/dist/es/components/Drawer.js +18 -2
  150. package/dist/es/components/Dropdown.js +1 -3
  151. package/dist/es/components/InspectorSection.js +25 -5
  152. package/dist/es/components/LoadingOverlay.js +5 -3
  153. package/dist/es/components/Menus/Menus.js +28 -9
  154. package/dist/es/components/Menus/Shortcut.js +18 -3
  155. package/dist/es/components/Menus/Submenu.js +28 -7
  156. package/dist/es/components/MultiValueInput.js +6 -3
  157. package/dist/es/components/NavDropdown.js +23 -3
  158. package/dist/es/components/RadioButton.js +19 -2
  159. package/dist/es/components/RelativeDate.js +17 -2
  160. package/dist/es/components/Resizer/Resizer.js +90 -78
  161. package/dist/es/components/Resizer/ResizerButton.js +11 -7
  162. package/dist/es/components/RichText/RichText.js +2 -3
  163. package/dist/es/components/RichText/RichTextField.js +2 -3
  164. package/dist/es/components/SaveStatus.js +31 -5
  165. package/dist/es/components/SelectField.js +17 -2
  166. package/dist/es/components/SelectedItemsBox.js +5 -2
  167. package/dist/es/components/StyledModal.js +17 -2
  168. package/dist/es/components/SystemUserAvatar.js +17 -3
  169. package/dist/es/components/TextField.js +19 -2
  170. package/dist/es/components/TextFieldContainer.js +22 -2
  171. package/dist/es/components/TextFieldError.js +19 -2
  172. package/dist/es/components/TextFieldGroupContainer.js +19 -2
  173. package/dist/es/components/Tooltip.js +4 -3
  174. package/dist/es/components/icons/add-author.js +20 -2
  175. package/dist/es/components/icons/add-comment.js +22 -2
  176. package/dist/es/components/icons/add-institution.js +17 -2
  177. package/dist/es/components/icons/add-new.js +4 -2
  178. package/dist/es/components/icons/add-outline.js +5 -2
  179. package/dist/es/components/icons/add-user.js +5 -2
  180. package/dist/es/components/icons/add.js +5 -2
  181. package/dist/es/components/icons/added.js +4 -2
  182. package/dist/es/components/icons/affiliation-placeholder.js +36 -2
  183. package/dist/es/components/icons/affiliation.js +4 -2
  184. package/dist/es/components/icons/alert.js +3 -2
  185. package/dist/es/components/icons/arrow-down-circle.js +4 -2
  186. package/dist/es/components/icons/arrow-down.js +3 -2
  187. package/dist/es/components/icons/arrow-left.js +3 -2
  188. package/dist/es/components/icons/arrow-up.js +3 -2
  189. package/dist/es/components/icons/attach.js +18 -2
  190. package/dist/es/components/icons/attention-blue.js +7 -2
  191. package/dist/es/components/icons/attention-green.js +4 -2
  192. package/dist/es/components/icons/attention-orange.js +9 -2
  193. package/dist/es/components/icons/attention-red.js +7 -2
  194. package/dist/es/components/icons/author-placeholder.js +43 -2
  195. package/dist/es/components/icons/avatar.js +5 -2
  196. package/dist/es/components/icons/book.js +19 -2
  197. package/dist/es/components/icons/circle-tick-animation.js +4 -2
  198. package/dist/es/components/icons/citation-count.js +3 -2
  199. package/dist/es/components/icons/comment-reply.js +3 -2
  200. package/dist/es/components/icons/comment-resolve.js +18 -2
  201. package/dist/es/components/icons/comment.js +22 -2
  202. package/dist/es/components/icons/corresponding-author.js +9 -2
  203. package/dist/es/components/icons/delete-solid.js +3 -2
  204. package/dist/es/components/icons/deleted.js +8 -2
  205. package/dist/es/components/icons/dots.js +20 -2
  206. package/dist/es/components/icons/draggable-icon.js +10 -2
  207. package/dist/es/components/icons/edit-attrs-tracking.js +4 -2
  208. package/dist/es/components/icons/edit.js +3 -2
  209. package/dist/es/components/icons/file-audio.js +20 -2
  210. package/dist/es/components/icons/file-code.js +20 -2
  211. package/dist/es/components/icons/file-compressed.js +27 -2
  212. package/dist/es/components/icons/file-corrupted.js +21 -2
  213. package/dist/es/components/icons/file-document.js +21 -2
  214. package/dist/es/components/icons/file-figure.js +20 -2
  215. package/dist/es/components/icons/file-graphical-abstract.js +5 -2
  216. package/dist/es/components/icons/file-image.js +3 -2
  217. package/dist/es/components/icons/file-latex-icon.js +22 -2
  218. package/dist/es/components/icons/file-main-document.js +7 -2
  219. package/dist/es/components/icons/file-pdf.js +19 -2
  220. package/dist/es/components/icons/file-table.js +18 -2
  221. package/dist/es/components/icons/file-unknown.js +19 -2
  222. package/dist/es/components/icons/file-video.js +18 -2
  223. package/dist/es/components/icons/handle-inspector.js +3 -2
  224. package/dist/es/components/icons/handle-outline.js +8 -2
  225. package/dist/es/components/icons/help.js +5 -2
  226. package/dist/es/components/icons/image-default.js +6 -2
  227. package/dist/es/components/icons/image-left.js +6 -2
  228. package/dist/es/components/icons/image-right.js +6 -2
  229. package/dist/es/components/icons/link.js +4 -2
  230. package/dist/es/components/icons/lock.js +6 -2
  231. package/dist/es/components/icons/logout.js +3 -2
  232. package/dist/es/components/icons/manuscript.js +21 -2
  233. package/dist/es/components/icons/outline-block-quote.js +5 -2
  234. package/dist/es/components/icons/outline-code.js +4 -2
  235. package/dist/es/components/icons/outline-embed.js +4 -2
  236. package/dist/es/components/icons/outline-equation.js +3 -2
  237. package/dist/es/components/icons/outline-figure.js +9 -2
  238. package/dist/es/components/icons/outline-manuscript.js +6 -2
  239. package/dist/es/components/icons/outline-ordered-list.js +3 -2
  240. package/dist/es/components/icons/outline-paragraph.js +3 -2
  241. package/dist/es/components/icons/outline-pull-quote.js +5 -2
  242. package/dist/es/components/icons/outline-section.js +3 -2
  243. package/dist/es/components/icons/outline-table.js +5 -2
  244. package/dist/es/components/icons/outline-unordered-list.js +5 -2
  245. package/dist/es/components/icons/plus.js +19 -2
  246. package/dist/es/components/icons/profile-avatar.js +3 -2
  247. package/dist/es/components/icons/role-annotating.js +5 -2
  248. package/dist/es/components/icons/role-reading.js +7 -2
  249. package/dist/es/components/icons/save-status-offline.js +20 -2
  250. package/dist/es/components/icons/save-status-saved.js +19 -2
  251. package/dist/es/components/icons/save-status-saving.js +21 -2
  252. package/dist/es/components/icons/scroll.js +7 -2
  253. package/dist/es/components/icons/search.js +19 -2
  254. package/dist/es/components/icons/section-category.js +18 -2
  255. package/dist/es/components/icons/slider-off.js +4 -2
  256. package/dist/es/components/icons/slider-on.js +4 -2
  257. package/dist/es/components/icons/system-user-avatar.js +6 -2
  258. package/dist/es/components/icons/task-step-done.js +19 -2
  259. package/dist/es/components/icons/tick.js +3 -2
  260. package/dist/es/components/icons/toolbar-bold.js +3 -2
  261. package/dist/es/components/icons/toolbar-citation.js +3 -2
  262. package/dist/es/components/icons/toolbar-code.js +4 -2
  263. package/dist/es/components/icons/toolbar-equation.js +3 -2
  264. package/dist/es/components/icons/toolbar-figure.js +3 -2
  265. package/dist/es/components/icons/toolbar-indent.js +8 -2
  266. package/dist/es/components/icons/toolbar-italic.js +3 -2
  267. package/dist/es/components/icons/toolbar-ordered-list.js +3 -2
  268. package/dist/es/components/icons/toolbar-subscript.js +3 -2
  269. package/dist/es/components/icons/toolbar-superscript.js +3 -2
  270. package/dist/es/components/icons/toolbar-symbol.js +3 -2
  271. package/dist/es/components/icons/toolbar-table.js +3 -2
  272. package/dist/es/components/icons/toolbar-underline.js +3 -2
  273. package/dist/es/components/icons/toolbar-unindent.js +8 -2
  274. package/dist/es/components/icons/toolbar-unordered-list.js +3 -2
  275. package/dist/es/components/icons/triangle-collapsed.js +3 -2
  276. package/dist/es/components/icons/triangle-expanded.js +3 -2
  277. package/dist/es/components/icons/upload.js +5 -2
  278. package/dist/es/components/icons/vertical-ellipsis.js +5 -2
  279. package/dist/es/components/icons/x.js +4 -2
  280. package/dist/es/hooks/use-scroll-detection.js +2 -2
  281. package/dist/es/lib/capabilities.js +5 -6
  282. package/dist/es/lib/files.js +14 -14
  283. package/dist/types/components/AlertMessage.d.ts +13 -14
  284. package/dist/types/components/AutoSaveInput.d.ts +14 -1
  285. package/dist/types/components/Badge.d.ts +1 -2
  286. package/dist/types/components/Button.d.ts +80 -30
  287. package/dist/types/components/Checkbox.d.ts +6 -5
  288. package/dist/types/components/DatePicker/CalendarDatePicker.d.ts +18 -19
  289. package/dist/types/components/Dialog.d.ts +14 -3
  290. package/dist/types/components/Dropdown.d.ts +6 -9
  291. package/dist/types/components/Form.d.ts +4 -4
  292. package/dist/types/components/Inspector.d.ts +10 -1720
  293. package/dist/types/components/InspectorSection.d.ts +10 -35
  294. package/dist/types/components/Menus/Shortcut.d.ts +1 -1
  295. package/dist/types/components/Menus/Submenu.d.ts +5 -5
  296. package/dist/types/components/NavDropdown.d.ts +19 -26
  297. package/dist/types/components/RadioButton.d.ts +1 -1
  298. package/dist/types/components/Resizer/Resizer.d.ts +23 -1
  299. package/dist/types/components/Resizer/ResizerButton.d.ts +7 -1
  300. package/dist/types/components/Resizer/ResizerButtonInner.d.ts +4 -5
  301. package/dist/types/components/Resizer/ResizerInner.d.ts +4 -5
  302. package/dist/types/components/Sidebar.d.ts +2 -3
  303. package/dist/types/components/StyledModal.d.ts +30 -43
  304. package/dist/types/components/Text.d.ts +4 -5
  305. package/dist/types/components/TextField.d.ts +6 -6
  306. package/dist/types/components/TextFieldError.d.ts +1 -1
  307. package/dist/types/components/Tooltip.d.ts +1 -1
  308. package/dist/types/components/icons/add-author.d.ts +2 -1
  309. package/dist/types/components/icons/affiliation-placeholder.d.ts +2 -1
  310. package/dist/types/components/icons/author-placeholder.d.ts +2 -1
  311. package/dist/types/components/icons/section-category.d.ts +2 -1
  312. package/dist/types/components/icons/x.d.ts +2 -1
  313. package/dist/types/hooks/use-dropdown.d.ts +1 -1
  314. package/dist/types/hooks/use-menus.d.ts +1 -1
  315. package/dist/types/lib/capabilities.d.ts +3 -2
  316. package/dist/types/lib/files.d.ts +3 -3
  317. package/package.json +23 -25
@@ -1,3 +1,4 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- const ToolbarFigureIcon = (props) => (_jsx("svg", Object.assign({ width: "19", height: "16", viewBox: "0 0 19 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { children: _jsx("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" }) })));
1
+ import React from 'react';
2
+ const ToolbarFigureIcon = (props) => (React.createElement("svg", Object.assign({ width: "19", height: "16", viewBox: "0 0 19 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
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" })));
3
4
  export default ToolbarFigureIcon;
@@ -1,3 +1,9 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- const ToolbarIndentIcon = (props) => (_jsxs("svg", Object.assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { children: [_jsx("line", { x1: "13", y1: "6.5", x2: "20", y2: "6.5", stroke: "#6E6E6E", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }), _jsx("line", { x1: "13", y1: "10.25", x2: "20", y2: "10.25", stroke: "#6E6E6E", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }), _jsx("line", { x1: "13", y1: "14", x2: "20", y2: "14", stroke: "#6E6E6E", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }), _jsx("line", { x1: "5.5", y1: "17.75", x2: "20", y2: "17.75", stroke: "#6E6E6E", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.35742 10.5002C8.35742 11.3878 7.98843 12.1074 7.53325 12.1074L3.82445 12.1074C3.36927 12.1074 3.00028 11.3878 3.00028 10.5002C3.00028 9.61261 3.36927 8.89307 3.82445 8.89307L7.53325 8.89307C7.98843 8.89307 8.35742 9.61261 8.35742 10.5002Z", fill: "#6E6E6E" }), _jsx("path", { d: "M9.94931 10.3645C10.0169 10.4325 10.0169 10.5675 9.94931 10.6355L6.88351 13.7199C6.85861 13.7449 6.84202 13.7484 6.83586 13.7494C6.827 13.7508 6.81287 13.7502 6.79482 13.7416C6.76137 13.7257 6.71429 13.6808 6.71429 13.5844L6.71429 7.41561C6.71429 7.31919 6.76137 7.27433 6.79482 7.25839C6.81287 7.24979 6.827 7.2492 6.83586 7.25059C6.84202 7.25156 6.85861 7.25508 6.88351 7.28013L9.94931 10.3645Z", fill: "#6E6E6E", stroke: "#6E6E6E" })] })));
1
+ import React from 'react';
2
+ const ToolbarIndentIcon = (props) => (React.createElement("svg", Object.assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
3
+ React.createElement("line", { x1: "13", y1: "6.5", x2: "20", y2: "6.5", stroke: "#6E6E6E", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
4
+ React.createElement("line", { x1: "13", y1: "10.25", x2: "20", y2: "10.25", stroke: "#6E6E6E", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
5
+ React.createElement("line", { x1: "13", y1: "14", x2: "20", y2: "14", stroke: "#6E6E6E", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
6
+ React.createElement("line", { x1: "5.5", y1: "17.75", x2: "20", y2: "17.75", stroke: "#6E6E6E", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
7
+ React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.35742 10.5002C8.35742 11.3878 7.98843 12.1074 7.53325 12.1074L3.82445 12.1074C3.36927 12.1074 3.00028 11.3878 3.00028 10.5002C3.00028 9.61261 3.36927 8.89307 3.82445 8.89307L7.53325 8.89307C7.98843 8.89307 8.35742 9.61261 8.35742 10.5002Z", fill: "#6E6E6E" }),
8
+ React.createElement("path", { d: "M9.94931 10.3645C10.0169 10.4325 10.0169 10.5675 9.94931 10.6355L6.88351 13.7199C6.85861 13.7449 6.84202 13.7484 6.83586 13.7494C6.827 13.7508 6.81287 13.7502 6.79482 13.7416C6.76137 13.7257 6.71429 13.6808 6.71429 13.5844L6.71429 7.41561C6.71429 7.31919 6.76137 7.27433 6.79482 7.25839C6.81287 7.24979 6.827 7.2492 6.83586 7.25059C6.84202 7.25156 6.85861 7.25508 6.88351 7.28013L9.94931 10.3645Z", fill: "#6E6E6E", stroke: "#6E6E6E" })));
3
9
  export default ToolbarIndentIcon;
@@ -1,3 +1,4 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- const ToolbarItalicIcon = (props) => (_jsx("svg", Object.assign({ width: "19", height: "16", viewBox: "0 0 19 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { children: _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.21802 13.4211H7.5L9.82349 2.5H11.5415L9.21802 13.4211Z", fill: "#6E6E6E" }) })));
1
+ import React from 'react';
2
+ const ToolbarItalicIcon = (props) => (React.createElement("svg", Object.assign({ width: "19", height: "16", viewBox: "0 0 19 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
3
+ React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.21802 13.4211H7.5L9.82349 2.5H11.5415L9.21802 13.4211Z", fill: "#6E6E6E" })));
3
4
  export default ToolbarItalicIcon;
@@ -1,3 +1,4 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- const ToolbarOrderedListIcon = (props) => (_jsx("svg", Object.assign({ width: "19", height: "16", viewBox: "0 0 19 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { children: _jsx("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" }) })));
1
+ import React from 'react';
2
+ const ToolbarOrderedListIcon = (props) => (React.createElement("svg", Object.assign({ width: "19", height: "16", viewBox: "0 0 19 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
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" })));
3
4
  export default ToolbarOrderedListIcon;
@@ -1,3 +1,4 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- const ToolbarSubscriptIcon = (props) => (_jsx("svg", Object.assign({ width: "19", height: "16", viewBox: "0 0 19 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { children: _jsx("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" }) })));
1
+ import React from 'react';
2
+ const ToolbarSubscriptIcon = (props) => (React.createElement("svg", Object.assign({ width: "19", height: "16", viewBox: "0 0 19 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
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" })));
3
4
  export default ToolbarSubscriptIcon;
@@ -1,3 +1,4 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- const ToolbarSuperscriptIcon = (props) => (_jsx("svg", Object.assign({ width: "19", height: "16", viewBox: "0 0 19 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { children: _jsx("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" }) })));
1
+ import React from 'react';
2
+ const ToolbarSuperscriptIcon = (props) => (React.createElement("svg", Object.assign({ width: "19", height: "16", viewBox: "0 0 19 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
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" })));
3
4
  export default ToolbarSuperscriptIcon;
@@ -1,3 +1,4 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- const ToolbarSymbolIcon = (props) => (_jsx("svg", Object.assign({ width: "19", height: "16", viewBox: "0 0 19 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { children: _jsx("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" }) })));
1
+ import React from 'react';
2
+ const ToolbarSymbolIcon = (props) => (React.createElement("svg", Object.assign({ width: "19", height: "16", viewBox: "0 0 19 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
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" })));
3
4
  export default ToolbarSymbolIcon;
@@ -1,3 +1,4 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- const ToolbarTableIcon = (props) => (_jsx("svg", Object.assign({ width: "19", height: "16", viewBox: "0 0 19 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { children: _jsx("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" }) })));
1
+ import React from 'react';
2
+ const ToolbarTableIcon = (props) => (React.createElement("svg", Object.assign({ width: "19", height: "16", viewBox: "0 0 19 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
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" })));
3
4
  export default ToolbarTableIcon;
@@ -1,3 +1,4 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- const ToolbarUnderlineIcon = (props) => (_jsx("svg", Object.assign({ width: "19", height: "16", viewBox: "0 0 19 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { children: _jsx("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" }) })));
1
+ import React from 'react';
2
+ const ToolbarUnderlineIcon = (props) => (React.createElement("svg", Object.assign({ width: "19", height: "16", viewBox: "0 0 19 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
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" })));
3
4
  export default ToolbarUnderlineIcon;
@@ -1,3 +1,9 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- const ToolbarUnindentIcon = (props) => (_jsxs("svg", Object.assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsx("line", { x1: "13", y1: "6.5", x2: "20", y2: "6.5", stroke: "#6E6E6E", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }), _jsx("line", { x1: "13", y1: "10.25", x2: "20", y2: "10.25", stroke: "#6E6E6E", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }), _jsx("line", { x1: "13", y1: "14", x2: "20", y2: "14", stroke: "#6E6E6E", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }), _jsx("line", { x1: "5.5", y1: "17.75", x2: "20", y2: "17.75", stroke: "#6E6E6E", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.14258 10.5003C5.14258 9.61268 5.51157 8.89314 5.96675 8.89314L9.67555 8.89314C10.1307 8.89314 10.4997 9.61268 10.4997 10.5003C10.4997 11.3879 10.1307 12.1074 9.67555 12.1074L5.96675 12.1074C5.51157 12.1074 5.14258 11.3879 5.14258 10.5003Z", fill: "#6E6E6E" }), _jsx("path", { d: "M3.55069 10.6355C3.4831 10.5675 3.4831 10.4325 3.55069 10.3645L6.61649 7.28013C6.64139 7.25508 6.65798 7.25155 6.66414 7.25059C6.673 7.2492 6.68713 7.24979 6.70517 7.25839C6.73862 7.27433 6.78571 7.31919 6.78571 7.41561L6.78571 13.5844C6.78571 13.6808 6.73862 13.7257 6.70517 13.7416C6.68713 13.7502 6.673 13.7508 6.66414 13.7494C6.65798 13.7484 6.64139 13.7449 6.61649 13.7199L3.55069 10.6355Z", fill: "#6E6E6E", stroke: "#6E6E6E" })] })));
1
+ import React from 'react';
2
+ const ToolbarUnindentIcon = (props) => (React.createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
3
+ React.createElement("line", { x1: "13", y1: "6.5", x2: "20", y2: "6.5", stroke: "#6E6E6E", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
4
+ React.createElement("line", { x1: "13", y1: "10.25", x2: "20", y2: "10.25", stroke: "#6E6E6E", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
5
+ React.createElement("line", { x1: "13", y1: "14", x2: "20", y2: "14", stroke: "#6E6E6E", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
6
+ React.createElement("line", { x1: "5.5", y1: "17.75", x2: "20", y2: "17.75", stroke: "#6E6E6E", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
7
+ React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.14258 10.5003C5.14258 9.61268 5.51157 8.89314 5.96675 8.89314L9.67555 8.89314C10.1307 8.89314 10.4997 9.61268 10.4997 10.5003C10.4997 11.3879 10.1307 12.1074 9.67555 12.1074L5.96675 12.1074C5.51157 12.1074 5.14258 11.3879 5.14258 10.5003Z", fill: "#6E6E6E" }),
8
+ React.createElement("path", { d: "M3.55069 10.6355C3.4831 10.5675 3.4831 10.4325 3.55069 10.3645L6.61649 7.28013C6.64139 7.25508 6.65798 7.25155 6.66414 7.25059C6.673 7.2492 6.68713 7.24979 6.70517 7.25839C6.73862 7.27433 6.78571 7.31919 6.78571 7.41561L6.78571 13.5844C6.78571 13.6808 6.73862 13.7257 6.70517 13.7416C6.68713 13.7502 6.673 13.7508 6.66414 13.7494C6.65798 13.7484 6.64139 13.7449 6.61649 13.7199L3.55069 10.6355Z", fill: "#6E6E6E", stroke: "#6E6E6E" })));
3
9
  export default ToolbarUnindentIcon;
@@ -1,3 +1,4 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- const ToolbarUnorderedListIcon = (props) => (_jsx("svg", Object.assign({ width: "19", height: "16", viewBox: "0 0 19 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { children: _jsx("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" }) })));
1
+ import React from 'react';
2
+ const ToolbarUnorderedListIcon = (props) => (React.createElement("svg", Object.assign({ width: "19", height: "16", viewBox: "0 0 19 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
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" })));
3
4
  export default ToolbarUnorderedListIcon;
@@ -1,3 +1,4 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- const TriangleCollapsedIcon = (props) => (_jsx("svg", Object.assign({ width: "17", height: "17", viewBox: "0 0 17 17", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { children: _jsx("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" }) })));
1
+ import React from 'react';
2
+ const TriangleCollapsedIcon = (props) => (React.createElement("svg", Object.assign({ width: "17", height: "17", viewBox: "0 0 17 17", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
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" })));
3
4
  export default TriangleCollapsedIcon;
@@ -1,3 +1,4 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- const TriangleExpandedIcon = (props) => (_jsx("svg", Object.assign({ width: "17", height: "17", viewBox: "0 0 17 17", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { children: _jsx("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" }) })));
1
+ import React from 'react';
2
+ const TriangleExpandedIcon = (props) => (React.createElement("svg", Object.assign({ width: "17", height: "17", viewBox: "0 0 17 17", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
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" })));
3
4
  export default TriangleExpandedIcon;
@@ -1,3 +1,6 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- const UploadIcon = (props) => (_jsxs("svg", Object.assign({ width: "17", height: "18", viewBox: "0 0 17 18", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { children: [_jsx("path", { d: "M8.5 12.5V1.5", stroke: "#6E6E6E", strokeWidth: "1.5", strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round" }), _jsx("path", { d: "M13.5 6.5L8.5 1.5L3.5 6.5", stroke: "#6E6E6E", strokeWidth: "1.5", strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round" }), _jsx("path", { d: "M15.5 16.5H1.5", stroke: "#6E6E6E", strokeWidth: "1.5", strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round" })] })));
1
+ import React from 'react';
2
+ const UploadIcon = (props) => (React.createElement("svg", Object.assign({ width: "17", height: "18", viewBox: "0 0 17 18", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
3
+ React.createElement("path", { d: "M8.5 12.5V1.5", stroke: "#6E6E6E", strokeWidth: "1.5", strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round" }),
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
+ React.createElement("path", { d: "M15.5 16.5H1.5", stroke: "#6E6E6E", strokeWidth: "1.5", strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round" })));
3
6
  export default UploadIcon;
@@ -1,3 +1,6 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- const VerticalEllipsisIcon = (props) => (_jsxs("svg", Object.assign({ width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { children: [_jsx("circle", { cx: "8", cy: "2", r: "2", fill: "#1A9BC7" }), _jsx("circle", { cx: "8", cy: "8", r: "2", fill: "#1A9BC7" }), _jsx("circle", { cx: "8", cy: "14", r: "2", fill: "#1A9BC7" })] })));
1
+ import React from 'react';
2
+ const VerticalEllipsisIcon = (props) => (React.createElement("svg", Object.assign({ width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
3
+ React.createElement("circle", { cx: "8", cy: "2", r: "2", fill: "#1A9BC7" }),
4
+ React.createElement("circle", { cx: "8", cy: "8", r: "2", fill: "#1A9BC7" }),
5
+ React.createElement("circle", { cx: "8", cy: "14", r: "2", fill: "#1A9BC7" })));
3
6
  export default VerticalEllipsisIcon;
@@ -1,3 +1,5 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- export const XIcon = (props) => (_jsxs("svg", Object.assign({ width: 30, height: 30, viewBox: "0 0 30 30", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { children: [_jsx("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" }), _jsx("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" })] })));
1
+ import React from 'react';
2
+ export const XIcon = (props) => (React.createElement("svg", Object.assign({ width: 30, height: 30, viewBox: "0 0 30 30", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
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
+ 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" })));
3
5
  export default XIcon;
@@ -15,8 +15,8 @@
15
15
  */
16
16
  import { useRef, useState } from 'react';
17
17
  export const useScrollDetection = (topTrigger, bottomTrigger) => {
18
- const refRoot = useRef(null);
19
- const observer = useRef(null);
18
+ const refRoot = useRef();
19
+ const observer = useRef();
20
20
  const [triggers, setTriggers] = useState({ bottom: false, top: false });
21
21
  const ref = (node) => {
22
22
  if (!node) {
@@ -1,4 +1,3 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
1
  import React from 'react';
3
2
  var Actions;
4
3
  (function (Actions) {
@@ -7,13 +6,13 @@ var Actions;
7
6
  Actions["addNote"] = "add-note";
8
7
  Actions["setMainManuscript"] = "set-main-manuscript";
9
8
  })(Actions || (Actions = {}));
10
- export const getCapabilities = (project, profile, role, actions) => {
9
+ export const getCapabilities = (project, profile, role, actions, isViewingMode) => {
11
10
  const isEditor = () => { var _a; return !!(profile && ((_a = project === null || project === void 0 ? void 0 : project.editors) === null || _a === void 0 ? void 0 : _a.includes(profile.userID))); };
12
11
  const isOwner = () => { var _a; return !!(profile && ((_a = project === null || project === void 0 ? void 0 : project.owners) === null || _a === void 0 ? void 0 : _a.includes(profile.userID))); };
13
12
  const isWriter = () => { var _a; return !!(profile && ((_a = project === null || project === void 0 ? void 0 : project.writers) === null || _a === void 0 ? void 0 : _a.includes(profile.userID))); };
14
13
  const isAnnotator = () => { var _a; return !!(profile && ((_a = project === null || project === void 0 ? void 0 : project.annotators) === null || _a === void 0 ? void 0 : _a.includes(profile.userID))); };
15
14
  const isProofer = () => { var _a; return !!(profile && ((_a = project === null || project === void 0 ? void 0 : project.proofers) === null || _a === void 0 ? void 0 : _a.includes(profile.userID))); };
16
- const isViewer = () => { var _a; return !!(profile && ((_a = project === null || project === void 0 ? void 0 : project.viewers) === null || _a === void 0 ? void 0 : _a.includes(profile.userID))); };
15
+ const isViewer = () => { var _a; return !!(profile && ((_a = project === null || project === void 0 ? void 0 : project.viewers) === null || _a === void 0 ? void 0 : _a.includes(profile.userID))) || isViewingMode; };
17
16
  const isProdEditor = () => role == 'pe';
18
17
  const allowed = (action) => !!(actions === null || actions === void 0 ? void 0 : actions.includes(action));
19
18
  return {
@@ -73,10 +72,10 @@ CapabilitiesContext.displayName = 'CapabilitiesContext';
73
72
  export const usePermissions = () => {
74
73
  return React.useContext(CapabilitiesContext);
75
74
  };
76
- export const useCalcPermission = ({ project, profile, role, permittedActions, }) => {
77
- return getCapabilities(project, profile, role, permittedActions);
75
+ export const useCalcPermission = ({ project, profile, role, permittedActions, isViewingMode, }) => {
76
+ return getCapabilities(project, profile, role, permittedActions, isViewingMode);
78
77
  };
79
78
  export const CapabilitiesProvider = (props) => {
80
79
  const { can } = props;
81
- return (_jsx(CapabilitiesContext.Provider, Object.assign({ value: can }, { children: props === null || props === void 0 ? void 0 : props.children })));
80
+ return (React.createElement(CapabilitiesContext.Provider, { value: can }, props === null || props === void 0 ? void 0 : props.children));
82
81
  };
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
1
+ import React from 'react';
2
2
  import { FileAudioIcon, FileCodeIcon, FileCompressedIcon, FileDocumentIcon, FileFigureIcon, FileGraphicalAbstractIcon, FileImageIcon, FileLatexIcon, FilePdfIcon, FileTableIcon, FileUnknownIcon, FileVideoIcon, } from '../components/icons';
3
3
  export var FileType;
4
4
  (function (FileType) {
@@ -54,53 +54,53 @@ const extension2type = new Map([
54
54
  const type2icon = new Map([
55
55
  [
56
56
  FileType.Audio,
57
- _jsx(FileAudioIcon, { className: "file-icon" }, FileType.Audio),
57
+ React.createElement(FileAudioIcon, { key: FileType.Audio, className: "file-icon" }),
58
58
  ],
59
59
  [
60
60
  FileType.Video,
61
- _jsx(FileVideoIcon, { className: "file-icon" }, FileType.Video),
61
+ React.createElement(FileVideoIcon, { key: FileType.Video, className: "file-icon" }),
62
62
  ],
63
63
  [
64
64
  FileType.PlainDocument,
65
- _jsx(FileDocumentIcon, { color: "#1A9BC7", className: "file-icon" }, FileType.PlainDocument),
65
+ React.createElement(FileDocumentIcon, { key: FileType.PlainDocument, color: "#1A9BC7", className: "file-icon" }),
66
66
  ],
67
67
  [
68
68
  FileType.SheetsWorkbooks,
69
- _jsx(FileTableIcon, { className: "file-icon" }, FileType.SheetsWorkbooks),
69
+ React.createElement(FileTableIcon, { key: FileType.SheetsWorkbooks, className: "file-icon" }),
70
70
  ],
71
71
  [
72
72
  FileType.Latex,
73
- _jsx(FileLatexIcon, { color: "#1A9BC7", className: "file-icon" }, FileType.Latex),
73
+ React.createElement(FileLatexIcon, { key: FileType.Latex, color: "#1A9BC7", className: "file-icon" }),
74
74
  ],
75
75
  [
76
76
  FileType.CodeFile,
77
- _jsx(FileCodeIcon, { className: "file-icon" }, FileType.CodeFile),
77
+ React.createElement(FileCodeIcon, { key: FileType.CodeFile, className: "file-icon" }),
78
78
  ],
79
79
  [
80
80
  FileType.PdfFile,
81
- _jsx(FilePdfIcon, { className: "file-icon" }, FileType.PdfFile),
81
+ React.createElement(FilePdfIcon, { key: FileType.PdfFile, className: "file-icon" }),
82
82
  ],
83
83
  [
84
84
  FileType.CompressedFile,
85
- _jsx(FileCompressedIcon, { className: "file-icon" }, FileType.CompressedFile),
85
+ React.createElement(FileCompressedIcon, { key: FileType.CompressedFile, className: "file-icon" }),
86
86
  ],
87
87
  [
88
88
  FileType.PlainText,
89
- _jsx(FileDocumentIcon, { color: "#FFBD26", className: "file-icon" }, FileType.PlainText),
89
+ React.createElement(FileDocumentIcon, { key: FileType.PlainText, color: "#FFBD26", className: "file-icon" }),
90
90
  ],
91
91
  [
92
92
  FileType.Image,
93
- _jsx(FileImageIcon, { className: "file-icon" }, FileType.Image),
93
+ React.createElement(FileImageIcon, { key: FileType.Image, className: "file-icon" }),
94
94
  ],
95
95
  [
96
96
  FileType.Figure,
97
- _jsx(FileFigureIcon, { className: "file-icon" }, FileType.Figure),
97
+ React.createElement(FileFigureIcon, { key: FileType.Figure, className: "file-icon" }),
98
98
  ],
99
99
  [
100
100
  FileType.GraphicalAbstract,
101
- _jsx(FileGraphicalAbstractIcon, { className: "file-icon" }, FileType.GraphicalAbstract),
101
+ React.createElement(FileGraphicalAbstractIcon, { key: FileType.GraphicalAbstract, className: "file-icon" }),
102
102
  ],
103
- [undefined, _jsx(FileUnknownIcon, { className: "file-icon" }, undefined)],
103
+ [undefined, React.createElement(FileUnknownIcon, { key: undefined, className: "file-icon" })],
104
104
  ]);
105
105
  export const getFileType = (name) => {
106
106
  const extension = getExtension(name);
@@ -14,22 +14,16 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import React from 'react';
17
- export declare const TextButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>>, {
17
+ export declare const TextButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
18
+ type: "button" | "submit" | "reset";
19
+ } & {
18
20
  danger?: boolean | undefined;
19
21
  disabled?: boolean | undefined;
20
22
  mini?: boolean | undefined;
21
- type?: string | undefined;
22
- }>, keyof {
23
- danger?: boolean | undefined;
24
- disabled?: boolean | undefined;
25
- mini?: boolean | undefined;
26
- type?: string | undefined;
27
- }> & {
28
- danger?: boolean | undefined;
29
- disabled?: boolean | undefined;
30
- mini?: boolean | undefined;
31
- type?: string | undefined;
32
- }, never>, never>> & string;
23
+ }, "type">;
24
+ interface State {
25
+ isOpen: boolean;
26
+ }
33
27
  interface Dismiss {
34
28
  text: string;
35
29
  action?: () => void;
@@ -43,7 +37,12 @@ export declare enum AlertMessageType {
43
37
  interface Props {
44
38
  type: AlertMessageType;
45
39
  dismissButton?: Dismiss;
40
+ hideCloseButton?: boolean;
46
41
  children: React.ReactNode;
47
42
  }
48
- export declare const AlertMessage: React.FC<Props>;
43
+ export declare class AlertMessage extends React.Component<Props, State> {
44
+ state: State;
45
+ render(): false | React.JSX.Element;
46
+ private handleClose;
47
+ }
49
48
  export {};
@@ -25,5 +25,18 @@ interface AutoSaveInputProps {
25
25
  isInvalid?: boolean | null;
26
26
  disabled?: boolean;
27
27
  }
28
- export declare const AutoSaveInput: React.FC<FieldProps & AutoSaveInputProps>;
28
+ interface State {
29
+ focused: boolean;
30
+ }
31
+ export declare class AutoSaveInput extends React.Component<FieldProps & AutoSaveInputProps, State> {
32
+ state: {
33
+ focused: boolean;
34
+ };
35
+ componentWillUnmount(): void;
36
+ render(): React.JSX.Element;
37
+ private handleSubmit;
38
+ private handleFocus;
39
+ private handleBlur;
40
+ private handleChange;
41
+ }
29
42
  export {};
@@ -13,5 +13,4 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- /// <reference types="react" />
17
- export declare const Badge: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
16
+ export declare const Badge: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -13,45 +13,95 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- /// <reference types="react" />
17
- type ButtonTemplateProps = {
18
- danger?: boolean;
19
- disabled?: boolean;
20
- mini?: boolean;
21
- type?: string;
22
- };
23
- export declare const SecondaryButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>>, ButtonTemplateProps>, keyof ButtonTemplateProps> & ButtonTemplateProps, never>> & string;
24
- export declare const PrimaryButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>>, ButtonTemplateProps>, keyof ButtonTemplateProps> & ButtonTemplateProps, never>> & string;
25
- export declare const LoginButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>>, ButtonTemplateProps>, keyof ButtonTemplateProps> & ButtonTemplateProps, never>, never>> & string;
26
- export declare const TertiaryButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>>, ButtonTemplateProps>, keyof ButtonTemplateProps> & ButtonTemplateProps, never>> & string;
27
- export declare const IconTextButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>>, ButtonTemplateProps>, keyof ButtonTemplateProps> & ButtonTemplateProps, never>> & string;
28
- export declare const ToggleButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>>, ButtonTemplateProps>, keyof ButtonTemplateProps> & ButtonTemplateProps, {
16
+ export declare const SecondaryButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
17
+ type: "button" | "submit" | "reset";
18
+ } & {
19
+ danger?: boolean | undefined;
20
+ disabled?: boolean | undefined;
21
+ mini?: boolean | undefined;
22
+ }, "type">;
23
+ export declare const PrimaryButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
24
+ type: "button" | "submit" | "reset";
25
+ } & {
26
+ danger?: boolean | undefined;
27
+ disabled?: boolean | undefined;
28
+ mini?: boolean | undefined;
29
+ }, "type">;
30
+ export declare const LoginButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
31
+ type: "button" | "submit" | "reset";
32
+ } & {
33
+ danger?: boolean | undefined;
34
+ disabled?: boolean | undefined;
35
+ mini?: boolean | undefined;
36
+ }, "type">;
37
+ export declare const TertiaryButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
38
+ type: "button" | "submit" | "reset";
39
+ } & {
40
+ danger?: boolean | undefined;
41
+ disabled?: boolean | undefined;
42
+ mini?: boolean | undefined;
43
+ }, "type">;
44
+ export declare const IconTextButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
45
+ type: "button" | "submit" | "reset";
46
+ } & {
47
+ danger?: boolean | undefined;
48
+ disabled?: boolean | undefined;
49
+ mini?: boolean | undefined;
50
+ }, "type">;
51
+ export declare const ToggleButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
52
+ type: "button" | "submit" | "reset";
53
+ } & {
54
+ danger?: boolean | undefined;
55
+ disabled?: boolean | undefined;
56
+ mini?: boolean | undefined;
57
+ } & {
29
58
  selected?: boolean | undefined;
30
- }>> & string;
31
- export declare const ToggleButtonAlt: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>>, ButtonTemplateProps>, keyof ButtonTemplateProps> & ButtonTemplateProps, {
59
+ }, "type">;
60
+ export declare const ToggleButtonAlt: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
61
+ type: "button" | "submit" | "reset";
62
+ } & {
63
+ danger?: boolean | undefined;
64
+ disabled?: boolean | undefined;
65
+ mini?: boolean | undefined;
66
+ } & {
32
67
  selected?: boolean | undefined;
33
- }>> & string;
34
- export declare const IconButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>>, ButtonTemplateProps>, keyof ButtonTemplateProps> & ButtonTemplateProps, "size" | "defaultColor" | "iconColor"> & {
68
+ }, "type">;
69
+ export declare const IconButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
70
+ type: "button" | "submit" | "reset";
71
+ } & {
72
+ danger?: boolean | undefined;
73
+ disabled?: boolean | undefined;
74
+ mini?: boolean | undefined;
75
+ } & {
35
76
  defaultColor?: boolean | undefined;
36
77
  size?: number | undefined;
37
78
  iconColor?: string | undefined;
38
- }, never>> & string;
39
- export declare const RoundIconButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>>, ButtonTemplateProps>, keyof ButtonTemplateProps> & ButtonTemplateProps, "size" | "defaultColor" | "iconColor"> & {
79
+ }, "type">;
80
+ export declare const RoundIconButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
81
+ type: "button" | "submit" | "reset";
82
+ } & {
83
+ danger?: boolean | undefined;
84
+ disabled?: boolean | undefined;
85
+ mini?: boolean | undefined;
86
+ } & {
40
87
  defaultColor?: boolean | undefined;
41
88
  size?: number | undefined;
42
89
  iconColor?: string | undefined;
43
- }, never>, import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>>, ButtonTemplateProps>, keyof ButtonTemplateProps> & ButtonTemplateProps, "size" | "defaultColor" | "iconColor"> & {
90
+ } & {
91
+ defaultColor: boolean;
92
+ }, "type" | "defaultColor">;
93
+ export declare const SecondaryIconButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
94
+ type: "button" | "submit" | "reset";
95
+ } & {
96
+ danger?: boolean | undefined;
97
+ disabled?: boolean | undefined;
98
+ mini?: boolean | undefined;
99
+ } & {
44
100
  defaultColor?: boolean | undefined;
45
101
  size?: number | undefined;
46
102
  iconColor?: string | undefined;
47
- }, never>>, never>, never>> & string;
48
- export declare const SecondaryIconButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>>, ButtonTemplateProps>, keyof ButtonTemplateProps> & ButtonTemplateProps, "size" | "defaultColor" | "iconColor"> & {
49
- defaultColor?: boolean | undefined;
50
- size?: number | undefined;
51
- iconColor?: string | undefined;
52
- }, never>, never>> & string;
53
- export declare const ButtonGroup: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
54
- export declare const IconButtonGroup: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
103
+ }, "type">;
104
+ export declare const ButtonGroup: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
105
+ export declare const IconButtonGroup: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
55
106
  size?: number | undefined;
56
- }>> & string;
57
- export {};
107
+ }, never>;
@@ -13,10 +13,11 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import React from 'react';
17
- export declare const CheckboxLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, {
16
+ export declare const CheckboxLabel: import("styled-components").StyledComponent<"label", import("styled-components").DefaultTheme, {
18
17
  disabled?: boolean | undefined;
19
- }>> & string;
20
- export declare const CheckboxField: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>>, never>, {
18
+ }, never>;
19
+ export declare const CheckboxField: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, {
20
+ type: "checkbox";
21
+ } & {
21
22
  type?: string | undefined;
22
- }>> & string;
23
+ }, "type">;
@@ -1,21 +1,19 @@
1
- /*!
2
- * © 2023 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
- */
1
+ import 'react-modern-calendar-datepicker/lib/DatePicker.css';
16
2
  import React from 'react';
17
- declare const calendarPotentialDueDate: (stepDueDate: Date, selectedDate: Date | undefined, submissionDueDate: Date) => Date | null;
3
+ import { Day, DayValue, RenderInputProps } from 'react-modern-calendar-datepicker';
4
+ declare const calendarGetDay: (date: Date) => {
5
+ year: number;
6
+ month: number;
7
+ day: number;
8
+ };
9
+ declare const calendarPotentialDueDate: (stepDueDate: Date, dueDate: Day, submissionDueDate: Date) => Date;
18
10
  declare const calendarDatePickerDefaultDateFormat = "d MMM, EEEE";
11
+ type CalendarDatePickerConfigs = {
12
+ color?: string;
13
+ position?: 'auto' | 'top' | 'bottom';
14
+ calendarClassName?: string;
15
+ selectedDayClassName?: string;
16
+ };
19
17
  type CalendarDialogConfigs = {
20
18
  header?: string;
21
19
  dueDateMessage?: string;
@@ -23,11 +21,12 @@ type CalendarDialogConfigs = {
23
21
  type CalendarDatePickerProps = {
24
22
  currentDueDate: Date;
25
23
  originalDueDate: Date;
26
- handleDateChange: (day: Date | undefined) => void;
24
+ handleDateChange: (day: DayValue) => void;
25
+ datePickerConfigs?: CalendarDatePickerConfigs;
27
26
  dialogConfigs?: CalendarDialogConfigs;
27
+ Button: React.FC<RenderInputProps>;
28
28
  primaryButtonTitle?: string;
29
29
  secondaryButtonTitle?: string;
30
- buttonLabel?: string;
31
30
  };
32
31
  declare const CalendarDatePicker: React.FC<CalendarDatePickerProps>;
33
- export { calendarPotentialDueDate, calendarDatePickerDefaultDateFormat, CalendarDialogConfigs, CalendarDatePickerProps, CalendarDatePicker, };
32
+ export { Day as CalendarDay, DayValue as CalendarDayValue, RenderInputProps as CalendarRenderInputProps, calendarGetDay, calendarPotentialDueDate, calendarDatePickerDefaultDateFormat, CalendarDatePickerConfigs, CalendarDialogConfigs, CalendarDatePickerProps, CalendarDatePicker, };