@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,108 +1,96 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Palette "Alert"
|
|
3
3
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
})(ALERT || (ALERT = {}));
|
|
4
|
+
const ALERT = {
|
|
5
|
+
LIGHT: "#FED3D1",
|
|
6
|
+
LIGHTEST: "#FFF4F4",
|
|
7
|
+
MAIN: "#B42318",
|
|
8
|
+
};
|
|
10
9
|
/**
|
|
11
10
|
* Palette "Background"
|
|
12
11
|
*/
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
})(BACKGROUND || (BACKGROUND = {}));
|
|
12
|
+
const BACKGROUND = {
|
|
13
|
+
DEFAULT: "#F6F6F7",
|
|
14
|
+
};
|
|
17
15
|
/**
|
|
18
16
|
* Palette "Info"
|
|
19
17
|
*/
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
})(INFO || (INFO = {}));
|
|
18
|
+
const INFO = {
|
|
19
|
+
CONTRAST_TEXT: "#00729C",
|
|
20
|
+
LIGHT: "#97D6EA",
|
|
21
|
+
LIGHTEST: "#F2FAFC",
|
|
22
|
+
MAIN: "#00729C",
|
|
23
|
+
};
|
|
27
24
|
/**
|
|
28
25
|
* Palette "Ink"
|
|
29
26
|
*/
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
})(INK || (INK = {}));
|
|
27
|
+
const INK = {
|
|
28
|
+
LIGHT: "#637381",
|
|
29
|
+
MAIN: "#212B36",
|
|
30
|
+
};
|
|
35
31
|
/**
|
|
36
32
|
* Palette "Primary"
|
|
37
33
|
*/
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
})(PRIMARY || (PRIMARY = {}));
|
|
34
|
+
const PRIMARY = {
|
|
35
|
+
DARK: "#005EA9",
|
|
36
|
+
LIGHTEST: "#E6EFF6",
|
|
37
|
+
MAIN: "#1C7CC7",
|
|
38
|
+
};
|
|
44
39
|
/**
|
|
45
40
|
* Palette "Smoke"
|
|
46
41
|
*/
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
})(SMOKE || (SMOKE = {}));
|
|
42
|
+
const SMOKE = {
|
|
43
|
+
DARK: "#C4CDD5",
|
|
44
|
+
LIGHT: "#F6F6F7",
|
|
45
|
+
LIGHTEST: "#FAFBFB",
|
|
46
|
+
MAIN: "#E1E3E5",
|
|
47
|
+
};
|
|
54
48
|
/**
|
|
55
49
|
* Palette "Success"
|
|
56
50
|
*/
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
})(SUCCESS || (SUCCESS = {}));
|
|
51
|
+
const SUCCESS = {
|
|
52
|
+
LIGHT: "#AEE9D1",
|
|
53
|
+
LIGHTEST: "#F1F8F5",
|
|
54
|
+
MAIN: "#287555",
|
|
55
|
+
};
|
|
63
56
|
/**
|
|
64
57
|
* Palette "Text"
|
|
65
58
|
*/
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
})(TEXT || (TEXT = {}));
|
|
59
|
+
const TEXT = {
|
|
60
|
+
PRIMARY: "#212B36",
|
|
61
|
+
};
|
|
70
62
|
/**
|
|
71
63
|
* Palette "Warning"
|
|
72
64
|
*/
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
})(WARNING || (WARNING = {}));
|
|
65
|
+
const WARNING = {
|
|
66
|
+
CONTRAST_TEXT: "#B54708",
|
|
67
|
+
LIGHT: "#FFD79D",
|
|
68
|
+
LIGHTEST: "#FFFAEB",
|
|
69
|
+
MAIN: "#B54708",
|
|
70
|
+
};
|
|
80
71
|
/**
|
|
81
72
|
* Default "Black"
|
|
82
73
|
*/
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
})(BLACK || (BLACK = {}));
|
|
74
|
+
const BLACK = {
|
|
75
|
+
DEFAULT: "#000000",
|
|
76
|
+
};
|
|
87
77
|
/**
|
|
88
78
|
* Default "White"
|
|
89
79
|
*/
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
})(WHITE || (WHITE = {}));
|
|
80
|
+
const WHITE = {
|
|
81
|
+
DEFAULT: "#ffffff",
|
|
82
|
+
};
|
|
94
83
|
/**
|
|
95
84
|
* Color alpha
|
|
96
85
|
*/
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
})(ALPHA || (ALPHA = {}));
|
|
86
|
+
const ALPHA = {
|
|
87
|
+
A04: "0a",
|
|
88
|
+
A08: "14",
|
|
89
|
+
A32: "52",
|
|
90
|
+
A60: "99",
|
|
91
|
+
A64: "a3",
|
|
92
|
+
A80: "cc",
|
|
93
|
+
};
|
|
106
94
|
/**
|
|
107
95
|
* Color constants
|
|
108
96
|
*/
|
package/lib/types/error.d.ts
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns anchor element by id.
|
|
3
|
+
* @param id - ID.
|
|
4
|
+
* @returns anchor element.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getAnchorEl(id: string): HTMLAnchorElement;
|
|
7
|
+
/**
|
|
8
|
+
* Returns button element by id.
|
|
9
|
+
* @param id - ID.
|
|
10
|
+
* @returns HTML button element.
|
|
11
|
+
*/
|
|
12
|
+
export declare function getButtonById(id: string): HTMLButtonElement;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { screen } from "@testing-library/react";
|
|
2
|
+
/**
|
|
3
|
+
* Returns anchor element by id.
|
|
4
|
+
* @param id - ID.
|
|
5
|
+
* @returns anchor element.
|
|
6
|
+
*/
|
|
7
|
+
export function getAnchorEl(id) {
|
|
8
|
+
return screen.getByTestId(id);
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Returns button element by id.
|
|
12
|
+
* @param id - ID.
|
|
13
|
+
* @returns HTML button element.
|
|
14
|
+
*/
|
|
15
|
+
export function getButtonById(id) {
|
|
16
|
+
return screen.getByTestId(id);
|
|
17
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { StoryObj } from "@storybook/react";
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
2
2
|
import { ContentView } from "./contentView";
|
|
3
|
-
declare const _default:
|
|
3
|
+
declare const _default: Meta<typeof ContentView>;
|
|
4
4
|
export default _default;
|
|
5
|
-
|
|
5
|
+
type Story = StoryObj<typeof ContentView>;
|
|
6
6
|
export declare const ContentViewStory: Story;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { AzulEntityStaticResponse } from "../../apis/azul/common/entities";
|
|
3
|
-
export
|
|
2
|
+
export type ExportViewProps = AzulEntityStaticResponse;
|
|
4
3
|
export declare const ExportView: (props: ExportViewProps) => JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@databiosphere/findable-ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "12.0.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "jest",
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@commitlint/cli": "^17.4.2",
|
|
26
26
|
"@commitlint/config-conventional": "^17.4.2",
|
|
27
|
+
"@mui/types": "^7.2.16",
|
|
27
28
|
"@next/eslint-plugin-next": "^14.1.0",
|
|
28
29
|
"@storybook/addon-actions": "^7.6.17",
|
|
29
30
|
"@storybook/addon-essentials": "^7.6.17",
|
|
@@ -34,15 +35,16 @@
|
|
|
34
35
|
"@storybook/react": "^7.6.17",
|
|
35
36
|
"@storybook/testing-library": "^0.2.2",
|
|
36
37
|
"@storybook/types": "^7.6.17",
|
|
38
|
+
"@testing-library/react": "^16.0.1",
|
|
37
39
|
"@types/jest": "^29.4.0",
|
|
38
|
-
"@types/react": "^18.
|
|
39
|
-
"@types/react-dom": "^18.
|
|
40
|
+
"@types/react": "^18.3.5",
|
|
41
|
+
"@types/react-dom": "^18.3.0",
|
|
40
42
|
"@types/react-gtm-module": "^2.0.1",
|
|
41
43
|
"@types/react-window": "^1.8.5",
|
|
42
44
|
"@types/uuid": "8.3.4",
|
|
43
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
45
|
+
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
44
46
|
"eslint": "^8.33.0",
|
|
45
|
-
"eslint-config-next": "^14.
|
|
47
|
+
"eslint-config-next": "^14.2.13",
|
|
46
48
|
"eslint-config-prettier": "^8.6.0",
|
|
47
49
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
48
50
|
"eslint-plugin-jsdoc": "^48.1.0",
|
|
@@ -51,29 +53,29 @@
|
|
|
51
53
|
"eslint-plugin-sonarjs": "^0.18.0",
|
|
52
54
|
"eslint-plugin-sort-destructure-keys": "^1.4.0",
|
|
53
55
|
"eslint-plugin-storybook": "^0.8.0",
|
|
54
|
-
"eslint-plugin-typescript-sort-keys": "^2.
|
|
56
|
+
"eslint-plugin-typescript-sort-keys": "^3.2.0",
|
|
55
57
|
"husky": "^8.0.3",
|
|
56
58
|
"jest": "^29.4.1",
|
|
57
59
|
"jest-environment-jsdom": "^29.4.1",
|
|
58
60
|
"prettier": "^2.8.3",
|
|
59
61
|
"prettier-plugin-organize-imports": "^3.2.2",
|
|
60
62
|
"storybook": "^7.6.17",
|
|
61
|
-
"ts-jest": "^29.
|
|
62
|
-
"typescript": "^
|
|
63
|
+
"ts-jest": "^29.2.5",
|
|
64
|
+
"typescript": "^5.5.4"
|
|
63
65
|
},
|
|
64
66
|
"peerDependencies": {
|
|
65
|
-
"@emotion/react": "11.
|
|
66
|
-
"@emotion/styled": "11.
|
|
67
|
-
"@mui/icons-material": "
|
|
68
|
-
"@mui/material": "
|
|
67
|
+
"@emotion/react": "^11.13.3",
|
|
68
|
+
"@emotion/styled": "^11.13.0",
|
|
69
|
+
"@mui/icons-material": "^6.0.2",
|
|
70
|
+
"@mui/material": "^6.0.2",
|
|
69
71
|
"@tanstack/react-table": "^8.19.2",
|
|
70
72
|
"@tanstack/react-virtual": "^3.0.0-beta.59",
|
|
71
73
|
"axios": "^1.6.7",
|
|
72
74
|
"copy-to-clipboard": "3.3.1",
|
|
73
75
|
"isomorphic-dompurify": "0.24.0",
|
|
74
76
|
"next": "^14.1.0",
|
|
75
|
-
"react": "^18.
|
|
76
|
-
"react-dom": "^18.
|
|
77
|
+
"react": "^18.3.1",
|
|
78
|
+
"react-dom": "^18.3.1",
|
|
77
79
|
"react-dropzone": "^14.2.3",
|
|
78
80
|
"react-gtm-module": "2.0.11",
|
|
79
81
|
"react-idle-timer": "^5.6.2",
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
PaginationResponse,
|
|
11
11
|
} from "../../../providers/exploreState";
|
|
12
12
|
import {
|
|
13
|
+
AZUL_FILTER_OPERATOR,
|
|
13
14
|
AzulPaginationResponse,
|
|
14
15
|
AzulSearchIndex,
|
|
15
16
|
AzulTermFacets,
|
|
16
|
-
AZUL_FILTER_OPERATOR,
|
|
17
17
|
LABEL,
|
|
18
18
|
} from "./entities";
|
|
19
19
|
import { getFilterParameterValue } from "./utils";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Findable-UI Analytics Readme
|
|
2
|
+
|
|
3
|
+
Findable-UI reports various events using Google Analytics 4.
|
|
4
|
+
All events are defined in `entities.ts` and can be trigged using the `track` function in `analytics.ts`.
|
|
5
|
+
See below a list of the currently available events.
|
|
6
|
+
|
|
7
|
+
### GA4 Event Inventory
|
|
8
|
+
|
|
9
|
+
| Event | Parameters | Description |
|
|
10
|
+
| ------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- |
|
|
11
|
+
| `bulk_download_requested` | `catalog`, `current_query`, `entity_type`, `index`, `tool_name` | Runs when the HCA-DCP "Request curl command" button is selected |
|
|
12
|
+
| `entity_selected` | `entity_name` | Runs when an entity (tab) is selected |
|
|
13
|
+
| `entity_table_paginated` | `entity_name`, `pagination_directed` | Runs when the page forward/backwards buttons are clicked |
|
|
14
|
+
| `entity_table_sorted` | `entity_name`, `column_name`, `sort_direction` | Runs each time a column in the entity table is sorted |
|
|
15
|
+
| `filter_selected` | `filter_name`, `filter_value` | Runs each time a filter is selected |
|
|
@@ -9,8 +9,8 @@ import { AlertIcon } from "../common/CustomIcon/components/AlertIcon/alertIcon";
|
|
|
9
9
|
import { Grid } from "../common/Grid/grid";
|
|
10
10
|
import { RoundedPaper } from "../common/Paper/paper.styles";
|
|
11
11
|
import {
|
|
12
|
-
SectionActions,
|
|
13
12
|
SectionContent as Content,
|
|
13
|
+
SectionActions,
|
|
14
14
|
} from "../common/Section/section.styles";
|
|
15
15
|
import { PRIORITY, StatusIcon } from "../common/StatusIcon/statusIcon";
|
|
16
16
|
import {
|
|
@@ -3,8 +3,8 @@ import { MANIFEST_DOWNLOAD_FORMAT } from "../../../../apis/azul/common/entities"
|
|
|
3
3
|
import { Filters } from "../../../../common/entities";
|
|
4
4
|
import { useExploreState } from "../../../../hooks/useExploreState";
|
|
5
5
|
import {
|
|
6
|
-
FileManifestType,
|
|
7
6
|
FILE_MANIFEST_TYPE,
|
|
7
|
+
FileManifestType,
|
|
8
8
|
} from "../../../../hooks/useFileManifest/common/entities";
|
|
9
9
|
import { useFileManifest } from "../../../../hooks/useFileManifest/useFileManifest";
|
|
10
10
|
import { useRequestFileManifest } from "../../../../hooks/useFileManifest/useRequestFileManifest";
|
|
@@ -20,8 +20,8 @@ import { FileSummaryFacet } from "../../../../common/entities";
|
|
|
20
20
|
import { OnFilterFn, OnUpdateFilterFacet } from "../../common/entities";
|
|
21
21
|
import { ERROR, OnClearError } from "../../exportForm";
|
|
22
22
|
import {
|
|
23
|
-
GridPaper,
|
|
24
23
|
TableFormControl as FormControl,
|
|
24
|
+
GridPaper,
|
|
25
25
|
} from "../../exportForm.styles";
|
|
26
26
|
|
|
27
27
|
export interface ExportFileSummaryFormProps {
|
package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/terraSetUpForm.tsx
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Typography } from "@mui/material";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import {
|
|
4
|
-
OnboardingStatus,
|
|
5
4
|
ONBOARDING_STEP,
|
|
5
|
+
OnboardingStatus,
|
|
6
6
|
useAuthenticationForm,
|
|
7
7
|
} from "../../../../../../hooks/useAuthentication/useAuthenticationForm";
|
|
8
8
|
import { TEXT_BODY_400_2_LINES } from "../../../../../../theme/common/typography";
|
|
@@ -10,8 +10,8 @@ import React, {
|
|
|
10
10
|
useState,
|
|
11
11
|
} from "react";
|
|
12
12
|
import {
|
|
13
|
-
ListChildComponentProps,
|
|
14
13
|
VariableSizeList as List,
|
|
14
|
+
ListChildComponentProps,
|
|
15
15
|
VariableSizeListProps as ListProps,
|
|
16
16
|
} from "react-window";
|
|
17
17
|
import { SelectCategoryView } from "../../../../../../common/entities";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useCallback, useEffect, useRef, useState } from "react";
|
|
2
2
|
import {
|
|
3
|
-
ListChildComponentProps,
|
|
4
3
|
VariableSizeList as List,
|
|
4
|
+
ListChildComponentProps,
|
|
5
5
|
VariableSizeListProps as ListProps,
|
|
6
6
|
} from "react-window";
|
|
7
7
|
import { CategoryKey } from "../../../../common/entities";
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import { Box } from "@mui/material";
|
|
2
|
-
import React, { useEffect, useRef, useState } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import { useRequestFileLocation } from "../../../../hooks/useRequestFileLocation";
|
|
2
|
+
import React, { Fragment, useEffect, useRef, useState } from "react";
|
|
3
|
+
import { useFileLocation } from "../../../../hooks/useFileLocation";
|
|
5
4
|
import { DownloadIcon } from "../../../common/CustomIcon/components/DownloadIcon/downloadIcon";
|
|
6
5
|
import { LoadingIcon } from "../../../common/CustomIcon/components/LoadingIcon/loadingIcon";
|
|
7
6
|
import { IconButton } from "../../../common/IconButton/iconButton";
|
|
8
7
|
import { StyledIconButton } from "./azulFileDownload.styles";
|
|
8
|
+
import {
|
|
9
|
+
AZUL_FILE_DOWNLOAD_TEST_ID,
|
|
10
|
+
AZUL_FILE_REQUEST_DOWNLOAD_PENDING_TEST_ID,
|
|
11
|
+
AZUL_FILE_REQUEST_DOWNLOAD_TEST_ID,
|
|
12
|
+
} from "./common/constants";
|
|
9
13
|
|
|
10
14
|
export interface AzulFileDownloadProps {
|
|
11
15
|
url?: string; // Original "file fetch URL" as returned from Azul endpoint.
|
|
@@ -14,72 +18,49 @@ export interface AzulFileDownloadProps {
|
|
|
14
18
|
export const AzulFileDownload = ({
|
|
15
19
|
url,
|
|
16
20
|
}: AzulFileDownloadProps): JSX.Element => {
|
|
21
|
+
const { fileUrl, isLoading, run } = useFileLocation(url);
|
|
17
22
|
const downloadRef = useRef<HTMLAnchorElement>(null);
|
|
18
|
-
|
|
19
|
-
const [isDownloading, setIsDownloading] = useState(false);
|
|
20
|
-
// Correct the file fetch URL as per the Azul spec.
|
|
21
|
-
const azulFetchUrl = buildFetchFileUrl(url);
|
|
22
|
-
const { data, isLoading, isSuccess, run } =
|
|
23
|
-
useRequestFileLocation(azulFetchUrl);
|
|
24
|
-
const fileLocation = data?.location;
|
|
23
|
+
const [isRequestPending, setIsRequestPending] = useState(false);
|
|
25
24
|
|
|
26
25
|
// Initiates file download when file location request is successful.
|
|
27
26
|
useEffect(() => {
|
|
28
|
-
if (
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}, [
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Initiate file location request.
|
|
38
|
-
*/
|
|
39
|
-
const onFileLocationRequested = async (): Promise<void> => {
|
|
40
|
-
// Prevent duplicate downloads
|
|
41
|
-
setIsDownloading(true);
|
|
42
|
-
run();
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
if (isDownloading)
|
|
46
|
-
return (
|
|
47
|
-
<StyledIconButton color="primary" Icon={LoadingIcon} size="medium" />
|
|
48
|
-
);
|
|
27
|
+
if (!fileUrl) return;
|
|
28
|
+
if (!downloadRef.current) return;
|
|
29
|
+
const downloadEl = downloadRef.current;
|
|
30
|
+
downloadEl.href = fileUrl;
|
|
31
|
+
downloadEl.click();
|
|
32
|
+
setIsRequestPending(false);
|
|
33
|
+
}, [fileUrl]);
|
|
49
34
|
|
|
50
35
|
return (
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
36
|
+
<Fragment>
|
|
37
|
+
{isRequestPending ? (
|
|
38
|
+
<StyledIconButton
|
|
39
|
+
color="primary"
|
|
40
|
+
data-testid={AZUL_FILE_REQUEST_DOWNLOAD_PENDING_TEST_ID}
|
|
41
|
+
Icon={LoadingIcon}
|
|
42
|
+
size="medium"
|
|
43
|
+
/>
|
|
44
|
+
) : (
|
|
45
|
+
<IconButton
|
|
46
|
+
color="primary"
|
|
47
|
+
data-testid={AZUL_FILE_REQUEST_DOWNLOAD_TEST_ID}
|
|
48
|
+
disabled={!url}
|
|
49
|
+
Icon={isLoading ? LoadingIcon : DownloadIcon}
|
|
50
|
+
onClick={(): void => {
|
|
51
|
+
setIsRequestPending(true);
|
|
52
|
+
run();
|
|
53
|
+
}}
|
|
54
|
+
size="medium"
|
|
55
|
+
/>
|
|
56
|
+
)}
|
|
57
|
+
<Box
|
|
58
|
+
component="a"
|
|
59
|
+
data-testid={AZUL_FILE_DOWNLOAD_TEST_ID}
|
|
60
|
+
download
|
|
61
|
+
ref={downloadRef}
|
|
62
|
+
sx={{ display: "none" }}
|
|
58
63
|
/>
|
|
59
|
-
|
|
60
|
-
</>
|
|
64
|
+
</Fragment>
|
|
61
65
|
);
|
|
62
66
|
};
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* Prepend "/fetch" to the path of the specified file URL, if not already included. See #1596.
|
|
66
|
-
* @param fileUrl - Original file URL as returned from Azul.
|
|
67
|
-
* @returns Complete and correct URL to use when requesting file location from Azul or undefined if no fileUrl is passed.
|
|
68
|
-
*/
|
|
69
|
-
function buildFetchFileUrl(fileUrl?: string): string | undefined {
|
|
70
|
-
if (!fileUrl) {
|
|
71
|
-
return;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
try {
|
|
75
|
-
const url = new URL(fileUrl);
|
|
76
|
-
const path = url.pathname;
|
|
77
|
-
if (!path.includes(API_FILE_LOCATION_FETCH)) {
|
|
78
|
-
url.pathname = `${API_FILE_LOCATION_FETCH}${path}`;
|
|
79
|
-
}
|
|
80
|
-
return url.toString();
|
|
81
|
-
} catch (error) {
|
|
82
|
-
//console.log("error parsing file URL", fileUrl);
|
|
83
|
-
return;
|
|
84
|
-
}
|
|
85
|
-
}
|
package/src/components/Layout/components/BackPage/components/BackPageHero/backPageHero.styles.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styled from "@emotion/styled";
|
|
2
2
|
import { Stack } from "@mui/material";
|
|
3
|
-
import {
|
|
3
|
+
import { mediaTabletUp } from "../../../../../../styles/common/mixins/breakpoints";
|
|
4
4
|
import { CallToActionButton as CTAButton } from "../../../../../common/Button/components/CallToActionButton/callToActionButton";
|
|
5
5
|
|
|
6
6
|
export const BackPageHeroHeadline = styled.div`
|
|
@@ -10,7 +10,7 @@ export const BackPageHeroHeadline = styled.div`
|
|
|
10
10
|
grid-column: 1 / -1; // Title and breadcrumbs consume full width of available grid.
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
${
|
|
13
|
+
${mediaTabletUp} {
|
|
14
14
|
display: flex;
|
|
15
15
|
flex: 1;
|
|
16
16
|
gap: 88px;
|
|
@@ -29,7 +29,7 @@ export const CallToActionButton = styled(CTAButton)`
|
|
|
29
29
|
align-self: center;
|
|
30
30
|
justify-self: flex-start;
|
|
31
31
|
|
|
32
|
-
${
|
|
32
|
+
${mediaTabletUp} {
|
|
33
33
|
justify-self: flex-end;
|
|
34
34
|
}
|
|
35
35
|
`;
|