@databiosphere/findable-ui 10.2.0 → 12.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/.github/workflows/run-checks.yml +13 -0
- package/lib/apis/azul/common/constants.d.ts +0 -4
- package/lib/apis/azul/common/constants.js +0 -4
- package/lib/apis/azul/common/entities.d.ts +5 -5
- package/lib/apis/azul/common/filterTransformer.d.ts +3 -3
- package/lib/apis/azul/common/filterTransformer.js +1 -1
- package/lib/common/analytics/analytics.d.ts +1 -1
- package/lib/common/analytics/entities.d.ts +2 -2
- package/lib/common/entities.d.ts +5 -5
- package/lib/components/ComponentCreator/ComponentCreator.d.ts +0 -1
- package/lib/components/Detail/components/AccessibilityBadge/accessibilityBadge.d.ts +0 -1
- package/lib/components/Detail/components/DetailViewTable/detailViewTable.d.ts +1 -1
- package/lib/components/Detail/components/Table/components/TableBody/tableBody.d.ts +1 -2
- package/lib/components/Detail/components/Table/components/TableRows/components/CollapsableRows/collapsableRows.d.ts +1 -2
- package/lib/components/Detail/components/Table/components/TableRows/tableRows.d.ts +1 -2
- package/lib/components/Detail/components/Table/table.d.ts +1 -2
- package/lib/components/Detail/detail.stories.d.ts +4 -2
- package/lib/components/Error/error.d.ts +0 -1
- package/lib/components/Error/error.js +1 -1
- package/lib/components/Error/error.stories.d.ts +3 -3
- package/lib/components/Error/error.styles.d.ts +11 -12
- package/lib/components/ErrorBoundary/errorBoundary.d.ts +1 -1
- package/lib/components/Export/common/entities.d.ts +2 -2
- package/lib/components/Export/components/DownloadCurlCommand/components/DownloadCurlCommandForm/downloadCurlCommandForm.styles.d.ts +1 -2
- package/lib/components/Export/components/ExportForm/common/entities.d.ts +2 -2
- package/lib/components/Export/components/ExportForm/components/ExportFileSummaryForm/exportFileSummaryForm.d.ts +0 -1
- package/lib/components/Export/components/ExportForm/components/ExportFileSummaryForm/exportFileSummaryForm.js +1 -1
- package/lib/components/Export/components/ExportForm/components/ExportManifestDownloadFormatForm/exportManifestDownloadFormatForm.d.ts +0 -1
- package/lib/components/Export/components/ExportForm/components/ExportSpeciesForm/exportSpeciesForm.d.ts +0 -1
- package/lib/components/Export/components/ExportForm/exportForm.d.ts +3 -3
- package/lib/components/Export/components/ExportForm/exportForm.styles.d.ts +11 -40
- package/lib/components/Export/components/ExportMethod/exportMethod.stories.d.ts +4 -2
- package/lib/components/Export/components/ExportMethod/exportMethod.styles.d.ts +3 -4
- package/lib/components/Export/components/ExportSummary/components/ExportCurrentQuery/exportCurrentQuery.d.ts +1 -2
- package/lib/components/Export/components/ExportSummary/components/ExportSelectedDataSummary/exportSelectedDataSummary.d.ts +2 -2
- package/lib/components/Export/components/ExportSummary/exportSummary.styles.d.ts +4 -5
- package/lib/components/Export/components/ExportToTerra/components/ExportToTerraForm/exportToTerraForm.d.ts +0 -1
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/formStep.styles.d.ts +3 -4
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/NIHAccountExpiryWarning/nihAccountExpiryWarning.d.ts +0 -1
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/terraSetUpForm.d.ts +0 -1
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/terraSetUpForm.styles.d.ts +8 -9
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/components/FileManifestDownload/fileManifestDownload.d.ts +0 -1
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/components/FileManifestSpreadsheet/fileManifestSpreadsheet.d.ts +0 -1
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/manifestDownloadEntity.d.ts +0 -1
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/manifestDownloadEntity.styles.d.ts +6 -11
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadForm/manifestDownloadForm.d.ts +0 -1
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadReady/manifestDownloadReady.styles.d.ts +1 -1
- package/lib/components/Export/export.styles.d.ts +13 -14
- package/lib/components/Filter/common/entities.d.ts +3 -3
- package/lib/components/Filter/components/ClearAllFilters/clearAllFilters.d.ts +0 -1
- package/lib/components/Filter/components/Filter/filter.stories.d.ts +4 -2
- package/lib/components/Filter/components/Filter/filter.styles.d.ts +2 -2
- package/lib/components/Filter/components/FilterLabel/filterLabel.stories.d.ts +4 -2
- package/lib/components/Filter/components/FilterLabel/filterLabel.styles.d.ts +4 -35
- package/lib/components/Filter/components/FilterList/filterList.styles.d.ts +4 -12
- package/lib/components/Filter/components/FilterMenu/filterMenu.d.ts +0 -1
- package/lib/components/Filter/components/FilterMenu/filterMenu.stories.d.ts +4 -2
- package/lib/components/Filter/components/FilterMenu/filterMenu.styles.d.ts +8 -41
- package/lib/components/Filter/components/FilterMenuSearch/filterMenuSearch.d.ts +0 -1
- package/lib/components/Filter/components/FilterMenuSearch/filterMenuSearch.styles.d.ts +1 -1
- package/lib/components/Filter/components/FilterNoResultsFound/filterNoResultsFound.d.ts +1 -1
- package/lib/components/Filter/components/FilterNoResultsFound/filterNoResultsFound.styles.d.ts +2 -3
- package/lib/components/Filter/components/FilterTag/filterTag.d.ts +0 -1
- package/lib/components/Filter/components/FilterTag/filterTag.stories.d.ts +4 -2
- package/lib/components/Filter/components/FilterTag/filterTag.styles.d.ts +4 -21
- package/lib/components/Filter/components/FilterTags/filterTags.d.ts +0 -1
- package/lib/components/Filter/components/FilterTags/filterTags.stories.d.ts +4 -2
- package/lib/components/Filter/components/FilterTags/filterTags.styles.d.ts +2 -3
- package/lib/components/Filter/components/Filters/filters.d.ts +0 -1
- package/lib/components/Filter/components/Filters/filters.stories.d.ts +3 -3
- package/lib/components/Filter/components/Filters/filters.styles.d.ts +4 -5
- package/lib/components/Filter/components/HighlightedLabel/highlightedLabel.d.ts +0 -1
- package/lib/components/Filter/components/HighlightedLabel/highlightedLabel.styles.d.ts +2 -3
- package/lib/components/Filter/components/SearchAllFilters/common/constants.d.ts +2 -2
- package/lib/components/Filter/components/SearchAllFilters/common/entites.d.ts +2 -2
- package/lib/components/Filter/components/SearchAllFilters/components/AutocompletePopper/autocompletePopper.styles.d.ts +2 -12
- package/lib/components/Filter/components/SearchAllFilters/components/VariableSizeList/VariableSizeList.d.ts +1 -1
- package/lib/components/Filter/components/SearchAllFilters/searchAllFilters.stories.d.ts +3 -3
- package/lib/components/Filter/components/SearchAllFiltersSearch/components/SearchCloseButton/searchCloseButton.d.ts +0 -1
- package/lib/components/Filter/components/SearchAllFiltersSearch/searchAllFiltersSearch.d.ts +0 -1
- package/lib/components/Filter/components/SearchAllFiltersSearch/searchAllFiltersSearch.styles.d.ts +1 -1
- package/lib/components/Filter/components/VariableSizeList/VariableSizeList.d.ts +1 -2
- package/lib/components/Head/head.d.ts +0 -1
- package/lib/components/Index/components/AzulFileDownload/azulFileDownload.d.ts +0 -1
- package/lib/components/Index/components/AzulFileDownload/azulFileDownload.js +20 -51
- package/lib/components/Index/components/AzulFileDownload/azulFileDownload.stories.d.ts +4 -2
- package/lib/components/Index/components/AzulFileDownload/azulFileDownload.styles.d.ts +1 -1
- package/lib/components/Index/components/AzulFileDownload/common/constants.d.ts +3 -0
- package/lib/components/Index/components/AzulFileDownload/common/constants.js +3 -0
- package/lib/components/Index/components/Cell/cell.d.ts +0 -1
- package/lib/components/Index/components/Hero/components/ExportButton/exportButton.d.ts +0 -1
- package/lib/components/Index/components/Hero/components/ExportButton/exportButton.styles.d.ts +1 -2
- package/lib/components/Index/components/Hero/components/Summaries/summaries.stories.d.ts +4 -2
- package/lib/components/Index/components/Hero/components/Summaries/summaries.styles.d.ts +3 -4
- package/lib/components/Index/components/Hero/hero.stories.d.ts +4 -2
- package/lib/components/Index/components/Hero/hero.styles.d.ts +6 -7
- package/lib/components/Index/components/NTag/components/Tooltip/tooltip.d.ts +0 -1
- package/lib/components/Index/components/NTag/components/Tooltip/tooltip.styles.d.ts +2 -3
- package/lib/components/Index/components/NTagCell/nTagCell.d.ts +1 -2
- package/lib/components/Index/components/NTagCell/nTagCell.stories.d.ts +4 -2
- package/lib/components/Index/components/Tabs/tabs.d.ts +0 -1
- package/lib/components/Index/components/TitleCell/titleCell.styles.d.ts +1 -1
- package/lib/components/Index/index.stories.d.ts +3 -3
- package/lib/components/Index/index.styles.d.ts +2 -3
- package/lib/components/Layout/components/AppLayout/appLayout.styles.d.ts +2 -3
- package/lib/components/Layout/components/BackPage/backPageView.js +1 -1
- package/lib/components/Layout/components/BackPage/backPageView.stories.d.ts +4 -2
- package/lib/components/Layout/components/BackPage/backPageView.styles.d.ts +22 -23
- package/lib/components/Layout/components/BackPage/components/BackPageHero/backPageHero.d.ts +2 -1
- package/lib/components/Layout/components/BackPage/components/BackPageHero/backPageHero.js +3 -2
- package/lib/components/Layout/components/BackPage/components/BackPageHero/backPageHero.stories.d.ts +3 -3
- package/lib/components/Layout/components/BackPage/components/BackPageHero/backPageHero.styles.d.ts +7 -15
- package/lib/components/Layout/components/BackPage/components/BackPageHero/backPageHero.styles.js +3 -3
- package/lib/components/Layout/components/BackPage/components/BackPageHero/components/Actions/actions.d.ts +6 -0
- package/lib/components/Layout/components/BackPage/components/BackPageHero/components/Actions/actions.js +5 -0
- package/lib/components/Layout/components/BackPage/components/BackPageHero/components/Actions/actions.styles.d.ts +4 -0
- package/lib/components/Layout/components/BackPage/components/BackPageHero/components/Actions/actions.styles.js +13 -0
- package/lib/components/Layout/components/ContentLayout/common/entities.d.ts +1 -1
- package/lib/components/Layout/components/ContentLayout/contentLayout.styles.d.ts +16 -17
- package/lib/components/Layout/components/Floating/floating.d.ts +0 -1
- package/lib/components/Layout/components/Footer/footer.stories.d.ts +3 -3
- package/lib/components/Layout/components/Footer/footer.styles.d.ts +6 -6
- package/lib/components/Layout/components/Header/common/entities.d.ts +3 -2
- package/lib/components/Layout/components/Header/common/utils.d.ts +9 -1
- package/lib/components/Layout/components/Header/common/utils.js +16 -1
- package/lib/components/Layout/components/Header/components/Announcements/announcements.d.ts +0 -1
- package/lib/components/Layout/components/Header/components/Content/components/Actions/actions.styles.d.ts +2 -3
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.d.ts +0 -1
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.js +1 -1
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.stories.d.ts +4 -2
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.styles.d.ts +16 -79
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/Button/button.styles.d.ts +4 -35
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Menu/components/Content/components/Navigation/navigation.styles.d.ts +2 -3
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Menu/components/Content/components/Socials/socials.styles.d.ts +1 -2
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Menu/menu.js +1 -1
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/Button/button.styles.d.ts +4 -35
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchBar/searchBar.d.ts +0 -1
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchBar/searchBar.styles.d.ts +6 -6
- package/lib/components/Layout/components/Header/components/Content/components/Logo/logo.d.ts +0 -1
- package/lib/components/Layout/components/Header/components/Content/components/Logo/logo.styles.d.ts +1 -1
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationDrawer/navigationDrawer.styles.d.ts +4 -5
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenu/navigationMenu.js +1 -1
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenu/navigationMenu.styles.d.ts +7 -42
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/navigation.styles.d.ts +2 -3
- package/lib/components/Layout/components/Header/components/Content/components/Slogan/slogan.styles.d.ts +6 -17
- package/lib/components/Layout/components/Header/components/Content/components/Socials/socials.styles.d.ts +1 -2
- package/lib/components/Layout/components/Header/components/Content/content.styles.d.ts +2 -3
- package/lib/components/Layout/components/Header/header.stories.d.ts +3 -3
- package/lib/components/Layout/components/Header/header.styles.d.ts +8 -8
- package/lib/components/Layout/components/Header/hooks/useHeaderVisibility.js +2 -1
- package/lib/components/Layout/components/Main/main.styles.d.ts +5 -6
- package/lib/components/Layout/components/Nav/components/NavBarHero/navBarHero.d.ts +0 -1
- package/lib/components/Layout/components/Nav/components/NavBarHero/navBarHero.js +1 -1
- package/lib/components/Layout/components/Nav/components/NavBarHero/navBarHero.styles.d.ts +6 -7
- package/lib/components/Layout/components/Nav/nav.stories.d.ts +3 -3
- package/lib/components/Layout/components/Nav/nav.styles.d.ts +6 -14
- package/lib/components/Layout/components/Outline/components/ContentsTab/contentsTab.d.ts +0 -1
- package/lib/components/Layout/components/Outline/components/ContentsTab/contentsTab.styles.d.ts +4 -32
- package/lib/components/Layout/components/Outline/outline.styles.d.ts +9 -104
- package/lib/components/Layout/components/Sidebar/components/SidebarButton/sidebarButton.styles.d.ts +3 -4
- package/lib/components/Layout/components/Sidebar/components/SidebarDrawer/sidebarDrawer.styles.d.ts +2 -2
- package/lib/components/Layout/components/Sidebar/components/SidebarLabel/sidebarLabel.d.ts +0 -1
- package/lib/components/Layout/components/Sidebar/components/SidebarLabel/sidebarLabel.stories.d.ts +4 -2
- package/lib/components/Layout/components/Sidebar/components/SidebarPositioner/sidebarPositioner.styles.d.ts +2 -3
- package/lib/components/Layout/components/Sidebar/components/SidebarTools/sidebarTools.styles.d.ts +2 -3
- package/lib/components/Layout/components/Sidebar/sidebar.stories.d.ts +3 -3
- package/lib/components/Layout/components/Sidebar/sidebar.styles.d.ts +2 -3
- package/lib/components/Links/common/entities.d.ts +3 -4
- package/lib/components/Links/components/Link/components/ExploreViewLink/exploreViewLink.d.ts +0 -1
- package/lib/components/Links/links.stories.d.ts +4 -2
- package/lib/components/Loading/loading.d.ts +1 -2
- package/lib/components/Loading/loading.stories.d.ts +4 -2
- package/lib/components/Loading/loading.styles.d.ts +3 -4
- package/lib/components/Login/login.stories.d.ts +3 -3
- package/lib/components/Login/login.styles.d.ts +16 -17
- package/lib/components/NoResults/noResults.styles.d.ts +6 -7
- package/lib/components/Project/common/entities.d.ts +3 -3
- package/lib/components/Project/components/Citation/citation.d.ts +0 -1
- package/lib/components/Project/components/Citation/citation.stories.d.ts +1 -1
- package/lib/components/Project/components/Citation/citation.styles.d.ts +4 -5
- package/lib/components/Project/components/CollaboratingOrganizations/collaboratingOrganizations.d.ts +0 -1
- package/lib/components/Project/components/CollaboratingOrganizations/collaboratingOrganizations.stories.d.ts +4 -2
- package/lib/components/Project/components/Contacts/contacts.d.ts +0 -1
- package/lib/components/Project/components/Contacts/contacts.stories.d.ts +4 -2
- package/lib/components/Project/components/Contributors/contributors.d.ts +0 -1
- package/lib/components/Project/components/Contributors/contributors.stories.d.ts +4 -2
- package/lib/components/Project/components/DataCurators/dataCurators.d.ts +0 -1
- package/lib/components/Project/components/DataCurators/dataCurators.stories.d.ts +4 -2
- package/lib/components/Project/components/DataReleasePolicy/dataReleasePolicy.d.ts +0 -1
- package/lib/components/Project/components/DataReleasePolicy/dataReleasePolicy.stories.d.ts +4 -2
- package/lib/components/Project/components/Description/description.d.ts +0 -1
- package/lib/components/Project/components/Description/description.stories.d.ts +4 -2
- package/lib/components/Project/components/Details/details.d.ts +0 -1
- package/lib/components/Project/components/Details/details.stories.d.ts +4 -2
- package/lib/components/Project/components/Publications/publications.d.ts +0 -1
- package/lib/components/Project/components/Publications/publications.stories.d.ts +4 -2
- package/lib/components/Project/components/Sup/sup.styles.d.ts +2 -3
- package/lib/components/Project/components/SupplementaryLinks/supplementaryLinks.d.ts +0 -1
- package/lib/components/Project/components/SupplementaryLinks/supplementaryLinks.js +1 -1
- package/lib/components/Project/components/SupplementaryLinks/supplementaryLinks.stories.d.ts +4 -2
- package/lib/components/Project/components/SupplementaryLinks/supplementaryLinks.styles.d.ts +6 -7
- package/lib/components/Redirect/redirect.d.ts +0 -1
- package/lib/components/Support/components/SupportRequest/components/Dialog/dialog.styles.d.ts +5 -33
- package/lib/components/Support/components/SupportRequest/components/SupportRequestForm/common/constants.js +2 -2
- package/lib/components/Support/components/SupportRequest/components/SupportRequestForm/common/entities.d.ts +4 -4
- package/lib/components/Support/components/SupportRequest/components/SupportRequestForm/common/utils.d.ts +1 -1
- package/lib/components/Support/components/SupportRequest/components/SupportRequestForm/supportRequestForm.styles.d.ts +5 -6
- package/lib/components/Support/components/SupportRequest/components/SupportRequestSubmitted/supportRequestSubmitted.js +1 -1
- package/lib/components/Support/components/SupportRequest/supportRequest.d.ts +0 -1
- package/lib/components/Support/components/ViewSupport/viewSupport.styles.d.ts +2 -3
- package/lib/components/Table/common/gridTable.styles.d.ts +4 -12
- package/lib/components/Table/common/utils.d.ts +2 -2
- package/lib/components/Table/common/utils.js +17 -11
- package/lib/components/Table/components/CheckboxMenu/checkboxMenu.d.ts +2 -3
- package/lib/components/Table/components/CheckboxMenu/checkboxMenu.stories.d.ts +4 -2
- package/lib/components/Table/components/CheckboxMenu/checkboxMenu.styles.d.ts +1 -1
- package/lib/components/Table/components/DownloadEntityResults/downloadEntityResults.d.ts +1 -2
- package/lib/components/Table/components/Pagination/pagination.d.ts +0 -1
- package/lib/components/Table/components/Pagination/pagination.stories.d.ts +4 -2
- package/lib/components/Table/components/Pagination/pagination.styles.d.ts +2 -3
- package/lib/components/Table/components/PaginationSummary/paginationSummary.d.ts +0 -1
- package/lib/components/Table/components/TableBody/tableBody.d.ts +1 -2
- package/lib/components/Table/components/TableCell/components/CollapsableCell/collapsableCell.d.ts +1 -2
- package/lib/components/Table/components/TableCell/components/CollapsableCell/collapsableCell.styles.d.ts +7 -8
- package/lib/components/Table/components/TableCell/components/NTagCell/components/NTag/components/Tooltip/tooltip.d.ts +0 -1
- package/lib/components/Table/components/TableCell/components/NTagCell/components/NTag/components/Tooltip/tooltip.styles.d.ts +2 -3
- package/lib/components/Table/components/TableCell/components/NTagCell/nTagCell.d.ts +1 -2
- package/lib/components/Table/components/TableCell/components/RowSelectionCell/rowSelectionCell.d.ts +1 -2
- package/lib/components/Table/components/TableHead/components/HeadSelectionCell/headSelectionCell.d.ts +1 -2
- package/lib/components/Table/components/TableHead/tableHead.d.ts +1 -2
- package/lib/components/Table/components/TableRow/tableRow.styles.d.ts +4 -11
- package/lib/components/Table/components/TableRows/components/CollapsableRows/collapsableRows.d.ts +1 -2
- package/lib/components/Table/components/TableRows/components/VirtualizedRow/virtualizedRow.d.ts +0 -1
- package/lib/components/Table/components/TableRows/tableRows.d.ts +1 -2
- package/lib/components/Table/components/TableToolbar/components/RowPreview/components/RowDrawer/rowDrawer.d.ts +1 -1
- package/lib/components/Table/components/TableToolbar/components/RowPreview/components/RowDrawer/rowDrawer.styles.d.ts +2 -2
- package/lib/components/Table/components/TableToolbar/components/RowPreview/components/Section/components/RowDetail/rowDetail.d.ts +1 -2
- package/lib/components/Table/components/TableToolbar/components/RowPreview/components/Section/components/RowDetail/rowDetail.styles.d.ts +2 -3
- package/lib/components/Table/components/TableToolbar/components/RowPreview/components/Section/section.styles.d.ts +2 -3
- package/lib/components/Table/components/TableToolbar/components/RowPreview/rowPreview.d.ts +1 -2
- package/lib/components/Table/components/TableToolbar/components/RowSelection/components/DropdownMenu/dropdownMenu.d.ts +0 -1
- package/lib/components/Table/components/TableToolbar/components/RowSelection/components/DropdownMenu/dropdownMenu.styles.d.ts +1 -1
- package/lib/components/Table/components/TableToolbar/components/RowSelection/rowSelection.d.ts +1 -2
- package/lib/components/Table/components/TableToolbar/components/RowSelection/rowSelection.styles.d.ts +2 -3
- package/lib/components/Table/components/TableToolbar/tableToolbar.d.ts +1 -2
- package/lib/components/Table/components/TableToolbar/tableToolbar.styles.d.ts +3 -2
- package/lib/components/Table/features/RowPreview/entities.d.ts +1 -1
- package/lib/components/Table/features/entities.d.ts +5 -5
- package/lib/components/Table/table.d.ts +2 -3
- package/lib/components/Table/table.js +4 -4
- package/lib/components/Table/table.styles.d.ts +4 -12
- package/lib/components/TableCreator/tableCreator.d.ts +2 -3
- package/lib/components/TableCreator/tableCreator.styles.d.ts +2 -3
- package/lib/components/TempError/components/errorBox.d.ts +0 -1
- package/lib/components/TempError/tempError.d.ts +0 -1
- package/lib/components/common/Accordion/accordion.js +1 -1
- package/lib/components/common/Accordion/accordion.stories.d.ts +3 -3
- package/lib/components/common/Alert/alert.js +1 -1
- package/lib/components/common/Alert/alert.stories.d.ts +3 -3
- package/lib/components/common/Alert/alert.styles.d.ts +2 -2
- package/lib/components/common/Alert/components/AlertText/alertText.styles.d.ts +2 -3
- package/lib/components/common/AnchorLink/anchorLink.d.ts +0 -1
- package/lib/components/common/AnchorLink/anchorLink.styles.d.ts +23 -25
- package/lib/components/common/Banner/components/BannerPrimary/bannerPrimary.styles.d.ts +1 -1
- package/lib/components/common/Banner/components/CookieBanner/cookieBanner.styles.d.ts +1 -2
- package/lib/components/common/Banner/components/DismissibleBanner/dismissibleBanner.js +1 -1
- package/lib/components/common/Banner/components/SessionTimeout/sessionTimeout.styles.d.ts +1 -1
- package/lib/components/common/Breadcrumbs/breadcrumbs.js +1 -1
- package/lib/components/common/Breadcrumbs/breadcrumbs.stories.d.ts +6 -4
- package/lib/components/common/Button/components/ButtonOutline/buttonOutline.styles.d.ts +1 -2
- package/lib/components/common/Button/components/ButtonText/buttonText.d.ts +0 -1
- package/lib/components/common/Button/components/ButtonText/buttonText.styles.d.ts +1 -2
- package/lib/components/common/Button/components/ButtonTextPrimary/buttonTextPrimary.d.ts +0 -1
- package/lib/components/common/Button/components/ButtonTextPrimary/buttonTextPrimary.styles.d.ts +1 -2
- package/lib/components/common/Button/components/ButtonTextUnderline/buttonTextUnderline.d.ts +0 -1
- package/lib/components/common/Button/components/ButtonTextUnderline/buttonTextUnderline.styles.d.ts +1 -2
- package/lib/components/common/Button/components/CallToActionButton/callToActionButton.d.ts +3 -1
- package/lib/components/common/Button/components/CallToActionButton/callToActionButton.js +2 -2
- package/lib/components/common/Button/components/CallToActionButton/callToActionButton.stories.d.ts +5 -3
- package/lib/components/common/Button/components/DropdownButton/dropdownButton.d.ts +0 -1
- package/lib/components/common/Button/components/DropdownButton/dropdownButton.styles.d.ts +1 -2
- package/lib/components/common/Button/components/FileDownloadButton/fileDownloadButton.d.ts +0 -1
- package/lib/components/common/Button/components/HelpIconButton/helpIconButton.d.ts +0 -1
- package/lib/components/common/Button/components/HelpIconButton/helpIconButton.stories.d.ts +1 -1
- package/lib/components/common/Button/components/HelpIconButton/helpIconButton.styles.d.ts +2 -1
- package/lib/components/common/Button/components/LoginButton/loginButton.d.ts +1 -2
- package/lib/components/common/Button/components/LoginButton/loginButton.styles.d.ts +3 -4
- package/lib/components/common/Button/components/NavigationButton/navigationButton.d.ts +0 -1
- package/lib/components/common/Button/components/NavigationButton/navigationButton.styles.d.ts +1 -2
- package/lib/components/common/Card/card.stories.d.ts +3 -3
- package/lib/components/common/Card/card.styles.d.ts +5 -6
- package/lib/components/common/Card/components/CardAction/cardAction.d.ts +0 -1
- package/lib/components/common/Card/components/CardActions/cardActions.styles.d.ts +2 -3
- package/lib/components/common/Card/components/CardMedia/cardMedia.d.ts +0 -1
- package/lib/components/common/Card/components/CardMedia/cardMedia.styles.d.ts +2 -3
- package/lib/components/common/Card/components/CardSecondaryTitle/cardSecondaryTitle.styles.d.ts +3 -4
- package/lib/components/common/Code/code.d.ts +0 -1
- package/lib/components/common/Code/code.stories.d.ts +4 -3
- package/lib/components/common/Code/code.styles.d.ts +2 -3
- package/lib/components/common/CopyToClipboard/copyToClipboard.d.ts +0 -1
- package/lib/components/common/CopyToClipboard/copyToClipboard.stories.d.ts +3 -3
- package/lib/components/common/CustomIcon/components/AddIcon/addIcon.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/AddLinkIcon/addLinkIcon.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/AlertIcon/alertIcon.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/BackArrowIcon/backArrowIcon.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/CheckedIcon/checkedIcon.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/ContactSupportIcon/contactSupportIcon.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/ContentCopyIcon/contentCopyIcon.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/DiscourseIcon/discourseIcon.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/DownloadIcon/downloadIcon.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/EmailReadIcon/emailReadIcon.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/ErrorIcon/errorIcon.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/FacebookIcon/facebookIcon.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/FeedbackIcon/feedbackIcon.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/FormStatusCompletedIcon/formStatusCompletedIcon.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/FormStatusIncompleteIcon/formStatusIncompleteIcon.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/ForwardArrowIcon/forwardArrowIcon.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/GitHubIcon/gitHubIcon.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/GoogleIcon/googleIcon.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/HelpIcon/helpIcon.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/InProgressIcon/inProgressIcon.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/IndeterminateIcon/indeterminateIcon.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/InfoIcon/infoIcon.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/InventoryIcon/inventoryIcon.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/LinkedInIcon/linkedInIcon.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/LoadingIcon/loadingIcon.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/OpenInNewIcon/openInNewIcon.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/RadioCheckedIcon/radioCheckedIcon.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/RadioUncheckedIcon/radioUncheckedIcon.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/RemoveIcon/removeIcon.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/SearchIcon/searchIcon.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/SearchOffIcon/searchOffIcon.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/Segment/segment.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/SlackIcon/slackIcon.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/SouthIcon/southIcon.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/SuccessIcon/successIcon.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/UnLinkIcon/unLinkIcon.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/UncheckedErrorIcon/uncheckedErrorIcon.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/UncheckedIcon/uncheckedIcon.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/UnfoldMoreIcon/unfoldMoreIcon.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/WarningIcon/warningIcon.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/XIcon/xIcon.d.ts +0 -1
- package/lib/components/common/CustomIcon/components/YouTubeIcon/youTubeIcon.d.ts +0 -1
- package/lib/components/common/Dialog/components/DialogTitle/dialogTitle.js +1 -1
- package/lib/components/common/Dot/dot.d.ts +0 -1
- package/lib/components/common/Dot/dot.styles.d.ts +2 -3
- package/lib/components/common/Drawer/components/DrawerTitle/drawerTitle.styles.d.ts +2 -3
- package/lib/components/common/Drawer/components/drawer.styles.d.ts +2 -3
- package/lib/components/common/DropdownMenu/common/entities.d.ts +2 -2
- package/lib/components/common/DropdownMenu/dropdownMenu.styles.d.ts +1 -1
- package/lib/components/common/EllipsisContent/ellipsisContent.styles.d.ts +3 -4
- package/lib/components/common/Form/components/Input/input.d.ts +0 -1
- package/lib/components/common/Form/components/Input/input.styles.d.ts +4 -19
- package/lib/components/common/Form/components/Select/components/DropDownIcon/dropDownIcon.d.ts +0 -1
- package/lib/components/common/Form/components/Select/select.d.ts +2 -2
- package/lib/components/common/Form/components/Select/select.styles.d.ts +4 -19
- package/lib/components/common/Form/components/UploadFile/uploadFile.d.ts +0 -1
- package/lib/components/common/Form/components/UploadFile/uploadFile.styles.d.ts +6 -39
- package/lib/components/common/IconBadge/iconBadge.d.ts +1 -1
- package/lib/components/common/IconBadge/iconBadge.styles.d.ts +2 -3
- package/lib/components/common/IconButton/iconButton.styles.d.ts +4 -30
- package/lib/components/common/Input/input.styles.d.ts +5 -20
- package/lib/components/common/KeyValuePairs/keyValuePairs.d.ts +5 -5
- package/lib/components/common/MDXMarkdown/components/Section/mdxSection.styles.d.ts +2 -3
- package/lib/components/common/Markdown/markdown.d.ts +3 -2
- package/lib/components/common/Markdown/markdown.js +3 -2
- package/lib/components/common/Paper/paper.d.ts +1 -1
- package/lib/components/common/Paper/paper.styles.d.ts +5 -6
- package/lib/components/common/Paper/paper.styles.js +1 -1
- package/lib/components/common/Progress/components/CircularProgress/circularProgress.styles.d.ts +2 -3
- package/lib/components/common/Progress/components/CircularProgress/components/CircularProgressTrack/circularProgressTrack.d.ts +0 -1
- package/lib/components/common/Progress/components/CircularProgress/components/CircularProgressTrack/circularProgressTrack.styles.d.ts +1 -1
- package/lib/components/common/RadioGroup/radioGroup.d.ts +3 -4
- package/lib/components/common/Section/components/CollapsableSection/collapsableSection.styles.d.ts +8 -40
- package/lib/components/common/Section/components/SectionDetailsEmpty/sectionDetailsEmpty.d.ts +0 -1
- package/lib/components/common/Section/components/SectionTitle/sectionTitle.d.ts +0 -1
- package/lib/components/common/Section/components/SectionTitle/sectionTitle.stories.d.ts +4 -2
- package/lib/components/common/Section/section.styles.d.ts +17 -17
- package/lib/components/common/Socials/socials.stories.d.ts +3 -4
- package/lib/components/common/Socials/socials.styles.d.ts +4 -4
- package/lib/components/common/Stack/components/Divider/divider.styles.d.ts +2 -11
- package/lib/components/common/StaticImage/staticImage.d.ts +1 -2
- package/lib/components/common/StaticImage/staticImage.stories.d.ts +4 -2
- package/lib/components/common/StatusBadge/statusBadge.d.ts +1 -1
- package/lib/components/common/StatusBadge/statusBadge.stories.d.ts +3 -4
- package/lib/components/common/StatusIcon/statusIcon.d.ts +1 -1
- package/lib/components/common/StatusIcon/statusIcon.stories.d.ts +4 -2
- package/lib/components/common/StatusIcon/statusIcon.styles.d.ts +2 -3
- package/lib/components/common/Tabs/tabs.d.ts +3 -3
- package/lib/components/common/Tabs/tabs.styles.d.ts +6 -34
- package/lib/components/common/Tag/tag.stories.d.ts +4 -2
- package/lib/components/common/Tag/tag.styles.d.ts +2 -2
- package/lib/components/common/Title/title.d.ts +1 -1
- package/lib/components/common/Title/title.styles.d.ts +2 -1
- package/lib/components/common/ToggleButtonGroup/toggleButtonGroup.d.ts +2 -3
- package/lib/components/common/ToggleButtonGroup/toggleButtonGroup.stories.d.ts +4 -2
- package/lib/components/common/Typography/common/entities.d.ts +1 -1
- package/lib/config/entities.d.ts +16 -16
- package/lib/entity/api/service.d.ts +3 -2
- package/lib/entity/apicf/service.d.ts +1 -1
- package/lib/entity/common/service.d.ts +2 -2
- package/lib/entity/service/model.d.ts +1 -1
- package/lib/hooks/useAsync.d.ts +1 -1
- package/lib/hooks/useAuthentication/common/entities.d.ts +1 -1
- package/lib/hooks/useAuthentication/useFetchGoogleProfile.d.ts +3 -3
- package/lib/hooks/useAuthentication/useFetchTerraNIHProfile.d.ts +2 -2
- package/lib/hooks/useAuthentication/useFetchTerraProfile.d.ts +2 -2
- package/lib/hooks/useAuthentication/useFetchTerraTermsOfService.d.ts +2 -2
- package/lib/hooks/useAuthentication/useTokenClient.d.ts +1 -1
- package/lib/hooks/useBreakpoint.d.ts +1 -1
- package/lib/hooks/useBreakpointHelper.d.ts +2 -2
- package/lib/hooks/useCategoryFilter.d.ts +2 -2
- package/lib/hooks/useCurrentBreakpoint.d.ts +1 -1
- package/lib/hooks/useEntityService.d.ts +1 -1
- package/lib/hooks/useExploreMode.d.ts +1 -1
- package/lib/hooks/useExportToTerraResponseURL.d.ts +1 -1
- package/lib/hooks/useFetchEntity.d.ts +1 -1
- package/lib/hooks/useFileLocation.d.ts +7 -1
- package/lib/hooks/useFileLocation.js +13 -14
- package/lib/hooks/useFileManifest/common/entities.d.ts +4 -4
- package/lib/hooks/useFileManifest/useFileManifest.d.ts +1 -1
- package/lib/hooks/useFileManifest/useRequestFileManifest.d.ts +1 -1
- package/lib/hooks/useRequestFileLocation.d.ts +2 -2
- package/lib/hooks/useResizeObserver.d.ts +1 -1
- package/lib/hooks/useScroll.d.ts +2 -2
- package/lib/providers/authentication.d.ts +2 -2
- package/lib/providers/config.d.ts +1 -1
- package/lib/providers/exploreState/entities.d.ts +4 -4
- package/lib/providers/exploreState/initializer/utils.js +1 -1
- package/lib/providers/exploreState/payloads/entities.d.ts +6 -6
- package/lib/providers/exploreState.d.ts +20 -20
- package/lib/providers/fileManifestState.d.ts +12 -12
- package/lib/providers/layoutState.d.ts +4 -4
- package/lib/theme/common/breakpoints.d.ts +4 -4
- package/lib/theme/common/components.js +8 -8
- package/lib/theme/common/palette.d.ts +33 -127
- package/lib/theme/common/palette.js +57 -69
- package/lib/types/error.d.ts +1 -1
- package/lib/utils/tests.d.ts +12 -0
- package/lib/utils/tests.js +17 -0
- package/lib/viewModelBuilders/common/entities.d.ts +1 -1
- package/lib/views/ContentView/contentView.stories.d.ts +3 -3
- package/lib/views/EntityDetailView/entityDetailView.d.ts +0 -1
- package/lib/views/ExploreView/exploreView.d.ts +0 -1
- package/lib/views/ExportMethodView/exportMethodView.d.ts +0 -1
- package/lib/views/ExportView/exportView.d.ts +1 -2
- package/lib/views/LoginView/loginView.d.ts +0 -1
- package/package.json +16 -14
- package/src/apis/azul/common/constants.ts +0 -5
- package/src/apis/azul/common/filterTransformer.ts +1 -1
- package/src/common/analytics/analytics.ts +1 -1
- package/src/common/analytics/readme-analytics.md +15 -0
- package/src/components/Detail/components/Table/table.tsx +1 -1
- package/src/components/Error/error.tsx +1 -1
- package/src/components/Export/components/DownloadCurlCommand/downloadCurlCommand.tsx +1 -1
- package/src/components/Export/components/ExportForm/components/ExportFileSummaryForm/exportFileSummaryForm.tsx +1 -1
- package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/terraSetUpForm.tsx +1 -1
- package/src/components/Filter/components/SearchAllFilters/components/VariableSizeList/VariableSizeList.tsx +1 -1
- package/src/components/Filter/components/VariableSizeList/VariableSizeList.tsx +1 -1
- package/src/components/Index/components/AzulFileDownload/azulFileDownload.tsx +44 -63
- package/src/components/Index/components/AzulFileDownload/common/constants.ts +4 -0
- package/src/components/Index/components/NTag/components/Tooltip/tooltip.tsx +1 -1
- package/src/components/Layout/components/BackPage/backPageView.tsx +1 -1
- package/src/components/Layout/components/BackPage/components/BackPageHero/backPageHero.styles.ts +3 -3
- package/src/components/Layout/components/BackPage/components/BackPageHero/backPageHero.tsx +5 -1
- package/src/components/Layout/components/BackPage/components/BackPageHero/components/Actions/actions.styles.ts +14 -0
- package/src/components/Layout/components/BackPage/components/BackPageHero/components/Actions/actions.tsx +13 -0
- package/src/components/Layout/components/Header/common/entities.ts +1 -0
- package/src/components/Layout/components/Header/common/utils.ts +23 -1
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.tsx +1 -1
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Menu/menu.tsx +1 -1
- package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenu/navigationMenu.tsx +2 -2
- package/src/components/Layout/components/Header/hooks/useHeaderVisibility.ts +3 -1
- package/src/components/Layout/components/Nav/components/NavBarHero/navBarHero.tsx +2 -2
- package/src/components/Layout/components/Outline/outline.styles.ts +1 -1
- package/src/components/Loading/loading.styles.ts +1 -1
- package/src/components/Loading/loading.tsx +1 -1
- package/src/components/Project/components/SupplementaryLinks/supplementaryLinks.tsx +1 -1
- package/src/components/Support/components/SupportRequest/components/SupportRequestForm/common/constants.ts +1 -1
- package/src/components/Support/components/SupportRequest/components/SupportRequestForm/common/utils.ts +1 -1
- package/src/components/Support/components/SupportRequest/components/SupportRequestForm/supportRequestForm.tsx +1 -1
- package/src/components/Support/components/SupportRequest/components/SupportRequestSubmitted/supportRequestSubmitted.tsx +1 -1
- package/src/components/Table/common/utils.ts +17 -15
- package/src/components/Table/components/TableCell/components/NTagCell/components/NTag/components/Tooltip/tooltip.tsx +1 -1
- package/src/components/common/Accordion/accordion.tsx +2 -2
- package/src/components/common/Alert/alert.tsx +1 -1
- package/src/components/common/Banner/components/CookieBanner/cookieBanner.tsx +1 -1
- package/src/components/common/Banner/components/DismissibleBanner/dismissibleBanner.tsx +1 -1
- package/src/components/common/Breadcrumbs/breadcrumbs.tsx +1 -1
- package/src/components/common/Button/components/CallToActionButton/callToActionButton.tsx +5 -0
- package/src/components/common/Code/code.tsx +1 -1
- package/src/components/common/CopyToClipboard/copyToClipboard.tsx +1 -1
- package/src/components/common/Dialog/components/DialogTitle/dialogTitle.tsx +1 -1
- package/src/components/common/Form/components/Input/input.tsx +1 -1
- package/src/components/common/Form/components/Select/select.tsx +2 -2
- package/src/components/common/IconBadge/iconBadge.styles.ts +1 -1
- package/src/components/common/Markdown/markdown.tsx +8 -2
- package/src/components/common/Section/components/CollapsableSection/collapsableSection.tsx +1 -1
- package/src/components/common/Stack/components/Divider/divider.styles.tsx +1 -1
- package/src/entity/api/service.ts +1 -1
- package/src/hooks/useCurrentBreakpoint.ts +1 -1
- package/src/hooks/useEntityList.ts +1 -1
- package/src/hooks/useEntityService.ts +1 -1
- package/src/hooks/useFileLocation.ts +16 -14
- package/src/hooks/useFileManifest/useRequestFileManifest.ts +1 -1
- package/src/hooks/useRequestFileLocation.ts +1 -1
- package/src/hooks/useResizeObserver.ts +1 -1
- package/src/hooks/useWindowResize.ts +1 -1
- package/src/theme/common/palette.ts +57 -57
- package/src/utils/tests.ts +19 -0
- package/tests/azulFileDownload.test.tsx +86 -0
- package/tests/useFileLocation.test.ts +32 -0
- package/tsconfig.json +4 -1
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { BreakpointKey } from "../../../../../hooks/useBreakpointHelper";
|
|
2
2
|
import { Social } from "../../../../common/Socials/socials";
|
|
3
3
|
import { NavLinkItem } from "../components/Content/components/Navigation/navigation";
|
|
4
|
-
export
|
|
4
|
+
export type Navigation = [
|
|
5
5
|
NavLinkItem[] | undefined,
|
|
6
6
|
NavLinkItem[] | undefined,
|
|
7
7
|
NavLinkItem[] | undefined
|
|
8
8
|
];
|
|
9
|
-
export
|
|
9
|
+
export type SelectedMatch = SELECTED_MATCH | Partial<Record<BreakpointKey, boolean | SELECTED_MATCH>>;
|
|
10
10
|
export declare enum SELECTED_MATCH {
|
|
11
11
|
EQUALS = "EQUALS",
|
|
12
12
|
STARTS_WITH = "STARTS_WITH"
|
|
13
13
|
}
|
|
14
14
|
export interface SocialMedia {
|
|
15
15
|
socials: Social[];
|
|
16
|
+
visible?: Partial<Record<BreakpointKey, boolean>>;
|
|
16
17
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Breakpoint } from "@mui/material";
|
|
2
|
+
import { UseBreakpoint } from "../../../../../hooks/useBreakpoint";
|
|
2
3
|
import { NavLinkItem } from "../components/Content/components/Navigation/navigation";
|
|
3
|
-
import { Navigation } from "./entities";
|
|
4
|
+
import { Navigation, SocialMedia } from "./entities";
|
|
4
5
|
/**
|
|
5
6
|
* Returns the configured menu navigation links.
|
|
6
7
|
* @param navigation - Navigation links.
|
|
@@ -14,3 +15,10 @@ export declare function getMenuNavigationLinks(navigation?: Navigation): NavLink
|
|
|
14
15
|
* @returns navigation links.
|
|
15
16
|
*/
|
|
16
17
|
export declare function getNavigationLinks(navigationLinks?: NavLinkItem[], breakpoint?: Breakpoint): NavLinkItem[];
|
|
18
|
+
/**
|
|
19
|
+
* Returns true if the social media is visible at the current breakpoint.
|
|
20
|
+
* @param bp - Breakpoint.
|
|
21
|
+
* @param socialMedia - Social media.
|
|
22
|
+
* @returns true.
|
|
23
|
+
*/
|
|
24
|
+
export declare function isSocialsVisible(bp: Pick<UseBreakpoint, "breakpoint" | "lgUp">, socialMedia?: SocialMedia): boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { isClientSideNavigation } from "../../../../Links/common/utils";
|
|
2
|
-
import { SELECTED_MATCH } from "./entities";
|
|
2
|
+
import { SELECTED_MATCH, } from "./entities";
|
|
3
3
|
/**
|
|
4
4
|
* Adds to the set of selected patterns, for the navigation link, at the current breakpoint.
|
|
5
5
|
* @param setOfPatterns - Set of selected patterns.
|
|
@@ -126,6 +126,21 @@ function isLinkVisible(navLinkItem, breakpoint) {
|
|
|
126
126
|
return true; // Default is visible.
|
|
127
127
|
return navLinkItem.visible[breakpoint] !== false;
|
|
128
128
|
}
|
|
129
|
+
/**
|
|
130
|
+
* Returns true if the social media is visible at the current breakpoint.
|
|
131
|
+
* @param bp - Breakpoint.
|
|
132
|
+
* @param socialMedia - Social media.
|
|
133
|
+
* @returns true.
|
|
134
|
+
*/
|
|
135
|
+
export function isSocialsVisible(bp, socialMedia) {
|
|
136
|
+
if (!socialMedia)
|
|
137
|
+
return false;
|
|
138
|
+
if (!bp.breakpoint)
|
|
139
|
+
return false;
|
|
140
|
+
if (!socialMedia.visible)
|
|
141
|
+
return bp.lgUp;
|
|
142
|
+
return socialMedia.visible[bp.breakpoint] !== false;
|
|
143
|
+
}
|
|
129
144
|
/**
|
|
130
145
|
* Returns the navigation link with the selected matches, for the current breakpoint.
|
|
131
146
|
* @param navLinkItem - Navigation link.
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const HeaderActions: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
theme?: import("@emotion/react").Theme
|
|
4
|
-
as?:
|
|
2
|
+
theme?: import("@emotion/react").Theme;
|
|
3
|
+
as?: React.ElementType;
|
|
5
4
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MenuItem } from "@mui/material";
|
|
2
2
|
import React, { useState } from "react";
|
|
3
|
-
import { AuthenticationMenu as Menu,
|
|
3
|
+
import { Avatar, AuthenticationMenu as Menu, UserIcon, UserNames, UserSummary, } from "./authenticationMenu.styles";
|
|
4
4
|
export const AuthenticationMenu = ({ onLogout, userProfile, }) => {
|
|
5
5
|
const [anchorEl, setAnchorEl] = useState(null);
|
|
6
6
|
const open = Boolean(anchorEl);
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { Meta } from "@storybook/react";
|
|
2
|
+
import { AuthenticationMenu } from "./authenticationMenu";
|
|
3
|
+
declare const _default: Meta<typeof AuthenticationMenu>;
|
|
2
4
|
export default _default;
|
|
3
|
-
export declare const AuthenticationMenuStory: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react
|
|
5
|
+
export declare const AuthenticationMenuStory: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./authenticationMenu").AuthenticationMenuProps>;
|
|
@@ -1,86 +1,23 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const AuthenticationMenu: import("@emotion/styled").StyledComponent<import("@mui/material").MenuProps & {
|
|
3
|
-
theme?: import("@emotion/react").Theme
|
|
2
|
+
theme?: import("@emotion/react").Theme;
|
|
4
3
|
}, {}, {}>;
|
|
5
|
-
export declare const UserIcon: import("@emotion/styled").StyledComponent<{
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
disabled?: boolean | undefined;
|
|
10
|
-
disableFocusRipple?: boolean | undefined;
|
|
11
|
-
edge?: false | "end" | "start" | undefined;
|
|
12
|
-
size?: "large" | "medium" | "small" | "xsmall" | "xxsmall" | "xlarge" | undefined;
|
|
13
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
14
|
-
} & Omit<{
|
|
15
|
-
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
16
|
-
centerRipple?: boolean | undefined;
|
|
17
|
-
children?: import("react").ReactNode;
|
|
18
|
-
classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
|
|
19
|
-
disabled?: boolean | undefined;
|
|
20
|
-
disableRipple?: boolean | undefined;
|
|
21
|
-
disableTouchRipple?: boolean | undefined;
|
|
22
|
-
focusRipple?: boolean | undefined;
|
|
23
|
-
focusVisibleClassName?: string | undefined;
|
|
24
|
-
LinkComponent?: import("react").ElementType<any> | undefined;
|
|
25
|
-
onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
|
|
26
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
27
|
-
tabIndex?: number | undefined;
|
|
28
|
-
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
29
|
-
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
30
|
-
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
31
|
-
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
32
|
-
}, keyof import("@mui/material/OverridableComponent").CommonProps | "tabIndex" | "color" | "children" | "sx" | "disabled" | "action" | "size" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge"> & {
|
|
33
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
export declare const UserIcon: import("@emotion/styled").StyledComponent<import("@mui/material").IconButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
5
|
+
ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
6
|
+
}, "style" | "className" | "classes" | "tabIndex" | "color" | "children" | "sx" | "disabled" | "action" | "size" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge"> & {
|
|
7
|
+
theme?: import("@emotion/react").Theme;
|
|
34
8
|
}, {}, {}>;
|
|
35
|
-
export declare const UserSummary: import("@emotion/styled").StyledComponent<{
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
disabled?: boolean | undefined;
|
|
40
|
-
disableGutters?: boolean | undefined;
|
|
41
|
-
divider?: boolean | undefined;
|
|
42
|
-
selected?: boolean | undefined;
|
|
43
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
44
|
-
} & Omit<{
|
|
45
|
-
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
46
|
-
centerRipple?: boolean | undefined;
|
|
47
|
-
children?: import("react").ReactNode;
|
|
48
|
-
classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
|
|
49
|
-
disabled?: boolean | undefined;
|
|
50
|
-
disableRipple?: boolean | undefined;
|
|
51
|
-
disableTouchRipple?: boolean | undefined;
|
|
52
|
-
focusRipple?: boolean | undefined;
|
|
53
|
-
focusVisibleClassName?: string | undefined;
|
|
54
|
-
LinkComponent?: import("react").ElementType<any> | undefined;
|
|
55
|
-
onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
|
|
56
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
57
|
-
tabIndex?: number | undefined;
|
|
58
|
-
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
59
|
-
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
60
|
-
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
61
|
-
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
62
|
-
}, keyof import("@mui/material/OverridableComponent").CommonProps | "autoFocus" | "tabIndex" | "children" | "sx" | "disabled" | "action" | "selected" | "dense" | "disableGutters" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "divider"> & {
|
|
63
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
9
|
+
export declare const UserSummary: import("@emotion/styled").StyledComponent<import("@mui/material").MenuItemOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
10
|
+
ref?: ((instance: HTMLLIElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
11
|
+
}, "style" | "className" | "classes" | "autoFocus" | "tabIndex" | "children" | "sx" | "disabled" | "action" | "selected" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "dense" | "disableGutters" | "divider"> & {
|
|
12
|
+
theme?: import("@emotion/react").Theme;
|
|
64
13
|
}, {}, {}>;
|
|
65
14
|
export declare const UserNames: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
66
|
-
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
67
|
-
}, "fontSize" | "fontWeight" | "lineHeight" | "textTransform" | "p" | "style" | "className" | "classes" | "color" | "children" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "
|
|
68
|
-
theme?: import("@emotion/react").Theme
|
|
15
|
+
ref?: ((instance: HTMLSpanElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
16
|
+
}, "fontSize" | "fontWeight" | "lineHeight" | "letterSpacing" | "textTransform" | "p" | "style" | "className" | "classes" | "color" | "children" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontStyle" | "textAlign" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "sx" | "variant" | "variantMapping"> & {
|
|
17
|
+
theme?: import("@emotion/react").Theme;
|
|
69
18
|
}, {}, {}>;
|
|
70
|
-
export declare const Avatar: import("@emotion/styled").StyledComponent<{
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
imgProps?: (import("react").ImgHTMLAttributes<HTMLImageElement> & {
|
|
75
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
76
|
-
}) | undefined;
|
|
77
|
-
sizes?: string | undefined;
|
|
78
|
-
src?: string | undefined;
|
|
79
|
-
srcSet?: string | undefined;
|
|
80
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
81
|
-
variant?: "square" | "rounded" | "circular" | undefined;
|
|
82
|
-
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
83
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
84
|
-
}, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "variant" | "alt" | "src" | "sizes" | "srcSet" | "imgProps"> & {
|
|
85
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
19
|
+
export declare const Avatar: import("@emotion/styled").StyledComponent<import("@mui/material").AvatarOwnProps & import("@mui/material").AvatarSlotsAndSlotProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
20
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
21
|
+
}, "style" | "className" | "classes" | "children" | "sx" | "variant" | "alt" | "src" | "sizes" | "srcSet" | "slotProps" | "slots" | "imgProps"> & {
|
|
22
|
+
theme?: import("@emotion/react").Theme;
|
|
86
23
|
}, {}, {}>;
|
|
@@ -1,36 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
color?: "inherit" | "primary" | "secondary" | "error" | "info" | "success" | "warning" | undefined;
|
|
6
|
-
disabled?: boolean | undefined;
|
|
7
|
-
disableElevation?: boolean | undefined;
|
|
8
|
-
disableFocusRipple?: boolean | undefined;
|
|
9
|
-
endIcon?: import("react").ReactNode;
|
|
10
|
-
fullWidth?: boolean | undefined;
|
|
11
|
-
href?: string | undefined;
|
|
12
|
-
size?: "large" | "medium" | "small" | undefined;
|
|
13
|
-
startIcon?: import("react").ReactNode;
|
|
14
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
15
|
-
variant?: "nav" | "text" | "outlined" | "contained" | "activeNav" | "backNav" | undefined;
|
|
16
|
-
} & Omit<{
|
|
17
|
-
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
18
|
-
centerRipple?: boolean | undefined;
|
|
19
|
-
children?: import("react").ReactNode;
|
|
20
|
-
classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
|
|
21
|
-
disabled?: boolean | undefined;
|
|
22
|
-
disableRipple?: boolean | undefined;
|
|
23
|
-
disableTouchRipple?: boolean | undefined;
|
|
24
|
-
focusRipple?: boolean | undefined;
|
|
25
|
-
focusVisibleClassName?: string | undefined;
|
|
26
|
-
LinkComponent?: import("react").ElementType<any> | undefined;
|
|
27
|
-
onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
|
|
28
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
29
|
-
tabIndex?: number | undefined;
|
|
30
|
-
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
31
|
-
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
32
|
-
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
33
|
-
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
34
|
-
}, keyof import("@mui/material/OverridableComponent").CommonProps | "tabIndex" | "color" | "children" | "sx" | "variant" | "href" | "disabled" | "action" | "size" | "fullWidth" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "startIcon"> & {
|
|
35
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
1
|
+
export declare const StyledButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
2
|
+
ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
3
|
+
}, "style" | "className" | "classes" | "tabIndex" | "color" | "children" | "sx" | "variant" | "disabled" | "href" | "action" | "size" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "fullWidth" | "disableElevation" | "disableFocusRipple" | "endIcon" | "startIcon"> & {
|
|
4
|
+
theme?: import("@emotion/react").Theme;
|
|
36
5
|
}, {}, {}>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const Navigation: import("@emotion/styled").StyledComponent<import("../../../../../../../Navigation/navigation").NavigationProps & import("react").RefAttributes<HTMLDivElement> & {
|
|
3
|
-
theme?: import("@emotion/react").Theme
|
|
2
|
+
theme?: import("@emotion/react").Theme;
|
|
4
3
|
}, {}, {}>;
|
|
5
4
|
export declare const DrawerNavigation: import("@emotion/styled").StyledComponent<import("../../../../../../../Navigation/navigation").NavigationProps & import("react").RefAttributes<HTMLDivElement> & {
|
|
6
|
-
theme?: import("@emotion/react").Theme
|
|
5
|
+
theme?: import("@emotion/react").Theme;
|
|
7
6
|
}, {}, {}>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const Socials: import("@emotion/styled").StyledComponent<import("../../../../../../../../../../../../../common/Socials/socials").SocialsProps & import("react").RefAttributes<HTMLDivElement> & {
|
|
3
|
-
theme?: import("@emotion/react").Theme
|
|
2
|
+
theme?: import("@emotion/react").Theme;
|
|
4
3
|
}, {}, {}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import MenuRoundedIcon from "@mui/icons-material/MenuRounded";
|
|
2
|
-
import { Dialog as MDialog
|
|
2
|
+
import { Fade, IconButton, Dialog as MDialog } from "@mui/material";
|
|
3
3
|
import React, { forwardRef, Fragment, useEffect } from "react";
|
|
4
4
|
import { getMenuNavigationLinks } from "../../../../../../common/utils";
|
|
5
5
|
import { AppBar } from "../../../../../../header.styles";
|
|
@@ -1,36 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
color?: "inherit" | "primary" | "secondary" | "error" | "info" | "success" | "warning" | undefined;
|
|
6
|
-
disabled?: boolean | undefined;
|
|
7
|
-
disableElevation?: boolean | undefined;
|
|
8
|
-
disableFocusRipple?: boolean | undefined;
|
|
9
|
-
endIcon?: import("react").ReactNode;
|
|
10
|
-
fullWidth?: boolean | undefined;
|
|
11
|
-
href?: string | undefined;
|
|
12
|
-
size?: "large" | "medium" | "small" | undefined;
|
|
13
|
-
startIcon?: import("react").ReactNode;
|
|
14
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
15
|
-
variant?: "nav" | "text" | "outlined" | "contained" | "activeNav" | "backNav" | undefined;
|
|
16
|
-
} & Omit<{
|
|
17
|
-
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
18
|
-
centerRipple?: boolean | undefined;
|
|
19
|
-
children?: import("react").ReactNode;
|
|
20
|
-
classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
|
|
21
|
-
disabled?: boolean | undefined;
|
|
22
|
-
disableRipple?: boolean | undefined;
|
|
23
|
-
disableTouchRipple?: boolean | undefined;
|
|
24
|
-
focusRipple?: boolean | undefined;
|
|
25
|
-
focusVisibleClassName?: string | undefined;
|
|
26
|
-
LinkComponent?: import("react").ElementType<any> | undefined;
|
|
27
|
-
onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
|
|
28
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
29
|
-
tabIndex?: number | undefined;
|
|
30
|
-
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
31
|
-
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
32
|
-
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
33
|
-
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
34
|
-
}, keyof import("@mui/material/OverridableComponent").CommonProps | "tabIndex" | "color" | "children" | "sx" | "variant" | "href" | "disabled" | "action" | "size" | "fullWidth" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "startIcon"> & {
|
|
35
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
1
|
+
export declare const StyledButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
2
|
+
ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
3
|
+
}, "style" | "className" | "classes" | "tabIndex" | "color" | "children" | "sx" | "variant" | "disabled" | "href" | "action" | "size" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "fullWidth" | "disableElevation" | "disableFocusRipple" | "endIcon" | "startIcon"> & {
|
|
4
|
+
theme?: import("@emotion/react").Theme;
|
|
36
5
|
}, {}, {}>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
import { IconButton } from "../../../../../../../../../../../common/IconButton/iconButton";
|
|
2
2
|
export declare const SearchBar: import("@emotion/styled").StyledComponent<import("@mui/material").DialogProps & {
|
|
3
|
-
theme?: import("@emotion/react").Theme
|
|
3
|
+
theme?: import("@emotion/react").Theme;
|
|
4
4
|
}, {}, {}>;
|
|
5
5
|
export declare const SearchForm: import("@emotion/styled").StyledComponent<{
|
|
6
|
-
theme?: import("@emotion/react").Theme
|
|
7
|
-
as?:
|
|
6
|
+
theme?: import("@emotion/react").Theme;
|
|
7
|
+
as?: React.ElementType;
|
|
8
8
|
}, import("react").DetailedHTMLProps<import("react").FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, {}>;
|
|
9
9
|
export declare const SearchInput: import("@emotion/styled").StyledComponent<import("@mui/material").InputProps & {
|
|
10
|
-
theme?: import("@emotion/react").Theme
|
|
10
|
+
theme?: import("@emotion/react").Theme;
|
|
11
11
|
}, {}, {}>;
|
|
12
|
-
export declare const ClearButton:
|
|
12
|
+
export declare const ClearButton: typeof IconButton;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const Dialog: import("@emotion/styled").StyledComponent<import("@mui/material").DialogProps & {
|
|
3
|
-
theme?: import("@emotion/react").Theme
|
|
2
|
+
theme?: import("@emotion/react").Theme;
|
|
4
3
|
}, {}, {}>;
|
|
5
4
|
export declare const Content: import("@emotion/styled").StyledComponent<{
|
|
6
|
-
theme?: import("@emotion/react").Theme
|
|
7
|
-
as?:
|
|
5
|
+
theme?: import("@emotion/react").Theme;
|
|
6
|
+
as?: React.ElementType;
|
|
8
7
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
9
8
|
export declare const Button: import("@emotion/styled").StyledComponent<Omit<import("../../../../../../../../../common/Button/button").ButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement> & {
|
|
10
|
-
theme?: import("@emotion/react").Theme
|
|
9
|
+
theme?: import("@emotion/react").Theme;
|
|
11
10
|
}, {}, {}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import ArrowDropDownRoundedIcon from "@mui/icons-material/ArrowDropDownRounded";
|
|
2
|
-
import { ClickAwayListener as MClickAwayListener,
|
|
2
|
+
import { Grow, ClickAwayListener as MClickAwayListener, MenuList as MMenuList, Paper as MPaper, } from "@mui/material";
|
|
3
3
|
import React, { Fragment, useEffect } from "react";
|
|
4
4
|
import { useMenu } from "../../../../../../../../../common/Menu/hooks/useMenu";
|
|
5
5
|
import { NavigationButtonLabel } from "../NavigationButtonLabel/navigationButtonLabel";
|
|
@@ -1,50 +1,15 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
interface Props {
|
|
3
2
|
isActive: boolean;
|
|
4
3
|
}
|
|
5
|
-
export declare const StyledPopper: import("@emotion/styled").StyledComponent<
|
|
6
|
-
|
|
7
|
-
components?: {
|
|
8
|
-
Root?: import("react").ElementType<any> | undefined;
|
|
9
|
-
} | undefined;
|
|
10
|
-
componentsProps?: {
|
|
11
|
-
root?: import("@mui/base").SlotComponentProps<"div", import("@mui/base").PopperRootSlotPropsOverrides, import("@mui/base").PopperOwnProps> | undefined;
|
|
12
|
-
} | undefined;
|
|
13
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
14
|
-
} & import("react").RefAttributes<HTMLDivElement> & {
|
|
15
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
export declare const StyledPopper: import("@emotion/styled").StyledComponent<import("@mui/material").PopperProps & import("react").RefAttributes<HTMLDivElement> & {
|
|
5
|
+
theme?: import("@emotion/react").Theme;
|
|
16
6
|
}, {}, {}>;
|
|
17
7
|
export declare const Button: import("@emotion/styled").StyledComponent<Omit<import("../../../../../../../../../common/Button/button").ButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement> & {
|
|
18
|
-
theme?: import("@emotion/react").Theme
|
|
8
|
+
theme?: import("@emotion/react").Theme;
|
|
19
9
|
} & Props, {}, {}>;
|
|
20
|
-
export declare const StyledMenuItem: import("@emotion/styled").StyledComponent<{
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
disabled?: boolean | undefined;
|
|
25
|
-
disableGutters?: boolean | undefined;
|
|
26
|
-
divider?: boolean | undefined;
|
|
27
|
-
selected?: boolean | undefined;
|
|
28
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
29
|
-
} & Omit<{
|
|
30
|
-
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
31
|
-
centerRipple?: boolean | undefined;
|
|
32
|
-
children?: import("react").ReactNode;
|
|
33
|
-
classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
|
|
34
|
-
disabled?: boolean | undefined;
|
|
35
|
-
disableRipple?: boolean | undefined;
|
|
36
|
-
disableTouchRipple?: boolean | undefined;
|
|
37
|
-
focusRipple?: boolean | undefined;
|
|
38
|
-
focusVisibleClassName?: string | undefined;
|
|
39
|
-
LinkComponent?: import("react").ElementType<any> | undefined;
|
|
40
|
-
onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
|
|
41
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
42
|
-
tabIndex?: number | undefined;
|
|
43
|
-
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
44
|
-
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
45
|
-
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
46
|
-
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
47
|
-
}, keyof import("@mui/material/OverridableComponent").CommonProps | "autoFocus" | "tabIndex" | "children" | "sx" | "disabled" | "action" | "selected" | "dense" | "disableGutters" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "divider"> & {
|
|
48
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
10
|
+
export declare const StyledMenuItem: import("@emotion/styled").StyledComponent<import("@mui/material").MenuItemOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
11
|
+
ref?: ((instance: HTMLLIElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
12
|
+
}, "style" | "className" | "classes" | "autoFocus" | "tabIndex" | "children" | "sx" | "disabled" | "action" | "selected" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "dense" | "disableGutters" | "divider"> & {
|
|
13
|
+
theme?: import("@emotion/react").Theme;
|
|
49
14
|
}, {}, {}>;
|
|
50
15
|
export {};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
interface Props {
|
|
3
2
|
isMenuIn: boolean;
|
|
4
3
|
}
|
|
5
4
|
export declare const Navigation: import("@emotion/styled").StyledComponent<{
|
|
6
|
-
theme?: import("@emotion/react").Theme
|
|
7
|
-
as?: import("react").ElementType
|
|
5
|
+
theme?: import("@emotion/react").Theme;
|
|
6
|
+
as?: import("react").ElementType;
|
|
8
7
|
} & Props, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
9
8
|
export {};
|
|
@@ -1,20 +1,9 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const Slogan: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
theme?: import("@emotion/react").Theme
|
|
4
|
-
as?:
|
|
2
|
+
theme?: import("@emotion/react").Theme;
|
|
3
|
+
as?: React.ElementType;
|
|
5
4
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
-
export declare const Divider: import("@emotion/styled").StyledComponent<{
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
flexItem?: boolean | undefined;
|
|
11
|
-
light?: boolean | undefined;
|
|
12
|
-
orientation?: "horizontal" | "vertical" | undefined;
|
|
13
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
14
|
-
textAlign?: "center" | "right" | "left" | undefined;
|
|
15
|
-
variant?: "inset" | "middle" | "fullWidth" | undefined;
|
|
16
|
-
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHRElement>, HTMLHRElement>, "ref"> & {
|
|
17
|
-
ref?: ((instance: HTMLHRElement | null) => void) | import("react").RefObject<HTMLHRElement> | null | undefined;
|
|
18
|
-
}, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "textAlign" | "sx" | "variant" | "orientation" | "absolute" | "light" | "flexItem"> & {
|
|
19
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
+
export declare const Divider: import("@emotion/styled").StyledComponent<import("@mui/material").DividerOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHRElement>, HTMLHRElement>, "ref"> & {
|
|
6
|
+
ref?: ((instance: HTMLHRElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLHRElement> | null | undefined;
|
|
7
|
+
}, "style" | "className" | "classes" | "children" | "textAlign" | "sx" | "variant" | "orientation" | "light" | "absolute" | "flexItem"> & {
|
|
8
|
+
theme?: import("@emotion/react").Theme;
|
|
20
9
|
}, {}, {}>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const Socials: import("@emotion/styled").StyledComponent<import("../../../../../../../common/Socials/socials").SocialsProps & import("react").RefAttributes<HTMLDivElement> & {
|
|
3
|
-
theme?: import("@emotion/react").Theme
|
|
2
|
+
theme?: import("@emotion/react").Theme;
|
|
4
3
|
}, {}, {}>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const Content: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
theme?: import("@emotion/react").Theme
|
|
4
|
-
as?:
|
|
2
|
+
theme?: import("@emotion/react").Theme;
|
|
3
|
+
as?: React.ElementType;
|
|
5
4
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { StoryObj } from "@storybook/react";
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
2
2
|
import { Header } from "./header";
|
|
3
|
-
declare const _default:
|
|
3
|
+
declare const _default: Meta<typeof Header>;
|
|
4
4
|
export default _default;
|
|
5
|
-
|
|
5
|
+
type Story = StoryObj<typeof Header>;
|
|
6
6
|
export declare const HeaderStory: Story;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const AppBar:
|
|
1
|
+
import { AppBar as MAppBar } from "@mui/material";
|
|
2
|
+
export declare const AppBar: typeof MAppBar;
|
|
3
3
|
export declare const Left: import("@emotion/styled").StyledComponent<{
|
|
4
|
-
theme?: import("@emotion/react").Theme
|
|
5
|
-
as?:
|
|
4
|
+
theme?: import("@emotion/react").Theme;
|
|
5
|
+
as?: React.ElementType;
|
|
6
6
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
7
7
|
export declare const Center: import("@emotion/styled").StyledComponent<{
|
|
8
|
-
theme?: import("@emotion/react").Theme
|
|
9
|
-
as?:
|
|
8
|
+
theme?: import("@emotion/react").Theme;
|
|
9
|
+
as?: React.ElementType;
|
|
10
10
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
11
11
|
export declare const Right: import("@emotion/styled").StyledComponent<{
|
|
12
|
-
theme?: import("@emotion/react").Theme
|
|
13
|
-
as?:
|
|
12
|
+
theme?: import("@emotion/react").Theme;
|
|
13
|
+
as?: React.ElementType;
|
|
14
14
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { useBreakpoint } from "../../../../../hooks/useBreakpoint";
|
|
2
|
+
import { isSocialsVisible } from "../common/utils";
|
|
2
3
|
/**
|
|
3
4
|
* Returns header component visibility for header related rendering logic.
|
|
4
5
|
* @param headerProps - Header component props.
|
|
@@ -25,7 +26,7 @@ export const useHeaderVisibility = (headerProps) => {
|
|
|
25
26
|
const isNavigationIn = smUp;
|
|
26
27
|
const isMenuIn = hasMenu;
|
|
27
28
|
const isSloganIn = hasSlogan && mdUp;
|
|
28
|
-
const isSocialsIn = hasSocials && lgUp;
|
|
29
|
+
const isSocialsIn = hasSocials && isSocialsVisible({ breakpoint, lgUp }, socialMedia);
|
|
29
30
|
// Determines navigation visibility.
|
|
30
31
|
const isCenterNavigationIn = isNavigationIn && hasNavItemsC;
|
|
31
32
|
const isLeftNavigationIn = isNavigationIn && hasNavItemsL;
|