@abyss-project/commons-front-core 1.0.135 → 1.0.140

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 (264) hide show
  1. package/README.md +30 -2
  2. package/declaration.d.ts +13 -13
  3. package/dist/assets/index.d.ts +1 -1
  4. package/dist/assets/logo/index.d.ts +1 -0
  5. package/dist/components/Avatars/OrganizationAvatar/OrganizationAvatar.component.d.ts +23 -0
  6. package/dist/components/Avatars/OrganizationAvatar/index.d.ts +2 -0
  7. package/dist/components/Avatars/ProjectAvatar/ProjectAvatar.component.d.ts +16 -5
  8. package/dist/components/Avatars/ProjectAvatar/index.d.ts +1 -0
  9. package/dist/components/Avatars/UserAvatar/UserAvatar.component.d.ts +10 -0
  10. package/dist/components/Avatars/UserAvatar/constant.d.ts +6 -2
  11. package/dist/components/Avatars/UserAvatar/index.d.ts +1 -0
  12. package/dist/components/Avatars/UserAvatarList/UserAvatarList.component.d.ts +18 -0
  13. package/dist/components/{UserAvatarList → Avatars/UserAvatarList}/index.d.ts +1 -0
  14. package/dist/components/Avatars/index.d.ts +2 -0
  15. package/dist/components/Banking/AccountTransactions/AccountTransactionsRow.component.d.ts +2 -4
  16. package/dist/components/Banking/Inputs/SelectAccountTransactionCategory/SelectAccountTransactionCategory.component.d.ts +2 -4
  17. package/dist/components/Cards/InternalProjectCard/InternalProjectCard.component.d.ts +36 -0
  18. package/dist/components/Cards/InternalProjectCard/index.d.ts +2 -0
  19. package/dist/components/Cards/ProjectCard/ProjectCard.component.d.ts +27 -0
  20. package/dist/components/Cards/ProjectCard/index.d.ts +2 -0
  21. package/dist/components/Cards/index.d.ts +2 -0
  22. package/dist/components/Charts/AbyssBarChart/AbyssBarChart.component.d.ts +21 -0
  23. package/dist/components/Charts/AbyssBarChart/index.d.ts +1 -0
  24. package/dist/components/Charts/AbyssCashFlowChart/AbyssCashFlowChart.component.d.ts +14 -0
  25. package/dist/components/Charts/AbyssCashFlowChart/index.d.ts +1 -0
  26. package/dist/components/Charts/AbyssLineChart/AbyssLineChart.component.d.ts +27 -0
  27. package/dist/components/Charts/AbyssLineChart/index.d.ts +1 -0
  28. package/dist/components/Charts/AbyssPieChart/AbyssPieChart.component.d.ts +18 -0
  29. package/dist/components/Charts/AbyssPieChart/index.d.ts +1 -0
  30. package/dist/components/Charts/index.d.ts +4 -0
  31. package/dist/components/Charts/useNivoTheme.d.ts +65 -0
  32. package/dist/components/CookieConsent/AbyssCookieConsentProvider.d.ts +12 -0
  33. package/dist/components/CookieConsent/CookieConsentBanner.component.d.ts +7 -0
  34. package/dist/components/CookieConsent/CookieConsentSettings.component.d.ts +2 -0
  35. package/dist/components/CookieConsent/cookie-storage.util.d.ts +15 -0
  36. package/dist/components/CookieConsent/cookie-storage.util.spec.d.ts +1 -0
  37. package/dist/components/CookieConsent/index.d.ts +7 -0
  38. package/dist/components/CookieConsent/reconcile.util.d.ts +12 -0
  39. package/dist/components/CookieConsent/reconcile.util.spec.d.ts +1 -0
  40. package/dist/components/CookieConsent/types.d.ts +11 -0
  41. package/dist/components/CookieConsent/use-cookie-consent.hook.d.ts +15 -0
  42. package/dist/components/Data/AbyssTable/AbyssTable.component.d.ts +35 -0
  43. package/dist/components/Data/AbyssTable/index.d.ts +2 -0
  44. package/dist/components/Data/index.d.ts +1 -0
  45. package/dist/components/InfoBox/InfoBox.component.d.ts +5 -3
  46. package/dist/components/Inputs/AbyssMarkdownEditor/AbyssMarkdownEditor.component.d.ts +12 -13
  47. package/dist/components/Inputs/AbyssNumberField/AbyssNumberField.component.d.ts +16 -0
  48. package/dist/components/Inputs/AbyssNumberField/index.d.ts +2 -0
  49. package/dist/components/Inputs/AbyssScopeSwitcher/AbyssScopeSwitcher.component.d.ts +20 -0
  50. package/dist/components/Inputs/AbyssScopeSwitcher/index.d.ts +2 -0
  51. package/dist/components/Inputs/AbyssSelectOrganization/AbyssSelectOrganization.component.d.ts +18 -0
  52. package/dist/components/Inputs/AbyssSelectOrganization/index.d.ts +2 -0
  53. package/dist/components/Inputs/AbyssSelectProject/AbyssSelectProject.component.d.ts +12 -9
  54. package/dist/components/Inputs/AbyssSelectProject/index.d.ts +1 -0
  55. package/dist/components/Inputs/CloudImport/CloudImport.component.d.ts +21 -9
  56. package/dist/components/Inputs/CloudImport/CloudImportFile.component.d.ts +2 -4
  57. package/dist/components/Inputs/CloudImport/CloudImportFolder.component.d.ts +2 -4
  58. package/dist/components/Inputs/CloudSave/CloudSave.component.d.ts +12 -9
  59. package/dist/components/Inputs/ColorPalette/ColorPalette.component.d.ts +20 -0
  60. package/dist/components/Inputs/ColorPalette/index.d.ts +1 -0
  61. package/dist/components/Inputs/ColorPicker/ColorPicker.component.d.ts +19 -0
  62. package/dist/components/Inputs/ColorPicker/index.d.ts +1 -0
  63. package/dist/components/Inputs/DatePeriodPicker/DatePeriodPicker.component.d.ts +24 -9
  64. package/dist/components/Inputs/DatePeriodPicker/index.d.ts +1 -0
  65. package/dist/components/Inputs/DropZone/DropZone.component.d.ts +11 -10
  66. package/dist/components/Inputs/PasswordInput/PasswordInput.component.d.ts +2 -5
  67. package/dist/components/Inputs/ProjectCategoryBadge/ProjectCategoryBadge.component.d.ts +8 -0
  68. package/dist/components/Inputs/ProjectCategoryBadge/index.d.ts +1 -0
  69. package/dist/components/Inputs/ProjectLinkSelector/ProjectLinkSelector.component.d.ts +39 -0
  70. package/dist/components/Inputs/ProjectLinkSelector/index.d.ts +2 -0
  71. package/dist/components/Inputs/ProjectTagChip/ProjectTagChip.component.d.ts +9 -0
  72. package/dist/components/Inputs/ProjectTagChip/index.d.ts +1 -0
  73. package/dist/components/Inputs/index.d.ts +13 -6
  74. package/dist/components/Invitations/AbyssPendingInvitations.component.d.ts +18 -0
  75. package/dist/components/Invitations/index.d.ts +2 -0
  76. package/dist/components/Layouts/AbyssBillingPlan/AbyssBillingPlan.component.d.ts +9 -0
  77. package/dist/components/Layouts/AbyssBillingPlan/index.d.ts +1 -0
  78. package/dist/components/Layouts/AbyssDashboardLayout/AbyssDashboardLayout.component.d.ts +13 -0
  79. package/dist/components/Layouts/AbyssDashboardLayout/index.d.ts +1 -0
  80. package/dist/components/Layouts/AbyssHeader/AbyssHeader.component.d.ts +14 -0
  81. package/dist/components/Layouts/AbyssHeader/index.d.ts +1 -0
  82. package/dist/components/Layouts/AbyssLayoutProvider/AbyssLayoutProvider.component.d.ts +26 -0
  83. package/dist/components/Layouts/AbyssLayoutProvider/abyss-layout.store.d.ts +27 -0
  84. package/dist/components/Layouts/AbyssLayoutProvider/index.d.ts +3 -0
  85. package/dist/components/Layouts/AbyssLoadingScreen/AbyssLoadingScreen.component.d.ts +3 -0
  86. package/dist/components/Layouts/AbyssLoadingScreen/index.d.ts +1 -0
  87. package/dist/components/Layouts/AbyssSearchBar/AbyssSearchBar.component.d.ts +8 -0
  88. package/dist/components/Layouts/AbyssSearchBar/index.d.ts +1 -0
  89. package/dist/components/Layouts/AbyssSidebar/AbyssSidebar.component.d.ts +35 -0
  90. package/dist/components/Layouts/AbyssSidebar/AbyssSidebarItem.component.d.ts +9 -0
  91. package/dist/components/Layouts/AbyssSidebar/index.d.ts +3 -0
  92. package/dist/components/Layouts/AbyssThemeToggle/AbyssThemeToggle.component.d.ts +7 -0
  93. package/dist/components/Layouts/AbyssThemeToggle/index.d.ts +1 -0
  94. package/dist/components/Layouts/DashboardLayout/DashboardLayout.layout.d.ts +3 -5
  95. package/dist/components/Layouts/DashboardLayout/DashboardLayoutHeader.layout.d.ts +3 -5
  96. package/dist/components/Layouts/LoadingLayout/LoadingLayout.layout.d.ts +2 -4
  97. package/dist/components/Layouts/MainLayout/MainLayout.layout.d.ts +2 -4
  98. package/dist/components/Layouts/index.d.ts +8 -0
  99. package/dist/components/Modals/AbyssModal/AbyssModal.component.d.ts +9 -9
  100. package/dist/components/Modals/ConfirmModal/ConfirmModal.d.ts +3 -4
  101. package/dist/components/Modals/ConfirmModal/index.d.ts +1 -1
  102. package/dist/components/Modals/ImportFromCloudModal/ImportFromCloudModal.component.d.ts +20 -10
  103. package/dist/components/Modals/QRCodeModal/QRCodeModal.component.d.ts +2 -4
  104. package/dist/components/Modals/SaveCloudModal/SaveCloudModal.component.d.ts +12 -10
  105. package/dist/components/Modals/UserSettingsModal/UserSettings.compat.d.ts +13 -0
  106. package/dist/components/Modals/UserSettingsModal/UserSettingsModal.component.d.ts +27 -0
  107. package/dist/components/Modals/UserSettingsModal/index.d.ts +2 -0
  108. package/dist/components/Modals/index.d.ts +2 -2
  109. package/dist/components/PdfEditor/PdfEditor.d.ts +3 -0
  110. package/dist/components/PdfEditor/hooks/use-acro-form-fields.d.ts +2 -0
  111. package/dist/components/PdfEditor/hooks/use-export.d.ts +7 -0
  112. package/dist/components/PdfEditor/hooks/use-page-order.d.ts +2 -0
  113. package/dist/components/PdfEditor/hooks/use-pdf-document.d.ts +11 -0
  114. package/dist/components/PdfEditor/hooks/use-undo-redo.d.ts +7 -0
  115. package/dist/components/PdfEditor/hooks/use-uploaded-docs.d.ts +3 -0
  116. package/dist/components/PdfEditor/index.d.ts +3 -0
  117. package/dist/components/PdfEditor/operations/apply.d.ts +2 -0
  118. package/dist/components/PdfEditor/operations/apply.spec.d.ts +1 -0
  119. package/dist/components/PdfEditor/operations/compute-page-order.d.ts +9 -0
  120. package/dist/components/PdfEditor/operations/compute-page-order.spec.d.ts +1 -0
  121. package/dist/components/PdfEditor/operations/pdf-data-url.d.ts +2 -0
  122. package/dist/components/PdfEditor/operations/reducer.d.ts +3 -0
  123. package/dist/components/PdfEditor/operations/reducer.spec.d.ts +1 -0
  124. package/dist/components/PdfEditor/signature/SignatureDrawCanvas.d.ts +10 -0
  125. package/dist/components/PdfEditor/signature/SignaturePicker.d.ts +13 -0
  126. package/dist/components/PdfEditor/signature/SignatureSaveButton.d.ts +9 -0
  127. package/dist/components/PdfEditor/signature/SignatureSavedList.d.ts +10 -0
  128. package/dist/components/PdfEditor/signature/SignatureUploadDropzone.d.ts +10 -0
  129. package/dist/components/PdfEditor/tools/DrawTool.d.ts +9 -0
  130. package/dist/components/PdfEditor/tools/FillFieldsTool.d.ts +8 -0
  131. package/dist/components/PdfEditor/tools/SignatureTool.d.ts +12 -0
  132. package/dist/components/PdfEditor/tools/TextTool.d.ts +2 -0
  133. package/dist/components/PdfEditor/tools/Toolbar.d.ts +18 -0
  134. package/dist/components/PdfEditor/types.d.ts +217 -0
  135. package/dist/components/PdfEditor/viewer/InsertPagesButton.d.ts +9 -0
  136. package/dist/components/PdfEditor/viewer/InsertPagesDialog.d.ts +10 -0
  137. package/dist/components/PdfEditor/viewer/PageOverlay.d.ts +21 -0
  138. package/dist/components/PdfEditor/viewer/PageSidebar.d.ts +15 -0
  139. package/dist/components/PdfEditor/viewer/PageThumbnail.d.ts +17 -0
  140. package/dist/components/PdfEditor/viewer/PdfCanvas.d.ts +17 -0
  141. package/dist/components/QuotaReached/QuotaReachedDialog.component.d.ts +5 -0
  142. package/dist/components/QuotaReached/billing-quota-error.d.ts +4 -0
  143. package/dist/components/QuotaReached/index.d.ts +6 -0
  144. package/dist/components/QuotaReached/quota-dialog.store.d.ts +15 -0
  145. package/dist/components/QuotaReached/quota-service-meta.d.ts +27 -0
  146. package/dist/components/Support/AbyssServiceSelect.component.d.ts +35 -0
  147. package/dist/components/Support/SupportActionButtons.component.d.ts +3 -0
  148. package/dist/components/Support/SupportActivityLog.component.d.ts +3 -0
  149. package/dist/components/Support/SupportAttachmentsPanel.component.d.ts +3 -0
  150. package/dist/components/Support/SupportCategoryChip.component.d.ts +9 -0
  151. package/dist/components/Support/SupportCategoryGroupCards.component.d.ts +3 -0
  152. package/dist/components/Support/SupportCategorySelect.component.d.ts +19 -0
  153. package/dist/components/Support/SupportMessageInput.component.d.ts +3 -0
  154. package/dist/components/Support/SupportMessageThread.component.d.ts +3 -0
  155. package/dist/components/Support/SupportPriorityChip.component.d.ts +3 -0
  156. package/dist/components/Support/SupportSidebar.component.d.ts +3 -0
  157. package/dist/components/Support/SupportStatusBadge.component.d.ts +3 -0
  158. package/dist/components/Support/SupportTicketCreateForm.component.d.ts +3 -0
  159. package/dist/components/Support/SupportTicketCreateStepper.component.d.ts +3 -0
  160. package/dist/components/Support/SupportTicketDetail.component.d.ts +3 -0
  161. package/dist/components/Support/SupportTicketList.component.d.ts +3 -0
  162. package/dist/components/Support/SupportTopBar.component.d.ts +3 -0
  163. package/dist/components/Support/index.d.ts +18 -0
  164. package/dist/components/Support/types.d.ts +252 -0
  165. package/dist/components/Utils/AbyssBackground/AbyssBackground.component.d.ts +9 -0
  166. package/dist/components/Utils/AbyssDrawer/AbyssDrawer.component.d.ts +2 -5
  167. package/dist/components/Utils/AbyssErrorPage/AbyssErrorBoundary.component.d.ts +10 -0
  168. package/dist/components/Utils/AbyssErrorPage/AbyssErrorPage.component.d.ts +11 -0
  169. package/dist/components/Utils/AbyssErrorPage/index.d.ts +3 -0
  170. package/dist/components/Utils/AbyssHeaderTitle/AbyssHeaderTitle.component.d.ts +3 -5
  171. package/dist/components/Utils/AbyssLayoutMenu/AbyssLayoutMenu.component.d.ts +33 -24
  172. package/dist/components/Utils/AbyssLayoutMenu/AbyssMenuItem.component.d.ts +15 -0
  173. package/dist/components/Utils/AbyssLayoutMenu/index.d.ts +2 -0
  174. package/dist/components/Utils/AbyssLayoutNotifications/AbyssLayoutNotifications.component.d.ts +25 -12
  175. package/dist/components/Utils/AbyssLayoutNotifications/AbyssNotifications.component.d.ts +24 -9
  176. package/dist/components/Utils/AbyssLayoutNotifications/index.d.ts +2 -0
  177. package/dist/components/Utils/ImportButton/ImportButton.component.d.ts +36 -0
  178. package/dist/components/Utils/Toast/AbyssToast.component.d.ts +3 -0
  179. package/dist/components/Utils/Toast/index.d.ts +1 -0
  180. package/dist/components/Utils/WaterParticles/WaterParticles.component.d.ts +2 -6
  181. package/dist/components/Utils/index.d.ts +6 -3
  182. package/dist/components/index.d.ts +10 -8
  183. package/dist/hooks/index.d.ts +4 -1
  184. package/dist/hooks/use-cloud.hook.d.ts +3 -3
  185. package/dist/hooks/use-public-users.hook.d.ts +13 -0
  186. package/dist/hooks/use-rich-intl.hook.d.ts +1362 -212
  187. package/dist/hooks/use-theme-transition.hook.d.ts +4 -0
  188. package/dist/{index-gCpu5f9z.js → index-0Kl4O08s.js} +2 -2
  189. package/dist/{index-CdYmr155.js → index-BR_Xw8UL.js} +3 -3
  190. package/dist/{index-BnWtXPyg.js → index-BanaQPDD.js} +2 -2
  191. package/dist/{index-DeFVFcsM.js → index-BdtnG5GK.js} +2 -2
  192. package/dist/{index-UtVdSkzn.js → index-Bl6SIpvf.js} +1 -1
  193. package/dist/{index-CpqYJ_HN.js → index-CBU4Yqx5.js} +2 -2
  194. package/dist/{index-CoLGWgXI.js → index-CU2W3qym.js} +4 -4
  195. package/dist/{index-D__Z8Xsw.js → index-CypPvn_s.js} +2 -2
  196. package/dist/{index-Dk_KmVF1.js → index-D-1klt9M.js} +2 -2
  197. package/dist/{index-CC4UK1JX.js → index-D-lNUR0y.js} +2 -2
  198. package/dist/{index-CJOU7Mdg.js → index-D5ysDxCf.js} +2 -2
  199. package/dist/{index-CcWdcPha.js → index-DK4YUg-N.js} +2 -2
  200. package/dist/index-DR4nDzIn.js +117421 -0
  201. package/dist/{index-DPrXPSAH.js → index-DRApEyFE.js} +2 -2
  202. package/dist/{index-DkWj0imP.js → index-DS8zE3ca.js} +3 -3
  203. package/dist/{index-CcegjcGh.js → index-DYCXaPIH.js} +4 -4
  204. package/dist/{index-BJmWMt0A.js → index-DmM6klgp.js} +3 -3
  205. package/dist/{index-CsDN-X8K.js → index-DmUCpN76.js} +2 -2
  206. package/dist/{index-7woO6Vmb.js → index-KCcZKXY3.js} +3 -3
  207. package/dist/{index-DQ_TxTA-.js → index-SiHpvGQe.js} +2 -2
  208. package/dist/{index-DI8Xbxr-.js → index-UEOwaY3O.js} +4 -4
  209. package/dist/{index-wecGNuMv.js → index-okqeKiVw.js} +2 -2
  210. package/dist/index.d.ts +1 -1
  211. package/dist/index.js +236 -116
  212. package/dist/theme/augmentation.d.ts +78 -0
  213. package/dist/theme/components/buttons.d.ts +35 -0
  214. package/dist/theme/components/data-display.d.ts +4 -0
  215. package/dist/theme/components/index.d.ts +2 -0
  216. package/dist/theme/components/inputs.d.ts +4 -0
  217. package/dist/theme/components/navigation.d.ts +4 -0
  218. package/dist/theme/components/surfaces.d.ts +4 -0
  219. package/dist/theme/create-theme.d.ts +3 -0
  220. package/dist/theme/index.d.ts +15 -0
  221. package/dist/theme/palettes/common.d.ts +61 -0
  222. package/dist/theme/palettes/dark.d.ts +66 -0
  223. package/dist/theme/palettes/light.d.ts +66 -0
  224. package/dist/theme/tokens/animations.d.ts +30 -0
  225. package/dist/theme/tokens/borders.d.ts +11 -0
  226. package/dist/theme/tokens/colors.d.ts +102 -0
  227. package/dist/theme/tokens/shadows.d.ts +45 -0
  228. package/dist/theme/tokens/transitions.d.ts +21 -0
  229. package/dist/theme/tokens/typography.d.ts +93 -0
  230. package/dist/translations/en.d.ts +668 -9
  231. package/dist/translations/fr.d.ts +668 -9
  232. package/dist/utils/billing.utils.d.ts +7 -0
  233. package/dist/utils/index.d.ts +5 -0
  234. package/dist/utils/locale.utils.d.ts +2 -0
  235. package/dist/utils/share-notification.utils.d.ts +1 -0
  236. package/dist/utils/space-display-name.utils.d.ts +9 -0
  237. package/package.json +25 -7
  238. package/tsconfig.json +35 -37
  239. package/vite.config.ts +68 -77
  240. package/vitest.config.ts +14 -0
  241. package/.eslintrc.cjs +0 -30
  242. package/dist/components/AllCloudMetrics/AllCloudMetrics.component.d.ts +0 -13
  243. package/dist/components/AllCloudMetrics/index.d.ts +0 -1
  244. package/dist/components/FiltersBox/FiltersBox.component.d.ts +0 -8
  245. package/dist/components/FiltersBox/index.d.ts +0 -1
  246. package/dist/components/FreepikSearch/FreepikSearch.component.d.ts +0 -9
  247. package/dist/components/FreepikSearch/index.d.ts +0 -1
  248. package/dist/components/ImportButton/ImportButton.component.d.ts +0 -29
  249. package/dist/components/Inputs/Toggle/Toggle.component.d.ts +0 -15
  250. package/dist/components/Inputs/Toggle/index.d.ts +0 -1
  251. package/dist/components/Modals/ImportFromCollectionModal/ImportFromCollectionModal.component.d.ts +0 -11
  252. package/dist/components/Modals/ImportFromCollectionModal/index.d.ts +0 -1
  253. package/dist/components/Modals/UserSettings/UserSettingsModal.component.d.ts +0 -18
  254. package/dist/components/Modals/UserSettings/index.d.ts +0 -2
  255. package/dist/components/UserAvatarList/UserAvatarList.component.d.ts +0 -18
  256. package/dist/components/Utils/CustomDivider/CustomDivider.component.d.ts +0 -4
  257. package/dist/components/Utils/CustomDivider/index.d.ts +0 -1
  258. package/dist/components/Utils/FloatingNavigation/FloatingNavigation.component.d.ts +0 -16
  259. package/dist/components/Utils/FloatingNavigation/index.d.ts +0 -1
  260. package/dist/hooks/use-theme.hook.d.ts +0 -1
  261. package/dist/index-CJY4ItlM.js +0 -122719
  262. package/dist/stylesheet.d.ts +0 -124
  263. package/dist/web-DaGNjxku.js +0 -18
  264. /package/dist/components/{ImportButton → Utils/ImportButton}/index.d.ts +0 -0
@@ -1,15 +1,14 @@
1
1
  import { default as React } from 'react';
2
2
  import { CrepeConfig } from '@milkdown/crepe';
3
- import { StyledComponentProps } from '@mui/styles/withStyles';
4
- declare const _default: React.JSXElementConstructor<Omit<{
5
- placeholder?: string | undefined;
6
- defaultValue?: string | undefined;
7
- externalValue?: string | undefined;
8
- onChange?: ((md: string) => void) | undefined;
9
- classes: Record<string, string>;
10
- readOnly?: boolean | undefined;
11
- onUploadFile?: ((file: File) => Promise<string>) | undefined;
12
- enableImageUpload?: boolean | undefined;
13
- enableFileUpload?: boolean | undefined;
14
- } & CrepeConfig, "classes"> & StyledComponentProps<string> & object>;
15
- export default _default;
3
+ type Props = {
4
+ placeholder?: string;
5
+ defaultValue?: string;
6
+ externalValue?: string;
7
+ onChange?: (md: string) => void;
8
+ readOnly?: boolean;
9
+ onUploadFile?: (file: File) => Promise<string>;
10
+ enableImageUpload?: boolean;
11
+ enableFileUpload?: boolean;
12
+ } & CrepeConfig;
13
+ declare const AbyssMarkdownEditor: React.FC<Props>;
14
+ export default AbyssMarkdownEditor;
@@ -0,0 +1,16 @@
1
+ import { TextFieldProps } from '@mui/material';
2
+ export type AbyssNumberFieldProps = Omit<TextFieldProps, 'value' | 'onChange'> & {
3
+ value: number | null;
4
+ onChange: (value: number | null) => void;
5
+ mode?: 'number' | 'currency';
6
+ currencySymbol?: string;
7
+ currencyPosition?: 'start' | 'end';
8
+ locale?: string;
9
+ decimals?: number;
10
+ thousandSeparator?: string;
11
+ min?: number;
12
+ max?: number;
13
+ allowNegative?: boolean;
14
+ };
15
+ declare const AbyssNumberField: React.FC<AbyssNumberFieldProps>;
16
+ export default AbyssNumberField;
@@ -0,0 +1,2 @@
1
+ export { default as AbyssNumberField } from './AbyssNumberField.component';
2
+ export type { AbyssNumberFieldProps } from './AbyssNumberField.component';
@@ -0,0 +1,20 @@
1
+ import { default as React } from 'react';
2
+ export type ScopeOption = {
3
+ id: string | null;
4
+ name: string;
5
+ logoId?: string | null;
6
+ };
7
+ type Props = {
8
+ organizations: ScopeOption[];
9
+ selectedOrganizationId: string | null;
10
+ onChange: (organizationId: string | null) => void;
11
+ getOrganizationLogoUrl: (orgId: string) => string;
12
+ personalLabel?: string;
13
+ placeholder?: string;
14
+ userId?: string;
15
+ userName?: string;
16
+ getUserProfilePictureUrl?: (userId: string) => string;
17
+ hidePersonal?: boolean;
18
+ };
19
+ declare function AbyssScopeSwitcher({ organizations, selectedOrganizationId, onChange, getOrganizationLogoUrl, personalLabel, placeholder, userId, userName, getUserProfilePictureUrl, hidePersonal, }: Props): React.ReactElement;
20
+ export { AbyssScopeSwitcher };
@@ -0,0 +1,2 @@
1
+ export { AbyssScopeSwitcher } from './AbyssScopeSwitcher.component';
2
+ export type { ScopeOption } from './AbyssScopeSwitcher.component';
@@ -0,0 +1,18 @@
1
+ import { default as React } from 'react';
2
+ export type SelectableOrganization = {
3
+ id?: string;
4
+ name: string;
5
+ description?: string | null;
6
+ logoId?: string | null;
7
+ };
8
+ type Props<T extends SelectableOrganization = SelectableOrganization> = {
9
+ organizations: T[] | null;
10
+ selectedOrganization: T | null;
11
+ disabled?: boolean;
12
+ onChange: (selectedOrganization: T | null) => void;
13
+ label?: string;
14
+ placeholder?: string;
15
+ getOrganizationLogoUrl: (orgId: string) => string;
16
+ };
17
+ declare function AbyssSelectOrganization<T extends SelectableOrganization = SelectableOrganization>({ onChange, organizations, selectedOrganization, disabled, label, placeholder, getOrganizationLogoUrl, }: Props<T>): React.ReactElement;
18
+ export default AbyssSelectOrganization;
@@ -0,0 +1,2 @@
1
+ export { default as AbyssSelectOrganization } from './AbyssSelectOrganization.component';
2
+ export type { SelectableOrganization } from './AbyssSelectOrganization.component';
@@ -1,15 +1,18 @@
1
1
  import { default as React } from 'react';
2
- import { ProjectWithoutApplication } from '@abyss-project/main';
3
- import { StyledComponentProps } from '@mui/styles/withStyles';
4
- type Props = {
5
- projects: ProjectWithoutApplication[] | null;
6
- selectedProject: ProjectWithoutApplication | null;
2
+ export type SelectableProject = {
3
+ id?: string;
4
+ name: string;
5
+ description?: string | null;
6
+ pictureId?: string | null;
7
+ };
8
+ type Props<T extends SelectableProject = SelectableProject> = {
9
+ projects: T[] | null;
10
+ selectedProject: T | null;
7
11
  disabled?: boolean;
8
- onChange: (selectedProject: ProjectWithoutApplication | null) => void;
12
+ onChange: (selectedProject: T | null) => void;
9
13
  label?: string;
10
14
  placeholder?: string;
11
15
  getProjectPictureUrl: (projectId: string) => string;
12
- classes: Record<string, string>;
13
16
  };
14
- declare const _default: React.JSXElementConstructor<Omit<Props, "classes"> & StyledComponentProps<string> & object>;
15
- export default _default;
17
+ declare function AbyssSelectProject<T extends SelectableProject = SelectableProject>({ onChange, projects, selectedProject, disabled, label, placeholder, getProjectPictureUrl, }: Props<T>): React.ReactElement;
18
+ export default AbyssSelectProject;
@@ -1 +1,2 @@
1
1
  export { default as AbyssSelectProject } from './AbyssSelectProject.component';
2
+ export type { SelectableProject } from './AbyssSelectProject.component';
@@ -1,17 +1,29 @@
1
1
  import { default as React } from 'react';
2
- import { ICloud, IFile } from '@abyss-project/cloud';
3
- import { IUser } from '@abyss-project/main';
4
- import { StyledComponentProps } from '@mui/styles/withStyles';
2
+ import { ISpace, IFile, IGetRepositoryCloudData } from '@abyss-project/cloud';
3
+ export interface CloudImportSpaceDisplay {
4
+ label: string;
5
+ avatar?: React.ReactNode;
6
+ subtitle?: string;
7
+ organizationId?: string | null;
8
+ organizationName?: string | null;
9
+ scope?: 'personal' | 'perso-in-org' | 'org-common' | 'project';
10
+ }
5
11
  type Props = {
6
- classes: Record<string, string>;
7
- submitFiles: (cloud: ICloud, files: IFile[]) => void;
12
+ submitFiles: (cloud: ISpace, files: IFile[]) => void;
8
13
  maxSize?: number;
9
14
  multiple?: boolean;
10
15
  accept?: string[];
11
- user: IUser;
12
- fetchUser: () => Promise<void>;
16
+ isCloudEnabled?: boolean;
13
17
  abyssCloudUrl: string;
14
18
  getFileThumbnailUrl: (id: string) => string;
19
+ clouds: ISpace[] | null;
20
+ cloudShares: ISpace[] | null;
21
+ isLoadingClouds?: boolean;
22
+ onRefreshClouds: () => Promise<void>;
23
+ fetchCloudRepository: (cloudId: string) => Promise<IGetRepositoryCloudData>;
24
+ onActivateService: () => Promise<void>;
25
+ onCreateCloud: (name: string) => Promise<void>;
26
+ getSpaceDisplay?: (space: ISpace) => CloudImportSpaceDisplay;
15
27
  };
16
- declare const _default: React.JSXElementConstructor<Omit<Props, "classes"> & StyledComponentProps<string> & object>;
17
- export default _default;
28
+ declare const CloudImport: React.FC<Props>;
29
+ export default CloudImport;
@@ -1,8 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { IFile } from '@abyss-project/cloud';
3
- import { StyledComponentProps } from '@mui/styles/withStyles';
4
3
  type Props = {
5
- classes: Record<string, string>;
6
4
  file: IFile;
7
5
  maxSize?: number;
8
6
  multiple?: boolean;
@@ -12,5 +10,5 @@ type Props = {
12
10
  accept?: string[];
13
11
  getFileThumbnailUrl: (id: string) => string;
14
12
  };
15
- declare const _default: React.JSXElementConstructor<Omit<Props, "classes"> & StyledComponentProps<string> & object>;
16
- export default _default;
13
+ declare const CloudImportFile: React.FC<Props>;
14
+ export default CloudImportFile;
@@ -1,8 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { IFile, IFolder } from '@abyss-project/cloud';
3
- import { StyledComponentProps } from '@mui/styles/withStyles';
4
3
  type Props = {
5
- classes: Record<string, string>;
6
4
  folder: IFolder;
7
5
  maxSize?: number;
8
6
  multiple?: boolean;
@@ -16,5 +14,5 @@ type Props = {
16
14
  accept?: string[];
17
15
  getFileThumbnailUrl: (id: string) => string;
18
16
  };
19
- declare const _default: React.JSXElementConstructor<Omit<Props, "classes"> & StyledComponentProps<string> & object>;
20
- export default _default;
17
+ declare const CloudImportFolder: React.FC<Props>;
18
+ export default CloudImportFolder;
@@ -1,14 +1,17 @@
1
1
  import { default as React } from 'react';
2
- import { ICloud, IFolder } from '@abyss-project/cloud';
3
- import { IUser } from '@abyss-project/main';
4
- import { StyledComponentProps } from '@mui/styles/withStyles';
2
+ import { ISpace, IFolder, IGetRepositoryCloudData } from '@abyss-project/cloud';
5
3
  type Props = {
6
- classes: Record<string, string>;
7
- onConfirm: (cloud: ICloud, folder: IFolder | null) => Promise<void>;
8
- user: IUser;
9
- fetchUser: () => Promise<void>;
4
+ onConfirm: (cloud: ISpace, folder: IFolder | null) => Promise<void>;
5
+ isCloudEnabled?: boolean;
10
6
  abyssCloudUrl: string;
11
7
  getFileThumbnailUrl: (id: string) => string;
8
+ clouds: ISpace[] | null;
9
+ cloudShares: ISpace[] | null;
10
+ isLoadingClouds?: boolean;
11
+ onRefreshClouds: () => Promise<void>;
12
+ fetchCloudRepository: (cloudId: string) => Promise<IGetRepositoryCloudData>;
13
+ onActivateService: () => Promise<void>;
14
+ onCreateCloud: (name: string) => Promise<void>;
12
15
  };
13
- declare const _default: React.JSXElementConstructor<Omit<Props, "classes"> & StyledComponentProps<string> & object>;
14
- export default _default;
16
+ declare const CloudSave: React.FC<Props>;
17
+ export default CloudSave;
@@ -0,0 +1,20 @@
1
+ import { default as React } from 'react';
2
+ import { SxProps } from '@mui/material';
3
+ declare const SIZE_MAP: {
4
+ readonly sm: 18;
5
+ readonly md: 22;
6
+ readonly lg: 28;
7
+ };
8
+ type ColorPaletteSize = keyof typeof SIZE_MAP;
9
+ type ColorPaletteShape = 'circle' | 'square';
10
+ type Props = {
11
+ colors: string[];
12
+ value: string;
13
+ onChange: (color: string) => void;
14
+ size?: ColorPaletteSize | number;
15
+ shape?: ColorPaletteShape;
16
+ showCustomPicker?: boolean;
17
+ sx?: SxProps;
18
+ };
19
+ declare const ColorPalette: React.FC<Props>;
20
+ export default ColorPalette;
@@ -0,0 +1 @@
1
+ export { default as ColorPalette } from './ColorPalette.component';
@@ -0,0 +1,19 @@
1
+ import { default as React } from 'react';
2
+ import { SxProps } from '@mui/material';
3
+ declare const SIZE_MAP: {
4
+ readonly sm: 22;
5
+ readonly md: 28;
6
+ readonly lg: 36;
7
+ };
8
+ type ColorPickerSize = keyof typeof SIZE_MAP;
9
+ type ColorPickerShape = 'circle' | 'square';
10
+ type Props = {
11
+ value: string;
12
+ onChange: (color: string) => void;
13
+ size?: ColorPickerSize | number;
14
+ shape?: ColorPickerShape;
15
+ tooltip?: string;
16
+ sx?: SxProps;
17
+ };
18
+ declare const ColorPicker: React.FC<Props>;
19
+ export default ColorPicker;
@@ -0,0 +1 @@
1
+ export { default as ColorPicker } from './ColorPicker.component';
@@ -1,10 +1,25 @@
1
- import { JSXElementConstructor } from 'react';
2
- import { StyledComponentProps } from '@mui/styles/withStyles';
3
- /// <reference types="react" />
4
- type Props = {
5
- setStartDate: (date: Date) => void;
6
- setEndDate: (date: Date) => void;
7
- classes: Record<string, string>;
1
+ import { default as React } from 'react';
2
+ export type DatePeriodPreset = {
3
+ label: string;
4
+ getRange: () => [Date, Date];
8
5
  };
9
- declare const _default: JSXElementConstructor<Omit<Props, "classes"> & StyledComponentProps<string> & object>;
10
- export default _default;
6
+ export type DatePeriodVariant = 'default' | 'compact' | 'inline' | 'presets-only' | 'presets-bar';
7
+ export type DatePeriodPickerProps = {
8
+ startDate: Date | null;
9
+ endDate: Date | null;
10
+ onStartDateChange: (date: Date | null) => void;
11
+ onEndDateChange: (date: Date | null) => void;
12
+ onRangeChange?: (start: Date | null, end: Date | null) => void;
13
+ variant?: DatePeriodVariant;
14
+ presets?: DatePeriodPreset[];
15
+ hidePresets?: boolean;
16
+ minDate?: Date;
17
+ maxDate?: Date;
18
+ startLabel?: string;
19
+ endLabel?: string;
20
+ hideSummary?: boolean;
21
+ customLabel?: string;
22
+ };
23
+ declare const DatePeriodPicker: React.FC<DatePeriodPickerProps>;
24
+ export default DatePeriodPicker;
25
+ export type { DatePeriodPickerProps as DatePeriodPickerComponentProps };
@@ -1 +1,2 @@
1
1
  export { default as DatePeriodPicker } from './DatePeriodPicker.component';
2
+ export type { DatePeriodPickerProps, DatePeriodPreset, DatePeriodVariant } from './DatePeriodPicker.component';
@@ -1,15 +1,11 @@
1
1
  import { default as React } from 'react';
2
2
  import { SxProps } from '@mui/material';
3
- import { IUser } from '@abyss-project/main';
4
- import { IFile } from '@abyss-project/cloud';
3
+ import { ISpace, IFile, IGetRepositoryCloudData } from '@abyss-project/cloud';
5
4
  import { Accept } from 'react-dropzone';
6
- import { CollectionElement } from '../../ImportButton';
7
- import { StyledComponentProps } from '@mui/styles/withStyles';
8
5
  type Props = {
9
6
  circular?: boolean;
10
- classes: Record<string, string>;
11
7
  title?: React.ReactElement | string;
12
- onDrop: (acceptedFiles: File[], cloudFiles: IFile[], collectionElements: CollectionElement[]) => void;
8
+ onDrop: (acceptedFiles: File[], cloudFiles: IFile[]) => void;
13
9
  multiple?: boolean;
14
10
  disableMinHeight?: boolean;
15
11
  customContentDropZone?: React.ReactElement;
@@ -19,11 +15,16 @@ type Props = {
19
15
  enableImportFromExternal?: boolean;
20
16
  additionalContentDropZone?: React.ReactElement;
21
17
  disableExternalImport?: boolean;
22
- user: IUser | null;
23
- fetchUser?: () => Promise<void>;
24
18
  abyssCloudUrl: string;
25
19
  getFileThumbnailUrl: (id: string) => string;
26
20
  customHelperContent?: React.ReactElement;
21
+ clouds?: ISpace[] | null;
22
+ cloudShares?: ISpace[] | null;
23
+ isLoadingClouds?: boolean;
24
+ onRefreshClouds?: () => Promise<void>;
25
+ fetchCloudRepository?: (cloudId: string) => Promise<IGetRepositoryCloudData>;
26
+ onActivateService?: () => Promise<void>;
27
+ onCreateCloud?: (name: string) => Promise<void>;
27
28
  };
28
- declare const _default: React.JSXElementConstructor<Omit<Props, "classes"> & StyledComponentProps<string> & object>;
29
- export default _default;
29
+ declare const DropZone: React.FC<Props>;
30
+ export default DropZone;
@@ -1,8 +1,5 @@
1
1
  import { SxProps } from '@mui/material';
2
- import { JSXElementConstructor } from 'react';
3
- import { StyledComponentProps } from '@mui/styles/withStyles';
4
2
  type Props = {
5
- classes: Record<string, string>;
6
3
  name: string;
7
4
  label?: string;
8
5
  placeholder?: string;
@@ -14,5 +11,5 @@ type Props = {
14
11
  sx?: SxProps;
15
12
  disabled?: boolean;
16
13
  };
17
- declare const _default: JSXElementConstructor<Omit<Props, "classes"> & StyledComponentProps<string> & object>;
18
- export default _default;
14
+ declare const LoginForm: React.FC<Props>;
15
+ export default LoginForm;
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ interface ProjectCategoryBadgeProps {
3
+ category: string;
4
+ size?: 'small' | 'medium' | 'large';
5
+ formatCategory?: (category: string) => string;
6
+ }
7
+ declare const ProjectCategoryBadge: React.FC<ProjectCategoryBadgeProps>;
8
+ export default ProjectCategoryBadge;
@@ -0,0 +1 @@
1
+ export { default as ProjectCategoryBadge } from './ProjectCategoryBadge.component';
@@ -0,0 +1,39 @@
1
+ import { default as React } from 'react';
2
+ export type OrganizationOption = {
3
+ id: string;
4
+ name: string;
5
+ description?: string;
6
+ hasLogo?: boolean;
7
+ };
8
+ export type ProjectOption = {
9
+ id: string;
10
+ name: string;
11
+ description?: string;
12
+ hasThumbnail?: boolean;
13
+ sharedWith?: boolean;
14
+ };
15
+ export type ApplicationOption = {
16
+ id: string;
17
+ name: string;
18
+ description?: string;
19
+ };
20
+ export type LinkType = 'NONE' | 'PROJECT';
21
+ type Props = {
22
+ organizationId: string;
23
+ abyssProjectId: string;
24
+ abyssProjectApplicationId: string;
25
+ setOrganizationId: (id: string) => void;
26
+ setAbyssProjectId: (id: string) => void;
27
+ setAbyssProjectApplicationId: (id: string) => void;
28
+ getProjectPictureUrl: (id: string) => string;
29
+ getOrganizationLogoUrl: (id: string) => string;
30
+ fetchOrganizations: () => Promise<OrganizationOption[]>;
31
+ fetchProjects: (organizationId: string) => Promise<{
32
+ projects: ProjectOption[];
33
+ sharedProjects: ProjectOption[];
34
+ }>;
35
+ fetchApplications: (projectId: string) => Promise<ApplicationOption[]>;
36
+ hideApplication?: boolean;
37
+ };
38
+ declare const ProjectLinkSelector: React.FC<Props>;
39
+ export default ProjectLinkSelector;
@@ -0,0 +1,2 @@
1
+ export { default as ProjectLinkSelector } from './ProjectLinkSelector.component';
2
+ export type { OrganizationOption, ProjectOption, ApplicationOption, LinkType } from './ProjectLinkSelector.component';
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ interface ProjectTagChipProps {
3
+ tag: string;
4
+ size?: 'small' | 'medium' | 'large';
5
+ showIcon?: boolean;
6
+ onClick?: () => void;
7
+ }
8
+ declare const ProjectTagChip: React.FC<ProjectTagChipProps>;
9
+ export default ProjectTagChip;
@@ -0,0 +1 @@
1
+ export { default as ProjectTagChip } from './ProjectTagChip.component';
@@ -1,10 +1,17 @@
1
- export * from './CloudImport';
2
- export * from './CloudSave';
1
+ export * from './ColorPicker';
2
+ export * from './ColorPalette';
3
3
  export * from './DatePeriodPicker';
4
- export * from './PasswordInput';
5
- export * from './DropZone';
6
- export * from './AbyssDateTimePicker';
7
4
  export * from './AbyssDatePicker';
5
+ export * from './AbyssDateTimePicker';
6
+ export * from './PasswordInput';
8
7
  export * from './AbyssMarkdownEditor';
9
- export * from './Toggle';
8
+ export * from './AbyssNumberField';
9
+ export * from './CloudImport';
10
+ export * from './CloudSave';
11
+ export * from './DropZone';
10
12
  export * from './AbyssSelectProject';
13
+ export * from './AbyssSelectOrganization';
14
+ export * from './ProjectTagChip';
15
+ export * from './ProjectCategoryBadge';
16
+ export * from './ProjectLinkSelector';
17
+ export * from './AbyssScopeSwitcher';
@@ -0,0 +1,18 @@
1
+ import { default as React } from 'react';
2
+ export type InvitationItem = {
3
+ id: string;
4
+ inviterAlias: string;
5
+ inviterId: string;
6
+ contentName?: string | null;
7
+ serviceName: string;
8
+ serviceLogoUrl?: string;
9
+ createdAt: string;
10
+ };
11
+ type Props = {
12
+ invitations: InvitationItem[];
13
+ onAccept: (invitationId: string) => Promise<void>;
14
+ onDecline: (invitationId: string) => Promise<void>;
15
+ getProfilePictureUrl: (userId: string) => string;
16
+ };
17
+ declare const AbyssPendingInvitations: React.FC<Props>;
18
+ export { AbyssPendingInvitations };
@@ -0,0 +1,2 @@
1
+ export { AbyssPendingInvitations } from './AbyssPendingInvitations.component';
2
+ export type { InvitationItem } from './AbyssPendingInvitations.component';
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ import { IPlanTemplate } from '@abyss-project/main';
3
+ type Props = {
4
+ planTemplate: IPlanTemplate;
5
+ label?: string;
6
+ abyssUrl?: string;
7
+ };
8
+ declare const AbyssBillingPlan: React.FC<Props>;
9
+ export default AbyssBillingPlan;
@@ -0,0 +1 @@
1
+ export { default as AbyssBillingPlan } from './AbyssBillingPlan.component';
@@ -0,0 +1,13 @@
1
+ import { default as React } from 'react';
2
+ import { SxProps } from '@mui/material';
3
+ type Props = {
4
+ sidebar?: React.ReactNode;
5
+ header?: React.ReactNode;
6
+ footer?: React.ReactNode;
7
+ background?: React.ReactNode;
8
+ sxProps?: SxProps;
9
+ mainSxProps?: SxProps;
10
+ children: React.ReactNode;
11
+ };
12
+ declare const AbyssDashboardLayout: React.FC<Props>;
13
+ export default AbyssDashboardLayout;
@@ -0,0 +1 @@
1
+ export { default as AbyssDashboardLayout } from './AbyssDashboardLayout.component';
@@ -0,0 +1,14 @@
1
+ import { default as React } from 'react';
2
+ import { SxProps } from '@mui/material';
3
+ type Props = {
4
+ left?: React.ReactNode;
5
+ right?: React.ReactNode;
6
+ showSidebarToggle?: boolean;
7
+ showCollapseToggle?: boolean;
8
+ hasSidebar?: boolean;
9
+ sxProps?: SxProps;
10
+ sidebarWidth?: number;
11
+ sidebarCollapsedWidth?: number;
12
+ };
13
+ declare const AbyssHeader: React.FC<Props>;
14
+ export default AbyssHeader;
@@ -0,0 +1 @@
1
+ export { default as AbyssHeader } from './AbyssHeader.component';
@@ -0,0 +1,26 @@
1
+ import { default as React } from 'react';
2
+ import { AbyssLayoutStore, AbyssLayoutState } from './abyss-layout.store';
3
+ import { UseBoundStore } from 'zustand/react';
4
+ import { StoreApi } from 'zustand';
5
+ import { PersistOptions } from 'zustand/middleware';
6
+ type Props = {
7
+ store: AbyssLayoutStore;
8
+ children: React.ReactNode;
9
+ };
10
+ export declare const AbyssLayoutProvider: React.FC<Props>;
11
+ export declare const useAbyssLayoutStore: () => UseBoundStore<Omit< StoreApi<AbyssLayoutState>, "persist"> & {
12
+ persist: {
13
+ setOptions: (options: Partial< PersistOptions<AbyssLayoutState, {
14
+ sidebarCollapsed: boolean;
15
+ }>>) => void;
16
+ clearStorage: () => void;
17
+ rehydrate: () => void | Promise<void>;
18
+ hasHydrated: () => boolean;
19
+ onHydrate: (fn: (state: AbyssLayoutState) => void) => () => void;
20
+ onFinishHydration: (fn: (state: AbyssLayoutState) => void) => () => void;
21
+ getOptions: () => Partial< PersistOptions<AbyssLayoutState, {
22
+ sidebarCollapsed: boolean;
23
+ }>>;
24
+ };
25
+ }>;
26
+ export {};
@@ -0,0 +1,27 @@
1
+ import { UseBoundStore, StoreApi } from 'zustand';
2
+ import { PersistOptions } from 'zustand/middleware';
3
+ export interface AbyssLayoutState {
4
+ sidebarCollapsed: boolean;
5
+ mobileMenuOpen: boolean;
6
+ hiddenChrome: boolean;
7
+ toggleSidebar: () => void;
8
+ setSidebarCollapsed: (collapsed: boolean) => void;
9
+ setMobileMenu: (open: boolean) => void;
10
+ setHiddenChrome: (value: boolean) => void;
11
+ }
12
+ export type AbyssLayoutStore = ReturnType<typeof createAbyssLayoutStore>;
13
+ export declare const createAbyssLayoutStore: (persistKey: string) => UseBoundStore<Omit< StoreApi<AbyssLayoutState>, "persist"> & {
14
+ persist: {
15
+ setOptions: (options: Partial< PersistOptions<AbyssLayoutState, {
16
+ sidebarCollapsed: boolean;
17
+ }>>) => void;
18
+ clearStorage: () => void;
19
+ rehydrate: () => void | Promise<void>;
20
+ hasHydrated: () => boolean;
21
+ onHydrate: (fn: (state: AbyssLayoutState) => void) => () => void;
22
+ onFinishHydration: (fn: (state: AbyssLayoutState) => void) => () => void;
23
+ getOptions: () => Partial< PersistOptions<AbyssLayoutState, {
24
+ sidebarCollapsed: boolean;
25
+ }>>;
26
+ };
27
+ }>;
@@ -0,0 +1,3 @@
1
+ export { AbyssLayoutProvider, useAbyssLayoutStore } from './AbyssLayoutProvider.component';
2
+ export { createAbyssLayoutStore } from './abyss-layout.store';
3
+ export type { AbyssLayoutState, AbyssLayoutStore } from './abyss-layout.store';
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ declare const AbyssLoadingScreen: React.FC;
3
+ export default AbyssLoadingScreen;
@@ -0,0 +1 @@
1
+ export { default as AbyssLoadingScreen } from './AbyssLoadingScreen.component';
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ type Props = {
3
+ onOpen: () => void;
4
+ placeholder?: string;
5
+ shortcut?: string;
6
+ };
7
+ declare const AbyssSearchBar: React.FC<Props>;
8
+ export default AbyssSearchBar;
@@ -0,0 +1 @@
1
+ export { default as AbyssSearchBar } from './AbyssSearchBar.component';