@abyss-project/commons-front-core 20.5.1 → 21.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +35 -0
- package/README.md +18 -0
- package/catalog/pages/CookieConsent.tsx +1 -1
- package/catalog/pages/MobileShell.tsx +75 -39
- package/catalog/pages/Tabs.tsx +24 -0
- package/catalog/specs/cookie-consent-modal.spec.ts +1 -1
- package/catalog/specs/mobile-shell.spec.ts +28 -0
- package/dist/{CookieConsentSettings-BGIHx7eH.js → CookieConsentSettings-BzeQZ5tD.js} +223 -224
- package/dist/{Surface-B74cXq1M.js → Surface-t4XKtudZ.js} +319 -714
- package/dist/Tabs-DXgqVX6V.js +5276 -0
- package/dist/components/ScanStatus/InfectedDownloadWarningModal.d.ts +14 -45
- package/dist/components/business/AbyssProjectLinkField/AbyssProjectLinkField.d.ts +48 -0
- package/dist/components/business/CookieConsent/containing-block.d.ts +1 -1
- package/dist/components/business/Deliveries/ScheduledTaskPanel.d.ts +7 -2
- package/dist/components/business/Deliveries/deliveries.logic.d.ts +31 -0
- package/dist/components/business/Deliveries/deliveries.types.d.ts +24 -0
- package/dist/components/business/Deliveries/use-missed-run-count.hook.d.ts +8 -0
- package/dist/components/business/Deliveries/use-missed-runs.hook.d.ts +13 -0
- package/dist/components/business/Deliveries/use-previous-page-edge.hook.d.ts +22 -0
- package/dist/components/business/PendingInvitations/PendingInvitations.d.ts +28 -0
- package/dist/components/business/index.d.ts +2 -0
- package/dist/components/editors/PdfEditor/PdfEditor.d.ts +2 -2
- package/dist/components/editors/PdfEditor/pdf-colors.d.ts +2 -2
- package/dist/components/editors/PdfEditor/toolbar/PdfToolbar.d.ts +3 -3
- package/dist/components/inputs/date-localization.d.ts +3 -3
- package/dist/components/layers/Modal/Modal.d.ts +1 -1
- package/dist/components/meaning/Avatar/Avatar.d.ts +2 -0
- package/dist/components/mobile/ActionBar/ActionBar.d.ts +2 -1
- package/dist/components/mobile/BottomSheet/BottomSheet.d.ts +8 -2
- package/dist/components/mobile/MobileShell/MobileShell.d.ts +2 -1
- package/dist/components/mobile/MobileShell/MobileShellActionBar.d.ts +7 -0
- package/dist/components/mobile/MobileShell/MobileShellPageFrame.d.ts +13 -0
- package/dist/components/mobile/index.d.ts +1 -0
- package/dist/components/mobile/mobile-layout.d.ts +8 -0
- package/dist/components/mobile/test-support/mobile-test-harness.d.ts +5 -0
- package/dist/components/structure/AppShell/AppShell.d.ts +2 -2
- package/dist/components/structure/test-support/structure-test-harness.d.ts +1 -3
- package/dist/cookie-consent.js +2 -2
- package/dist/demo/DemoBanner/DemoBanner.d.ts +1 -1
- package/dist/{editors-s-GER37R.js → editors-Dt29L0Ux.js} +4074 -4063
- package/dist/editors.js +1 -1
- package/dist/hooks/use-rich-intl.hook.d.ts +52 -454
- package/dist/hooks/use-scroll-overflow-cue.hook.d.ts +8 -2
- package/dist/{index-DoWxAfPn.js → index-3hRPEDk5.js} +4 -4
- package/dist/{index-DctO0l5q.js → index-BHKOZzg1.js} +1 -1
- package/dist/{index-NX_Kd4oz.js → index-BYWSBoej.js} +3 -3
- package/dist/{index-genxamHw.js → index-BYWcX6y7.js} +2 -2
- package/dist/{index-Dka20zad.js → index-BaS25rA-.js} +2 -2
- package/dist/{index-BZgkwoZ5.js → index-BczDLUpv.js} +2 -2
- package/dist/{index-BxlF9T05.js → index-Bh0e5MGQ.js} +2 -2
- package/dist/{index-CO6rjqWZ.js → index-C3iToWR_.js} +4 -4
- package/dist/{index-B635dFQ2.js → index-CNem7pV2.js} +2 -2
- package/dist/{index-B_fqzhtm.js → index-Cs5brR68.js} +3 -3
- package/dist/{index-D9IW7UEw.js → index-D0E9e2bc.js} +2 -2
- package/dist/{index-CXEf_Hel.js → index-D2yo-g20.js} +4 -4
- package/dist/{index-1n03jgsr.js → index-DGizXlGr.js} +3 -3
- package/dist/{index-CE-4v9ue.js → index-DLZ2_Fhk.js} +3 -3
- package/dist/{index-CVN6HOlq.js → index-DbBqHu3d.js} +2 -2
- package/dist/{index-B-oGxRVH.js → index-Deq0UIQ5.js} +2 -2
- package/dist/{index-8L4OftHM.js → index-Dg0a5ekJ.js} +2 -2
- package/dist/{index-yqn8Hbay.js → index-DvcQvaXv.js} +2 -2
- package/dist/{index-YkgGwyfx.js → index-ETHoxvZf.js} +2 -2
- package/dist/{index-D4kZ3Yip.js → index-na4ea52T.js} +2 -2
- package/dist/{index-Bn9RgQrP.js → index-vX7Ua1iM.js} +2 -2
- package/dist/index.js +47045 -19954
- package/dist/theme/design-media.d.ts +4 -4
- package/dist/theme/design-theme.d.ts +1 -5
- package/dist/theme/index.d.ts +0 -1
- package/dist/translations/en.d.ts +18 -219
- package/dist/translations/fr.d.ts +18 -219
- package/dist/utils/file.utils.d.ts +2 -2
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/notification-target.utils.d.ts +49 -0
- package/package.json +8 -16
- package/test-results/catalog/.last-run.json +4 -0
- package/vite.config.ts +6 -8
- package/dist/Tabs-nH2IBqqa.js +0 -1991
- package/dist/clsx-OuTLNxxd.js +0 -16
- package/dist/design-theme-DtU1zQos.js +0 -27703
- package/dist/index-C27b790L.js +0 -3304
- package/dist/legacy/components/Avatars/OrganizationAvatar/OrganizationAvatar.component.d.ts +0 -24
- package/dist/legacy/components/Avatars/OrganizationAvatar/index.d.ts +0 -2
- package/dist/legacy/components/Avatars/ProjectAvatar/ProjectAvatar.component.d.ts +0 -29
- package/dist/legacy/components/Avatars/ProjectAvatar/index.d.ts +0 -2
- package/dist/legacy/components/Avatars/UserAvatar/UserAvatar.component.d.ts +0 -25
- package/dist/legacy/components/Avatars/UserAvatar/constant.d.ts +0 -8
- package/dist/legacy/components/Avatars/UserAvatar/index.d.ts +0 -3
- package/dist/legacy/components/Avatars/UserAvatarList/UserAvatarList.component.d.ts +0 -18
- package/dist/legacy/components/Avatars/UserAvatarList/index.d.ts +0 -2
- package/dist/legacy/components/Avatars/index.d.ts +0 -4
- package/dist/legacy/components/Banking/AccountTransactions/AccountTransactionsRow.component.d.ts +0 -30
- package/dist/legacy/components/Banking/AccountTransactions/index.d.ts +0 -2
- package/dist/legacy/components/Banking/Inputs/SelectAccountTransactionCategory/SelectAccountTransactionCategory.component.d.ts +0 -12
- package/dist/legacy/components/Banking/Inputs/SelectAccountTransactionCategory/index.d.ts +0 -1
- package/dist/legacy/components/Banking/Inputs/index.d.ts +0 -1
- package/dist/legacy/components/Banking/index.d.ts +0 -1
- package/dist/legacy/components/Cards/InternalProjectCard/InternalProjectCard.component.d.ts +0 -36
- package/dist/legacy/components/Cards/InternalProjectCard/index.d.ts +0 -2
- package/dist/legacy/components/Cards/ProjectCard/ProjectCard.component.d.ts +0 -28
- package/dist/legacy/components/Cards/ProjectCard/index.d.ts +0 -2
- package/dist/legacy/components/Cards/index.d.ts +0 -2
- package/dist/legacy/components/Charts/AbyssBarChart/AbyssBarChart.component.d.ts +0 -21
- package/dist/legacy/components/Charts/AbyssBarChart/index.d.ts +0 -1
- package/dist/legacy/components/Charts/AbyssCashFlowChart/AbyssCashFlowChart.component.d.ts +0 -14
- package/dist/legacy/components/Charts/AbyssCashFlowChart/index.d.ts +0 -1
- package/dist/legacy/components/Charts/AbyssLineChart/AbyssLineChart.component.d.ts +0 -33
- package/dist/legacy/components/Charts/AbyssLineChart/index.d.ts +0 -1
- package/dist/legacy/components/Charts/AbyssPieChart/AbyssPieChart.component.d.ts +0 -18
- package/dist/legacy/components/Charts/AbyssPieChart/index.d.ts +0 -1
- package/dist/legacy/components/Charts/index.d.ts +0 -4
- package/dist/legacy/components/Charts/useNivoTheme.d.ts +0 -65
- package/dist/legacy/components/Chips/ApplicationSentinelTypeChip/ApplicationSentinelTypeChip.component.d.ts +0 -7
- package/dist/legacy/components/Chips/ApplicationSentinelTypeChip/index.d.ts +0 -1
- package/dist/legacy/components/Chips/LogTypeChip/LogTypeChip.component.d.ts +0 -7
- package/dist/legacy/components/Chips/LogTypeChip/index.d.ts +0 -1
- package/dist/legacy/components/Chips/ProjectStatusChip/ProjectStatusChip.component.d.ts +0 -7
- package/dist/legacy/components/Chips/ProjectStatusChip/index.d.ts +0 -1
- package/dist/legacy/components/Chips/WebhookResponseCodeChip/WebhookResponseCodeChip.component.d.ts +0 -6
- package/dist/legacy/components/Chips/WebhookResponseCodeChip/index.d.ts +0 -1
- package/dist/legacy/components/Chips/index.d.ts +0 -4
- package/dist/legacy/components/CommandPalette/AbyssCommandPalette.d.ts +0 -12
- package/dist/legacy/components/CommandPalette/index.d.ts +0 -3
- package/dist/legacy/components/CommandPalette/types.d.ts +0 -104
- package/dist/legacy/components/CommandPalette/useCommandPaletteHotkey.d.ts +0 -10
- package/dist/legacy/components/CompanySearchAutocomplete/CompanySearchAutocomplete.d.ts +0 -13
- package/dist/legacy/components/CompanySearchAutocomplete/CompanySearchAutocomplete.error.spec.d.ts +0 -1
- package/dist/legacy/components/CompanySearchAutocomplete/index.d.ts +0 -2
- package/dist/legacy/components/Data/AbyssTable/AbyssTable.component.d.ts +0 -70
- package/dist/legacy/components/Data/AbyssTable/AbyssTable.component.spec.d.ts +0 -1
- package/dist/legacy/components/Data/AbyssTable/AbyssTableCards.component.d.ts +0 -25
- package/dist/legacy/components/Data/AbyssTable/abyss-table.logic.d.ts +0 -147
- package/dist/legacy/components/Data/AbyssTable/abyss-table.logic.spec.d.ts +0 -1
- package/dist/legacy/components/Data/AbyssTable/index.d.ts +0 -2
- package/dist/legacy/components/Data/index.d.ts +0 -1
- package/dist/legacy/components/InfoBox/InfoBox.component.d.ts +0 -6
- package/dist/legacy/components/InfoBox/index.d.ts +0 -1
- package/dist/legacy/components/Inputs/AbyssDatePicker/AbyssDatePicker.component.d.ts +0 -4
- package/dist/legacy/components/Inputs/AbyssDatePicker/index.d.ts +0 -1
- package/dist/legacy/components/Inputs/AbyssDateTimePicker/AbyssDateTimePicker.component.d.ts +0 -4
- package/dist/legacy/components/Inputs/AbyssDateTimePicker/index.d.ts +0 -1
- package/dist/legacy/components/Inputs/AbyssNumberField/AbyssNumberField.component.d.ts +0 -35
- package/dist/legacy/components/Inputs/AbyssNumberField/format.d.ts +0 -35
- package/dist/legacy/components/Inputs/AbyssNumberField/format.spec.d.ts +0 -1
- package/dist/legacy/components/Inputs/AbyssNumberField/index.d.ts +0 -2
- package/dist/legacy/components/Inputs/AbyssScopeSwitcher/AbyssScopeSwitcher.component.d.ts +0 -21
- package/dist/legacy/components/Inputs/AbyssScopeSwitcher/index.d.ts +0 -2
- package/dist/legacy/components/Inputs/AbyssScopeSwitcher/scope-option.spec.d.ts +0 -1
- package/dist/legacy/components/Inputs/AbyssSelectOrganization/AbyssSelectOrganization.component.d.ts +0 -18
- package/dist/legacy/components/Inputs/AbyssSelectOrganization/index.d.ts +0 -2
- package/dist/legacy/components/Inputs/AbyssSelectProject/AbyssSelectProject.component.d.ts +0 -18
- package/dist/legacy/components/Inputs/AbyssSelectProject/index.d.ts +0 -2
- package/dist/legacy/components/Inputs/CloudImport/CloudImport.component.d.ts +0 -17
- package/dist/legacy/components/Inputs/CloudImport/CloudImport.component.spec.d.ts +0 -1
- package/dist/legacy/components/Inputs/CloudImport/CloudImportFile.component.d.ts +0 -14
- package/dist/legacy/components/Inputs/CloudImport/CloudImportFile.component.spec.d.ts +0 -1
- package/dist/legacy/components/Inputs/CloudImport/CloudImportFolder.component.d.ts +0 -18
- package/dist/legacy/components/Inputs/CloudImport/index.d.ts +0 -3
- package/dist/legacy/components/Inputs/ColorPalette/ColorPalette.component.d.ts +0 -23
- package/dist/legacy/components/Inputs/ColorPalette/index.d.ts +0 -1
- package/dist/legacy/components/Inputs/ColorPicker/ColorPicker.component.d.ts +0 -19
- package/dist/legacy/components/Inputs/ColorPicker/index.d.ts +0 -1
- package/dist/legacy/components/Inputs/ContextSelector/ContextSelector.component.d.ts +0 -68
- package/dist/legacy/components/Inputs/ContextSelector/index.d.ts +0 -2
- package/dist/legacy/components/Inputs/DatePeriodPicker/DatePeriodPicker.component.d.ts +0 -60
- package/dist/legacy/components/Inputs/DatePeriodPicker/DatePeriodPicker.granularity.spec.d.ts +0 -1
- package/dist/legacy/components/Inputs/DatePeriodPicker/DatePeriodPicker.segmented.spec.d.ts +0 -1
- package/dist/legacy/components/Inputs/DatePeriodPicker/date-period-i18n.spec.d.ts +0 -1
- package/dist/legacy/components/Inputs/DatePeriodPicker/date-period-picker.logic.d.ts +0 -69
- package/dist/legacy/components/Inputs/DatePeriodPicker/date-period-picker.logic.spec.d.ts +0 -1
- package/dist/legacy/components/Inputs/DatePeriodPicker/date-period-presets.spec.d.ts +0 -1
- package/dist/legacy/components/Inputs/DatePeriodPicker/date-period-presets.util.d.ts +0 -15
- package/dist/legacy/components/Inputs/DatePeriodPicker/index.d.ts +0 -2
- package/dist/legacy/components/Inputs/DropZone/DropZone.component.d.ts +0 -27
- package/dist/legacy/components/Inputs/DropZone/DropZone.component.spec.d.ts +0 -1
- package/dist/legacy/components/Inputs/DropZone/index.d.ts +0 -1
- package/dist/legacy/components/Inputs/LanguageFlagLabel/LanguageFlagLabel.component.d.ts +0 -22
- package/dist/legacy/components/Inputs/LanguageFlagLabel/index.d.ts +0 -2
- package/dist/legacy/components/Inputs/LanguageFlagLabel/language-flags.d.ts +0 -12
- package/dist/legacy/components/Inputs/PasswordInput/PasswordInput.component.d.ts +0 -41
- package/dist/legacy/components/Inputs/PasswordInput/index.d.ts +0 -1
- package/dist/legacy/components/Inputs/ProjectCategoryBadge/ProjectCategoryBadge.component.d.ts +0 -8
- package/dist/legacy/components/Inputs/ProjectCategoryBadge/index.d.ts +0 -1
- package/dist/legacy/components/Inputs/ProjectLinkSelector/ProjectLinkSelector.component.d.ts +0 -39
- package/dist/legacy/components/Inputs/ProjectLinkSelector/index.d.ts +0 -2
- package/dist/legacy/components/Inputs/ProjectTagChip/ProjectTagChip.component.d.ts +0 -9
- package/dist/legacy/components/Inputs/ProjectTagChip/index.d.ts +0 -1
- package/dist/legacy/components/Inputs/index.d.ts +0 -17
- package/dist/legacy/components/Invitations/AbyssPendingInvitations.component.d.ts +0 -18
- package/dist/legacy/components/Invitations/index.d.ts +0 -2
- package/dist/legacy/components/Layouts/AbyssBillingPlan/AbyssBillingPlan.component.d.ts +0 -11
- package/dist/legacy/components/Layouts/AbyssBillingPlan/AbyssBillingPlan.component.spec.d.ts +0 -1
- package/dist/legacy/components/Layouts/AbyssBillingPlan/index.d.ts +0 -1
- package/dist/legacy/components/Layouts/AbyssDashboardLayout/AbyssDashboardLayout.component.d.ts +0 -13
- package/dist/legacy/components/Layouts/AbyssDashboardLayout/index.d.ts +0 -1
- package/dist/legacy/components/Layouts/AbyssFamilyBanner/AbyssFamilyBanner.component.d.ts +0 -32
- package/dist/legacy/components/Layouts/AbyssFamilyBanner/AbyssFamilyBanner.logic.spec.d.ts +0 -1
- package/dist/legacy/components/Layouts/AbyssFamilyBanner/index.d.ts +0 -2
- package/dist/legacy/components/Layouts/AbyssHeader/AbyssHeader.component.d.ts +0 -14
- package/dist/legacy/components/Layouts/AbyssHeader/AbyssHeader.component.spec.d.ts +0 -1
- package/dist/legacy/components/Layouts/AbyssHeader/index.d.ts +0 -1
- package/dist/legacy/components/Layouts/AbyssLayoutProvider/AbyssLayoutProvider.component.d.ts +0 -25
- package/dist/legacy/components/Layouts/AbyssLayoutProvider/abyss-layout.store.d.ts +0 -27
- package/dist/legacy/components/Layouts/AbyssLayoutProvider/index.d.ts +0 -3
- package/dist/legacy/components/Layouts/AbyssLoadingScreen/AbyssLoadingScreen.component.d.ts +0 -3
- package/dist/legacy/components/Layouts/AbyssLoadingScreen/index.d.ts +0 -1
- package/dist/legacy/components/Layouts/AbyssSearchBar/AbyssSearchBar.component.d.ts +0 -8
- package/dist/legacy/components/Layouts/AbyssSearchBar/index.d.ts +0 -1
- package/dist/legacy/components/Layouts/AbyssSidebar/AbyssSidebar.component.d.ts +0 -35
- package/dist/legacy/components/Layouts/AbyssSidebar/AbyssSidebarItem.component.d.ts +0 -9
- package/dist/legacy/components/Layouts/AbyssSidebar/index.d.ts +0 -3
- package/dist/legacy/components/Layouts/AbyssThemeToggle/AbyssThemeToggle.component.d.ts +0 -8
- package/dist/legacy/components/Layouts/AbyssThemeToggle/AbyssThemeToggle.component.spec.d.ts +0 -1
- package/dist/legacy/components/Layouts/AbyssThemeToggle/index.d.ts +0 -1
- package/dist/legacy/components/Layouts/DashboardLayout/DashboardLayout.layout.d.ts +0 -19
- package/dist/legacy/components/Layouts/DashboardLayout/DashboardLayoutHeader.layout.d.ts +0 -11
- package/dist/legacy/components/Layouts/DashboardLayout/index.d.ts +0 -2
- package/dist/legacy/components/Layouts/LoadingLayout/LoadingLayout.layout.d.ts +0 -7
- package/dist/legacy/components/Layouts/LoadingLayout/index.d.ts +0 -1
- package/dist/legacy/components/Layouts/MainLayout/MainLayout.layout.d.ts +0 -9
- package/dist/legacy/components/Layouts/MainLayout/index.d.ts +0 -1
- package/dist/legacy/components/Layouts/index.d.ts +0 -12
- package/dist/legacy/components/Modals/AbyssModal/AbyssModal.component.d.ts +0 -18
- package/dist/legacy/components/Modals/AbyssModal/index.d.ts +0 -1
- package/dist/legacy/components/Modals/ConfirmModal/ConfirmModal.d.ts +0 -22
- package/dist/legacy/components/Modals/ConfirmModal/index.d.ts +0 -2
- package/dist/legacy/components/Modals/ImportFromCloudModal/ImportFromCloudModal.component.d.ts +0 -15
- package/dist/legacy/components/Modals/ImportFromCloudModal/index.d.ts +0 -1
- package/dist/legacy/components/Modals/QRCodeModal/QRCodeModal.component.d.ts +0 -12
- package/dist/legacy/components/Modals/QRCodeModal/index.d.ts +0 -1
- package/dist/legacy/components/Modals/UserSettingsModal/UserSettings.compat.d.ts +0 -12
- package/dist/legacy/components/Modals/UserSettingsModal/UserSettingsModal.component.d.ts +0 -38
- package/dist/legacy/components/Modals/UserSettingsModal/index.d.ts +0 -2
- package/dist/legacy/components/Modals/UserSettingsModal/user-settings-modal.family.spec.d.ts +0 -1
- package/dist/legacy/components/Modals/UserSettingsModal/user-settings-modal.links.spec.d.ts +0 -1
- package/dist/legacy/components/Modals/index.d.ts +0 -6
- package/dist/legacy/components/QuotaGauge/AbyssQuotaGauge.component.d.ts +0 -53
- package/dist/legacy/components/QuotaGauge/bubble-placement.d.ts +0 -47
- package/dist/legacy/components/QuotaGauge/bubble-placement.spec.d.ts +0 -1
- package/dist/legacy/components/QuotaGauge/gauge-highlight.spec.d.ts +0 -1
- package/dist/legacy/components/QuotaGauge/gauge-i18n-coverage.spec.d.ts +0 -1
- package/dist/legacy/components/QuotaGauge/gauge-segments.d.ts +0 -80
- package/dist/legacy/components/QuotaGauge/gauge-segments.spec.d.ts +0 -1
- package/dist/legacy/components/QuotaGauge/index.d.ts +0 -6
- package/dist/legacy/components/QuotaOffer/AbyssQuotaOffer.component.d.ts +0 -83
- package/dist/legacy/components/QuotaOffer/AbyssQuotaOffer.component.spec.d.ts +0 -1
- package/dist/legacy/components/QuotaOffer/index.d.ts +0 -4
- package/dist/legacy/components/QuotaOffer/quota-phrase-coverage.spec.d.ts +0 -1
- package/dist/legacy/components/QuotaReached/QuotaReachedDialog.component.d.ts +0 -15
- package/dist/legacy/components/QuotaReached/index.d.ts +0 -3
- package/dist/legacy/components/QuotaReached/quota-service-meta.d.ts +0 -31
- package/dist/legacy/components/Spotlight/InternalProjectCard/InternalProjectCard.component.d.ts +0 -15
- package/dist/legacy/components/Spotlight/InternalProjectCard/index.d.ts +0 -1
- package/dist/legacy/components/Spotlight/ProjectCard/ProjectCard.component.d.ts +0 -20
- package/dist/legacy/components/Spotlight/ProjectCard/index.d.ts +0 -1
- package/dist/legacy/components/Spotlight/ProjectCategoryBadge/ProjectCategoryBadge.component.d.ts +0 -7
- package/dist/legacy/components/Spotlight/ProjectCategoryBadge/index.d.ts +0 -1
- package/dist/legacy/components/Spotlight/ProjectLinkSelector/ProjectLinkSelector.component.d.ts +0 -10
- package/dist/legacy/components/Spotlight/ProjectLinkSelector/ProjectLinkSelector.component.spec.d.ts +0 -1
- package/dist/legacy/components/Spotlight/ProjectLinkSelector/index.d.ts +0 -2
- package/dist/legacy/components/Spotlight/ProjectTagChip/ProjectTagChip.component.d.ts +0 -9
- package/dist/legacy/components/Spotlight/ProjectTagChip/index.d.ts +0 -1
- package/dist/legacy/components/Spotlight/index.d.ts +0 -5
- package/dist/legacy/components/Utils/AbyssBackground/AbyssBackground.component.d.ts +0 -12
- package/dist/legacy/components/Utils/AbyssDrawer/AbyssDrawer.component.d.ts +0 -39
- package/dist/legacy/components/Utils/AbyssDrawer/index.d.ts +0 -2
- package/dist/legacy/components/Utils/AbyssErrorPage/AbyssErrorBoundary.component.d.ts +0 -10
- package/dist/legacy/components/Utils/AbyssErrorPage/AbyssErrorBoundary.component.spec.d.ts +0 -1
- package/dist/legacy/components/Utils/AbyssErrorPage/AbyssErrorPage.component.d.ts +0 -11
- package/dist/legacy/components/Utils/AbyssErrorPage/index.d.ts +0 -3
- package/dist/legacy/components/Utils/AbyssFamilyMenuSection/AbyssFamilyMenuSection.d.ts +0 -6
- package/dist/legacy/components/Utils/AbyssFamilyMenuSection/AbyssFamilyMenuSection.spec.d.ts +0 -1
- package/dist/legacy/components/Utils/AbyssFamilyMenuSection/index.d.ts +0 -1
- package/dist/legacy/components/Utils/AbyssHeaderTitle/AbyssHeaderTitle.component.d.ts +0 -11
- package/dist/legacy/components/Utils/AbyssHeaderTitle/index.d.ts +0 -1
- package/dist/legacy/components/Utils/AbyssLayoutMenu/AbyssLayoutMenu.component.d.ts +0 -43
- package/dist/legacy/components/Utils/AbyssLayoutMenu/AbyssLayoutMenu.component.spec.d.ts +0 -1
- package/dist/legacy/components/Utils/AbyssLayoutMenu/AbyssMenuItem.component.d.ts +0 -15
- package/dist/legacy/components/Utils/AbyssLayoutMenu/index.d.ts +0 -3
- package/dist/legacy/components/Utils/AbyssLayoutNotifications/AbyssLayoutNotifications.component.d.ts +0 -36
- package/dist/legacy/components/Utils/AbyssLayoutNotifications/AbyssLayoutNotifications.component.spec.d.ts +0 -1
- package/dist/legacy/components/Utils/AbyssLayoutNotifications/AbyssNotifications.component.d.ts +0 -30
- package/dist/legacy/components/Utils/AbyssLayoutNotifications/AbyssNotifications.component.spec.d.ts +0 -1
- package/dist/legacy/components/Utils/AbyssLayoutNotifications/index.d.ts +0 -4
- package/dist/legacy/components/Utils/ImportButton/ImportButton.component.d.ts +0 -19
- package/dist/legacy/components/Utils/ImportButton/index.d.ts +0 -2
- package/dist/legacy/components/Utils/WaterParticles/WaterParticles.component.d.ts +0 -14
- package/dist/legacy/components/Utils/WaterParticles/index.d.ts +0 -1
- package/dist/legacy/components/Utils/index.d.ts +0 -10
- package/dist/legacy/components/aria-labels-i18n.spec.d.ts +0 -1
- package/dist/legacy/components/commons-labels-i18n.spec.d.ts +0 -1
- package/dist/legacy/components/index.d.ts +0 -18
- package/dist/legacy/components/theme-mode-colors.spec.d.ts +0 -1
- package/dist/legacy/fonts.css +0 -7
- package/dist/legacy/hooks/confirm-modal/confirm-modal.context.d.ts +0 -10
- package/dist/legacy/hooks/confirm-modal/index.d.ts +0 -1
- package/dist/legacy/hooks/index.d.ts +0 -1
- package/dist/legacy/index.d.ts +0 -4
- package/dist/legacy/legacy-editors-removed.spec.d.ts +0 -1
- package/dist/legacy/legacy-support-removed.spec.d.ts +0 -1
- package/dist/legacy/legacy-under-new-theme.spec.d.ts +0 -1
- package/dist/legacy/theme/augmentation.d.ts +0 -84
- package/dist/legacy/theme/components/buttons.d.ts +0 -35
- package/dist/legacy/theme/components/data-display.d.ts +0 -4
- package/dist/legacy/theme/components/index.d.ts +0 -2
- package/dist/legacy/theme/components/inputs.d.ts +0 -4
- package/dist/legacy/theme/components/inputs.spec.d.ts +0 -1
- package/dist/legacy/theme/components/navigation.d.ts +0 -4
- package/dist/legacy/theme/components/surfaces.d.ts +0 -4
- package/dist/legacy/theme/core-breakpoints-under-legacy-theme.spec.d.ts +0 -1
- package/dist/legacy/theme/create-theme.d.ts +0 -9
- package/dist/legacy/theme/create-theme.spec.d.ts +0 -1
- package/dist/legacy/theme/disabled-contrast.spec.d.ts +0 -1
- package/dist/legacy/theme/index.d.ts +0 -23
- package/dist/legacy/theme/legacy-tokens.d.ts +0 -3
- package/dist/legacy/theme/new-components-under-legacy-theme.spec.d.ts +0 -1
- package/dist/legacy/theme/palettes/common.d.ts +0 -74
- package/dist/legacy/theme/palettes/dark.d.ts +0 -67
- package/dist/legacy/theme/palettes/light.d.ts +0 -67
- package/dist/legacy/theme/tokens/animations.d.ts +0 -33
- package/dist/legacy/theme/tokens/borders.d.ts +0 -14
- package/dist/legacy/theme/tokens/colors.d.ts +0 -129
- package/dist/legacy/theme/tokens/shadows.d.ts +0 -53
- package/dist/legacy/theme/tokens/transitions.d.ts +0 -25
- package/dist/legacy/theme/tokens/typography.d.ts +0 -99
- package/dist/legacy/utils/billing-colors.utils.d.ts +0 -7
- package/dist/legacy/utils/color.utils.d.ts +0 -11
- package/dist/legacy/utils/file.utils.d.ts +0 -2
- package/dist/legacy/utils/index.d.ts +0 -3
- package/dist/legacy.d.ts +0 -2
- package/dist/legacy.js +0 -16282
- package/dist/theme/DesignCssVariables.d.ts +0 -12
- package/dist/theme/DesignCssVariables.spec.d.ts +0 -1
- package/dist/utils/share-notification.utils.d.ts +0 -10
- /package/dist/{legacy/components/Cards/project-card-date.spec.d.ts → components/business/AbyssProjectLinkField/AbyssProjectLinkField.spec.d.ts} +0 -0
- /package/dist/{legacy/components/Charts/AbyssCashFlowChart/AbyssCashFlowChart.component.spec.d.ts → components/business/PendingInvitations/PendingInvitations.spec.d.ts} +0 -0
- /package/dist/{legacy/components/Charts/AbyssLineChart/AbyssLineChart.component.spec.d.ts → components/mobile/MobileShell/MobileShellActionBar.spec.d.ts} +0 -0
- /package/dist/{legacy/components/CompanySearchAutocomplete/CompanySearchAutocomplete.date.spec.d.ts → utils/notification-target.utils.spec.d.ts} +0 -0
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { SxProps } from '@mui/material';
|
|
2
|
-
import { FC, ReactNode } from 'react';
|
|
3
|
-
export type OrganizationAvatarProfileInfo = {
|
|
4
|
-
createdAt?: string;
|
|
5
|
-
projectCount?: number;
|
|
6
|
-
memberCount?: number;
|
|
7
|
-
integrations?: string[];
|
|
8
|
-
extra?: ReactNode;
|
|
9
|
-
};
|
|
10
|
-
type Props = {
|
|
11
|
-
orgId: string;
|
|
12
|
-
name: string;
|
|
13
|
-
hasThumbnail: boolean;
|
|
14
|
-
hasBanner?: boolean;
|
|
15
|
-
cache?: string;
|
|
16
|
-
sx?: SxProps;
|
|
17
|
-
getLogoUrl: (orgId: string) => string;
|
|
18
|
-
getBannerUrl?: (orgId: string) => string;
|
|
19
|
-
showProfile?: boolean;
|
|
20
|
-
profileInfo?: OrganizationAvatarProfileInfo;
|
|
21
|
-
onClick?: () => void;
|
|
22
|
-
};
|
|
23
|
-
declare const OrganizationAvatar: FC<Props>;
|
|
24
|
-
export default OrganizationAvatar;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { SxProps } from '@mui/material';
|
|
2
|
-
import { FC, ReactNode } from 'react';
|
|
3
|
-
export type ProjectAvatarProfileInfo = {
|
|
4
|
-
description?: string;
|
|
5
|
-
memberCount?: number;
|
|
6
|
-
appCount?: number;
|
|
7
|
-
status?: string;
|
|
8
|
-
organization?: string;
|
|
9
|
-
createdAt?: string;
|
|
10
|
-
onGoToOrg?: () => void;
|
|
11
|
-
onGoToProject?: () => void;
|
|
12
|
-
extra?: ReactNode;
|
|
13
|
-
};
|
|
14
|
-
type Props = {
|
|
15
|
-
projectId: string;
|
|
16
|
-
title: string;
|
|
17
|
-
hasThumbnail: boolean;
|
|
18
|
-
cache?: string;
|
|
19
|
-
sx?: SxProps;
|
|
20
|
-
getProjectPictureUrl: (projectId: string) => string;
|
|
21
|
-
/** Enable project info popup on click */
|
|
22
|
-
showProfile?: boolean;
|
|
23
|
-
/** Project info to display in popup */
|
|
24
|
-
profileInfo?: ProjectAvatarProfileInfo;
|
|
25
|
-
/** Callback when avatar is clicked */
|
|
26
|
-
onClick?: () => void;
|
|
27
|
-
};
|
|
28
|
-
declare const ProjectAvatar: FC<Props>;
|
|
29
|
-
export default ProjectAvatar;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { SxProps } from '@mui/material';
|
|
2
|
-
import { FC, ReactNode } from 'react';
|
|
3
|
-
export type UserAvatarProfileInfo = {
|
|
4
|
-
email?: string;
|
|
5
|
-
role?: string;
|
|
6
|
-
status?: 'online' | 'offline' | 'away';
|
|
7
|
-
joinedAt?: string;
|
|
8
|
-
extra?: ReactNode;
|
|
9
|
-
};
|
|
10
|
-
type Props = {
|
|
11
|
-
userId: string;
|
|
12
|
-
alias: string;
|
|
13
|
-
hasThumbnail: boolean;
|
|
14
|
-
cache?: string;
|
|
15
|
-
sx?: SxProps;
|
|
16
|
-
getProfilePictureUrl: (userId: string) => string;
|
|
17
|
-
/** Enable profile popup on click */
|
|
18
|
-
showProfile?: boolean;
|
|
19
|
-
/** Profile info to display in popup */
|
|
20
|
-
profileInfo?: UserAvatarProfileInfo;
|
|
21
|
-
/** Callback when avatar is clicked (even without popup) */
|
|
22
|
-
onClick?: () => void;
|
|
23
|
-
};
|
|
24
|
-
declare const UserAvatar: FC<Props>;
|
|
25
|
-
export default UserAvatar;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare const AVATAR_BASE_WIDTH = 32;
|
|
2
|
-
export declare const AVATAR_WIDTH_RATIO = 0.625;
|
|
3
|
-
export declare const AVATAR_BASE_SX: {
|
|
4
|
-
readonly border: "1px solid";
|
|
5
|
-
readonly borderColor: "primary.main";
|
|
6
|
-
readonly transition: "all 0.25s cubic-bezier(0.4, 0, 0.2, 1)";
|
|
7
|
-
readonly bgcolor: "transparent";
|
|
8
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { SxProps } from '@mui/material';
|
|
2
|
-
import { default as React } from 'react';
|
|
3
|
-
export type UserAvatarListUser = {
|
|
4
|
-
id: string;
|
|
5
|
-
alias?: string | null;
|
|
6
|
-
hasThumbnail?: boolean;
|
|
7
|
-
};
|
|
8
|
-
type Props = {
|
|
9
|
-
users: UserAvatarListUser[] | null;
|
|
10
|
-
size?: number;
|
|
11
|
-
label?: string;
|
|
12
|
-
sx?: SxProps;
|
|
13
|
-
sxItem?: SxProps;
|
|
14
|
-
getProfilePictureUrl: (userId: string) => string;
|
|
15
|
-
maxAvatarCount?: number;
|
|
16
|
-
};
|
|
17
|
-
declare const UserAvatarList: React.FC<Props>;
|
|
18
|
-
export default UserAvatarList;
|
package/dist/legacy/components/Banking/AccountTransactions/AccountTransactionsRow.component.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { IBankAccount, ICategory } from '@abyss-project/banking';
|
|
3
|
-
export type PartialAccountTransaction = {
|
|
4
|
-
id: string;
|
|
5
|
-
amount: number;
|
|
6
|
-
comment: string | null;
|
|
7
|
-
currency: string;
|
|
8
|
-
description: string;
|
|
9
|
-
bankAccountId: string;
|
|
10
|
-
date: Date;
|
|
11
|
-
transactionCategory?: {
|
|
12
|
-
id?: string;
|
|
13
|
-
categoryId: string;
|
|
14
|
-
}[];
|
|
15
|
-
};
|
|
16
|
-
type Props = {
|
|
17
|
-
index: number;
|
|
18
|
-
accountTransaction: PartialAccountTransaction;
|
|
19
|
-
bankAccount: IBankAccount;
|
|
20
|
-
handleChangeCategory?: (accountTransaction: PartialAccountTransaction, categoryIds: string[]) => Promise<void>;
|
|
21
|
-
isLoading: boolean;
|
|
22
|
-
handleFetchAccountTransactions: () => Promise<void>;
|
|
23
|
-
displayCategoryList?: boolean;
|
|
24
|
-
collapseChildren?: React.ReactNode;
|
|
25
|
-
categories: ICategory[];
|
|
26
|
-
handleOpenCommentModal?: () => void;
|
|
27
|
-
customActions?: React.ReactNode;
|
|
28
|
-
};
|
|
29
|
-
declare const AccountTransactionsRow: React.FC<Props>;
|
|
30
|
-
export default AccountTransactionsRow;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { SelectChangeEvent } from '@mui/material';
|
|
2
|
-
import { default as React } from 'react';
|
|
3
|
-
import { ICategory } from '@abyss-project/banking';
|
|
4
|
-
type Props = {
|
|
5
|
-
value?: string[];
|
|
6
|
-
onChange?: (event: SelectChangeEvent<string[]>) => void;
|
|
7
|
-
isDisabled?: boolean;
|
|
8
|
-
error?: boolean;
|
|
9
|
-
categories: ICategory[];
|
|
10
|
-
};
|
|
11
|
-
declare const SelectAccountTransactionCategory: React.FC<Props>;
|
|
12
|
-
export default SelectAccountTransactionCategory;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as SelectAccountTransactionCategory } from './SelectAccountTransactionCategory.component';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './SelectAccountTransactionCategory';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './AccountTransactions';
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export type InternalProjectCardData = {
|
|
3
|
-
id?: string;
|
|
4
|
-
title: string;
|
|
5
|
-
description?: string | null;
|
|
6
|
-
status?: string;
|
|
7
|
-
createdAt?: string | Date | null;
|
|
8
|
-
isPublished?: boolean;
|
|
9
|
-
category?: string;
|
|
10
|
-
tags?: string[];
|
|
11
|
-
mainLanguage?: string;
|
|
12
|
-
metrics?: {
|
|
13
|
-
views?: number;
|
|
14
|
-
posts?: number;
|
|
15
|
-
followers?: number;
|
|
16
|
-
favorites?: number;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
interface InternalProjectCardProps {
|
|
20
|
-
project: InternalProjectCardData;
|
|
21
|
-
index: number;
|
|
22
|
-
onEdit?: (project: InternalProjectCardData) => void;
|
|
23
|
-
onDelete?: (project: InternalProjectCardData) => void;
|
|
24
|
-
pathToProjectDetails: string;
|
|
25
|
-
bannerUrl?: string;
|
|
26
|
-
logoUrl?: string;
|
|
27
|
-
targetViewport?: '_blank' | '_self';
|
|
28
|
-
actions?: React.ReactNode;
|
|
29
|
-
statusLabel?: (status: string) => string;
|
|
30
|
-
formatCategory?: (category: string) => string;
|
|
31
|
-
formatDate?: (date: Date) => string;
|
|
32
|
-
formatNumber?: (n: number) => string;
|
|
33
|
-
formatLanguage?: (language: string) => string;
|
|
34
|
-
}
|
|
35
|
-
declare const InternalProjectCard: React.FC<InternalProjectCardProps>;
|
|
36
|
-
export default InternalProjectCard;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export type ProjectCardProject = {
|
|
3
|
-
title: string;
|
|
4
|
-
description?: string;
|
|
5
|
-
createdAt?: string;
|
|
6
|
-
tags?: string[];
|
|
7
|
-
mainLanguage?: string;
|
|
8
|
-
category?: string;
|
|
9
|
-
};
|
|
10
|
-
type Props = {
|
|
11
|
-
project: ProjectCardProject;
|
|
12
|
-
logoUrl: string | null;
|
|
13
|
-
bannerUrl: string | null;
|
|
14
|
-
isStarred: boolean;
|
|
15
|
-
isFollowed: boolean;
|
|
16
|
-
startCount: number;
|
|
17
|
-
viewCount: number;
|
|
18
|
-
formatCategory?: (category: string) => string;
|
|
19
|
-
formatDate?: (date: Date) => string;
|
|
20
|
-
starredTooltip?: string;
|
|
21
|
-
followingTooltip?: string;
|
|
22
|
-
formatLanguage?: (language: string) => string;
|
|
23
|
-
formatNumber?: (n: number) => string;
|
|
24
|
-
/** 'compact' reduces banner height and hides some details */
|
|
25
|
-
variant?: 'default' | 'compact';
|
|
26
|
-
};
|
|
27
|
-
declare const ProjectCard: React.FC<Props>;
|
|
28
|
-
export default ProjectCard;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { SxProps } from '@mui/material';
|
|
3
|
-
type AbyssBarChartProps = {
|
|
4
|
-
data: Record<string, any>[];
|
|
5
|
-
keys: string[];
|
|
6
|
-
indexBy: string;
|
|
7
|
-
height?: number;
|
|
8
|
-
enableZoom?: boolean;
|
|
9
|
-
horizontal?: boolean;
|
|
10
|
-
stacked?: boolean;
|
|
11
|
-
colors?: string[];
|
|
12
|
-
formatValue?: (value: any) => string;
|
|
13
|
-
hiddenKeys?: string[];
|
|
14
|
-
onKeyToggle?: (key: string) => void;
|
|
15
|
-
isInteractive?: boolean;
|
|
16
|
-
showLegend?: boolean;
|
|
17
|
-
showAxis?: boolean;
|
|
18
|
-
sx?: SxProps;
|
|
19
|
-
};
|
|
20
|
-
export declare const AbyssBarChart: React.FC<AbyssBarChartProps>;
|
|
21
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { AbyssBarChart } from './AbyssBarChart.component';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export interface AbyssCashFlowPoint {
|
|
3
|
-
date: string;
|
|
4
|
-
balance: number;
|
|
5
|
-
in: number;
|
|
6
|
-
out: number;
|
|
7
|
-
}
|
|
8
|
-
interface Props {
|
|
9
|
-
data: AbyssCashFlowPoint[];
|
|
10
|
-
currency: string;
|
|
11
|
-
height?: number;
|
|
12
|
-
}
|
|
13
|
-
export declare const AbyssCashFlowChart: React.FC<Props>;
|
|
14
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './AbyssCashFlowChart.component';
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { SxProps } from '@mui/material';
|
|
3
|
-
import { LineSvgProps } from '@nivo/line';
|
|
4
|
-
type DataPoint = {
|
|
5
|
-
x: string | number | Date;
|
|
6
|
-
y: number | null;
|
|
7
|
-
};
|
|
8
|
-
type LineSeries = {
|
|
9
|
-
id: string;
|
|
10
|
-
data: DataPoint[];
|
|
11
|
-
};
|
|
12
|
-
type LineXScaleType = 'point' | 'time';
|
|
13
|
-
type AxisTickValues = NonNullable<LineSvgProps['axisBottom']>['tickValues'];
|
|
14
|
-
type AbyssLineChartProps = {
|
|
15
|
-
data: LineSeries[];
|
|
16
|
-
xLabel?: string;
|
|
17
|
-
yLabel?: string;
|
|
18
|
-
height?: number;
|
|
19
|
-
enableZoom?: boolean;
|
|
20
|
-
hiddenSeries?: string[];
|
|
21
|
-
onSeriesToggle?: (seriesId: string) => void;
|
|
22
|
-
formatXValue?: (value: any) => string;
|
|
23
|
-
formatYValue?: (value: any) => string;
|
|
24
|
-
sx?: SxProps;
|
|
25
|
-
colors?: string[];
|
|
26
|
-
enableArea?: boolean;
|
|
27
|
-
curve?: 'linear' | 'monotoneX' | 'cardinal' | 'step';
|
|
28
|
-
xScaleType?: LineXScaleType;
|
|
29
|
-
enablePoints?: boolean;
|
|
30
|
-
xTickValues?: AxisTickValues;
|
|
31
|
-
};
|
|
32
|
-
export declare const AbyssLineChart: React.FC<AbyssLineChartProps>;
|
|
33
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { AbyssLineChart } from './AbyssLineChart.component';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { SxProps } from '@mui/material';
|
|
3
|
-
type PieDataItem = {
|
|
4
|
-
id: string;
|
|
5
|
-
value: number;
|
|
6
|
-
label?: string;
|
|
7
|
-
};
|
|
8
|
-
type AbyssPieChartProps = {
|
|
9
|
-
data: PieDataItem[];
|
|
10
|
-
height?: number;
|
|
11
|
-
donut?: boolean;
|
|
12
|
-
colors?: string[];
|
|
13
|
-
enableLegend?: boolean;
|
|
14
|
-
formatValue?: (value: number) => string;
|
|
15
|
-
sx?: SxProps;
|
|
16
|
-
};
|
|
17
|
-
export declare const AbyssPieChart: React.FC<AbyssPieChartProps>;
|
|
18
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { AbyssPieChart } from './AbyssPieChart.component';
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
export declare const useNivoTheme: () => {
|
|
2
|
-
text: {
|
|
3
|
-
fill: string;
|
|
4
|
-
fontSize: number;
|
|
5
|
-
fontFamily: string;
|
|
6
|
-
};
|
|
7
|
-
axis: {
|
|
8
|
-
domain: {
|
|
9
|
-
line: {
|
|
10
|
-
stroke: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
ticks: {
|
|
14
|
-
line: {
|
|
15
|
-
stroke: string;
|
|
16
|
-
};
|
|
17
|
-
text: {
|
|
18
|
-
fill: string;
|
|
19
|
-
fontSize: number;
|
|
20
|
-
fontFamily: string;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
legend: {
|
|
24
|
-
text: {
|
|
25
|
-
fill: string;
|
|
26
|
-
fontSize: number;
|
|
27
|
-
fontWeight: number;
|
|
28
|
-
fontFamily: string;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
grid: {
|
|
33
|
-
line: {
|
|
34
|
-
stroke: string;
|
|
35
|
-
strokeDasharray: string;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
tooltip: {
|
|
39
|
-
container: {
|
|
40
|
-
background: string;
|
|
41
|
-
backdropFilter: string;
|
|
42
|
-
border: string;
|
|
43
|
-
borderRadius: string;
|
|
44
|
-
boxShadow: string;
|
|
45
|
-
fontSize: number;
|
|
46
|
-
padding: string;
|
|
47
|
-
color: string;
|
|
48
|
-
fontFamily: string;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
crosshair: {
|
|
52
|
-
line: {
|
|
53
|
-
stroke: string;
|
|
54
|
-
strokeOpacity: number;
|
|
55
|
-
strokeWidth: number;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
legends: {
|
|
59
|
-
text: {
|
|
60
|
-
fill: string;
|
|
61
|
-
fontSize: number;
|
|
62
|
-
fontFamily: string;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as ApplicationSentinelTypeChip } from './ApplicationSentinelTypeChip.component';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as LogTypeChip } from './LogTypeChip.component';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as ProjectStatusChip } from './ProjectStatusChip.component';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as WebhookResponseCodeChip } from './WebhookResponseCodeChip.component';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { AbyssCommandPaletteProps } from './types';
|
|
3
|
-
/**
|
|
4
|
-
* Presentational, fully-controlled command palette shell shared by every
|
|
5
|
-
* Abyss host app. It owns the MUI `Dialog`, the search input, the grouped
|
|
6
|
-
* result rendering, and the keyboard/mouse selection model — nothing else.
|
|
7
|
-
*
|
|
8
|
-
* It NEVER fetches, filters or scores: `groups` must already be
|
|
9
|
-
* filtered/scored/ordered by the host. See the folder README for the two
|
|
10
|
-
* supported host modes (client-side filtered vs server-side searched).
|
|
11
|
-
*/
|
|
12
|
-
export declare const AbyssCommandPalette: FC<AbyssCommandPaletteProps>;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { AbyssCommandPalette } from './AbyssCommandPalette';
|
|
2
|
-
export { useCommandPaletteHotkey } from './useCommandPaletteHotkey';
|
|
3
|
-
export type { AbyssCommandPaletteProps, AbyssCommandPaletteGroup, AbyssCommandPaletteItem, AbyssCommandPaletteSelectMeta, AbyssCommandPaletteHighlightVariant, } from './types';
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { ElementType, ReactNode } from 'react';
|
|
2
|
-
import { DialogProps } from '@mui/material';
|
|
3
|
-
import { SxProps, Theme } from '@mui/material/styles';
|
|
4
|
-
/**
|
|
5
|
-
* A single selectable row in the palette. The host is fully responsible for
|
|
6
|
-
* building this shape (icon/avatar node, trailing status chip, etc.) — the
|
|
7
|
-
* shell only renders what it is given.
|
|
8
|
-
*/
|
|
9
|
-
export interface AbyssCommandPaletteItem {
|
|
10
|
-
id: string;
|
|
11
|
-
title: string;
|
|
12
|
-
subtitle?: string;
|
|
13
|
-
/** Host-supplied icon or avatar node (e.g. `<UserAvatar />`, an MUI icon). */
|
|
14
|
-
icon?: ReactNode;
|
|
15
|
-
/** Host-supplied trailing node (e.g. a status `<Chip />`). */
|
|
16
|
-
trailing?: ReactNode;
|
|
17
|
-
/**
|
|
18
|
-
* Navigation target for this row. When set AND the palette receives a
|
|
19
|
-
* `linkComponent`, the row renders as a real anchor, which preserves native
|
|
20
|
-
* browser affordances (ctrl/cmd-click and middle-click open in a new tab).
|
|
21
|
-
* A plain click still goes through `onSelect`, so hosts keep full control of
|
|
22
|
-
* side effects (recents, analytics…). Rows without `href` (imperative
|
|
23
|
-
* commands such as a theme toggle) render as buttons.
|
|
24
|
-
*/
|
|
25
|
-
href?: string;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* A section of already-filtered, already-ordered items with an
|
|
29
|
-
* already-translated label. The shell never reorders or drops items from a
|
|
30
|
-
* group — it only skips rendering a section header for a group with zero
|
|
31
|
-
* items.
|
|
32
|
-
*/
|
|
33
|
-
export interface AbyssCommandPaletteGroup {
|
|
34
|
-
key: string;
|
|
35
|
-
/** Already translated by the host. */
|
|
36
|
-
label: string;
|
|
37
|
-
items: AbyssCommandPaletteItem[];
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Visual treatment of the currently-highlighted row.
|
|
41
|
-
* - `'filled'` (default): a solid tinted background on the selected row.
|
|
42
|
-
* This is the original/admin look — unchanged.
|
|
43
|
-
* - `'accent'`: a left accent bar + accent-coloured label (and, via normal
|
|
44
|
-
* CSS color inheritance, any host icon using `color="inherit"`), with only
|
|
45
|
-
* a faint background tint. This is the original front look.
|
|
46
|
-
*/
|
|
47
|
-
export type AbyssCommandPaletteHighlightVariant = 'filled' | 'accent';
|
|
48
|
-
/**
|
|
49
|
-
* How a row was selected. Hosts that render rows as anchors (`href` +
|
|
50
|
-
* `linkComponent`) MUST check `viaAnchor` before navigating themselves:
|
|
51
|
-
* when it is `true` the router link already handles the navigation, so
|
|
52
|
-
* navigating again would push a duplicate history entry — and, on a
|
|
53
|
-
* ctrl/cmd-click, would hijack the current tab instead of letting the
|
|
54
|
-
* browser open a new one.
|
|
55
|
-
*/
|
|
56
|
-
export interface AbyssCommandPaletteSelectMeta {
|
|
57
|
-
source: 'click' | 'keyboard';
|
|
58
|
-
/** The row rendered as an anchor AND the browser/router is handling this navigation. */
|
|
59
|
-
viaAnchor: boolean;
|
|
60
|
-
}
|
|
61
|
-
export interface AbyssCommandPaletteProps {
|
|
62
|
-
open: boolean;
|
|
63
|
-
onClose: () => void;
|
|
64
|
-
query: string;
|
|
65
|
-
onQueryChange: (query: string) => void;
|
|
66
|
-
/** Already filtered/scored/ordered by the host — the shell never filters or scores. */
|
|
67
|
-
groups: AbyssCommandPaletteGroup[];
|
|
68
|
-
onSelect: (item: AbyssCommandPaletteItem, groupKey: string, meta: AbyssCommandPaletteSelectMeta) => void;
|
|
69
|
-
/** Host is fetching/searching. Drives the subtle loading indicator. */
|
|
70
|
-
isLoading?: boolean;
|
|
71
|
-
/** Already translated by the host. */
|
|
72
|
-
placeholder: string;
|
|
73
|
-
/** Already translated by the host. Shown when there are no items to display and not loading. */
|
|
74
|
-
emptyLabel: string;
|
|
75
|
-
/** Already translated by the host. Shown alongside the loading indicator while there is nothing to display yet. */
|
|
76
|
-
loadingLabel?: string;
|
|
77
|
-
/** Already translated by the host (e.g. keyboard-shortcut hints). */
|
|
78
|
-
footerHints?: ReactNode;
|
|
79
|
-
/** Max height of the scrollable results area. Defaults to 420. */
|
|
80
|
-
maxHeight?: number | string;
|
|
81
|
-
/** Host-supplied node rendered right-aligned inside the input row, next to the search field (e.g. an "ESC" hint badge). Omit for none. */
|
|
82
|
-
inputTrailing?: ReactNode;
|
|
83
|
-
/** Highlighted-row visual treatment. Defaults to `'filled'` (unchanged existing look). */
|
|
84
|
-
highlightVariant?: AbyssCommandPaletteHighlightVariant;
|
|
85
|
-
/**
|
|
86
|
-
* Router link component (e.g. react-router's `Link`) used to render rows that
|
|
87
|
-
* carry an `href` as real anchors, so ctrl/cmd-click and middle-click open a
|
|
88
|
-
* new tab. Omit it and every row renders as a button (no anchor semantics).
|
|
89
|
-
* The component receives the row's `href` as its `to` prop.
|
|
90
|
-
*/
|
|
91
|
-
linkComponent?: ElementType;
|
|
92
|
-
/** Render the dialog full-screen (hosts typically bind this to a mobile breakpoint). */
|
|
93
|
-
fullScreen?: boolean;
|
|
94
|
-
/**
|
|
95
|
-
* Styling escape hatch for the dialog surface. When provided it REPLACES the
|
|
96
|
-
* shell's default paper styling (vertical offset, radius, overflow), so a
|
|
97
|
-
* host owns its chrome outright — border, gradient, shadow, offset — without
|
|
98
|
-
* fighting responsive defaults it did not ask for. The shell keeps owning
|
|
99
|
-
* behaviour either way.
|
|
100
|
-
*/
|
|
101
|
-
paperSx?: SxProps<Theme>;
|
|
102
|
-
/** Passthrough to the underlying MUI Dialog slots (e.g. a custom backdrop). */
|
|
103
|
-
slotProps?: DialogProps['slotProps'];
|
|
104
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Opens the command palette on Cmd+K (macOS) / Ctrl+K (Windows/Linux).
|
|
3
|
-
* Store-agnostic: the host supplies `onOpen` (e.g. a zustand store action or
|
|
4
|
-
* local `setState`) so this hook has no opinion on where "open" state lives.
|
|
5
|
-
* Hand-written listener — no cmdk/kbar dependency.
|
|
6
|
-
*
|
|
7
|
-
* @param onOpen Called when the hotkey is pressed.
|
|
8
|
-
* @param enabled When `false`, the listener is not attached at all. Defaults to `true`.
|
|
9
|
-
*/
|
|
10
|
-
export declare const useCommandPaletteHotkey: (onOpen: () => void, enabled?: boolean) => void;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { PappersCompany } from '../../../components/inputs/CompanySearchField/pappers-company';
|
|
3
|
-
export type { PappersCompany };
|
|
4
|
-
export interface CompanySearchAutocompleteProps {
|
|
5
|
-
value: string;
|
|
6
|
-
onInputChange: (value: string) => void;
|
|
7
|
-
onSelect: (company: PappersCompany) => void;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
size?: 'small' | 'medium';
|
|
10
|
-
label?: string;
|
|
11
|
-
placeholder?: string;
|
|
12
|
-
}
|
|
13
|
-
export declare const CompanySearchAutocomplete: React.FC<CompanySearchAutocompleteProps>;
|