@databiosphere/findable-ui 0.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/.eslintignore +5 -0
- package/.eslintrc.json +78 -0
- package/.github/workflows/run-checks.yml +18 -0
- package/.husky/commit-msg +18 -0
- package/.husky/pre-commit +36 -0
- package/.prettierignore +18 -0
- package/.prettierrc.json +1 -0
- package/.storybook/main.ts +46 -0
- package/.storybook/preview-head.html +4 -0
- package/.storybook/preview.js +39 -0
- package/LICENSE +201 -0
- package/README.md +31 -0
- package/commitlint.config.js +1 -0
- package/jest.config.js +5 -0
- package/lib/apis/azul/common/constants.d.ts +10 -0
- package/lib/apis/azul/common/constants.js +13 -0
- package/lib/apis/azul/common/entities.d.ts +161 -0
- package/lib/apis/azul/common/entities.js +57 -0
- package/lib/apis/azul/common/filterTransformer.d.ts +22 -0
- package/lib/apis/azul/common/filterTransformer.js +112 -0
- package/lib/apis/azul/common/utils.d.ts +7 -0
- package/lib/apis/azul/common/utils.js +21 -0
- package/lib/common/analytics/analytics.d.ts +17 -0
- package/lib/common/analytics/analytics.js +41 -0
- package/lib/common/analytics/entities.d.ts +69 -0
- package/lib/common/analytics/entities.js +47 -0
- package/lib/common/constants.d.ts +12 -0
- package/lib/common/constants.js +18 -0
- package/lib/common/entities.d.ts +90 -0
- package/lib/common/entities.js +12 -0
- package/lib/common/selectors.d.ts +2 -0
- package/lib/common/selectors.js +5 -0
- package/lib/common/utils.d.ts +18 -0
- package/lib/common/utils.js +35 -0
- package/lib/components/ComponentCreator/ComponentCreator.d.ts +16 -0
- package/lib/components/ComponentCreator/ComponentCreator.js +49 -0
- package/lib/components/ComponentCreator/components/ConditionalComponent/conditionalComponent.d.ts +9 -0
- package/lib/components/ComponentCreator/components/ConditionalComponent/conditionalComponent.js +11 -0
- package/lib/components/ComponentCreator/components/RenderComponent/renderComponent.d.ts +8 -0
- package/lib/components/ComponentCreator/components/RenderComponent/renderComponent.js +24 -0
- package/lib/components/Detail/components/AccessibilityBadge/accessibilityBadge.d.ts +8 -0
- package/lib/components/Detail/components/AccessibilityBadge/accessibilityBadge.js +18 -0
- package/lib/components/Detail/components/DetailViewTable/detailViewTable.d.ts +14 -0
- package/lib/components/Detail/components/DetailViewTable/detailViewTable.js +18 -0
- package/lib/components/Detail/components/Table/common/utils.d.ts +7 -0
- package/lib/components/Detail/components/Table/common/utils.js +15 -0
- package/lib/components/Detail/components/Table/components/TableBody/tableBody.d.ts +10 -0
- package/lib/components/Detail/components/Table/components/TableBody/tableBody.js +15 -0
- package/lib/components/Detail/components/Table/components/TableHead/tableHead.d.ts +8 -0
- package/lib/components/Detail/components/Table/components/TableHead/tableHead.js +36 -0
- package/lib/components/Detail/components/Table/components/TableRows/components/CollapsableRows/collapsableRows.d.ts +6 -0
- package/lib/components/Detail/components/Table/components/TableRows/components/CollapsableRows/collapsableRows.js +40 -0
- package/lib/components/Detail/components/Table/components/TableRows/tableRows.d.ts +8 -0
- package/lib/components/Detail/components/Table/components/TableRows/tableRows.js +41 -0
- package/lib/components/Detail/components/Table/table.d.ts +17 -0
- package/lib/components/Detail/components/Table/table.js +33 -0
- package/lib/components/Detail/detail.d.ts +9 -0
- package/lib/components/Detail/detail.js +12 -0
- package/lib/components/Detail/detail.stories.d.ts +3 -0
- package/lib/components/Detail/detail.stories.js +49 -0
- package/lib/components/Error/error.d.ts +8 -0
- package/lib/components/Error/error.js +50 -0
- package/lib/components/Error/error.stories.d.ts +7 -0
- package/lib/components/Error/error.stories.js +28 -0
- package/lib/components/Error/error.styles.d.ts +27 -0
- package/lib/components/Error/error.styles.js +44 -0
- package/lib/components/ErrorBoundary/errorBoundary.d.ts +19 -0
- package/lib/components/ErrorBoundary/errorBoundary.js +28 -0
- package/lib/components/ErrorBoundary/index.d.ts +1 -0
- package/lib/components/ErrorBoundary/index.js +5 -0
- package/lib/components/Export/common/entities.d.ts +43 -0
- package/lib/components/Export/common/entities.js +11 -0
- package/lib/components/Export/common/tracking.d.ts +7 -0
- package/lib/components/Export/common/tracking.js +28 -0
- package/lib/components/Export/common/utils.d.ts +9 -0
- package/lib/components/Export/common/utils.js +36 -0
- package/lib/components/Export/components/DownloadCurlCommand/components/DownloadCurlCommandForm/downloadCurlCommandForm.d.ts +11 -0
- package/lib/components/Export/components/DownloadCurlCommand/components/DownloadCurlCommandForm/downloadCurlCommandForm.js +36 -0
- package/lib/components/Export/components/DownloadCurlCommand/components/DownloadCurlCommandForm/downloadCurlCommandForm.styles.d.ts +4 -0
- package/lib/components/Export/components/DownloadCurlCommand/components/DownloadCurlCommandForm/downloadCurlCommandForm.styles.js +11 -0
- package/lib/components/Export/components/DownloadCurlCommand/components/DownloadCurlCommandNotStarted/downloadCurlCommandNotStarted.d.ts +14 -0
- package/lib/components/Export/components/DownloadCurlCommand/components/DownloadCurlCommandNotStarted/downloadCurlCommandNotStarted.js +22 -0
- package/lib/components/Export/components/DownloadCurlCommand/components/DownloadCurlCommandReady/downloadCurlCommandReady.d.ts +6 -0
- package/lib/components/Export/components/DownloadCurlCommand/components/DownloadCurlCommandReady/downloadCurlCommandReady.js +18 -0
- package/lib/components/Export/components/DownloadCurlCommand/downloadCurlCommand.d.ts +17 -0
- package/lib/components/Export/components/DownloadCurlCommand/downloadCurlCommand.js +76 -0
- package/lib/components/Export/components/ExportForm/common/entities.d.ts +6 -0
- package/lib/components/Export/components/ExportForm/common/entities.js +2 -0
- package/lib/components/Export/components/ExportForm/components/ExportButton/exportButton.d.ts +7 -0
- package/lib/components/Export/components/ExportForm/components/ExportButton/exportButton.js +20 -0
- package/lib/components/Export/components/ExportForm/components/ExportExecutionEnvironmentForm/exportExecutionEnvironmentForm.d.ts +7 -0
- package/lib/components/Export/components/ExportForm/components/ExportExecutionEnvironmentForm/exportExecutionEnvironmentForm.js +20 -0
- package/lib/components/Export/components/ExportForm/components/ExportFileSummaryForm/exportFileSummaryForm.d.ts +12 -0
- package/lib/components/Export/components/ExportForm/components/ExportFileSummaryForm/exportFileSummaryForm.js +80 -0
- package/lib/components/Export/components/ExportForm/components/ExportManifestDownloadFormatForm/exportManifestDownloadFormatForm.d.ts +7 -0
- package/lib/components/Export/components/ExportForm/components/ExportManifestDownloadFormatForm/exportManifestDownloadFormatForm.js +27 -0
- package/lib/components/Export/components/ExportForm/components/ExportSpeciesForm/exportSpeciesForm.d.ts +11 -0
- package/lib/components/Export/components/ExportForm/components/ExportSpeciesForm/exportSpeciesForm.js +29 -0
- package/lib/components/Export/components/ExportForm/exportForm.d.ts +17 -0
- package/lib/components/Export/components/ExportForm/exportForm.js +106 -0
- package/lib/components/Export/components/ExportForm/exportForm.styles.d.ts +45 -0
- package/lib/components/Export/components/ExportForm/exportForm.styles.js +101 -0
- package/lib/components/Export/components/ExportMethod/exportMethod.d.ts +10 -0
- package/lib/components/Export/components/ExportMethod/exportMethod.js +29 -0
- package/lib/components/Export/components/ExportMethod/exportMethod.stories.d.ts +3 -0
- package/lib/components/Export/components/ExportMethod/exportMethod.stories.js +26 -0
- package/lib/components/Export/components/ExportMethod/exportMethod.styles.d.ts +8 -0
- package/lib/components/Export/components/ExportMethod/exportMethod.styles.js +17 -0
- package/lib/components/Export/components/ExportSummary/common/utils.d.ts +20 -0
- package/lib/components/Export/components/ExportSummary/common/utils.js +53 -0
- package/lib/components/Export/components/ExportSummary/components/ExportCurrentQuery/exportCurrentQuery.d.ts +7 -0
- package/lib/components/Export/components/ExportSummary/components/ExportCurrentQuery/exportCurrentQuery.js +42 -0
- package/lib/components/Export/components/ExportSummary/components/ExportSelectedDataSummary/exportSelectedDataSummary.d.ts +8 -0
- package/lib/components/Export/components/ExportSummary/components/ExportSelectedDataSummary/exportSelectedDataSummary.js +20 -0
- package/lib/components/Export/components/ExportSummary/exportSummary.d.ts +5 -0
- package/lib/components/Export/components/ExportSummary/exportSummary.js +12 -0
- package/lib/components/Export/components/ExportSummary/exportSummary.styles.d.ts +9 -0
- package/lib/components/Export/components/ExportSummary/exportSummary.styles.js +26 -0
- package/lib/components/Export/components/ExportToTerra/components/ExportToTerraForm/exportToTerraForm.d.ts +11 -0
- package/lib/components/Export/components/ExportToTerra/components/ExportToTerraForm/exportToTerraForm.js +35 -0
- package/lib/components/Export/components/ExportToTerra/components/ExportToTerraNotStarted/exportToTerraNotStarted.d.ts +14 -0
- package/lib/components/Export/components/ExportToTerra/components/ExportToTerraNotStarted/exportToTerraNotStarted.js +21 -0
- package/lib/components/Export/components/ExportToTerra/components/ExportToTerraReady/exportToTerraReady.d.ts +6 -0
- package/lib/components/Export/components/ExportToTerra/components/ExportToTerraReady/exportToTerraReady.js +23 -0
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/components/AcceptTerraTOS/acceptTerraTOS.d.ts +7 -0
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/components/AcceptTerraTOS/acceptTerraTOS.js +34 -0
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/components/ConnectTerraToNIHAccount/connectTerraToNIHAccount.d.ts +7 -0
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/components/ConnectTerraToNIHAccount/connectTerraToNIHAccount.js +17 -0
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/components/CreateTerraAccount/createTerraAccount.d.ts +7 -0
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/components/CreateTerraAccount/createTerraAccount.js +22 -0
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/formStep.d.ts +10 -0
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/formStep.js +22 -0
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/formStep.styles.d.ts +7 -0
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/formStep.styles.js +15 -0
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/NIHAccountExpiryWarning/nihAccountExpiryWarning.d.ts +2 -0
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/NIHAccountExpiryWarning/nihAccountExpiryWarning.js +49 -0
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/terraSetUpForm.d.ts +2 -0
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/terraSetUpForm.js +51 -0
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/terraSetUpForm.styles.d.ts +17 -0
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/terraSetUpForm.styles.js +62 -0
- package/lib/components/Export/components/ExportToTerra/exportToTerra.d.ts +18 -0
- package/lib/components/Export/components/ExportToTerra/exportToTerra.js +20 -0
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/components/FileManifestDownload/fileManifestDownload.d.ts +6 -0
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/components/FileManifestDownload/fileManifestDownload.js +77 -0
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/components/FileManifestSpreadsheet/fileManifestSpreadsheet.d.ts +6 -0
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/components/FileManifestSpreadsheet/fileManifestSpreadsheet.js +84 -0
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/manifestDownloadEntity.d.ts +9 -0
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/manifestDownloadEntity.js +18 -0
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/manifestDownloadEntity.styles.d.ts +14 -0
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/manifestDownloadEntity.styles.js +38 -0
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadForm/manifestDownloadForm.d.ts +9 -0
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadForm/manifestDownloadForm.js +33 -0
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadNotStarted/manifestDownloadNotStarted.d.ts +12 -0
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadNotStarted/manifestDownloadNotStarted.js +21 -0
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadReady/manifestDownloadReady.d.ts +6 -0
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadReady/manifestDownloadReady.js +21 -0
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadReady/manifestDownloadReady.styles.d.ts +3 -0
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadReady/manifestDownloadReady.styles.js +16 -0
- package/lib/components/Export/components/ManifestDownload/manifestDownload.d.ts +16 -0
- package/lib/components/Export/components/ManifestDownload/manifestDownload.js +28 -0
- package/lib/components/Export/export.styles.d.ts +27 -0
- package/lib/components/Export/export.styles.js +37 -0
- package/lib/components/Filter/common/constants.d.ts +4 -0
- package/lib/components/Filter/common/constants.js +7 -0
- package/lib/components/Filter/common/entities.d.ts +36 -0
- package/lib/components/Filter/common/entities.js +2 -0
- package/lib/components/Filter/common/utils.d.ts +7 -0
- package/lib/components/Filter/common/utils.js +75 -0
- package/lib/components/Filter/components/ClearAllFilters/clearAllFilters.d.ts +2 -0
- package/lib/components/Filter/components/ClearAllFilters/clearAllFilters.js +21 -0
- package/lib/components/Filter/components/Filter/components/DrawerTransition/drawerTransition.d.ts +3 -0
- package/lib/components/Filter/components/Filter/components/DrawerTransition/drawerTransition.js +43 -0
- package/lib/components/Filter/components/Filter/filter.d.ts +14 -0
- package/lib/components/Filter/components/Filter/filter.js +84 -0
- package/lib/components/Filter/components/Filter/filter.stories.d.ts +3 -0
- package/lib/components/Filter/components/Filter/filter.stories.js +47 -0
- package/lib/components/Filter/components/Filter/filter.styles.d.ts +3 -0
- package/lib/components/Filter/components/Filter/filter.styles.js +24 -0
- package/lib/components/Filter/components/FilterLabel/filterLabel.d.ts +8 -0
- package/lib/components/Filter/components/FilterLabel/filterLabel.js +14 -0
- package/lib/components/Filter/components/FilterLabel/filterLabel.stories.d.ts +3 -0
- package/lib/components/Filter/components/FilterLabel/filterLabel.stories.js +28 -0
- package/lib/components/Filter/components/FilterLabel/filterLabel.styles.d.ts +36 -0
- package/lib/components/Filter/components/FilterLabel/filterLabel.styles.js +40 -0
- package/lib/components/Filter/components/FilterList/filterList.styles.d.ts +13 -0
- package/lib/components/Filter/components/FilterList/filterList.styles.js +44 -0
- package/lib/components/Filter/components/FilterMenu/filterMenu.d.ts +16 -0
- package/lib/components/Filter/components/FilterMenu/filterMenu.js +53 -0
- package/lib/components/Filter/components/FilterMenu/filterMenu.stories.d.ts +3 -0
- package/lib/components/Filter/components/FilterMenu/filterMenu.stories.js +122 -0
- package/lib/components/Filter/components/FilterMenu/filterMenu.styles.d.ts +50 -0
- package/lib/components/Filter/components/FilterMenu/filterMenu.styles.js +30 -0
- package/lib/components/Filter/components/FilterMenuSearch/filterMenuSearch.d.ts +7 -0
- package/lib/components/Filter/components/FilterMenuSearch/filterMenuSearch.js +13 -0
- package/lib/components/Filter/components/FilterMenuSearch/filterMenuSearch.styles.d.ts +3 -0
- package/lib/components/Filter/components/FilterMenuSearch/filterMenuSearch.styles.js +21 -0
- package/lib/components/Filter/components/FilterNoResultsFound/filterNoResultsFound.d.ts +7 -0
- package/lib/components/Filter/components/FilterNoResultsFound/filterNoResultsFound.js +36 -0
- package/lib/components/Filter/components/FilterNoResultsFound/filterNoResultsFound.styles.d.ts +5 -0
- package/lib/components/Filter/components/FilterNoResultsFound/filterNoResultsFound.styles.js +12 -0
- package/lib/components/Filter/components/FilterTag/filterTag.d.ts +7 -0
- package/lib/components/Filter/components/FilterTag/filterTag.js +56 -0
- package/lib/components/Filter/components/FilterTag/filterTag.stories.d.ts +3 -0
- package/lib/components/Filter/components/FilterTag/filterTag.stories.js +22 -0
- package/lib/components/Filter/components/FilterTag/filterTag.styles.d.ts +22 -0
- package/lib/components/Filter/components/FilterTag/filterTag.styles.js +11 -0
- package/lib/components/Filter/components/FilterTags/filterTags.d.ts +6 -0
- package/lib/components/Filter/components/FilterTags/filterTags.js +13 -0
- package/lib/components/Filter/components/FilterTags/filterTags.stories.d.ts +3 -0
- package/lib/components/Filter/components/FilterTags/filterTags.stories.js +58 -0
- package/lib/components/Filter/components/FilterTags/filterTags.styles.d.ts +5 -0
- package/lib/components/Filter/components/FilterTags/filterTags.styles.js +23 -0
- package/lib/components/Filter/components/Filters/filters.d.ts +16 -0
- package/lib/components/Filter/components/Filters/filters.js +85 -0
- package/lib/components/Filter/components/Filters/filters.stories.d.ts +6 -0
- package/lib/components/Filter/components/Filters/filters.stories.js +98 -0
- package/lib/components/Filter/components/Filters/filters.styles.d.ts +10 -0
- package/lib/components/Filter/components/Filters/filters.styles.js +33 -0
- package/lib/components/Filter/components/HighlightedLabel/highlightedLabel.d.ts +8 -0
- package/lib/components/Filter/components/HighlightedLabel/highlightedLabel.js +40 -0
- package/lib/components/Filter/components/HighlightedLabel/highlightedLabel.styles.d.ts +10 -0
- package/lib/components/Filter/components/HighlightedLabel/highlightedLabel.styles.js +25 -0
- package/lib/components/Filter/components/SearchAllFilters/common/constants.d.ts +18 -0
- package/lib/components/Filter/components/SearchAllFilters/common/constants.js +55 -0
- package/lib/components/Filter/components/SearchAllFilters/common/entites.d.ts +33 -0
- package/lib/components/Filter/components/SearchAllFilters/common/entites.js +15 -0
- package/lib/components/Filter/components/SearchAllFilters/common/utils.d.ts +6 -0
- package/lib/components/Filter/components/SearchAllFilters/common/utils.js +16 -0
- package/lib/components/Filter/components/SearchAllFilters/components/AutocompletePopper/autocompletePopper.styles.d.ts +13 -0
- package/lib/components/Filter/components/SearchAllFilters/components/AutocompletePopper/autocompletePopper.styles.js +21 -0
- package/lib/components/Filter/components/SearchAllFilters/components/VariableSizeList/VariableSizeList.d.ts +17 -0
- package/lib/components/Filter/components/SearchAllFilters/components/VariableSizeList/VariableSizeList.js +198 -0
- package/lib/components/Filter/components/SearchAllFilters/components/VariableSizeListItem/variableSizeListItem.d.ts +12 -0
- package/lib/components/Filter/components/SearchAllFilters/components/VariableSizeListItem/variableSizeListItem.js +58 -0
- package/lib/components/Filter/components/SearchAllFilters/searchAllFilters.d.ts +19 -0
- package/lib/components/Filter/components/SearchAllFilters/searchAllFilters.js +117 -0
- package/lib/components/Filter/components/SearchAllFilters/searchAllFilters.stories.d.ts +6 -0
- package/lib/components/Filter/components/SearchAllFilters/searchAllFilters.stories.js +89 -0
- package/lib/components/Filter/components/SearchAllFilters/searchAllFilters.styles.d.ts +2 -0
- package/lib/components/Filter/components/SearchAllFilters/searchAllFilters.styles.js +20 -0
- package/lib/components/Filter/components/SearchAllFiltersSearch/components/SearchCloseButton/searchCloseButton.d.ts +2 -0
- package/lib/components/Filter/components/SearchAllFiltersSearch/components/SearchCloseButton/searchCloseButton.js +44 -0
- package/lib/components/Filter/components/SearchAllFiltersSearch/searchAllFiltersSearch.d.ts +3 -0
- package/lib/components/Filter/components/SearchAllFiltersSearch/searchAllFiltersSearch.js +48 -0
- package/lib/components/Filter/components/SearchAllFiltersSearch/searchAllFiltersSearch.styles.d.ts +5 -0
- package/lib/components/Filter/components/SearchAllFiltersSearch/searchAllFiltersSearch.styles.js +41 -0
- package/lib/components/Filter/components/VariableSizeList/VariableSizeList.d.ts +18 -0
- package/lib/components/Filter/components/VariableSizeList/VariableSizeList.js +107 -0
- package/lib/components/Filter/components/VariableSizeListItem/variableSizeListItem.d.ts +14 -0
- package/lib/components/Filter/components/VariableSizeListItem/variableSizeListItem.js +48 -0
- package/lib/components/Head/head.d.ts +5 -0
- package/lib/components/Head/head.js +37 -0
- package/lib/components/Index/components/AzulFileDownload/azulFileDownload.d.ts +5 -0
- package/lib/components/Index/components/AzulFileDownload/azulFileDownload.js +97 -0
- package/lib/components/Index/components/AzulFileDownload/azulFileDownload.stories.d.ts +3 -0
- package/lib/components/Index/components/AzulFileDownload/azulFileDownload.stories.js +17 -0
- package/lib/components/Index/components/Cell/cell.d.ts +5 -0
- package/lib/components/Index/components/Cell/cell.js +14 -0
- package/lib/components/Index/components/Hero/components/ExportButton/exportButton.d.ts +2 -0
- package/lib/components/Index/components/Hero/components/ExportButton/exportButton.js +19 -0
- package/lib/components/Index/components/Hero/components/ExportButton/exportButton.styles.d.ts +4 -0
- package/lib/components/Index/components/Hero/components/ExportButton/exportButton.styles.js +19 -0
- package/lib/components/Index/components/Hero/components/Summaries/summaries.d.ts +9 -0
- package/lib/components/Index/components/Hero/components/Summaries/summaries.js +39 -0
- package/lib/components/Index/components/Hero/components/Summaries/summaries.stories.d.ts +3 -0
- package/lib/components/Index/components/Hero/components/Summaries/summaries.stories.js +24 -0
- package/lib/components/Index/components/Hero/components/Summaries/summaries.styles.d.ts +8 -0
- package/lib/components/Index/components/Hero/components/Summaries/summaries.styles.js +32 -0
- package/lib/components/Index/components/Hero/hero.d.ts +11 -0
- package/lib/components/Index/components/Hero/hero.js +19 -0
- package/lib/components/Index/components/Hero/hero.stories.d.ts +3 -0
- package/lib/components/Index/components/Hero/hero.stories.js +26 -0
- package/lib/components/Index/components/Hero/hero.styles.d.ts +17 -0
- package/lib/components/Index/components/Hero/hero.styles.js +50 -0
- package/lib/components/Index/components/NTag/components/Tooltip/tooltip.d.ts +6 -0
- package/lib/components/Index/components/NTag/components/Tooltip/tooltip.js +93 -0
- package/lib/components/Index/components/NTag/components/Tooltip/tooltip.styles.d.ts +5 -0
- package/lib/components/Index/components/NTag/components/Tooltip/tooltip.styles.js +16 -0
- package/lib/components/Index/components/NTag/nTag.d.ts +7 -0
- package/lib/components/Index/components/NTag/nTag.js +24 -0
- package/lib/components/Index/components/NTagCell/nTagCell.d.ts +7 -0
- package/lib/components/Index/components/NTagCell/nTagCell.js +52 -0
- package/lib/components/Index/components/NTagCell/nTagCell.stories.d.ts +3 -0
- package/lib/components/Index/components/NTagCell/nTagCell.stories.js +22 -0
- package/lib/components/Index/components/TitleCell/titleCell.d.ts +6 -0
- package/lib/components/Index/components/TitleCell/titleCell.js +29 -0
- package/lib/components/Index/components/TitleCell/titleCell.styles.d.ts +3 -0
- package/lib/components/Index/components/TitleCell/titleCell.styles.js +12 -0
- package/lib/components/Index/index.d.ts +12 -0
- package/lib/components/Index/index.js +21 -0
- package/lib/components/Index/index.stories.d.ts +6 -0
- package/lib/components/Index/index.stories.js +30 -0
- package/lib/components/Index/index.styles.d.ts +9 -0
- package/lib/components/Index/index.styles.js +20 -0
- package/lib/components/Layout/components/AppLayout/appLayout.styles.d.ts +5 -0
- package/lib/components/Layout/components/AppLayout/appLayout.styles.js +13 -0
- package/lib/components/Layout/components/BackPage/backPageView.d.ts +9 -0
- package/lib/components/Layout/components/BackPage/backPageView.js +48 -0
- package/lib/components/Layout/components/BackPage/backPageView.stories.d.ts +3 -0
- package/lib/components/Layout/components/BackPage/backPageView.stories.js +48 -0
- package/lib/components/Layout/components/BackPage/backPageView.styles.d.ts +47 -0
- package/lib/components/Layout/components/BackPage/backPageView.styles.js +143 -0
- package/lib/components/Layout/components/BackPage/components/BackPageHero/backPageHero.d.ts +14 -0
- package/lib/components/Layout/components/BackPage/components/BackPageHero/backPageHero.js +43 -0
- package/lib/components/Layout/components/BackPage/components/BackPageHero/backPageHero.stories.d.ts +6 -0
- package/lib/components/Layout/components/BackPage/components/BackPageHero/backPageHero.stories.js +13 -0
- package/lib/components/Layout/components/BackPage/components/BackPageHero/backPageHero.styles.d.ts +20 -0
- package/lib/components/Layout/components/BackPage/components/BackPageHero/backPageHero.styles.js +38 -0
- package/lib/components/Layout/components/BackPage/components/BackPageHero/components/SubTitle/subTitle.d.ts +5 -0
- package/lib/components/Layout/components/BackPage/components/BackPageHero/components/SubTitle/subTitle.js +25 -0
- package/lib/components/Layout/components/ContentLayout/common/constants.d.ts +5 -0
- package/lib/components/Layout/components/ContentLayout/common/constants.js +24 -0
- package/lib/components/Layout/components/ContentLayout/common/entities.d.ts +11 -0
- package/lib/components/Layout/components/ContentLayout/common/entities.js +9 -0
- package/lib/components/Layout/components/ContentLayout/components/Main/main.d.ts +6 -0
- package/lib/components/Layout/components/ContentLayout/components/Main/main.js +12 -0
- package/lib/components/Layout/components/ContentLayout/contentLayout.d.ts +10 -0
- package/lib/components/Layout/components/ContentLayout/contentLayout.js +31 -0
- package/lib/components/Layout/components/ContentLayout/contentLayout.styles.d.ts +38 -0
- package/lib/components/Layout/components/ContentLayout/contentLayout.styles.js +111 -0
- package/lib/components/Layout/components/Floating/floating.d.ts +6 -0
- package/lib/components/Layout/components/Floating/floating.js +32 -0
- package/lib/components/Layout/components/Footer/footer.d.ts +10 -0
- package/lib/components/Layout/components/Footer/footer.js +21 -0
- package/lib/components/Layout/components/Footer/footer.stories.d.ts +6 -0
- package/lib/components/Layout/components/Footer/footer.stories.js +69 -0
- package/lib/components/Layout/components/Footer/footer.styles.d.ts +12 -0
- package/lib/components/Layout/components/Footer/footer.styles.js +55 -0
- package/lib/components/Layout/components/Header/common/constants.d.ts +14 -0
- package/lib/components/Layout/components/Header/common/constants.js +17 -0
- package/lib/components/Layout/components/Header/common/entities.d.ts +6 -0
- package/lib/components/Layout/components/Header/common/entities.js +2 -0
- package/lib/components/Layout/components/Header/common/utils.d.ts +22 -0
- package/lib/components/Layout/components/Header/common/utils.js +75 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/actions.d.ts +6 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/actions.js +12 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/actions.styles.d.ts +5 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/actions.styles.js +19 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/authentication.d.ts +6 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/authentication.js +41 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.d.ts +7 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.js +57 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.stories.d.ts +3 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.stories.js +35 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.styles.d.ts +86 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.styles.js +34 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/RequestAuthentication/requestAuthentication.d.ts +6 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/RequestAuthentication/requestAuthentication.js +27 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/RequestAuthentication/requestAuthentication.styles.d.ts +36 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/RequestAuthentication/requestAuthentication.styles.js +15 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Menu/components/Content/components/Navigation/navigation.styles.d.ts +7 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Menu/components/Content/components/Navigation/navigation.styles.js +35 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Menu/components/Content/components/Socials/socials.styles.d.ts +4 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Menu/components/Content/components/Socials/socials.styles.js +12 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Menu/components/Toolbar/toolbar.d.ts +11 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Menu/components/Toolbar/toolbar.js +48 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Menu/menu.d.ts +10 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Menu/menu.js +64 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchBar/searchBar.d.ts +9 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchBar/searchBar.js +83 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchBar/searchBar.styles.d.ts +12 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchBar/searchBar.styles.js +39 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchButton/searchButton.d.ts +5 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchButton/searchButton.js +24 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchButton/searchButton.styles.d.ts +36 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchButton/searchButton.styles.js +15 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/search.d.ts +7 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/search.js +39 -0
- package/lib/components/Layout/components/Header/components/Content/components/Logo/logo.d.ts +13 -0
- package/lib/components/Layout/components/Header/components/Content/components/Logo/logo.js +17 -0
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationDrawer/components/Slide/slide.d.ts +3 -0
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationDrawer/components/Slide/slide.js +43 -0
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationDrawer/navigationDrawer.d.ts +10 -0
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationDrawer/navigationDrawer.js +61 -0
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationDrawer/navigationDrawer.styles.d.ts +8 -0
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationDrawer/navigationDrawer.styles.js +20 -0
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenu/navigationMenu.d.ts +10 -0
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenu/navigationMenu.js +55 -0
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenu/navigationMenu.styles.d.ts +11 -0
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenu/navigationMenu.styles.js +70 -0
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenuItems/navigationMenuItems.d.ts +11 -0
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenuItems/navigationMenuItems.js +51 -0
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/navigation.d.ts +22 -0
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/navigation.js +51 -0
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/navigation.styles.d.ts +10 -0
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/navigation.styles.js +54 -0
- package/lib/components/Layout/components/Header/components/Content/components/Slogan/slogan.d.ts +7 -0
- package/lib/components/Layout/components/Header/components/Content/components/Slogan/slogan.js +33 -0
- package/lib/components/Layout/components/Header/components/Content/components/Slogan/slogan.styles.d.ts +20 -0
- package/lib/components/Layout/components/Header/components/Content/components/Slogan/slogan.styles.js +30 -0
- package/lib/components/Layout/components/Header/components/Content/components/Socials/socials.styles.d.ts +4 -0
- package/lib/components/Layout/components/Header/components/Content/components/Socials/socials.styles.js +13 -0
- package/lib/components/Layout/components/Header/components/Content/content.styles.d.ts +5 -0
- package/lib/components/Layout/components/Header/components/Content/content.styles.js +14 -0
- package/lib/components/Layout/components/Header/header.d.ts +18 -0
- package/lib/components/Layout/components/Header/header.js +108 -0
- package/lib/components/Layout/components/Header/header.stories.d.ts +6 -0
- package/lib/components/Layout/components/Header/header.stories.js +102 -0
- package/lib/components/Layout/components/Header/header.styles.d.ts +2 -0
- package/lib/components/Layout/components/Header/header.styles.js +27 -0
- package/lib/components/Layout/components/Main/main.d.ts +6 -0
- package/lib/components/Layout/components/Main/main.js +15 -0
- package/lib/components/Layout/components/Main/main.styles.d.ts +15 -0
- package/lib/components/Layout/components/Main/main.styles.js +19 -0
- package/lib/components/Layout/components/Nav/components/NavBarHero/navBarHero.d.ts +8 -0
- package/lib/components/Layout/components/Nav/components/NavBarHero/navBarHero.js +21 -0
- package/lib/components/Layout/components/Nav/components/NavBarHero/navBarHero.styles.d.ts +13 -0
- package/lib/components/Layout/components/Nav/components/NavBarHero/navBarHero.styles.js +28 -0
- package/lib/components/Layout/components/Nav/nav.d.ts +11 -0
- package/lib/components/Layout/components/Nav/nav.js +21 -0
- package/lib/components/Layout/components/Nav/nav.stories.d.ts +6 -0
- package/lib/components/Layout/components/Nav/nav.stories.js +34 -0
- package/lib/components/Layout/components/Nav/nav.styles.d.ts +17 -0
- package/lib/components/Layout/components/Nav/nav.styles.js +55 -0
- package/lib/components/Layout/components/Outline/common/constants.d.ts +2 -0
- package/lib/components/Layout/components/Outline/common/constants.js +4 -0
- package/lib/components/Layout/components/Outline/components/ContentsTab/contentsTab.d.ts +7 -0
- package/lib/components/Layout/components/Outline/components/ContentsTab/contentsTab.js +25 -0
- package/lib/components/Layout/components/Outline/components/ContentsTab/contentsTab.styles.d.ts +33 -0
- package/lib/components/Layout/components/Outline/components/ContentsTab/contentsTab.styles.js +22 -0
- package/lib/components/Layout/components/Outline/outline.d.ts +13 -0
- package/lib/components/Layout/components/Outline/outline.js +73 -0
- package/lib/components/Layout/components/Outline/outline.styles.d.ts +111 -0
- package/lib/components/Layout/components/Outline/outline.styles.js +62 -0
- package/lib/components/Layout/components/Sidebar/components/SidebarButton/sidebarButton.d.ts +8 -0
- package/lib/components/Layout/components/Sidebar/components/SidebarButton/sidebarButton.js +28 -0
- package/lib/components/Layout/components/Sidebar/components/SidebarButton/sidebarButton.styles.d.ts +8 -0
- package/lib/components/Layout/components/Sidebar/components/SidebarButton/sidebarButton.styles.js +38 -0
- package/lib/components/Layout/components/Sidebar/components/SidebarDrawer/sidebarDrawer.d.ts +7 -0
- package/lib/components/Layout/components/Sidebar/components/SidebarDrawer/sidebarDrawer.js +22 -0
- package/lib/components/Layout/components/Sidebar/components/SidebarDrawer/sidebarDrawer.styles.d.ts +3 -0
- package/lib/components/Layout/components/Sidebar/components/SidebarDrawer/sidebarDrawer.styles.js +24 -0
- package/lib/components/Layout/components/Sidebar/components/SidebarLabel/sidebarLabel.d.ts +5 -0
- package/lib/components/Layout/components/Sidebar/components/SidebarLabel/sidebarLabel.js +13 -0
- package/lib/components/Layout/components/Sidebar/components/SidebarLabel/sidebarLabel.stories.d.ts +3 -0
- package/lib/components/Layout/components/Sidebar/components/SidebarLabel/sidebarLabel.stories.js +20 -0
- package/lib/components/Layout/components/Sidebar/components/SidebarPositioner/sidebarPositioner.d.ts +5 -0
- package/lib/components/Layout/components/Sidebar/components/SidebarPositioner/sidebarPositioner.js +15 -0
- package/lib/components/Layout/components/Sidebar/components/SidebarPositioner/sidebarPositioner.styles.d.ts +9 -0
- package/lib/components/Layout/components/Sidebar/components/SidebarPositioner/sidebarPositioner.styles.js +21 -0
- package/lib/components/Layout/components/Sidebar/components/SidebarTools/sidebarTools.styles.d.ts +5 -0
- package/lib/components/Layout/components/Sidebar/components/SidebarTools/sidebarTools.styles.js +23 -0
- package/lib/components/Layout/components/Sidebar/sidebar.d.ts +7 -0
- package/lib/components/Layout/components/Sidebar/sidebar.js +48 -0
- package/lib/components/Layout/components/Sidebar/sidebar.stories.d.ts +8 -0
- package/lib/components/Layout/components/Sidebar/sidebar.stories.js +44 -0
- package/lib/components/Layout/components/Sidebar/sidebar.styles.d.ts +5 -0
- package/lib/components/Layout/components/Sidebar/sidebar.styles.js +13 -0
- package/lib/components/Links/common/entities.d.ts +4 -0
- package/lib/components/Links/common/entities.js +8 -0
- package/lib/components/Links/common/utils.d.ts +6 -0
- package/lib/components/Links/common/utils.js +12 -0
- package/lib/components/Links/components/Link/link.d.ts +13 -0
- package/lib/components/Links/components/Link/link.js +22 -0
- package/lib/components/Links/links.d.ts +7 -0
- package/lib/components/Links/links.js +18 -0
- package/lib/components/Links/links.stories.d.ts +3 -0
- package/lib/components/Links/links.stories.js +27 -0
- package/lib/components/Loading/loading.d.ts +21 -0
- package/lib/components/Loading/loading.js +46 -0
- package/lib/components/Loading/loading.stories.d.ts +3 -0
- package/lib/components/Loading/loading.stories.js +36 -0
- package/lib/components/Loading/loading.styles.d.ts +13 -0
- package/lib/components/Loading/loading.styles.js +77 -0
- package/lib/components/Login/login.d.ts +9 -0
- package/lib/components/Login/login.js +70 -0
- package/lib/components/Login/login.stories.d.ts +6 -0
- package/lib/components/Login/login.stories.js +37 -0
- package/lib/components/Login/login.styles.d.ts +33 -0
- package/lib/components/Login/login.styles.js +52 -0
- package/lib/components/NoResults/noResults.d.ts +9 -0
- package/lib/components/NoResults/noResults.js +24 -0
- package/lib/components/NoResults/noResults.styles.d.ts +13 -0
- package/lib/components/NoResults/noResults.styles.js +16 -0
- package/lib/components/Project/common/entities.d.ts +44 -0
- package/lib/components/Project/common/entities.js +2 -0
- package/lib/components/Project/components/Citation/citation.d.ts +6 -0
- package/lib/components/Project/components/Citation/citation.js +20 -0
- package/lib/components/Project/components/Citation/citation.stories.d.ts +6 -0
- package/lib/components/Project/components/Citation/citation.stories.js +19 -0
- package/lib/components/Project/components/Citation/citation.styles.d.ts +9 -0
- package/lib/components/Project/components/Citation/citation.styles.js +26 -0
- package/lib/components/Project/components/CollaboratingOrganizations/collaboratingOrganizations.d.ts +6 -0
- package/lib/components/Project/components/CollaboratingOrganizations/collaboratingOrganizations.js +16 -0
- package/lib/components/Project/components/CollaboratingOrganizations/collaboratingOrganizations.stories.d.ts +3 -0
- package/lib/components/Project/components/CollaboratingOrganizations/collaboratingOrganizations.stories.js +33 -0
- package/lib/components/Project/components/Contacts/contacts.d.ts +6 -0
- package/lib/components/Project/components/Contacts/contacts.js +20 -0
- package/lib/components/Project/components/Contacts/contacts.stories.d.ts +3 -0
- package/lib/components/Project/components/Contacts/contacts.stories.js +31 -0
- package/lib/components/Project/components/Contributors/contributors.d.ts +6 -0
- package/lib/components/Project/components/Contributors/contributors.js +20 -0
- package/lib/components/Project/components/Contributors/contributors.stories.d.ts +3 -0
- package/lib/components/Project/components/Contributors/contributors.stories.js +38 -0
- package/lib/components/Project/components/DataCurators/dataCurators.d.ts +6 -0
- package/lib/components/Project/components/DataCurators/dataCurators.js +13 -0
- package/lib/components/Project/components/DataCurators/dataCurators.stories.d.ts +3 -0
- package/lib/components/Project/components/DataCurators/dataCurators.stories.js +20 -0
- package/lib/components/Project/components/DataReleasePolicy/dataReleasePolicy.d.ts +2 -0
- package/lib/components/Project/components/DataReleasePolicy/dataReleasePolicy.js +20 -0
- package/lib/components/Project/components/DataReleasePolicy/dataReleasePolicy.stories.d.ts +3 -0
- package/lib/components/Project/components/DataReleasePolicy/dataReleasePolicy.stories.js +14 -0
- package/lib/components/Project/components/Description/description.d.ts +6 -0
- package/lib/components/Project/components/Description/description.js +14 -0
- package/lib/components/Project/components/Description/description.stories.d.ts +3 -0
- package/lib/components/Project/components/Description/description.stories.js +17 -0
- package/lib/components/Project/components/Details/details.d.ts +7 -0
- package/lib/components/Project/components/Details/details.js +45 -0
- package/lib/components/Project/components/Details/details.stories.d.ts +3 -0
- package/lib/components/Project/components/Details/details.stories.js +29 -0
- package/lib/components/Project/components/Publications/publications.d.ts +6 -0
- package/lib/components/Project/components/Publications/publications.js +18 -0
- package/lib/components/Project/components/Publications/publications.stories.d.ts +3 -0
- package/lib/components/Project/components/Publications/publications.stories.js +28 -0
- package/lib/components/Project/components/Sup/sup.styles.d.ts +5 -0
- package/lib/components/Project/components/Sup/sup.styles.js +10 -0
- package/lib/components/Project/components/SupplementaryLinks/supplementaryLinks.d.ts +6 -0
- package/lib/components/Project/components/SupplementaryLinks/supplementaryLinks.js +45 -0
- package/lib/components/Project/components/SupplementaryLinks/supplementaryLinks.stories.d.ts +3 -0
- package/lib/components/Project/components/SupplementaryLinks/supplementaryLinks.stories.js +29 -0
- package/lib/components/Project/components/SupplementaryLinks/supplementaryLinks.styles.d.ts +13 -0
- package/lib/components/Project/components/SupplementaryLinks/supplementaryLinks.styles.js +22 -0
- package/lib/components/Redirect/redirect.d.ts +6 -0
- package/lib/components/Redirect/redirect.js +36 -0
- package/lib/components/Support/components/SupportRequest/components/Dialog/dialog.d.ts +6 -0
- package/lib/components/Support/components/SupportRequest/components/Dialog/dialog.js +53 -0
- package/lib/components/Support/components/SupportRequest/components/Dialog/dialog.styles.d.ts +40 -0
- package/lib/components/Support/components/SupportRequest/components/Dialog/dialog.styles.js +34 -0
- package/lib/components/Support/components/SupportRequest/components/Dropzone/dropzone.d.ts +7 -0
- package/lib/components/Support/components/SupportRequest/components/Dropzone/dropzone.js +34 -0
- package/lib/components/Support/components/SupportRequest/components/SupportRequestForm/common/constants.d.ts +40 -0
- package/lib/components/Support/components/SupportRequest/components/SupportRequestForm/common/constants.js +42 -0
- package/lib/components/Support/components/SupportRequest/components/SupportRequestForm/common/entities.d.ts +54 -0
- package/lib/components/Support/components/SupportRequest/components/SupportRequestForm/common/entities.js +29 -0
- package/lib/components/Support/components/SupportRequest/components/SupportRequestForm/common/utils.d.ts +23 -0
- package/lib/components/Support/components/SupportRequest/components/SupportRequestForm/common/utils.js +95 -0
- package/lib/components/Support/components/SupportRequest/components/SupportRequestForm/supportRequestForm.d.ts +7 -0
- package/lib/components/Support/components/SupportRequest/components/SupportRequestForm/supportRequestForm.js +166 -0
- package/lib/components/Support/components/SupportRequest/components/SupportRequestForm/supportRequestForm.styles.d.ts +11 -0
- package/lib/components/Support/components/SupportRequest/components/SupportRequestForm/supportRequestForm.styles.js +16 -0
- package/lib/components/Support/components/SupportRequest/components/SupportRequestSubmitted/supportRequestSubmitted.d.ts +6 -0
- package/lib/components/Support/components/SupportRequest/components/SupportRequestSubmitted/supportRequestSubmitted.js +20 -0
- package/lib/components/Support/components/SupportRequest/supportRequest.d.ts +11 -0
- package/lib/components/Support/components/SupportRequest/supportRequest.js +35 -0
- package/lib/components/Support/components/ViewSupport/viewSupport.d.ts +13 -0
- package/lib/components/Support/components/ViewSupport/viewSupport.js +15 -0
- package/lib/components/Support/components/ViewSupport/viewSupport.styles.d.ts +5 -0
- package/lib/components/Support/components/ViewSupport/viewSupport.styles.js +31 -0
- package/lib/components/Table/common/entities.d.ts +4 -0
- package/lib/components/Table/common/entities.js +8 -0
- package/lib/components/Table/common/gridTable.styles.d.ts +16 -0
- package/lib/components/Table/common/gridTable.styles.js +39 -0
- package/lib/components/Table/common/utils.d.ts +123 -0
- package/lib/components/Table/common/utils.js +399 -0
- package/lib/components/Table/components/CheckboxMenu/checkboxMenu.d.ts +17 -0
- package/lib/components/Table/components/CheckboxMenu/checkboxMenu.js +55 -0
- package/lib/components/Table/components/CheckboxMenu/checkboxMenu.stories.d.ts +3 -0
- package/lib/components/Table/components/CheckboxMenu/checkboxMenu.stories.js +52 -0
- package/lib/components/Table/components/CheckboxMenu/checkboxMenu.styles.d.ts +3 -0
- package/lib/components/Table/components/CheckboxMenu/checkboxMenu.styles.js +27 -0
- package/lib/components/Table/components/DownloadEntityResults/downloadEntityResults.d.ts +7 -0
- package/lib/components/Table/components/DownloadEntityResults/downloadEntityResults.js +24 -0
- package/lib/components/Table/components/EntityViewToggle/entityViewToggle.d.ts +2 -0
- package/lib/components/Table/components/EntityViewToggle/entityViewToggle.js +37 -0
- package/lib/components/Table/components/Pagination/pagination.d.ts +10 -0
- package/lib/components/Table/components/Pagination/pagination.js +26 -0
- package/lib/components/Table/components/Pagination/pagination.stories.d.ts +3 -0
- package/lib/components/Table/components/Pagination/pagination.stories.js +26 -0
- package/lib/components/Table/components/Pagination/pagination.styles.d.ts +5 -0
- package/lib/components/Table/components/Pagination/pagination.styles.js +21 -0
- package/lib/components/Table/components/PaginationSummary/paginationSummary.d.ts +7 -0
- package/lib/components/Table/components/PaginationSummary/paginationSummary.js +19 -0
- package/lib/components/Table/components/TableBody/tableBody.d.ts +8 -0
- package/lib/components/Table/components/TableBody/tableBody.js +64 -0
- package/lib/components/Table/components/TableCell/components/CollapsableCell/collapsableCell.d.ts +6 -0
- package/lib/components/Table/components/TableCell/components/CollapsableCell/collapsableCell.js +55 -0
- package/lib/components/Table/components/TableCell/components/CollapsableCell/collapsableCell.styles.d.ts +20 -0
- package/lib/components/Table/components/TableCell/components/CollapsableCell/collapsableCell.styles.js +63 -0
- package/lib/components/Table/components/TableHead/tableHead.d.ts +8 -0
- package/lib/components/Table/components/TableHead/tableHead.js +38 -0
- package/lib/components/Table/components/TableRows/components/CollapsableRows/collapsableRows.d.ts +8 -0
- package/lib/components/Table/components/TableRows/components/CollapsableRows/collapsableRows.js +40 -0
- package/lib/components/Table/components/TableRows/components/VirtualizedRow/virtualizedRow.d.ts +7 -0
- package/lib/components/Table/components/TableRows/components/VirtualizedRow/virtualizedRow.js +61 -0
- package/lib/components/Table/components/TableRows/tableRows.d.ts +8 -0
- package/lib/components/Table/components/TableRows/tableRows.js +41 -0
- package/lib/components/Table/components/TableToolbar/tableToolbar.d.ts +10 -0
- package/lib/components/Table/components/TableToolbar/tableToolbar.js +58 -0
- package/lib/components/Table/components/TableToolbar/tableToolbar.styles.d.ts +8 -0
- package/lib/components/Table/components/TableToolbar/tableToolbar.styles.js +20 -0
- package/lib/components/Table/table.d.ts +30 -0
- package/lib/components/Table/table.js +236 -0
- package/lib/components/Table/table.styles.d.ts +17 -0
- package/lib/components/Table/table.styles.js +21 -0
- package/lib/components/TableCreator/tableCreator.d.ts +17 -0
- package/lib/components/TableCreator/tableCreator.js +73 -0
- package/lib/components/TempError/components/errorBox.d.ts +7 -0
- package/lib/components/TempError/components/errorBox.js +13 -0
- package/lib/components/TempError/index.d.ts +1 -0
- package/lib/components/TempError/index.js +5 -0
- package/lib/components/TempError/tempError.d.ts +7 -0
- package/lib/components/TempError/tempError.js +19 -0
- package/lib/components/common/Accordion/accordion.d.ts +8 -0
- package/lib/components/common/Accordion/accordion.js +54 -0
- package/lib/components/common/Accordion/accordion.stories.d.ts +7 -0
- package/lib/components/common/Accordion/accordion.stories.js +28 -0
- package/lib/components/common/Alert/alert.d.ts +12 -0
- package/lib/components/common/Alert/alert.js +14 -0
- package/lib/components/common/Alert/alert.stories.d.ts +6 -0
- package/lib/components/common/Alert/alert.stories.js +39 -0
- package/lib/components/common/Alert/alert.styles.d.ts +13 -0
- package/lib/components/common/Alert/alert.styles.js +32 -0
- package/lib/components/common/AnchorLink/anchorLink.d.ts +7 -0
- package/lib/components/common/AnchorLink/anchorLink.js +14 -0
- package/lib/components/common/AnchorLink/anchorLink.styles.d.ts +33 -0
- package/lib/components/common/AnchorLink/anchorLink.styles.js +19 -0
- package/lib/components/common/Banner/banner.d.ts +7 -0
- package/lib/components/common/Banner/banner.js +43 -0
- package/lib/components/common/Banner/components/BannerPrimary/bannerPrimary.d.ts +7 -0
- package/lib/components/common/Banner/components/BannerPrimary/bannerPrimary.js +24 -0
- package/lib/components/common/Banner/components/BannerPrimary/bannerPrimary.styles.d.ts +3 -0
- package/lib/components/common/Banner/components/BannerPrimary/bannerPrimary.styles.js +25 -0
- package/lib/components/common/Banner/components/CookieBanner/cookieBanner.d.ts +9 -0
- package/lib/components/common/Banner/components/CookieBanner/cookieBanner.js +76 -0
- package/lib/components/common/Banner/components/CookieBanner/cookieBanner.styles.d.ts +4 -0
- package/lib/components/common/Banner/components/CookieBanner/cookieBanner.styles.js +53 -0
- package/lib/components/common/Banner/components/DismissibleBanner/dismissibleBanner.d.ts +10 -0
- package/lib/components/common/Banner/components/DismissibleBanner/dismissibleBanner.js +55 -0
- package/lib/components/common/Banner/components/SessionTimeout/sessionTimeout.d.ts +7 -0
- package/lib/components/common/Banner/components/SessionTimeout/sessionTimeout.js +46 -0
- package/lib/components/common/Banner/components/SessionTimeout/sessionTimeout.styles.d.ts +3 -0
- package/lib/components/common/Banner/components/SessionTimeout/sessionTimeout.styles.js +27 -0
- package/lib/components/common/Banner/components/SystemIndexing/systemIndexing.d.ts +8 -0
- package/lib/components/common/Banner/components/SystemIndexing/systemIndexing.js +51 -0
- package/lib/components/common/Banner/components/SystemStatus/systemStatus.d.ts +8 -0
- package/lib/components/common/Banner/components/SystemStatus/systemStatus.js +51 -0
- package/lib/components/common/Breadcrumbs/breadcrumbs.d.ts +11 -0
- package/lib/components/common/Breadcrumbs/breadcrumbs.js +15 -0
- package/lib/components/common/Breadcrumbs/breadcrumbs.stories.d.ts +5 -0
- package/lib/components/common/Breadcrumbs/breadcrumbs.stories.js +56 -0
- package/lib/components/common/Button/button.d.ts +10 -0
- package/lib/components/common/Button/button.js +43 -0
- package/lib/components/common/Button/components/ButtonOutline/buttonOutline.d.ts +3 -0
- package/lib/components/common/Button/components/ButtonOutline/buttonOutline.js +43 -0
- package/lib/components/common/Button/components/ButtonOutline/buttonOutline.styles.d.ts +4 -0
- package/lib/components/common/Button/components/ButtonOutline/buttonOutline.styles.js +23 -0
- package/lib/components/common/Button/components/ButtonPrimary/buttonPrimary.d.ts +3 -0
- package/lib/components/common/Button/components/ButtonPrimary/buttonPrimary.js +43 -0
- package/lib/components/common/Button/components/ButtonSecondary/buttonSecondary.d.ts +3 -0
- package/lib/components/common/Button/components/ButtonSecondary/buttonSecondary.js +43 -0
- package/lib/components/common/Button/components/ButtonSecondaryOutline/buttonSecondaryOutline.d.ts +3 -0
- package/lib/components/common/Button/components/ButtonSecondaryOutline/buttonSecondaryOutline.js +43 -0
- package/lib/components/common/Button/components/ButtonText/buttonText.d.ts +4 -0
- package/lib/components/common/Button/components/ButtonText/buttonText.js +24 -0
- package/lib/components/common/Button/components/ButtonText/buttonText.styles.d.ts +4 -0
- package/lib/components/common/Button/components/ButtonText/buttonText.styles.js +18 -0
- package/lib/components/common/Button/components/ButtonTextPrimary/buttonTextPrimary.d.ts +4 -0
- package/lib/components/common/Button/components/ButtonTextPrimary/buttonTextPrimary.js +24 -0
- package/lib/components/common/Button/components/ButtonTextPrimary/buttonTextPrimary.styles.d.ts +4 -0
- package/lib/components/common/Button/components/ButtonTextPrimary/buttonTextPrimary.styles.js +14 -0
- package/lib/components/common/Button/components/ButtonTextUnderline/buttonTextUnderline.d.ts +4 -0
- package/lib/components/common/Button/components/ButtonTextUnderline/buttonTextUnderline.js +24 -0
- package/lib/components/common/Button/components/ButtonTextUnderline/buttonTextUnderline.styles.d.ts +4 -0
- package/lib/components/common/Button/components/ButtonTextUnderline/buttonTextUnderline.styles.js +19 -0
- package/lib/components/common/Button/components/CallToActionButton/callToActionButton.d.ts +14 -0
- package/lib/components/common/Button/components/CallToActionButton/callToActionButton.js +18 -0
- package/lib/components/common/Button/components/CallToActionButton/callToActionButton.stories.d.ts +4 -0
- package/lib/components/common/Button/components/CallToActionButton/callToActionButton.stories.js +33 -0
- package/lib/components/common/Button/components/DropdownButton/dropdownButton.d.ts +4 -0
- package/lib/components/common/Button/components/DropdownButton/dropdownButton.js +25 -0
- package/lib/components/common/Button/components/DropdownButton/dropdownButton.styles.d.ts +4 -0
- package/lib/components/common/Button/components/DropdownButton/dropdownButton.styles.js +16 -0
- package/lib/components/common/Button/components/FileDownloadButton/fileDownloadButton.d.ts +6 -0
- package/lib/components/common/Button/components/FileDownloadButton/fileDownloadButton.js +41 -0
- package/lib/components/common/Button/components/HelpIconButton/helpIconButton.d.ts +9 -0
- package/lib/components/common/Button/components/HelpIconButton/helpIconButton.js +20 -0
- package/lib/components/common/Button/components/HelpIconButton/helpIconButton.stories.d.ts +6 -0
- package/lib/components/common/Button/components/HelpIconButton/helpIconButton.stories.js +22 -0
- package/lib/components/common/Button/components/HelpIconButton/helpIconButton.styles.d.ts +1 -0
- package/lib/components/common/Button/components/HelpIconButton/helpIconButton.styles.js +13 -0
- package/lib/components/common/Button/components/LoginButton/loginButton.d.ts +4 -0
- package/lib/components/common/Button/components/LoginButton/loginButton.js +25 -0
- package/lib/components/common/Button/components/LoginButton/loginButton.styles.d.ts +8 -0
- package/lib/components/common/Button/components/LoginButton/loginButton.styles.js +17 -0
- package/lib/components/common/Button/components/NavigationButton/navigationButton.d.ts +6 -0
- package/lib/components/common/Button/components/NavigationButton/navigationButton.js +25 -0
- package/lib/components/common/Button/components/NavigationButton/navigationButton.styles.d.ts +8 -0
- package/lib/components/common/Button/components/NavigationButton/navigationButton.styles.js +31 -0
- package/lib/components/common/ButtonGroup/buttonGroup.d.ts +17 -0
- package/lib/components/common/ButtonGroup/buttonGroup.js +44 -0
- package/lib/components/common/ButtonGroup/components/ButtonGroupButton/buttonGroupButton.d.ts +11 -0
- package/lib/components/common/ButtonGroup/components/ButtonGroupButton/buttonGroupButton.js +13 -0
- package/lib/components/common/Card/card.d.ts +15 -0
- package/lib/components/common/Card/card.js +53 -0
- package/lib/components/common/Card/card.stories.d.ts +8 -0
- package/lib/components/common/Card/card.stories.js +40 -0
- package/lib/components/common/Card/card.styles.d.ts +11 -0
- package/lib/components/common/Card/card.styles.js +19 -0
- package/lib/components/common/Card/components/CardAction/cardAction.d.ts +8 -0
- package/lib/components/common/Card/components/CardAction/cardAction.js +12 -0
- package/lib/components/common/Card/components/CardActionArea/cardActionArea.d.ts +6 -0
- package/lib/components/common/Card/components/CardActionArea/cardActionArea.js +28 -0
- package/lib/components/common/Card/components/CardActions/cardActions.d.ts +5 -0
- package/lib/components/common/Card/components/CardActions/cardActions.js +15 -0
- package/lib/components/common/Card/components/CardActions/cardActions.styles.d.ts +5 -0
- package/lib/components/common/Card/components/CardActions/cardActions.styles.js +14 -0
- package/lib/components/common/Card/components/CardMedia/cardMedia.d.ts +6 -0
- package/lib/components/common/Card/components/CardMedia/cardMedia.js +14 -0
- package/lib/components/common/Card/components/CardMedia/cardMedia.styles.d.ts +5 -0
- package/lib/components/common/Card/components/CardMedia/cardMedia.styles.js +16 -0
- package/lib/components/common/Card/components/CardSecondaryText/cardSecondaryText.d.ts +5 -0
- package/lib/components/common/Card/components/CardSecondaryText/cardSecondaryText.js +25 -0
- package/lib/components/common/Card/components/CardSecondaryTitle/cardSecondaryTitle.d.ts +5 -0
- package/lib/components/common/Card/components/CardSecondaryTitle/cardSecondaryTitle.js +25 -0
- package/lib/components/common/Card/components/CardSecondaryTitle/cardSecondaryTitle.styles.d.ts +6 -0
- package/lib/components/common/Card/components/CardSecondaryTitle/cardSecondaryTitle.styles.js +11 -0
- package/lib/components/common/Card/components/CardText/cardText.d.ts +5 -0
- package/lib/components/common/Card/components/CardText/cardText.js +25 -0
- package/lib/components/common/Card/components/CardTitle/cardTitle.d.ts +5 -0
- package/lib/components/common/Card/components/CardTitle/cardTitle.js +25 -0
- package/lib/components/common/Card/components/RoundedCard/roundedCard.d.ts +5 -0
- package/lib/components/common/Card/components/RoundedCard/roundedCard.js +13 -0
- package/lib/components/common/Code/code.d.ts +6 -0
- package/lib/components/common/Code/code.js +52 -0
- package/lib/components/common/Code/code.stories.d.ts +5 -0
- package/lib/components/common/Code/code.stories.js +14 -0
- package/lib/components/common/Code/code.styles.d.ts +9 -0
- package/lib/components/common/Code/code.styles.js +58 -0
- package/lib/components/common/CopyToClipboard/copyToClipboard.d.ts +5 -0
- package/lib/components/common/CopyToClipboard/copyToClipboard.js +57 -0
- package/lib/components/common/CopyToClipboard/copyToClipboard.stories.d.ts +6 -0
- package/lib/components/common/CopyToClipboard/copyToClipboard.stories.js +18 -0
- package/lib/components/common/CustomIcon/common/constants.d.ts +5 -0
- package/lib/components/common/CustomIcon/common/constants.js +12 -0
- package/lib/components/common/CustomIcon/common/entities.d.ts +5 -0
- package/lib/components/common/CustomIcon/common/entities.js +2 -0
- package/lib/components/common/CustomIcon/components/AddIcon/addIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/AddIcon/addIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/AlertIcon/alertIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/AlertIcon/alertIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/BackArrowIcon/backArrowIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/BackArrowIcon/backArrowIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/CheckedIcon/checkedIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/CheckedIcon/checkedIcon.js +29 -0
- package/lib/components/common/CustomIcon/components/ContactSupportIcon/contactSupportIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/ContactSupportIcon/contactSupportIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/ContentCopyIcon/contentCopyIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/ContentCopyIcon/contentCopyIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/DiscourseIcon/discourseIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/DiscourseIcon/discourseIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/DownloadIcon/downloadIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/DownloadIcon/downloadIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/EmailReadIcon/emailReadIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/EmailReadIcon/emailReadIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/ErrorIcon/errorIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/ErrorIcon/errorIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/FacebookIcon/facebookIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/FacebookIcon/facebookIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/FeedbackIcon/feedbackIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/FeedbackIcon/feedbackIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/FormStatusCompletedIcon/formStatusCompletedIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/FormStatusCompletedIcon/formStatusCompletedIcon.js +29 -0
- package/lib/components/common/CustomIcon/components/FormStatusIncompleteIcon/formStatusIncompleteIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/FormStatusIncompleteIcon/formStatusIncompleteIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/ForwardArrowIcon/forwardArrowIcon.d.ts +3 -0
- package/lib/components/common/CustomIcon/components/ForwardArrowIcon/forwardArrowIcon.js +25 -0
- package/lib/components/common/CustomIcon/components/GitHubIcon/gitHubIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/GitHubIcon/gitHubIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/GoogleIcon/googleIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/GoogleIcon/googleIcon.js +31 -0
- package/lib/components/common/CustomIcon/components/HelpIcon/helpIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/HelpIcon/helpIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/InfoIcon/infoIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/InfoIcon/infoIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/InventoryIcon/inventoryIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/InventoryIcon/inventoryIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/LinkedInIcon/linkedInIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/LinkedInIcon/linkedInIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/LoadingIcon/loadingIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/LoadingIcon/loadingIcon.js +45 -0
- package/lib/components/common/CustomIcon/components/OpenInNewIcon/openInNewIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/OpenInNewIcon/openInNewIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/RadioCheckedIcon/radioCheckedIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/RadioCheckedIcon/radioCheckedIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/RadioUncheckedIcon/radioUncheckedIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/RadioUncheckedIcon/radioUncheckedIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/RemoveIcon/removeIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/RemoveIcon/removeIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/SearchIcon/searchIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/SearchIcon/searchIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/SearchOffIcon/searchOffIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/SearchOffIcon/searchOffIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/Segment/segment.d.ts +3 -0
- package/lib/components/common/CustomIcon/components/Segment/segment.js +25 -0
- package/lib/components/common/CustomIcon/components/SlackIcon/slackIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/SlackIcon/slackIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/SouthIcon/southIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/SouthIcon/southIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/SuccessIcon/successIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/SuccessIcon/successIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/UncheckedErrorIcon/uncheckedErrorIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/UncheckedErrorIcon/uncheckedErrorIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/UncheckedIcon/uncheckedIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/UncheckedIcon/uncheckedIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/UnfoldMoreIcon/unfoldMoreIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/UnfoldMoreIcon/unfoldMoreIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/WarningIcon/warningIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/WarningIcon/warningIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/XIcon/xIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/XIcon/xIcon.js +28 -0
- package/lib/components/common/CustomIcon/components/YouTubeIcon/youTubeIcon.d.ts +6 -0
- package/lib/components/common/CustomIcon/components/YouTubeIcon/youTubeIcon.js +28 -0
- package/lib/components/common/Dialog/components/DialogTitle/dialogTitle.d.ts +7 -0
- package/lib/components/common/Dialog/components/DialogTitle/dialogTitle.js +16 -0
- package/lib/components/common/Dot/dot.d.ts +5 -0
- package/lib/components/common/Dot/dot.js +12 -0
- package/lib/components/common/Dot/dot.styles.d.ts +5 -0
- package/lib/components/common/Dot/dot.styles.js +16 -0
- package/lib/components/common/EllipsisContent/ellipsisContent.d.ts +6 -0
- package/lib/components/common/EllipsisContent/ellipsisContent.js +189 -0
- package/lib/components/common/EllipsisContent/ellipsisContent.styles.d.ts +15 -0
- package/lib/components/common/EllipsisContent/ellipsisContent.styles.js +22 -0
- package/lib/components/common/Form/components/Input/input.d.ts +11 -0
- package/lib/components/common/Form/components/Input/input.js +28 -0
- package/lib/components/common/Form/components/Input/input.styles.d.ts +24 -0
- package/lib/components/common/Form/components/Input/input.styles.js +69 -0
- package/lib/components/common/Form/components/Select/components/DropDownIcon/dropDownIcon.d.ts +4 -0
- package/lib/components/common/Form/components/Select/components/DropDownIcon/dropDownIcon.js +24 -0
- package/lib/components/common/Form/components/Select/select.d.ts +12 -0
- package/lib/components/common/Form/components/Select/select.js +28 -0
- package/lib/components/common/Form/components/Select/select.styles.d.ts +24 -0
- package/lib/components/common/Form/components/Select/select.styles.js +40 -0
- package/lib/components/common/Form/components/UploadFile/uploadFile.d.ts +16 -0
- package/lib/components/common/Form/components/UploadFile/uploadFile.js +42 -0
- package/lib/components/common/Form/components/UploadFile/uploadFile.styles.d.ts +48 -0
- package/lib/components/common/Form/components/UploadFile/uploadFile.styles.js +49 -0
- package/lib/components/common/Grid/components/GridItem/gridItem.d.ts +10 -0
- package/lib/components/common/Grid/components/GridItem/gridItem.js +27 -0
- package/lib/components/common/Grid/grid.d.ts +10 -0
- package/lib/components/common/Grid/grid.js +27 -0
- package/lib/components/common/IconBadge/iconBadge.d.ts +17 -0
- package/lib/components/common/IconBadge/iconBadge.js +20 -0
- package/lib/components/common/IconBadge/iconBadge.styles.d.ts +10 -0
- package/lib/components/common/IconBadge/iconBadge.styles.js +69 -0
- package/lib/components/common/IconButton/components/LoadingIconButton/loadingIconButton.d.ts +5 -0
- package/lib/components/common/IconButton/components/LoadingIconButton/loadingIconButton.js +17 -0
- package/lib/components/common/IconButton/components/LoadingIconButton/loadingIconButton.stories.d.ts +3 -0
- package/lib/components/common/IconButton/components/LoadingIconButton/loadingIconButton.stories.js +15 -0
- package/lib/components/common/IconButton/iconButton.d.ts +12 -0
- package/lib/components/common/IconButton/iconButton.js +25 -0
- package/lib/components/common/IconButton/iconButton.styles.d.ts +16 -0
- package/lib/components/common/IconButton/iconButton.styles.js +90 -0
- package/lib/components/common/Input/input.d.ts +14 -0
- package/lib/components/common/Input/input.js +38 -0
- package/lib/components/common/Input/input.styles.d.ts +27 -0
- package/lib/components/common/Input/input.styles.js +35 -0
- package/lib/components/common/KeyValuePairs/components/KeyElType/keyElType.d.ts +8 -0
- package/lib/components/common/KeyValuePairs/components/KeyElType/keyElType.js +24 -0
- package/lib/components/common/KeyValuePairs/components/KeyValueElType/keyValueElType.d.ts +14 -0
- package/lib/components/common/KeyValuePairs/components/KeyValueElType/keyValueElType.js +24 -0
- package/lib/components/common/KeyValuePairs/components/ValueElType/valueElType.d.ts +8 -0
- package/lib/components/common/KeyValuePairs/components/ValueElType/valueElType.js +24 -0
- package/lib/components/common/KeyValuePairs/keyValuePairs.d.ts +18 -0
- package/lib/components/common/KeyValuePairs/keyValuePairs.js +38 -0
- package/lib/components/common/MDXMarkdown/components/Section/mdxSection.styles.d.ts +5 -0
- package/lib/components/common/MDXMarkdown/components/Section/mdxSection.styles.js +32 -0
- package/lib/components/common/Markdown/markdown.d.ts +5 -0
- package/lib/components/common/Markdown/markdown.js +13 -0
- package/lib/components/common/Paper/paper.d.ts +24 -0
- package/lib/components/common/Paper/paper.js +41 -0
- package/lib/components/common/Paper/paper.styles.d.ts +30 -0
- package/lib/components/common/Paper/paper.styles.js +71 -0
- package/lib/components/common/RadioGroup/radioGroup.d.ts +17 -0
- package/lib/components/common/RadioGroup/radioGroup.js +14 -0
- package/lib/components/common/Section/components/CollapsableSection/collapsableSection.d.ts +7 -0
- package/lib/components/common/Section/components/CollapsableSection/collapsableSection.js +74 -0
- package/lib/components/common/Section/components/CollapsableSection/collapsableSection.styles.d.ts +43 -0
- package/lib/components/common/Section/components/CollapsableSection/collapsableSection.styles.js +41 -0
- package/lib/components/common/Section/components/SectionDetailsEmpty/sectionDetailsEmpty.d.ts +5 -0
- package/lib/components/common/Section/components/SectionDetailsEmpty/sectionDetailsEmpty.js +11 -0
- package/lib/components/common/Section/components/SectionTitle/sectionTitle.d.ts +6 -0
- package/lib/components/common/Section/components/SectionTitle/sectionTitle.js +12 -0
- package/lib/components/common/Section/components/SectionTitle/sectionTitle.stories.d.ts +3 -0
- package/lib/components/common/Section/components/SectionTitle/sectionTitle.stories.js +20 -0
- package/lib/components/common/Section/section.styles.d.ts +29 -0
- package/lib/components/common/Section/section.styles.js +62 -0
- package/lib/components/common/Sections/sections.d.ts +6 -0
- package/lib/components/common/Sections/sections.js +13 -0
- package/lib/components/common/Socials/socials.d.ts +15 -0
- package/lib/components/common/Socials/socials.js +34 -0
- package/lib/components/common/Socials/socials.stories.d.ts +7 -0
- package/lib/components/common/Socials/socials.stories.js +59 -0
- package/lib/components/common/Socials/socials.styles.d.ts +5 -0
- package/lib/components/common/Socials/socials.styles.js +10 -0
- package/lib/components/common/Stack/components/Divider/divider.d.ts +11 -0
- package/lib/components/common/Stack/components/Divider/divider.js +29 -0
- package/lib/components/common/Stack/components/Divider/divider.styles.d.ts +11 -0
- package/lib/components/common/Stack/components/Divider/divider.styles.js +11 -0
- package/lib/components/common/Stack/stack.d.ts +18 -0
- package/lib/components/common/Stack/stack.js +12 -0
- package/lib/components/common/StaticImage/staticImage.d.ts +14 -0
- package/lib/components/common/StaticImage/staticImage.js +19 -0
- package/lib/components/common/StaticImage/staticImage.stories.d.ts +3 -0
- package/lib/components/common/StaticImage/staticImage.stories.js +26 -0
- package/lib/components/common/StatusBadge/statusBadge.d.ts +10 -0
- package/lib/components/common/StatusBadge/statusBadge.js +53 -0
- package/lib/components/common/StatusBadge/statusBadge.stories.d.ts +7 -0
- package/lib/components/common/StatusBadge/statusBadge.stories.js +16 -0
- package/lib/components/common/StatusIcon/statusIcon.d.ts +19 -0
- package/lib/components/common/StatusIcon/statusIcon.js +23 -0
- package/lib/components/common/StatusIcon/statusIcon.stories.d.ts +3 -0
- package/lib/components/common/StatusIcon/statusIcon.stories.js +23 -0
- package/lib/components/common/StatusIcon/statusIcon.styles.d.ts +10 -0
- package/lib/components/common/StatusIcon/statusIcon.styles.js +47 -0
- package/lib/components/common/Tabs/tabs.d.ts +19 -0
- package/lib/components/common/Tabs/tabs.js +13 -0
- package/lib/components/common/Tabs/tabs.styles.d.ts +43 -0
- package/lib/components/common/Tabs/tabs.styles.js +45 -0
- package/lib/components/common/Tag/tag.d.ts +6 -0
- package/lib/components/common/Tag/tag.js +12 -0
- package/lib/components/common/Tag/tag.stories.d.ts +3 -0
- package/lib/components/common/Tag/tag.stories.js +21 -0
- package/lib/components/common/Tag/tag.styles.d.ts +6 -0
- package/lib/components/common/Tag/tag.styles.js +17 -0
- package/lib/components/common/Title/title.d.ts +7 -0
- package/lib/components/common/Title/title.js +25 -0
- package/lib/components/common/Title/title.styles.d.ts +1 -0
- package/lib/components/common/Title/title.styles.js +12 -0
- package/lib/components/common/ToggleButtonGroup/toggleButtonGroup.d.ts +17 -0
- package/lib/components/common/ToggleButtonGroup/toggleButtonGroup.js +70 -0
- package/lib/components/common/ToggleButtonGroup/toggleButtonGroup.stories.d.ts +3 -0
- package/lib/components/common/ToggleButtonGroup/toggleButtonGroup.stories.js +38 -0
- package/lib/components/common/Typography/TypographyWordBreak/TypographyWordBreak.d.ts +5 -0
- package/lib/components/common/Typography/TypographyWordBreak/TypographyWordBreak.js +24 -0
- package/lib/config/config.d.ts +11 -0
- package/lib/config/config.js +20 -0
- package/lib/config/entities.d.ts +366 -0
- package/lib/config/entities.js +10 -0
- package/lib/config/utils.d.ts +31 -0
- package/lib/config/utils.js +98 -0
- package/lib/entity/api/service.d.ts +63 -0
- package/lib/entity/api/service.js +147 -0
- package/lib/entity/apicf/service.d.ts +29 -0
- package/lib/entity/apicf/service.js +71 -0
- package/lib/entity/common/client.d.ts +12 -0
- package/lib/entity/common/client.js +65 -0
- package/lib/entity/common/service.d.ts +15 -0
- package/lib/entity/common/service.js +38 -0
- package/lib/entity/common/utils.d.ts +7 -0
- package/lib/entity/common/utils.js +14 -0
- package/lib/entity/service/factory.d.ts +7 -0
- package/lib/entity/service/factory.js +64 -0
- package/lib/entity/service/model.d.ts +27 -0
- package/lib/entity/service/model.js +12 -0
- package/lib/entity/tsv/service.d.ts +9 -0
- package/lib/entity/tsv/service.js +47 -0
- package/lib/hooks/useAsync.d.ts +25 -0
- package/lib/hooks/useAsync.js +89 -0
- package/lib/hooks/useAuthentication/common/constants.d.ts +4 -0
- package/lib/hooks/useAuthentication/common/constants.js +22 -0
- package/lib/hooks/useAuthentication/common/entities.d.ts +25 -0
- package/lib/hooks/useAuthentication/common/entities.js +14 -0
- package/lib/hooks/useAuthentication/common/utils.d.ts +15 -0
- package/lib/hooks/useAuthentication/common/utils.js +30 -0
- package/lib/hooks/useAuthentication/useAuthentication.d.ts +6 -0
- package/lib/hooks/useAuthentication/useAuthentication.js +13 -0
- package/lib/hooks/useAuthentication/useAuthenticationComplete.d.ts +6 -0
- package/lib/hooks/useAuthentication/useAuthenticationComplete.js +82 -0
- package/lib/hooks/useAuthentication/useAuthenticationForm.d.ts +20 -0
- package/lib/hooks/useAuthentication/useAuthenticationForm.js +92 -0
- package/lib/hooks/useAuthentication/useAuthenticationNIHExpiry.d.ts +18 -0
- package/lib/hooks/useAuthentication/useAuthenticationNIHExpiry.js +55 -0
- package/lib/hooks/useAuthentication/useAuthenticationStatus.d.ts +20 -0
- package/lib/hooks/useAuthentication/useAuthenticationStatus.js +37 -0
- package/lib/hooks/useAuthentication/useFetchGoogleProfile.d.ts +21 -0
- package/lib/hooks/useAuthentication/useFetchGoogleProfile.js +40 -0
- package/lib/hooks/useAuthentication/useFetchTerraNIHProfile.d.ts +18 -0
- package/lib/hooks/useAuthentication/useFetchTerraNIHProfile.js +61 -0
- package/lib/hooks/useAuthentication/useFetchTerraProfile.d.ts +24 -0
- package/lib/hooks/useAuthentication/useFetchTerraProfile.js +62 -0
- package/lib/hooks/useAuthentication/useFetchTerraTermsOfService.d.ts +15 -0
- package/lib/hooks/useAuthentication/useFetchTerraTermsOfService.js +61 -0
- package/lib/hooks/useAuthentication/useTokenClient.d.ts +11 -0
- package/lib/hooks/useAuthentication/useTokenClient.js +33 -0
- package/lib/hooks/useAuthenticationConfig.d.ts +6 -0
- package/lib/hooks/useAuthenticationConfig.js +18 -0
- package/lib/hooks/useBreakpointHelper.d.ts +14 -0
- package/lib/hooks/useBreakpointHelper.js +18 -0
- package/lib/hooks/useCatalog.d.ts +5 -0
- package/lib/hooks/useCatalog.js +18 -0
- package/lib/hooks/useCategoryConfigs.d.ts +6 -0
- package/lib/hooks/useCategoryConfigs.js +17 -0
- package/lib/hooks/useCategoryFilter.d.ts +35 -0
- package/lib/hooks/useCategoryFilter.js +158 -0
- package/lib/hooks/useConfig.d.ts +6 -0
- package/lib/hooks/useConfig.js +13 -0
- package/lib/hooks/useCurrentDetailTab.d.ts +13 -0
- package/lib/hooks/useCurrentDetailTab.js +24 -0
- package/lib/hooks/useDownloadStatus.d.ts +10 -0
- package/lib/hooks/useDownloadStatus.js +27 -0
- package/lib/hooks/useEntityHeadTitle.d.ts +7 -0
- package/lib/hooks/useEntityHeadTitle.js +54 -0
- package/lib/hooks/useEntityList.d.ts +8 -0
- package/lib/hooks/useEntityList.js +169 -0
- package/lib/hooks/useEntityListRelatedView.d.ts +15 -0
- package/lib/hooks/useEntityListRelatedView.js +62 -0
- package/lib/hooks/useEntityService.d.ts +17 -0
- package/lib/hooks/useEntityService.js +43 -0
- package/lib/hooks/useExploreMode.d.ts +14 -0
- package/lib/hooks/useExploreMode.js +24 -0
- package/lib/hooks/useExploreState.d.ts +6 -0
- package/lib/hooks/useExploreState.js +13 -0
- package/lib/hooks/useExportConfig.d.ts +6 -0
- package/lib/hooks/useExportConfig.js +16 -0
- package/lib/hooks/useExportToTerraResponseURL.d.ts +8 -0
- package/lib/hooks/useExportToTerraResponseURL.js +22 -0
- package/lib/hooks/useFeatureFlag/common/entities.d.ts +4 -0
- package/lib/hooks/useFeatureFlag/common/entities.js +8 -0
- package/lib/hooks/useFeatureFlag/common/utils.d.ts +5 -0
- package/lib/hooks/useFeatureFlag/common/utils.js +21 -0
- package/lib/hooks/useFeatureFlag/useFeatureFlag.d.ts +6 -0
- package/lib/hooks/useFeatureFlag/useFeatureFlag.js +20 -0
- package/lib/hooks/useFetchEntity.d.ts +13 -0
- package/lib/hooks/useFetchEntity.js +58 -0
- package/lib/hooks/useFetchRequestURL.d.ts +8 -0
- package/lib/hooks/useFetchRequestURL.js +18 -0
- package/lib/hooks/useFileLocation.d.ts +5 -0
- package/lib/hooks/useFileLocation.js +30 -0
- package/lib/hooks/useFileManifest/common/buildFileManifestRequestURL.d.ts +15 -0
- package/lib/hooks/useFileManifest/common/buildFileManifestRequestURL.js +31 -0
- package/lib/hooks/useFileManifest/common/entities.d.ts +55 -0
- package/lib/hooks/useFileManifest/common/entities.js +17 -0
- package/lib/hooks/useFileManifest/common/utils.d.ts +45 -0
- package/lib/hooks/useFileManifest/common/utils.js +161 -0
- package/lib/hooks/useFileManifest/useFetchFilesFacets.d.ts +12 -0
- package/lib/hooks/useFileManifest/useFetchFilesFacets.js +46 -0
- package/lib/hooks/useFileManifest/useFetchSummary.d.ts +10 -0
- package/lib/hooks/useFileManifest/useFetchSummary.js +38 -0
- package/lib/hooks/useFileManifest/useFileManifest.d.ts +7 -0
- package/lib/hooks/useFileManifest/useFileManifest.js +16 -0
- package/lib/hooks/useFileManifest/useFileManifestDownload.d.ts +14 -0
- package/lib/hooks/useFileManifest/useFileManifestDownload.js +92 -0
- package/lib/hooks/useFileManifest/useFileManifestSpreadsheet.d.ts +14 -0
- package/lib/hooks/useFileManifest/useFileManifestSpreadsheet.js +77 -0
- package/lib/hooks/useFileManifest/useFileManifestURL.d.ts +5 -0
- package/lib/hooks/useFileManifest/useFileManifestURL.js +15 -0
- package/lib/hooks/useFileManifest/useRequestFileManifest.d.ts +9 -0
- package/lib/hooks/useFileManifest/useRequestFileManifest.js +41 -0
- package/lib/hooks/useFileManifestState.d.ts +6 -0
- package/lib/hooks/useFileManifestState.js +13 -0
- package/lib/hooks/useLayoutState.d.ts +6 -0
- package/lib/hooks/useLayoutState.js +13 -0
- package/lib/hooks/useLocalStorage/common/utils.d.ts +12 -0
- package/lib/hooks/useLocalStorage/common/utils.js +27 -0
- package/lib/hooks/useLocalStorage/useLocalStorage.d.ts +6 -0
- package/lib/hooks/useLocalStorage/useLocalStorage.js +18 -0
- package/lib/hooks/useLocation.d.ts +13 -0
- package/lib/hooks/useLocation.js +22 -0
- package/lib/hooks/useRequestFileLocation.d.ts +35 -0
- package/lib/hooks/useRequestFileLocation.js +111 -0
- package/lib/hooks/useResetableState.d.ts +7 -0
- package/lib/hooks/useResetableState.js +17 -0
- package/lib/hooks/useResizeObserver.d.ts +43 -0
- package/lib/hooks/useResizeObserver.js +87 -0
- package/lib/hooks/useScroll.d.ts +10 -0
- package/lib/hooks/useScroll.js +16 -0
- package/lib/hooks/useSessionTimeout.d.ts +11 -0
- package/lib/hooks/useSessionTimeout.js +28 -0
- package/lib/hooks/useSummary.d.ts +11 -0
- package/lib/hooks/useSummary.js +37 -0
- package/lib/hooks/useSystemStatus.d.ts +6 -0
- package/lib/hooks/useSystemStatus.js +13 -0
- package/lib/hooks/useURLFilterParams.d.ts +14 -0
- package/lib/hooks/useURLFilterParams.js +39 -0
- package/lib/hooks/useUpdateURLCatalogParam.d.ts +4 -0
- package/lib/hooks/useUpdateURLCatalogParam.js +48 -0
- package/lib/hooks/useUpdateURLSearchParams.d.ts +4 -0
- package/lib/hooks/useUpdateURLSearchParams.js +21 -0
- package/lib/hooks/useWindowResize.d.ts +10 -0
- package/lib/hooks/useWindowResize.js +42 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +2 -0
- package/lib/providers/authentication.d.ts +51 -0
- package/lib/providers/authentication.js +138 -0
- package/lib/providers/config.d.ts +15 -0
- package/lib/providers/config.js +47 -0
- package/lib/providers/exploreState/constants.d.ts +3 -0
- package/lib/providers/exploreState/constants.js +28 -0
- package/lib/providers/exploreState/payloads/entities.d.ts +46 -0
- package/lib/providers/exploreState/payloads/entities.js +2 -0
- package/lib/providers/exploreState/utils.d.ts +36 -0
- package/lib/providers/exploreState/utils.js +72 -0
- package/lib/providers/exploreState.d.ts +209 -0
- package/lib/providers/exploreState.js +209 -0
- package/lib/providers/fileManifestState.d.ts +147 -0
- package/lib/providers/fileManifestState.js +228 -0
- package/lib/providers/layoutState.d.ts +40 -0
- package/lib/providers/layoutState.js +71 -0
- package/lib/providers/systemStatus.d.ts +32 -0
- package/lib/providers/systemStatus.js +102 -0
- package/lib/shared/constants.d.ts +1 -0
- package/lib/shared/constants.js +4 -0
- package/lib/shared/utils.d.ts +21 -0
- package/lib/shared/utils.js +41 -0
- package/lib/styles/common/mixins/breakpoints.d.ts +7 -0
- package/lib/styles/common/mixins/breakpoints.js +16 -0
- package/lib/styles/common/mixins/colors.d.ts +24 -0
- package/lib/styles/common/mixins/colors.js +56 -0
- package/lib/styles/common/mixins/fonts.d.ts +16 -0
- package/lib/styles/common/mixins/fonts.js +33 -0
- package/lib/styles/common/mixins/shadows.d.ts +3 -0
- package/lib/styles/common/mixins/shadows.js +9 -0
- package/lib/theme/common/breakpoints.d.ts +29 -0
- package/lib/theme/common/breakpoints.js +40 -0
- package/lib/theme/common/components.d.ts +245 -0
- package/lib/theme/common/components.js +1417 -0
- package/lib/theme/common/palette.d.ts +178 -0
- package/lib/theme/common/palette.js +226 -0
- package/lib/theme/common/shadows.d.ts +28 -0
- package/lib/theme/common/shadows.js +35 -0
- package/lib/theme/common/typography.d.ts +66 -0
- package/lib/theme/common/typography.js +170 -0
- package/lib/theme/theme.d.ts +14 -0
- package/lib/theme/theme.js +137 -0
- package/lib/types/error.d.ts +7 -0
- package/lib/types/error.js +19 -0
- package/lib/utils/database.d.ts +19 -0
- package/lib/utils/database.js +36 -0
- package/lib/utils/fetchQueryParams.d.ts +12 -0
- package/lib/utils/fetchQueryParams.js +17 -0
- package/lib/utils/formatCountSize.d.ts +6 -0
- package/lib/utils/formatCountSize.js +28 -0
- package/lib/utils/formatFileSize.d.ts +6 -0
- package/lib/utils/formatFileSize.js +27 -0
- package/lib/utils/ssr.d.ts +5 -0
- package/lib/utils/ssr.js +9 -0
- package/lib/utils/url.d.ts +6 -0
- package/lib/utils/url.js +21 -0
- package/lib/viewModelBuilders/common/entities.d.ts +4 -0
- package/lib/viewModelBuilders/common/entities.js +2 -0
- package/lib/viewModelBuilders/common/utils.d.ts +21 -0
- package/lib/viewModelBuilders/common/utils.js +45 -0
- package/lib/views/ContentView/contentView.d.ts +9 -0
- package/lib/views/ContentView/contentView.js +12 -0
- package/lib/views/ContentView/contentView.stories.d.ts +6 -0
- package/lib/views/ContentView/contentView.stories.js +47 -0
- package/lib/views/EntityDetailView/entityDetailView.d.ts +6 -0
- package/lib/views/EntityDetailView/entityDetailView.js +85 -0
- package/lib/views/ExploreView/exploreView.d.ts +4 -0
- package/lib/views/ExploreView/exploreView.js +230 -0
- package/lib/views/ExportMethodView/exportMethodView.d.ts +2 -0
- package/lib/views/ExportMethodView/exportMethodView.js +30 -0
- package/lib/views/ExportView/exportView.d.ts +4 -0
- package/lib/views/ExportView/exportView.js +23 -0
- package/lib/views/LoginView/loginView.d.ts +2 -0
- package/lib/views/LoginView/loginView.js +14 -0
- package/package.json +87 -0
- package/src/apis/azul/common/constants.ts +12 -0
- package/src/apis/azul/common/entities.ts +184 -0
- package/src/apis/azul/common/filterTransformer.ts +149 -0
- package/src/apis/azul/common/utils.ts +19 -0
- package/src/common/analytics/analytics.ts +42 -0
- package/src/common/analytics/entities.ts +73 -0
- package/src/common/constants.ts +16 -0
- package/src/common/entities.ts +103 -0
- package/src/common/selectors.ts +3 -0
- package/src/common/utils.ts +30 -0
- package/src/components/ComponentCreator/ComponentCreator.tsx +68 -0
- package/src/components/ComponentCreator/components/ConditionalComponent/conditionalComponent.tsx +17 -0
- package/src/components/ComponentCreator/components/RenderComponent/renderComponent.tsx +17 -0
- package/src/components/Detail/components/AccessibilityBadge/accessibilityBadge.tsx +30 -0
- package/src/components/Detail/components/DetailViewTable/detailViewTable.tsx +46 -0
- package/src/components/Detail/components/Table/common/utils.ts +20 -0
- package/src/components/Detail/components/Table/components/TableBody/tableBody.tsx +29 -0
- package/src/components/Detail/components/Table/components/TableHead/tableHead.tsx +34 -0
- package/src/components/Detail/components/Table/components/TableRows/components/CollapsableRows/collapsableRows.tsx +28 -0
- package/src/components/Detail/components/Table/components/TableRows/tableRows.tsx +36 -0
- package/src/components/Detail/components/Table/table.tsx +74 -0
- package/src/components/Detail/detail.stories.tsx +62 -0
- package/src/components/Detail/detail.tsx +28 -0
- package/src/components/Error/error.stories.tsx +33 -0
- package/src/components/Error/error.styles.ts +47 -0
- package/src/components/Error/error.tsx +111 -0
- package/src/components/ErrorBoundary/errorBoundary.tsx +46 -0
- package/src/components/ErrorBoundary/index.ts +1 -0
- package/src/components/Export/common/entities.ts +53 -0
- package/src/components/Export/common/tracking.ts +30 -0
- package/src/components/Export/common/utils.ts +45 -0
- package/src/components/Export/components/DownloadCurlCommand/components/DownloadCurlCommandForm/downloadCurlCommandForm.styles.ts +6 -0
- package/src/components/Export/components/DownloadCurlCommand/components/DownloadCurlCommandForm/downloadCurlCommandForm.tsx +52 -0
- package/src/components/Export/components/DownloadCurlCommand/components/DownloadCurlCommandNotStarted/downloadCurlCommandNotStarted.tsx +62 -0
- package/src/components/Export/components/DownloadCurlCommand/components/DownloadCurlCommandReady/downloadCurlCommandReady.tsx +25 -0
- package/src/components/Export/components/DownloadCurlCommand/downloadCurlCommand.tsx +118 -0
- package/src/components/Export/components/ExportForm/common/entities.ts +13 -0
- package/src/components/Export/components/ExportForm/components/ExportButton/exportButton.tsx +36 -0
- package/src/components/Export/components/ExportForm/components/ExportExecutionEnvironmentForm/exportExecutionEnvironmentForm.tsx +59 -0
- package/src/components/Export/components/ExportForm/components/ExportFileSummaryForm/exportFileSummaryForm.tsx +129 -0
- package/src/components/Export/components/ExportForm/components/ExportManifestDownloadFormatForm/exportManifestDownloadFormatForm.tsx +51 -0
- package/src/components/Export/components/ExportForm/components/ExportSpeciesForm/exportSpeciesForm.tsx +64 -0
- package/src/components/Export/components/ExportForm/exportForm.styles.ts +106 -0
- package/src/components/Export/components/ExportForm/exportForm.tsx +139 -0
- package/src/components/Export/components/ExportMethod/exportMethod.stories.tsx +26 -0
- package/src/components/Export/components/ExportMethod/exportMethod.styles.ts +13 -0
- package/src/components/Export/components/ExportMethod/exportMethod.tsx +54 -0
- package/src/components/Export/components/ExportSummary/common/utils.ts +55 -0
- package/src/components/Export/components/ExportSummary/components/ExportCurrentQuery/exportCurrentQuery.tsx +41 -0
- package/src/components/Export/components/ExportSummary/components/ExportSelectedDataSummary/exportSelectedDataSummary.tsx +31 -0
- package/src/components/Export/components/ExportSummary/exportSummary.styles.ts +22 -0
- package/src/components/Export/components/ExportSummary/exportSummary.tsx +12 -0
- package/src/components/Export/components/ExportToTerra/components/ExportToTerraForm/exportToTerraForm.tsx +47 -0
- package/src/components/Export/components/ExportToTerra/components/ExportToTerraNotStarted/exportToTerraNotStarted.tsx +52 -0
- package/src/components/Export/components/ExportToTerra/components/ExportToTerraReady/exportToTerraReady.tsx +35 -0
- package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/components/AcceptTerraTOS/acceptTerraTOS.tsx +67 -0
- package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/components/ConnectTerraToNIHAccount/connectTerraToNIHAccount.tsx +41 -0
- package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/components/CreateTerraAccount/createTerraAccount.tsx +42 -0
- package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/formStep.styles.ts +10 -0
- package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/formStep.tsx +64 -0
- package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/NIHAccountExpiryWarning/nihAccountExpiryWarning.tsx +62 -0
- package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/terraSetUpForm.styles.ts +65 -0
- package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/terraSetUpForm.tsx +101 -0
- package/src/components/Export/components/ExportToTerra/exportToTerra.tsx +56 -0
- package/src/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/components/FileManifestDownload/fileManifestDownload.tsx +122 -0
- package/src/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/components/FileManifestSpreadsheet/fileManifestSpreadsheet.tsx +129 -0
- package/src/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/manifestDownloadEntity.styles.ts +34 -0
- package/src/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/manifestDownloadEntity.tsx +26 -0
- package/src/components/Export/components/ManifestDownload/components/ManifestDownloadForm/manifestDownloadForm.tsx +37 -0
- package/src/components/Export/components/ManifestDownload/components/ManifestDownloadNotStarted/manifestDownloadNotStarted.tsx +47 -0
- package/src/components/Export/components/ManifestDownload/components/ManifestDownloadReady/manifestDownloadReady.styles.ts +11 -0
- package/src/components/Export/components/ManifestDownload/components/ManifestDownloadReady/manifestDownloadReady.tsx +40 -0
- package/src/components/Export/components/ManifestDownload/manifestDownload.tsx +67 -0
- package/src/components/Export/export.styles.ts +40 -0
- package/src/components/Filter/common/constants.ts +5 -0
- package/src/components/Filter/common/entities.ts +46 -0
- package/src/components/Filter/common/utils.ts +84 -0
- package/src/components/Filter/components/ClearAllFilters/clearAllFilters.tsx +19 -0
- package/src/components/Filter/components/Filter/components/DrawerTransition/drawerTransition.tsx +24 -0
- package/src/components/Filter/components/Filter/filter.stories.tsx +51 -0
- package/src/components/Filter/components/Filter/filter.styles.ts +19 -0
- package/src/components/Filter/components/Filter/filter.tsx +116 -0
- package/src/components/Filter/components/FilterLabel/filterLabel.stories.tsx +31 -0
- package/src/components/Filter/components/FilterLabel/filterLabel.styles.ts +35 -0
- package/src/components/Filter/components/FilterLabel/filterLabel.tsx +30 -0
- package/src/components/Filter/components/FilterList/filterList.styles.ts +39 -0
- package/src/components/Filter/components/FilterMenu/filterMenu.stories.tsx +125 -0
- package/src/components/Filter/components/FilterMenu/filterMenu.styles.ts +31 -0
- package/src/components/Filter/components/FilterMenu/filterMenu.tsx +82 -0
- package/src/components/Filter/components/FilterMenuSearch/filterMenuSearch.styles.ts +16 -0
- package/src/components/Filter/components/FilterMenuSearch/filterMenuSearch.tsx +23 -0
- package/src/components/Filter/components/FilterNoResultsFound/filterNoResultsFound.styles.ts +7 -0
- package/src/components/Filter/components/FilterNoResultsFound/filterNoResultsFound.tsx +40 -0
- package/src/components/Filter/components/FilterTag/filterTag.stories.tsx +22 -0
- package/src/components/Filter/components/FilterTag/filterTag.styles.ts +6 -0
- package/src/components/Filter/components/FilterTag/filterTag.tsx +59 -0
- package/src/components/Filter/components/FilterTags/filterTags.stories.tsx +62 -0
- package/src/components/Filter/components/FilterTags/filterTags.styles.ts +18 -0
- package/src/components/Filter/components/FilterTags/filterTags.tsx +23 -0
- package/src/components/Filter/components/Filters/filters.stories.tsx +101 -0
- package/src/components/Filter/components/Filters/filters.styles.ts +34 -0
- package/src/components/Filter/components/Filters/filters.tsx +118 -0
- package/src/components/Filter/components/HighlightedLabel/highlightedLabel.styles.ts +27 -0
- package/src/components/Filter/components/HighlightedLabel/highlightedLabel.tsx +44 -0
- package/src/components/Filter/components/SearchAllFilters/common/constants.ts +62 -0
- package/src/components/Filter/components/SearchAllFilters/common/entites.ts +44 -0
- package/src/components/Filter/components/SearchAllFilters/common/utils.ts +15 -0
- package/src/components/Filter/components/SearchAllFilters/components/AutocompletePopper/autocompletePopper.styles.ts +16 -0
- package/src/components/Filter/components/SearchAllFilters/components/VariableSizeList/VariableSizeList.tsx +313 -0
- package/src/components/Filter/components/SearchAllFilters/components/VariableSizeListItem/variableSizeListItem.tsx +85 -0
- package/src/components/Filter/components/SearchAllFilters/searchAllFilters.stories.tsx +92 -0
- package/src/components/Filter/components/SearchAllFilters/searchAllFilters.styles.ts +15 -0
- package/src/components/Filter/components/SearchAllFilters/searchAllFilters.tsx +185 -0
- package/src/components/Filter/components/SearchAllFiltersSearch/components/SearchCloseButton/searchCloseButton.tsx +29 -0
- package/src/components/Filter/components/SearchAllFiltersSearch/searchAllFiltersSearch.styles.ts +36 -0
- package/src/components/Filter/components/SearchAllFiltersSearch/searchAllFiltersSearch.tsx +29 -0
- package/src/components/Filter/components/VariableSizeList/VariableSizeList.tsx +178 -0
- package/src/components/Filter/components/VariableSizeListItem/variableSizeListItem.tsx +72 -0
- package/src/components/Head/head.tsx +69 -0
- package/src/components/Index/components/AzulFileDownload/azulFileDownload.stories.tsx +17 -0
- package/src/components/Index/components/AzulFileDownload/azulFileDownload.tsx +84 -0
- package/src/components/Index/components/Cell/cell.tsx +18 -0
- package/src/components/Index/components/Hero/components/ExportButton/exportButton.styles.ts +14 -0
- package/src/components/Index/components/Hero/components/ExportButton/exportButton.tsx +20 -0
- package/src/components/Index/components/Hero/components/Summaries/summaries.stories.tsx +24 -0
- package/src/components/Index/components/Hero/components/Summaries/summaries.styles.ts +31 -0
- package/src/components/Index/components/Hero/components/Summaries/summaries.tsx +35 -0
- package/src/components/Index/components/Hero/hero.stories.tsx +24 -0
- package/src/components/Index/components/Hero/hero.styles.ts +55 -0
- package/src/components/Index/components/Hero/hero.tsx +40 -0
- package/src/components/Index/components/NTag/components/Tooltip/tooltip.styles.ts +11 -0
- package/src/components/Index/components/NTag/components/Tooltip/tooltip.tsx +86 -0
- package/src/components/Index/components/NTag/nTag.tsx +21 -0
- package/src/components/Index/components/NTagCell/nTagCell.stories.tsx +22 -0
- package/src/components/Index/components/NTagCell/nTagCell.tsx +55 -0
- package/src/components/Index/components/TitleCell/titleCell.styles.ts +7 -0
- package/src/components/Index/components/TitleCell/titleCell.tsx +22 -0
- package/src/components/Index/index.stories.tsx +29 -0
- package/src/components/Index/index.styles.ts +19 -0
- package/src/components/Index/index.tsx +37 -0
- package/src/components/Layout/components/AppLayout/appLayout.styles.ts +8 -0
- package/src/components/Layout/components/BackPage/backPageView.stories.tsx +61 -0
- package/src/components/Layout/components/BackPage/backPageView.styles.ts +150 -0
- package/src/components/Layout/components/BackPage/backPageView.tsx +50 -0
- package/src/components/Layout/components/BackPage/components/BackPageHero/backPageHero.stories.tsx +16 -0
- package/src/components/Layout/components/BackPage/components/BackPageHero/backPageHero.styles.ts +35 -0
- package/src/components/Layout/components/BackPage/components/BackPageHero/backPageHero.tsx +50 -0
- package/src/components/Layout/components/BackPage/components/BackPageHero/components/SubTitle/subTitle.tsx +24 -0
- package/src/components/Layout/components/ContentLayout/common/constants.ts +25 -0
- package/src/components/Layout/components/ContentLayout/common/entities.ts +13 -0
- package/src/components/Layout/components/ContentLayout/components/Main/main.tsx +11 -0
- package/src/components/Layout/components/ContentLayout/contentLayout.styles.ts +152 -0
- package/src/components/Layout/components/ContentLayout/contentLayout.tsx +71 -0
- package/src/components/Layout/components/Floating/floating.tsx +15 -0
- package/src/components/Layout/components/Footer/footer.stories.tsx +68 -0
- package/src/components/Layout/components/Footer/footer.styles.ts +53 -0
- package/src/components/Layout/components/Footer/footer.tsx +54 -0
- package/src/components/Layout/components/Header/common/constants.ts +17 -0
- package/src/components/Layout/components/Header/common/entities.ts +7 -0
- package/src/components/Layout/components/Header/common/utils.ts +84 -0
- package/src/components/Layout/components/Header/components/Content/components/Actions/actions.styles.ts +14 -0
- package/src/components/Layout/components/Header/components/Content/components/Actions/actions.tsx +14 -0
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/authentication.tsx +35 -0
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.stories.tsx +35 -0
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.styles.ts +39 -0
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.tsx +69 -0
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/RequestAuthentication/requestAuthentication.styles.ts +10 -0
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/RequestAuthentication/requestAuthentication.tsx +47 -0
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Menu/components/Content/components/Navigation/navigation.styles.ts +34 -0
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Menu/components/Content/components/Socials/socials.styles.ts +7 -0
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Menu/components/Toolbar/toolbar.tsx +54 -0
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Menu/menu.tsx +80 -0
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchBar/searchBar.styles.ts +37 -0
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchBar/searchBar.tsx +116 -0
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchButton/searchButton.styles.ts +10 -0
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchButton/searchButton.tsx +33 -0
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Search/search.tsx +30 -0
- package/src/components/Layout/components/Header/components/Content/components/Logo/logo.tsx +48 -0
- package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationDrawer/components/Slide/slide.tsx +22 -0
- package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationDrawer/navigationDrawer.styles.ts +16 -0
- package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationDrawer/navigationDrawer.tsx +79 -0
- package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenu/navigationMenu.styles.ts +71 -0
- package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenu/navigationMenu.tsx +63 -0
- package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenuItems/navigationMenuItems.tsx +85 -0
- package/src/components/Layout/components/Header/components/Content/components/Navigation/navigation.styles.ts +59 -0
- package/src/components/Layout/components/Header/components/Content/components/Navigation/navigation.tsx +103 -0
- package/src/components/Layout/components/Header/components/Content/components/Slogan/slogan.styles.ts +26 -0
- package/src/components/Layout/components/Header/components/Content/components/Slogan/slogan.tsx +27 -0
- package/src/components/Layout/components/Header/components/Content/components/Socials/socials.styles.ts +8 -0
- package/src/components/Layout/components/Header/components/Content/content.styles.ts +9 -0
- package/src/components/Layout/components/Header/header.stories.tsx +102 -0
- package/src/components/Layout/components/Header/header.styles.ts +23 -0
- package/src/components/Layout/components/Header/header.tsx +178 -0
- package/src/components/Layout/components/Main/main.styles.ts +20 -0
- package/src/components/Layout/components/Main/main.tsx +18 -0
- package/src/components/Layout/components/Nav/components/NavBarHero/navBarHero.styles.ts +25 -0
- package/src/components/Layout/components/Nav/components/NavBarHero/navBarHero.tsx +43 -0
- package/src/components/Layout/components/Nav/nav.stories.tsx +36 -0
- package/src/components/Layout/components/Nav/nav.styles.ts +55 -0
- package/src/components/Layout/components/Nav/nav.tsx +36 -0
- package/src/components/Layout/components/Outline/common/constants.ts +3 -0
- package/src/components/Layout/components/Outline/components/ContentsTab/contentsTab.styles.ts +17 -0
- package/src/components/Layout/components/Outline/components/ContentsTab/contentsTab.tsx +26 -0
- package/src/components/Layout/components/Outline/outline.styles.ts +68 -0
- package/src/components/Layout/components/Outline/outline.tsx +72 -0
- package/src/components/Layout/components/Sidebar/components/SidebarButton/sidebarButton.styles.ts +40 -0
- package/src/components/Layout/components/Sidebar/components/SidebarButton/sidebarButton.tsx +26 -0
- package/src/components/Layout/components/Sidebar/components/SidebarDrawer/sidebarDrawer.styles.ts +19 -0
- package/src/components/Layout/components/Sidebar/components/SidebarDrawer/sidebarDrawer.tsx +45 -0
- package/src/components/Layout/components/Sidebar/components/SidebarLabel/sidebarLabel.stories.tsx +20 -0
- package/src/components/Layout/components/Sidebar/components/SidebarLabel/sidebarLabel.tsx +15 -0
- package/src/components/Layout/components/Sidebar/components/SidebarPositioner/sidebarPositioner.styles.ts +20 -0
- package/src/components/Layout/components/Sidebar/components/SidebarPositioner/sidebarPositioner.tsx +21 -0
- package/src/components/Layout/components/Sidebar/components/SidebarTools/sidebarTools.styles.ts +18 -0
- package/src/components/Layout/components/Sidebar/sidebar.stories.tsx +50 -0
- package/src/components/Layout/components/Sidebar/sidebar.styles.ts +8 -0
- package/src/components/Layout/components/Sidebar/sidebar.tsx +43 -0
- package/src/components/Links/common/entities.ts +4 -0
- package/src/components/Links/common/utils.ts +8 -0
- package/src/components/Links/components/Link/link.tsx +64 -0
- package/src/components/Links/links.stories.tsx +28 -0
- package/src/components/Links/links.tsx +30 -0
- package/src/components/Loading/loading.stories.tsx +41 -0
- package/src/components/Loading/loading.styles.ts +83 -0
- package/src/components/Loading/loading.tsx +73 -0
- package/src/components/Login/login.stories.tsx +43 -0
- package/src/components/Login/login.styles.ts +56 -0
- package/src/components/Login/login.tsx +89 -0
- package/src/components/NoResults/noResults.styles.ts +12 -0
- package/src/components/NoResults/noResults.tsx +43 -0
- package/src/components/Project/common/entities.ts +50 -0
- package/src/components/Project/components/Citation/citation.stories.tsx +21 -0
- package/src/components/Project/components/Citation/citation.styles.ts +22 -0
- package/src/components/Project/components/Citation/citation.tsx +37 -0
- package/src/components/Project/components/CollaboratingOrganizations/collaboratingOrganizations.stories.tsx +34 -0
- package/src/components/Project/components/CollaboratingOrganizations/collaboratingOrganizations.tsx +30 -0
- package/src/components/Project/components/Contacts/contacts.stories.tsx +31 -0
- package/src/components/Project/components/Contacts/contacts.tsx +33 -0
- package/src/components/Project/components/Contributors/contributors.stories.tsx +38 -0
- package/src/components/Project/components/Contributors/contributors.tsx +31 -0
- package/src/components/Project/components/DataCurators/dataCurators.stories.tsx +20 -0
- package/src/components/Project/components/DataCurators/dataCurators.tsx +26 -0
- package/src/components/Project/components/DataReleasePolicy/dataReleasePolicy.stories.tsx +14 -0
- package/src/components/Project/components/DataReleasePolicy/dataReleasePolicy.tsx +22 -0
- package/src/components/Project/components/Description/description.stories.tsx +18 -0
- package/src/components/Project/components/Description/description.tsx +18 -0
- package/src/components/Project/components/Details/details.stories.tsx +31 -0
- package/src/components/Project/components/Details/details.tsx +45 -0
- package/src/components/Project/components/Publications/publications.stories.tsx +30 -0
- package/src/components/Project/components/Publications/publications.tsx +43 -0
- package/src/components/Project/components/Sup/sup.styles.tsx +5 -0
- package/src/components/Project/components/SupplementaryLinks/supplementaryLinks.stories.tsx +29 -0
- package/src/components/Project/components/SupplementaryLinks/supplementaryLinks.styles.ts +19 -0
- package/src/components/Project/components/SupplementaryLinks/supplementaryLinks.tsx +54 -0
- package/src/components/Redirect/redirect.tsx +20 -0
- package/src/components/Support/components/SupportRequest/components/Dialog/dialog.styles.ts +34 -0
- package/src/components/Support/components/SupportRequest/components/Dialog/dialog.tsx +56 -0
- package/src/components/Support/components/SupportRequest/components/Dropzone/dropzone.tsx +40 -0
- package/src/components/Support/components/SupportRequest/components/SupportRequestForm/common/constants.ts +44 -0
- package/src/components/Support/components/SupportRequest/components/SupportRequestForm/common/entities.ts +65 -0
- package/src/components/Support/components/SupportRequest/components/SupportRequestForm/common/utils.ts +96 -0
- package/src/components/Support/components/SupportRequest/components/SupportRequestForm/supportRequestForm.styles.ts +12 -0
- package/src/components/Support/components/SupportRequest/components/SupportRequestForm/supportRequestForm.tsx +306 -0
- package/src/components/Support/components/SupportRequest/components/SupportRequestSubmitted/supportRequestSubmitted.tsx +37 -0
- package/src/components/Support/components/SupportRequest/supportRequest.tsx +33 -0
- package/src/components/Support/components/ViewSupport/viewSupport.styles.ts +30 -0
- package/src/components/Support/components/ViewSupport/viewSupport.tsx +29 -0
- package/src/components/Table/common/entities.ts +4 -0
- package/src/components/Table/common/gridTable.styles.ts +38 -0
- package/src/components/Table/common/utils.ts +490 -0
- package/src/components/Table/components/CheckboxMenu/checkboxMenu.stories.tsx +54 -0
- package/src/components/Table/components/CheckboxMenu/checkboxMenu.styles.ts +22 -0
- package/src/components/Table/components/CheckboxMenu/checkboxMenu.tsx +85 -0
- package/src/components/Table/components/DownloadEntityResults/downloadEntityResults.tsx +37 -0
- package/src/components/Table/components/EntityViewToggle/entityViewToggle.tsx +36 -0
- package/src/components/Table/components/Pagination/pagination.stories.tsx +26 -0
- package/src/components/Table/components/Pagination/pagination.styles.ts +16 -0
- package/src/components/Table/components/Pagination/pagination.tsx +48 -0
- package/src/components/Table/components/PaginationSummary/paginationSummary.tsx +25 -0
- package/src/components/Table/components/TableBody/tableBody.tsx +59 -0
- package/src/components/Table/components/TableCell/components/CollapsableCell/collapsableCell.styles.ts +52 -0
- package/src/components/Table/components/TableCell/components/CollapsableCell/collapsableCell.tsx +67 -0
- package/src/components/Table/components/TableHead/tableHead.tsx +42 -0
- package/src/components/Table/components/TableRows/components/CollapsableRows/collapsableRows.tsx +35 -0
- package/src/components/Table/components/TableRows/components/VirtualizedRow/virtualizedRow.tsx +61 -0
- package/src/components/Table/components/TableRows/tableRows.tsx +40 -0
- package/src/components/Table/components/TableToolbar/tableToolbar.styles.ts +16 -0
- package/src/components/Table/components/TableToolbar/tableToolbar.tsx +72 -0
- package/src/components/Table/table.styles.ts +21 -0
- package/src/components/Table/table.tsx +321 -0
- package/src/components/TableCreator/tableCreator.tsx +91 -0
- package/src/components/TempError/components/errorBox.tsx +15 -0
- package/src/components/TempError/index.ts +1 -0
- package/src/components/TempError/tempError.tsx +25 -0
- package/src/components/common/Accordion/accordion.stories.tsx +35 -0
- package/src/components/common/Accordion/accordion.tsx +41 -0
- package/src/components/common/Alert/alert.stories.tsx +41 -0
- package/src/components/common/Alert/alert.styles.ts +28 -0
- package/src/components/common/Alert/alert.tsx +39 -0
- package/src/components/common/AnchorLink/anchorLink.styles.ts +14 -0
- package/src/components/common/AnchorLink/anchorLink.tsx +19 -0
- package/src/components/common/Banner/banner.tsx +22 -0
- package/src/components/common/Banner/components/BannerPrimary/bannerPrimary.styles.ts +20 -0
- package/src/components/common/Banner/components/BannerPrimary/bannerPrimary.tsx +27 -0
- package/src/components/common/Banner/components/CookieBanner/cookieBanner.styles.ts +48 -0
- package/src/components/common/Banner/components/CookieBanner/cookieBanner.tsx +85 -0
- package/src/components/common/Banner/components/DismissibleBanner/dismissibleBanner.tsx +44 -0
- package/src/components/common/Banner/components/SessionTimeout/sessionTimeout.styles.ts +22 -0
- package/src/components/common/Banner/components/SessionTimeout/sessionTimeout.tsx +26 -0
- package/src/components/common/Banner/components/SystemIndexing/systemIndexing.tsx +33 -0
- package/src/components/common/Banner/components/SystemStatus/systemStatus.tsx +33 -0
- package/src/components/common/Breadcrumbs/breadcrumbs.stories.tsx +58 -0
- package/src/components/common/Breadcrumbs/breadcrumbs.tsx +45 -0
- package/src/components/common/Button/button.tsx +37 -0
- package/src/components/common/Button/components/ButtonOutline/buttonOutline.styles.ts +18 -0
- package/src/components/common/Button/components/ButtonOutline/buttonOutline.tsx +23 -0
- package/src/components/common/Button/components/ButtonPrimary/buttonPrimary.tsx +13 -0
- package/src/components/common/Button/components/ButtonSecondary/buttonSecondary.tsx +15 -0
- package/src/components/common/Button/components/ButtonSecondaryOutline/buttonSecondaryOutline.tsx +14 -0
- package/src/components/common/Button/components/ButtonText/buttonText.styles.ts +13 -0
- package/src/components/common/Button/components/ButtonText/buttonText.tsx +8 -0
- package/src/components/common/Button/components/ButtonTextPrimary/buttonTextPrimary.styles.ts +9 -0
- package/src/components/common/Button/components/ButtonTextPrimary/buttonTextPrimary.tsx +8 -0
- package/src/components/common/Button/components/ButtonTextUnderline/buttonTextUnderline.styles.ts +14 -0
- package/src/components/common/Button/components/ButtonTextUnderline/buttonTextUnderline.tsx +8 -0
- package/src/components/common/Button/components/CallToActionButton/callToActionButton.stories.tsx +36 -0
- package/src/components/common/Button/components/CallToActionButton/callToActionButton.tsx +51 -0
- package/src/components/common/Button/components/DropdownButton/dropdownButton.styles.ts +11 -0
- package/src/components/common/Button/components/DropdownButton/dropdownButton.tsx +18 -0
- package/src/components/common/Button/components/FileDownloadButton/fileDownloadButton.tsx +27 -0
- package/src/components/common/Button/components/HelpIconButton/helpIconButton.stories.tsx +25 -0
- package/src/components/common/Button/components/HelpIconButton/helpIconButton.styles.ts +8 -0
- package/src/components/common/Button/components/HelpIconButton/helpIconButton.tsx +40 -0
- package/src/components/common/Button/components/LoginButton/loginButton.styles.ts +13 -0
- package/src/components/common/Button/components/LoginButton/loginButton.tsx +16 -0
- package/src/components/common/Button/components/NavigationButton/navigationButton.styles.ts +31 -0
- package/src/components/common/Button/components/NavigationButton/navigationButton.tsx +26 -0
- package/src/components/common/ButtonGroup/buttonGroup.tsx +50 -0
- package/src/components/common/ButtonGroup/components/ButtonGroupButton/buttonGroupButton.tsx +32 -0
- package/src/components/common/Card/card.stories.tsx +43 -0
- package/src/components/common/Card/card.styles.ts +15 -0
- package/src/components/common/Card/card.tsx +67 -0
- package/src/components/common/Card/components/CardAction/cardAction.tsx +17 -0
- package/src/components/common/Card/components/CardActionArea/cardActionArea.tsx +35 -0
- package/src/components/common/Card/components/CardActions/cardActions.styles.ts +9 -0
- package/src/components/common/Card/components/CardActions/cardActions.tsx +16 -0
- package/src/components/common/Card/components/CardMedia/cardMedia.styles.ts +11 -0
- package/src/components/common/Card/components/CardMedia/cardMedia.tsx +23 -0
- package/src/components/common/Card/components/CardSecondaryText/cardSecondaryText.tsx +22 -0
- package/src/components/common/Card/components/CardSecondaryTitle/cardSecondaryTitle.styles.ts +6 -0
- package/src/components/common/Card/components/CardSecondaryTitle/cardSecondaryTitle.tsx +22 -0
- package/src/components/common/Card/components/CardText/cardText.tsx +18 -0
- package/src/components/common/Card/components/CardTitle/cardTitle.tsx +18 -0
- package/src/components/common/Card/components/RoundedCard/roundedCard.tsx +11 -0
- package/src/components/common/Code/code.stories.tsx +17 -0
- package/src/components/common/Code/code.styles.ts +61 -0
- package/src/components/common/Code/code.tsx +38 -0
- package/src/components/common/CopyToClipboard/copyToClipboard.stories.tsx +20 -0
- package/src/components/common/CopyToClipboard/copyToClipboard.tsx +50 -0
- package/src/components/common/CustomIcon/common/constants.ts +14 -0
- package/src/components/common/CustomIcon/common/entities.ts +6 -0
- package/src/components/common/CustomIcon/components/AddIcon/addIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/AlertIcon/alertIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/BackArrowIcon/backArrowIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/CheckedIcon/checkedIcon.tsx +26 -0
- package/src/components/common/CustomIcon/components/ContactSupportIcon/contactSupportIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/ContentCopyIcon/contentCopyIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/DiscourseIcon/discourseIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/DownloadIcon/downloadIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/EmailReadIcon/emailReadIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/ErrorIcon/errorIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/FacebookIcon/facebookIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/FeedbackIcon/feedbackIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/FormStatusCompletedIcon/formStatusCompletedIcon.tsx +23 -0
- package/src/components/common/CustomIcon/components/FormStatusIncompleteIcon/formStatusIncompleteIcon.tsx +28 -0
- package/src/components/common/CustomIcon/components/ForwardArrowIcon/forwardArrowIcon.tsx +18 -0
- package/src/components/common/CustomIcon/components/GitHubIcon/gitHubIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/GoogleIcon/googleIcon.tsx +34 -0
- package/src/components/common/CustomIcon/components/HelpIcon/helpIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/InfoIcon/infoIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/InventoryIcon/inventoryIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/LinkedInIcon/linkedInIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/LoadingIcon/loadingIcon.tsx +108 -0
- package/src/components/common/CustomIcon/components/OpenInNewIcon/openInNewIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/RadioCheckedIcon/radioCheckedIcon.tsx +24 -0
- package/src/components/common/CustomIcon/components/RadioUncheckedIcon/radioUncheckedIcon.tsx +27 -0
- package/src/components/common/CustomIcon/components/RemoveIcon/removeIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/SearchIcon/searchIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/SearchOffIcon/searchOffIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/Segment/segment.tsx +18 -0
- package/src/components/common/CustomIcon/components/SlackIcon/slackIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/SouthIcon/southIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/SuccessIcon/successIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/UncheckedErrorIcon/uncheckedErrorIcon.tsx +27 -0
- package/src/components/common/CustomIcon/components/UncheckedIcon/uncheckedIcon.tsx +27 -0
- package/src/components/common/CustomIcon/components/UnfoldMoreIcon/unfoldMoreIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/WarningIcon/warningIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/XIcon/xIcon.tsx +22 -0
- package/src/components/common/CustomIcon/components/YouTubeIcon/youTubeIcon.tsx +22 -0
- package/src/components/common/Dialog/components/DialogTitle/dialogTitle.tsx +26 -0
- package/src/components/common/Dot/dot.styles.ts +11 -0
- package/src/components/common/Dot/dot.tsx +10 -0
- package/src/components/common/EllipsisContent/ellipsisContent.styles.ts +24 -0
- package/src/components/common/EllipsisContent/ellipsisContent.tsx +204 -0
- package/src/components/common/Form/components/Input/input.styles.ts +55 -0
- package/src/components/common/Form/components/Input/input.tsx +37 -0
- package/src/components/common/Form/components/Select/components/DropDownIcon/dropDownIcon.tsx +10 -0
- package/src/components/common/Form/components/Select/select.styles.ts +26 -0
- package/src/components/common/Form/components/Select/select.tsx +37 -0
- package/src/components/common/Form/components/UploadFile/uploadFile.styles.ts +62 -0
- package/src/components/common/Form/components/UploadFile/uploadFile.tsx +88 -0
- package/src/components/common/Grid/components/GridItem/gridItem.tsx +25 -0
- package/src/components/common/Grid/grid.tsx +25 -0
- package/src/components/common/IconBadge/iconBadge.styles.ts +58 -0
- package/src/components/common/IconBadge/iconBadge.tsx +32 -0
- package/src/components/common/IconButton/components/LoadingIconButton/loadingIconButton.stories.tsx +15 -0
- package/src/components/common/IconButton/components/LoadingIconButton/loadingIconButton.tsx +15 -0
- package/src/components/common/IconButton/iconButton.styles.ts +90 -0
- package/src/components/common/IconButton/iconButton.tsx +34 -0
- package/src/components/common/Input/input.styles.ts +36 -0
- package/src/components/common/Input/input.tsx +62 -0
- package/src/components/common/KeyValuePairs/components/KeyElType/keyElType.tsx +21 -0
- package/src/components/common/KeyValuePairs/components/KeyValueElType/keyValueElType.tsx +34 -0
- package/src/components/common/KeyValuePairs/components/ValueElType/valueElType.tsx +21 -0
- package/src/components/common/KeyValuePairs/keyValuePairs.tsx +45 -0
- package/src/components/common/MDXMarkdown/components/Section/mdxSection.styles.ts +31 -0
- package/src/components/common/Markdown/markdown.tsx +13 -0
- package/src/components/common/Paper/paper.styles.ts +71 -0
- package/src/components/common/Paper/paper.tsx +38 -0
- package/src/components/common/RadioGroup/radioGroup.tsx +58 -0
- package/src/components/common/Section/components/CollapsableSection/collapsableSection.styles.ts +38 -0
- package/src/components/common/Section/components/CollapsableSection/collapsableSection.tsx +81 -0
- package/src/components/common/Section/components/SectionDetailsEmpty/sectionDetailsEmpty.tsx +11 -0
- package/src/components/common/Section/components/SectionTitle/sectionTitle.stories.tsx +20 -0
- package/src/components/common/Section/components/SectionTitle/sectionTitle.tsx +24 -0
- package/src/components/common/Section/section.styles.ts +66 -0
- package/src/components/common/Sections/sections.tsx +18 -0
- package/src/components/common/Socials/socials.stories.tsx +61 -0
- package/src/components/common/Socials/socials.styles.ts +5 -0
- package/src/components/common/Socials/socials.tsx +53 -0
- package/src/components/common/Stack/components/Divider/divider.styles.tsx +6 -0
- package/src/components/common/Stack/components/Divider/divider.tsx +25 -0
- package/src/components/common/Stack/stack.tsx +44 -0
- package/src/components/common/StaticImage/staticImage.stories.tsx +26 -0
- package/src/components/common/StaticImage/staticImage.tsx +35 -0
- package/src/components/common/StatusBadge/statusBadge.stories.tsx +18 -0
- package/src/components/common/StatusBadge/statusBadge.tsx +35 -0
- package/src/components/common/StatusIcon/statusIcon.stories.tsx +23 -0
- package/src/components/common/StatusIcon/statusIcon.styles.ts +50 -0
- package/src/components/common/StatusIcon/statusIcon.tsx +33 -0
- package/src/components/common/Tabs/tabs.styles.ts +48 -0
- package/src/components/common/Tabs/tabs.tsx +58 -0
- package/src/components/common/Tag/tag.stories.tsx +21 -0
- package/src/components/common/Tag/tag.styles.ts +13 -0
- package/src/components/common/Tag/tag.tsx +15 -0
- package/src/components/common/Title/title.styles.ts +7 -0
- package/src/components/common/Title/title.tsx +34 -0
- package/src/components/common/ToggleButtonGroup/toggleButtonGroup.stories.tsx +38 -0
- package/src/components/common/ToggleButtonGroup/toggleButtonGroup.tsx +87 -0
- package/src/components/common/Typography/TypographyWordBreak/TypographyWordBreak.tsx +22 -0
- package/src/config/config.ts +19 -0
- package/src/config/entities.ts +443 -0
- package/src/config/utils.ts +104 -0
- package/src/entity/api/service.ts +198 -0
- package/src/entity/apicf/service.ts +73 -0
- package/src/entity/common/client.ts +48 -0
- package/src/entity/common/service.ts +42 -0
- package/src/entity/common/utils.ts +14 -0
- package/src/entity/service/factory.ts +44 -0
- package/src/entity/service/model.ts +72 -0
- package/src/entity/tsv/service.ts +49 -0
- package/src/hooks/useAsync.ts +100 -0
- package/src/hooks/useAuthentication/common/constants.ts +22 -0
- package/src/hooks/useAuthentication/common/entities.ts +34 -0
- package/src/hooks/useAuthentication/common/utils.ts +31 -0
- package/src/hooks/useAuthentication/useAuthentication.tsx +10 -0
- package/src/hooks/useAuthentication/useAuthenticationComplete.ts +66 -0
- package/src/hooks/useAuthentication/useAuthenticationForm.ts +125 -0
- package/src/hooks/useAuthentication/useAuthenticationNIHExpiry.ts +62 -0
- package/src/hooks/useAuthentication/useAuthenticationStatus.ts +49 -0
- package/src/hooks/useAuthentication/useFetchGoogleProfile.ts +68 -0
- package/src/hooks/useAuthentication/useFetchTerraNIHProfile.ts +93 -0
- package/src/hooks/useAuthentication/useFetchTerraProfile.ts +100 -0
- package/src/hooks/useAuthentication/useFetchTerraTermsOfService.ts +89 -0
- package/src/hooks/useAuthentication/useTokenClient.ts +54 -0
- package/src/hooks/useAuthenticationConfig.ts +18 -0
- package/src/hooks/useBreakpointHelper.ts +24 -0
- package/src/hooks/useCatalog.ts +17 -0
- package/src/hooks/useCategoryConfigs.ts +17 -0
- package/src/hooks/useCategoryFilter.ts +266 -0
- package/src/hooks/useConfig.tsx +10 -0
- package/src/hooks/useCurrentDetailTab.ts +29 -0
- package/src/hooks/useDownloadStatus.ts +31 -0
- package/src/hooks/useEntityHeadTitle.ts +62 -0
- package/src/hooks/useEntityList.ts +212 -0
- package/src/hooks/useEntityListRelatedView.ts +78 -0
- package/src/hooks/useEntityService.ts +75 -0
- package/src/hooks/useExploreMode.ts +23 -0
- package/src/hooks/useExploreState.tsx +13 -0
- package/src/hooks/useExportConfig.ts +16 -0
- package/src/hooks/useExportToTerraResponseURL.ts +25 -0
- package/src/hooks/useFeatureFlag/common/entities.ts +4 -0
- package/src/hooks/useFeatureFlag/common/utils.ts +17 -0
- package/src/hooks/useFeatureFlag/useFeatureFlag.ts +19 -0
- package/src/hooks/useFetchEntity.tsx +81 -0
- package/src/hooks/useFetchRequestURL.ts +20 -0
- package/src/hooks/useFileLocation.ts +35 -0
- package/src/hooks/useFileManifest/common/buildFileManifestRequestURL.ts +45 -0
- package/src/hooks/useFileManifest/common/entities.ts +69 -0
- package/src/hooks/useFileManifest/common/utils.ts +218 -0
- package/src/hooks/useFileManifest/useFetchFilesFacets.ts +58 -0
- package/src/hooks/useFileManifest/useFetchSummary.ts +46 -0
- package/src/hooks/useFileManifest/useFileManifest.ts +19 -0
- package/src/hooks/useFileManifest/useFileManifestDownload.ts +120 -0
- package/src/hooks/useFileManifest/useFileManifestSpreadsheet.ts +95 -0
- package/src/hooks/useFileManifest/useFileManifestURL.ts +12 -0
- package/src/hooks/useFileManifest/useRequestFileManifest.ts +46 -0
- package/src/hooks/useFileManifestState.ts +13 -0
- package/src/hooks/useLayoutState.ts +13 -0
- package/src/hooks/useLocalStorage/common/utils.ts +19 -0
- package/src/hooks/useLocalStorage/useLocalStorage.ts +17 -0
- package/src/hooks/useLocation.ts +25 -0
- package/src/hooks/useRequestFileLocation.ts +159 -0
- package/src/hooks/useResetableState.ts +18 -0
- package/src/hooks/useResizeObserver.ts +111 -0
- package/src/hooks/useScroll.ts +21 -0
- package/src/hooks/useSessionTimeout.ts +34 -0
- package/src/hooks/useSummary.ts +47 -0
- package/src/hooks/useSystemStatus.ts +10 -0
- package/src/hooks/useURLFilterParams.ts +57 -0
- package/src/hooks/useUpdateURLCatalogParam.ts +21 -0
- package/src/hooks/useUpdateURLSearchParams.ts +19 -0
- package/src/hooks/useWindowResize.ts +47 -0
- package/src/images/logo.svg +3 -0
- package/src/index.ts +1 -0
- package/src/providers/authentication.tsx +181 -0
- package/src/providers/config.tsx +50 -0
- package/src/providers/exploreState/constants.ts +28 -0
- package/src/providers/exploreState/payloads/entities.ts +64 -0
- package/src/providers/exploreState/utils.ts +93 -0
- package/src/providers/exploreState.tsx +514 -0
- package/src/providers/fileManifestState.tsx +470 -0
- package/src/providers/layoutState.tsx +94 -0
- package/src/providers/systemStatus.tsx +112 -0
- package/src/shared/constants.ts +1 -0
- package/src/shared/utils.ts +43 -0
- package/src/styles/common/mixins/breakpoints.ts +20 -0
- package/src/styles/common/mixins/colors.ts +68 -0
- package/src/styles/common/mixins/fonts.ts +52 -0
- package/src/styles/common/mixins/shadows.ts +7 -0
- package/src/theme/common/breakpoints.ts +41 -0
- package/src/theme/common/components.ts +1563 -0
- package/src/theme/common/palette.ts +242 -0
- package/src/theme/common/shadows.ts +34 -0
- package/src/theme/common/typography.ts +200 -0
- package/src/theme/theme.ts +125 -0
- package/src/types/error.ts +21 -0
- package/src/utils/database.ts +58 -0
- package/src/utils/fetchQueryParams.ts +27 -0
- package/src/utils/formatCountSize.ts +27 -0
- package/src/utils/formatFileSize.ts +26 -0
- package/src/utils/ssr.ts +5 -0
- package/src/utils/url.ts +20 -0
- package/src/viewModelBuilders/common/entities.ts +4 -0
- package/src/viewModelBuilders/common/utils.ts +45 -0
- package/src/views/ContentView/contentView.stories.tsx +105 -0
- package/src/views/ContentView/contentView.tsx +26 -0
- package/src/views/EntityDetailView/entityDetailView.tsx +86 -0
- package/src/views/ExploreView/exploreView.tsx +337 -0
- package/src/views/ExportMethodView/exportMethodView.tsx +42 -0
- package/src/views/ExportView/exportView.tsx +32 -0
- package/src/views/LoginView/loginView.tsx +18 -0
- package/tests/authentication.test.ts +136 -0
- package/tests/filterMenu.test.ts +100 -0
- package/tests/tsconfig.json +7 -0
- package/tests/useAuthenticationStatus.test.ts +155 -0
- package/tests/viewModelBuilders_utils.test.ts +58 -0
- package/tsconfig.json +22 -0
- package/types/data-explorer-ui.d.ts +250 -0
- package/types/global.d.ts +17 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Box, SxProps } from "@mui/material";
|
|
2
|
+
import React, { ReactNode } from "react";
|
|
3
|
+
|
|
4
|
+
// TODO the prop "children" should not necessarily be optional, but it is for now to avoid typescript errors with the use of this component within site configuration files.
|
|
5
|
+
|
|
6
|
+
export interface GridProps {
|
|
7
|
+
children?: ReactNode | ReactNode[];
|
|
8
|
+
gridSx?: SxProps;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* A basic Grid component for rendering CSS grid.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
export const Grid = ({
|
|
16
|
+
children,
|
|
17
|
+
gridSx,
|
|
18
|
+
...props /* Spread props to allow for Mui Box specific prop overrides. */
|
|
19
|
+
}: GridProps): JSX.Element => {
|
|
20
|
+
return (
|
|
21
|
+
<Box display="grid" sx={gridSx} {...props}>
|
|
22
|
+
{children}
|
|
23
|
+
</Box>
|
|
24
|
+
);
|
|
25
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { css } from "@emotion/react";
|
|
2
|
+
import styled from "@emotion/styled";
|
|
3
|
+
import {
|
|
4
|
+
alertLightest,
|
|
5
|
+
alertMain,
|
|
6
|
+
infoLightest,
|
|
7
|
+
infoMain,
|
|
8
|
+
successLightest,
|
|
9
|
+
successMain,
|
|
10
|
+
warningLightest,
|
|
11
|
+
warningMain,
|
|
12
|
+
} from "../../../styles/common/mixins/colors";
|
|
13
|
+
import { IconBadgeColor, ICON_BADGE_COLOR } from "./iconBadge";
|
|
14
|
+
|
|
15
|
+
interface Props {
|
|
16
|
+
color: IconBadgeColor;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export const Circle = styled.div<Props>`
|
|
20
|
+
border-radius: 50%;
|
|
21
|
+
box-sizing: content-box;
|
|
22
|
+
display: grid;
|
|
23
|
+
height: 72px;
|
|
24
|
+
place-content: center center;
|
|
25
|
+
width: 72px;
|
|
26
|
+
|
|
27
|
+
// Alert.
|
|
28
|
+
${({ color, ...props }) =>
|
|
29
|
+
color === ICON_BADGE_COLOR.ALERT &&
|
|
30
|
+
css`
|
|
31
|
+
background-color: ${alertLightest(props)};
|
|
32
|
+
color: ${alertMain(props)};
|
|
33
|
+
`};
|
|
34
|
+
|
|
35
|
+
// Info.
|
|
36
|
+
${({ color, ...props }) =>
|
|
37
|
+
color === ICON_BADGE_COLOR.INFO &&
|
|
38
|
+
css`
|
|
39
|
+
background-color: ${infoLightest(props)};
|
|
40
|
+
color: ${infoMain(props)};
|
|
41
|
+
`};
|
|
42
|
+
|
|
43
|
+
// Success.
|
|
44
|
+
${({ color, ...props }) =>
|
|
45
|
+
color === ICON_BADGE_COLOR.SUCCESS &&
|
|
46
|
+
css`
|
|
47
|
+
background-color: ${successLightest(props)};
|
|
48
|
+
color: ${successMain(props)};
|
|
49
|
+
`};
|
|
50
|
+
|
|
51
|
+
// Warning.
|
|
52
|
+
${({ color, ...props }) =>
|
|
53
|
+
color === ICON_BADGE_COLOR.WARNING &&
|
|
54
|
+
css`
|
|
55
|
+
background-color: ${warningLightest(props)};
|
|
56
|
+
color: ${warningMain(props)};
|
|
57
|
+
`};
|
|
58
|
+
`;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React, { ElementType } from "react";
|
|
2
|
+
import { Circle } from "./iconBadge.styles";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Model of icon badge color.
|
|
6
|
+
*/
|
|
7
|
+
export type IconBadgeColor = ICON_BADGE_COLOR;
|
|
8
|
+
|
|
9
|
+
export enum ICON_BADGE_COLOR {
|
|
10
|
+
ALERT = "alert",
|
|
11
|
+
INFO = "info",
|
|
12
|
+
SUCCESS = "success",
|
|
13
|
+
WARNING = "warning",
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface IconBadgeProps {
|
|
17
|
+
color: IconBadgeColor;
|
|
18
|
+
Icon: ElementType;
|
|
19
|
+
iconSize?: string;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export const IconBadge = ({
|
|
23
|
+
color,
|
|
24
|
+
Icon,
|
|
25
|
+
iconSize = "xxlarge",
|
|
26
|
+
}: IconBadgeProps): JSX.Element => {
|
|
27
|
+
return (
|
|
28
|
+
<Circle color={color}>
|
|
29
|
+
<Icon fontSize={iconSize} />
|
|
30
|
+
</Circle>
|
|
31
|
+
);
|
|
32
|
+
};
|
package/src/components/common/IconButton/components/LoadingIconButton/loadingIconButton.stories.tsx
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ComponentMeta, ComponentStory } from "@storybook/react";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { LoadingIconButton } from "./loadingIconButton";
|
|
4
|
+
|
|
5
|
+
export default {
|
|
6
|
+
component: LoadingIconButton,
|
|
7
|
+
title: "Components/Common/IconButton/Download",
|
|
8
|
+
} as ComponentMeta<typeof LoadingIconButton>;
|
|
9
|
+
|
|
10
|
+
const LoadingIconButtonTemplate: ComponentStory<
|
|
11
|
+
typeof LoadingIconButton
|
|
12
|
+
> = () => <LoadingIconButton />;
|
|
13
|
+
|
|
14
|
+
export const LoadingIconButtonStory = LoadingIconButtonTemplate.bind({});
|
|
15
|
+
LoadingIconButtonStory.args = {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { LoadingIcon } from "../../../CustomIcon/components/LoadingIcon/loadingIcon";
|
|
3
|
+
import { MockIconButtonPrimary } from "../../iconButton.styles";
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Mock "loading" icon button - a placeholder element styled like a primary icon button without the use of a button element.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
export const LoadingIconButton = (): JSX.Element => {
|
|
10
|
+
return (
|
|
11
|
+
<MockIconButtonPrimary>
|
|
12
|
+
<LoadingIcon fontSize="small" />
|
|
13
|
+
</MockIconButtonPrimary>
|
|
14
|
+
);
|
|
15
|
+
};
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import styled from "@emotion/styled";
|
|
2
|
+
import { IconButton as MIconButton } from "@mui/material";
|
|
3
|
+
import { IconButton } from "./iconButton";
|
|
4
|
+
|
|
5
|
+
// Primary icon button.
|
|
6
|
+
export const IconButtonPrimary = styled(IconButton)`
|
|
7
|
+
background-color: ${({ theme }) => theme.palette.primary.main};
|
|
8
|
+
box-shadow: 0 1px 0 0 ${({ theme }) => theme.palette.primary.dark};
|
|
9
|
+
color: ${({ theme }) => theme.palette.common.white};
|
|
10
|
+
|
|
11
|
+
// Medium sized primary icon button.
|
|
12
|
+
&.MuiIconButton-sizeMedium {
|
|
13
|
+
padding: 6px 8px; // Overrides medium sized button theme top and bottom padding.
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&:active,
|
|
17
|
+
&:hover {
|
|
18
|
+
background-color: ${({ theme }) => theme.palette.primary.dark};
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&:active {
|
|
22
|
+
box-shadow: none;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&.Mui-disabled {
|
|
26
|
+
background-color: ${({ theme }) => theme.palette.primary.main};
|
|
27
|
+
color: ${({ theme }) => theme.palette.common.white};
|
|
28
|
+
opacity: 0.5;
|
|
29
|
+
}
|
|
30
|
+
`;
|
|
31
|
+
|
|
32
|
+
// Secondary icon button.
|
|
33
|
+
export const IconButtonSecondary = styled(IconButton)`
|
|
34
|
+
background-color: ${({ theme }) => theme.palette.common.white};
|
|
35
|
+
box-shadow: inset 0 0 0 1px ${({ theme }) => theme.palette.smoke.dark},
|
|
36
|
+
0px 1px 0px 0px rgba(0, 0, 0, 0.08);
|
|
37
|
+
color: ${({ theme }) => theme.palette.ink.main};
|
|
38
|
+
|
|
39
|
+
&:active, &:hover {
|
|
40
|
+
background-color: ${({ theme }) => theme.palette.smoke.lightest};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&:active {
|
|
44
|
+
box-shadow: inset 0 0 0 1px ${({ theme }) => theme.palette.smoke.dark};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&:disabled {
|
|
48
|
+
color: inherit;
|
|
49
|
+
opacity: 0.5;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
`;
|
|
53
|
+
|
|
54
|
+
// Mock icon button.
|
|
55
|
+
export const MockIconButtonPrimary = styled.span`
|
|
56
|
+
background-color: ${({ theme }) => theme.palette.primary.main};
|
|
57
|
+
border-radius: 4px;
|
|
58
|
+
box-shadow: 0 1px 0 0 ${({ theme }) => theme.palette.primary.dark};
|
|
59
|
+
color: ${({ theme }) => theme.palette.common.white};
|
|
60
|
+
display: flex;
|
|
61
|
+
flex: none;
|
|
62
|
+
height: 32px;
|
|
63
|
+
padding: 6px 8px;
|
|
64
|
+
`;
|
|
65
|
+
|
|
66
|
+
// Drawer backdrop close icon button.
|
|
67
|
+
export const CloseDrawerIconButton = styled(IconButton)`
|
|
68
|
+
color: ${({ theme }) => theme.palette.common.white};
|
|
69
|
+
left: calc(100% + 4px);
|
|
70
|
+
position: absolute;
|
|
71
|
+
top: 4px;
|
|
72
|
+
`;
|
|
73
|
+
|
|
74
|
+
// Socials icon button.
|
|
75
|
+
export const IconButtonSocials = styled(MIconButton)`
|
|
76
|
+
color: ${({ theme }) => theme.palette.ink.light};
|
|
77
|
+
|
|
78
|
+
&:hover {
|
|
79
|
+
background-color: ${({ theme }) => theme.palette.smoke.light};
|
|
80
|
+
}
|
|
81
|
+
` as typeof MIconButton;
|
|
82
|
+
|
|
83
|
+
// Socials icon button - footer component.
|
|
84
|
+
export const IconButtonSocialsFooter = styled(MIconButton)`
|
|
85
|
+
color: ${({ theme }) => theme.palette.ink.light};
|
|
86
|
+
|
|
87
|
+
&:hover {
|
|
88
|
+
background-color: ${({ theme }) => theme.palette.smoke.main};
|
|
89
|
+
}
|
|
90
|
+
` as typeof MIconButton;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IconButton as MIconButton,
|
|
3
|
+
IconButtonProps as MIconButtonProps,
|
|
4
|
+
} from "@mui/material";
|
|
5
|
+
import React, { ElementType } from "react";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Basic icon button component.
|
|
9
|
+
* Use IconButtonSecondary styles to render secondary icon button.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
export interface IconButtonProps extends MIconButtonProps {
|
|
13
|
+
className?: string;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
Icon: ElementType;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export const IconButton = ({
|
|
19
|
+
className,
|
|
20
|
+
disabled = false,
|
|
21
|
+
Icon,
|
|
22
|
+
...props /* Spread props to allow for Mui IconButtonProps specific prop overrides e.g. "onClick". */
|
|
23
|
+
}: IconButtonProps): JSX.Element => {
|
|
24
|
+
return (
|
|
25
|
+
<MIconButton
|
|
26
|
+
className={className}
|
|
27
|
+
disabled={disabled}
|
|
28
|
+
size="large"
|
|
29
|
+
{...props}
|
|
30
|
+
>
|
|
31
|
+
<Icon fontSize="small" />
|
|
32
|
+
</MIconButton>
|
|
33
|
+
);
|
|
34
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { css } from "@emotion/react";
|
|
2
|
+
import styled from "@emotion/styled";
|
|
3
|
+
import { FormControl, OutlinedInput } from "@mui/material";
|
|
4
|
+
|
|
5
|
+
interface Props {
|
|
6
|
+
isFilled: boolean;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// Input form control
|
|
10
|
+
export const InputFormControl = styled(FormControl)`
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
gap: 8px;
|
|
14
|
+
`;
|
|
15
|
+
|
|
16
|
+
export const InputField = styled(OutlinedInput, {
|
|
17
|
+
shouldForwardProp: (prop) => prop !== "isFilled",
|
|
18
|
+
})<Props>`
|
|
19
|
+
&& ::placeholder {
|
|
20
|
+
opacity: 0.8;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&&.Mui-focused ::placeholder {
|
|
24
|
+
opacity: 0;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
// Input filled.
|
|
28
|
+
${({ isFilled, theme }) =>
|
|
29
|
+
isFilled &&
|
|
30
|
+
css`
|
|
31
|
+
.MuiOutlinedInput-input,
|
|
32
|
+
.MuiSvgIcon-root {
|
|
33
|
+
color: ${theme.palette.ink.main};
|
|
34
|
+
}
|
|
35
|
+
`};
|
|
36
|
+
`;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { Typography } from "@mui/material";
|
|
2
|
+
import React, { ChangeEvent, ElementType } from "react";
|
|
3
|
+
import { TEXT_BODY_400 } from "../../../theme/common/typography";
|
|
4
|
+
import { SetSearchTermFn } from "../../Filter/common/entities";
|
|
5
|
+
import { InputField, InputFormControl } from "./input.styles";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Basic input component.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
export interface InputProps {
|
|
12
|
+
className?: string;
|
|
13
|
+
label?: string;
|
|
14
|
+
placeholder?: string;
|
|
15
|
+
searchTerm: string;
|
|
16
|
+
setSearchTerm: SetSearchTermFn;
|
|
17
|
+
StartAdornment?: ElementType;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Callback fired when the search term is changed.
|
|
22
|
+
* - Sets state searchTerm with new search term.
|
|
23
|
+
* @param changeEvent - Change event on input element.
|
|
24
|
+
* @param setSearchTerm - Function invoked to update state with the search term.
|
|
25
|
+
*/
|
|
26
|
+
function onChangeInputField(
|
|
27
|
+
changeEvent: ChangeEvent<HTMLTextAreaElement | HTMLInputElement>,
|
|
28
|
+
setSearchTerm: SetSearchTermFn
|
|
29
|
+
): void {
|
|
30
|
+
const searchTerm = changeEvent.target.value;
|
|
31
|
+
setSearchTerm(searchTerm);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export const Input = ({
|
|
35
|
+
className,
|
|
36
|
+
label,
|
|
37
|
+
placeholder,
|
|
38
|
+
searchTerm,
|
|
39
|
+
setSearchTerm,
|
|
40
|
+
StartAdornment,
|
|
41
|
+
...props /* Spread props to allow for Mui OutlinedInputProps specific prop overrides e.g. "disabled". */
|
|
42
|
+
}: InputProps): JSX.Element => {
|
|
43
|
+
return (
|
|
44
|
+
<InputFormControl className={className}>
|
|
45
|
+
{label && <Typography variant={TEXT_BODY_400}>{label}</Typography>}
|
|
46
|
+
<InputField
|
|
47
|
+
autoFocus
|
|
48
|
+
fullWidth
|
|
49
|
+
inputProps={{ spellCheck: false }}
|
|
50
|
+
isFilled={!!searchTerm}
|
|
51
|
+
onChange={(event): void => onChangeInputField(event, setSearchTerm)}
|
|
52
|
+
placeholder={placeholder}
|
|
53
|
+
size="small"
|
|
54
|
+
startAdornment={
|
|
55
|
+
StartAdornment ? <StartAdornment fontSize="small" /> : undefined
|
|
56
|
+
}
|
|
57
|
+
value={searchTerm}
|
|
58
|
+
{...props}
|
|
59
|
+
/>
|
|
60
|
+
</InputFormControl>
|
|
61
|
+
);
|
|
62
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Typography } from "@mui/material";
|
|
2
|
+
import React, { ReactNode } from "react";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Basic KeyValuePairs "key" wrapper component.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
export interface KeyElTypeProps {
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export const KeyElType = ({
|
|
13
|
+
children,
|
|
14
|
+
...props /* Spread props to allow for Mui TypographyProps specific prop overrides e.g. "variant". */
|
|
15
|
+
}: KeyElTypeProps): JSX.Element => {
|
|
16
|
+
return (
|
|
17
|
+
<Typography color="ink.light" variant="text-body-400-2lines" {...props}>
|
|
18
|
+
{children}
|
|
19
|
+
</Typography>
|
|
20
|
+
);
|
|
21
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Box, SxProps } from "@mui/material";
|
|
2
|
+
import React, { ReactNode } from "react";
|
|
3
|
+
import { KeyValue, KeyValueFn } from "../../keyValuePairs";
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Basic KeyValuePairs "key value" component.
|
|
7
|
+
* Facilitates handling of onClick on the KeyValue element in KeyValuePairs component.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
export interface KeyValueElTypeProps {
|
|
11
|
+
boxSx?: SxProps;
|
|
12
|
+
children: ReactNode;
|
|
13
|
+
keyValue: KeyValue; // From KeyValuePairs component.
|
|
14
|
+
keyValueFn?: KeyValueFn; // Optional, not all keyValue pairs may have a corresponding function.
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export const KeyValueElType = ({
|
|
18
|
+
boxSx,
|
|
19
|
+
children,
|
|
20
|
+
keyValue,
|
|
21
|
+
keyValueFn,
|
|
22
|
+
...props /* Spread props to allow for Mui Box specific prop overrides. */
|
|
23
|
+
}: KeyValueElTypeProps): JSX.Element => {
|
|
24
|
+
return (
|
|
25
|
+
<Box
|
|
26
|
+
onClick={(): void => keyValueFn && keyValueFn(keyValue)}
|
|
27
|
+
role="button"
|
|
28
|
+
sx={{ cursor: keyValueFn ? "pointer" : "default", ...boxSx }}
|
|
29
|
+
{...props}
|
|
30
|
+
>
|
|
31
|
+
{children}
|
|
32
|
+
</Box>
|
|
33
|
+
);
|
|
34
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Typography } from "@mui/material";
|
|
2
|
+
import React, { ReactNode } from "react";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Basic KeyValuePairs "value" wrapper component.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
export interface ValueElTypeProps {
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export const ValueElType = ({
|
|
13
|
+
children,
|
|
14
|
+
...props /* Spread props to allow for Mui TypographyProps specific prop overrides e.g. "variant". */
|
|
15
|
+
}: ValueElTypeProps): JSX.Element => {
|
|
16
|
+
return (
|
|
17
|
+
<Typography variant="text-body-400-2lines" {...props}>
|
|
18
|
+
{children}
|
|
19
|
+
</Typography>
|
|
20
|
+
);
|
|
21
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import React, { ElementType, Fragment, ReactNode } from "react";
|
|
2
|
+
import { Stack } from "../Stack/stack";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Basic key value pairs component.
|
|
6
|
+
* Optional wrapper components for the key values, key value tuple, key and value for complete ui flexibility.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
export type Key = ReactNode;
|
|
10
|
+
export type KeyValue = [Key, Value];
|
|
11
|
+
export type Value = ReactNode | ReactNode[];
|
|
12
|
+
export type KeyValueFn = (keyValue: KeyValue) => void; // An KeyValue element onClick function.
|
|
13
|
+
export type KeyValues = Map<Key, Value>;
|
|
14
|
+
|
|
15
|
+
export interface KeyValuePairsProps {
|
|
16
|
+
KeyElType?: ElementType; // Wrapper element around key.
|
|
17
|
+
KeyValueElType?: ElementType; // Wrapper element around key value tuple.
|
|
18
|
+
keyValuePairs: KeyValues;
|
|
19
|
+
KeyValuesElType?: ElementType; // Wrapper element around key value pairs.
|
|
20
|
+
ValueElType?: ElementType; // Wrapper elements around value.
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export const KeyValuePairs = ({
|
|
24
|
+
KeyElType: Key = "span",
|
|
25
|
+
KeyValueElType: KeyValue = Stack,
|
|
26
|
+
keyValuePairs,
|
|
27
|
+
KeyValuesElType: KeyValues = Stack,
|
|
28
|
+
ValueElType: Value = "span",
|
|
29
|
+
}: KeyValuePairsProps): JSX.Element => {
|
|
30
|
+
return (
|
|
31
|
+
<KeyValues>
|
|
32
|
+
{[...keyValuePairs].map(([key, value], k) => {
|
|
33
|
+
// Pass through the keyValue to the KeyValue element (for the KeyValueFn if defined).
|
|
34
|
+
const keyValueProps =
|
|
35
|
+
KeyValue === Fragment ? {} : { keyValue: [key, value] };
|
|
36
|
+
return (
|
|
37
|
+
<KeyValue key={`${key}${k}`} {...keyValueProps}>
|
|
38
|
+
<Key>{key}</Key>
|
|
39
|
+
<Value>{value}</Value>
|
|
40
|
+
</KeyValue>
|
|
41
|
+
);
|
|
42
|
+
})}
|
|
43
|
+
</KeyValues>
|
|
44
|
+
);
|
|
45
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import styled from "@emotion/styled";
|
|
2
|
+
import {
|
|
3
|
+
textBody4002Lines,
|
|
4
|
+
textBody500,
|
|
5
|
+
textBodyLarge500,
|
|
6
|
+
} from "../../../../../styles/common/mixins/fonts";
|
|
7
|
+
|
|
8
|
+
export const SectionContent = styled.div`
|
|
9
|
+
h3,
|
|
10
|
+
h4 {
|
|
11
|
+
margin: 0 0 8px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
h3 {
|
|
15
|
+
${textBodyLarge500};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
h4 {
|
|
19
|
+
${textBody500};
|
|
20
|
+
margin-top: 20px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
p {
|
|
24
|
+
${textBody4002Lines};
|
|
25
|
+
margin: 0 0 8px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
> *:last-child {
|
|
29
|
+
margin-bottom: 0;
|
|
30
|
+
}
|
|
31
|
+
`;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// TODO deprecate component if possible (see MDXMarkdown)
|
|
2
|
+
import DOMPurify from "isomorphic-dompurify";
|
|
3
|
+
import React from "react";
|
|
4
|
+
|
|
5
|
+
export interface MarkdownProps {
|
|
6
|
+
content: string;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export const Markdown = ({ content }: MarkdownProps): JSX.Element => {
|
|
10
|
+
return (
|
|
11
|
+
<div dangerouslySetInnerHTML={{ __html: DOMPurify.sanitize(content) }} />
|
|
12
|
+
);
|
|
13
|
+
};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import styled from "@emotion/styled";
|
|
2
|
+
import { TABLET } from "../../../theme/common/breakpoints";
|
|
3
|
+
import { Paper } from "./paper";
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Flat paper - typically used when in full stretch or full "bleed" across a container.
|
|
7
|
+
* e.g. the entire width of mobile viewports.
|
|
8
|
+
*/
|
|
9
|
+
export const FlatPaper = styled(Paper)`
|
|
10
|
+
align-self: stretch;
|
|
11
|
+
border-left: none;
|
|
12
|
+
border-radius: 0;
|
|
13
|
+
border-right: none;
|
|
14
|
+
box-shadow: none;
|
|
15
|
+
`;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Rounded paper - typically used when contained within a parent container.
|
|
19
|
+
* To use RoundedPaper, wrap the styled paper around a single child element e.g. "Section" or "Sections" component. TODO
|
|
20
|
+
*/
|
|
21
|
+
export const RoundedPaper = styled(Paper)`
|
|
22
|
+
align-self: stretch;
|
|
23
|
+
border-radius: 8px;
|
|
24
|
+
`;
|
|
25
|
+
|
|
26
|
+
/* eslint-disable valid-jsdoc -- disable require param */
|
|
27
|
+
/**
|
|
28
|
+
* Fluid paper - typically used to transition between flat paper (mobile) and rounded paper (tablet or desktop).
|
|
29
|
+
* To use FluidPaper, wrap the styled paper around a single child element e.g. "Section" or "Sections" component. TODO
|
|
30
|
+
*/
|
|
31
|
+
/* eslint-enable valid-jsdoc -- disable require param */
|
|
32
|
+
export const FluidPaper = styled(RoundedPaper)`
|
|
33
|
+
${({ theme }) => theme.breakpoints.down(TABLET)} {
|
|
34
|
+
border-left: none;
|
|
35
|
+
border-radius: 0;
|
|
36
|
+
border-right: none;
|
|
37
|
+
box-shadow: none;
|
|
38
|
+
}
|
|
39
|
+
`;
|
|
40
|
+
|
|
41
|
+
// See https://github.com/emotion-js/emotion/issues/1105.
|
|
42
|
+
// See https://github.com/emotion-js/emotion/releases/tag/%40emotion%2Fcache%4011.10.2.
|
|
43
|
+
const ignoreSsrWarning =
|
|
44
|
+
"/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */";
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Grid paper - typically used as a parent (grid) container.
|
|
48
|
+
* The background color with the grid cap property create the grid "lines" between each grid item.
|
|
49
|
+
*/
|
|
50
|
+
export const GridPaper = styled.div(({ theme }) => ({
|
|
51
|
+
backgroundColor: `${theme.palette.smoke.main}`,
|
|
52
|
+
borderRadius: "inherit", // Inherit parent container border radius.
|
|
53
|
+
display: "grid",
|
|
54
|
+
gap: "1px",
|
|
55
|
+
// First child - not <style/> - inherits top left and right border radius.
|
|
56
|
+
[`> *:first-child:not(style)${ignoreSsrWarning}`]: {
|
|
57
|
+
borderTopLeftRadius: "inherit",
|
|
58
|
+
borderTopRightRadius: "inherit",
|
|
59
|
+
},
|
|
60
|
+
// First child - after <style/> - inherits top left and right border radius.
|
|
61
|
+
[`> style:first-child + *${ignoreSsrWarning}`]: {
|
|
62
|
+
borderTopLeftRadius: "inherit",
|
|
63
|
+
borderTopRightRadius: "inherit",
|
|
64
|
+
},
|
|
65
|
+
// Last child inherits bottom left and right border radius.
|
|
66
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
67
|
+
"> *:last-child": {
|
|
68
|
+
borderBottomLeftRadius: "inherit",
|
|
69
|
+
borderBottomRightRadius: "inherit",
|
|
70
|
+
},
|
|
71
|
+
}));
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Paper as MPaper, PaperProps as MPaperProps } from "@mui/material";
|
|
2
|
+
import React, { forwardRef, ReactNode } from "react";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* An extension of the basic Mui Paper component with custom variants e.g. "panel".
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Model of paper variant "panel" style.
|
|
10
|
+
*/
|
|
11
|
+
export type PaperPanelStyle = keyof typeof PAPER_PANEL_STYLE;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Possible set of paper variant "panel" style values.
|
|
15
|
+
*/
|
|
16
|
+
export enum PAPER_PANEL_STYLE {
|
|
17
|
+
FLAT = "FLAT",
|
|
18
|
+
FLUID = "FLUID",
|
|
19
|
+
NONE = "NONE",
|
|
20
|
+
ROUNDED = "ROUNDED",
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export interface PaperProps {
|
|
24
|
+
children: ReactNode | ReactNode[];
|
|
25
|
+
className?: string;
|
|
26
|
+
variant?: MPaperProps["variant"];
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export const Paper = forwardRef<HTMLDivElement, PaperProps>(function Paper(
|
|
30
|
+
{ children, className, variant = "panel" }: PaperProps,
|
|
31
|
+
ref
|
|
32
|
+
): JSX.Element {
|
|
33
|
+
return (
|
|
34
|
+
<MPaper className={className} ref={ref} variant={variant}>
|
|
35
|
+
{children}
|
|
36
|
+
</MPaper>
|
|
37
|
+
);
|
|
38
|
+
});
|