@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,59 @@
|
|
|
1
|
+
import { CloseRounded } from "@mui/icons-material";
|
|
2
|
+
import { Chip, Tooltip } from "@mui/material";
|
|
3
|
+
import React, { useRef } from "react";
|
|
4
|
+
import { SupersededTag } from "./filterTag.styles";
|
|
5
|
+
|
|
6
|
+
export interface FilterTagProps {
|
|
7
|
+
label: string;
|
|
8
|
+
onRemove: () => void;
|
|
9
|
+
superseded: boolean;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
const DEFAULT_SLOT_PROPS = {
|
|
13
|
+
popper: {
|
|
14
|
+
modifiers: [
|
|
15
|
+
{
|
|
16
|
+
name: "offset",
|
|
17
|
+
options: {
|
|
18
|
+
offset: [0, -6],
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
name: "preventOverflow",
|
|
23
|
+
options: { padding: 8 },
|
|
24
|
+
},
|
|
25
|
+
],
|
|
26
|
+
},
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export const FilterTag = ({
|
|
30
|
+
label,
|
|
31
|
+
onRemove,
|
|
32
|
+
superseded,
|
|
33
|
+
}: FilterTagProps): JSX.Element => {
|
|
34
|
+
const Tag = superseded ? SupersededTag : Chip;
|
|
35
|
+
const tagRef = useRef<HTMLDivElement>(null);
|
|
36
|
+
const tagLabelElement =
|
|
37
|
+
tagRef.current?.querySelector<HTMLElement>(".MuiChip-label");
|
|
38
|
+
const isOverflowed =
|
|
39
|
+
(tagLabelElement?.offsetWidth ?? 0) < (tagLabelElement?.scrollWidth ?? 0);
|
|
40
|
+
return (
|
|
41
|
+
<Tooltip
|
|
42
|
+
arrow
|
|
43
|
+
disableInteractive
|
|
44
|
+
slotProps={DEFAULT_SLOT_PROPS}
|
|
45
|
+
title={isOverflowed ? label : null}
|
|
46
|
+
>
|
|
47
|
+
<Tag
|
|
48
|
+
clickable={false} // removes unwanted active and hover ui; "pointer" cursor added to "filterTag" variant in theme.
|
|
49
|
+
color="primary"
|
|
50
|
+
deleteIcon={<CloseRounded color="inherit" />}
|
|
51
|
+
label={label}
|
|
52
|
+
onClick={onRemove}
|
|
53
|
+
onDelete={onRemove}
|
|
54
|
+
ref={tagRef}
|
|
55
|
+
variant="filterTag"
|
|
56
|
+
/>
|
|
57
|
+
</Tooltip>
|
|
58
|
+
);
|
|
59
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { ComponentMeta, ComponentStory } from "@storybook/react";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { FilterTags } from "./filterTags";
|
|
4
|
+
|
|
5
|
+
export default {
|
|
6
|
+
argTypes: {
|
|
7
|
+
tags: { control: { disable: true } },
|
|
8
|
+
},
|
|
9
|
+
component: FilterTags,
|
|
10
|
+
decorators: [
|
|
11
|
+
(Story): JSX.Element => (
|
|
12
|
+
<div style={{ padding: "8px 12px 8px 16px", width: 264 }}>
|
|
13
|
+
<Story />
|
|
14
|
+
</div>
|
|
15
|
+
),
|
|
16
|
+
],
|
|
17
|
+
title: "Components/Filter/FilterTags",
|
|
18
|
+
} as ComponentMeta<typeof FilterTags>;
|
|
19
|
+
|
|
20
|
+
const FilterTagsTemplate: ComponentStory<typeof FilterTags> = (args) => (
|
|
21
|
+
<FilterTags {...args} />
|
|
22
|
+
);
|
|
23
|
+
|
|
24
|
+
const onRemove = (): void => {
|
|
25
|
+
// onRemove function
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export const FilterTagsStory = FilterTagsTemplate.bind({});
|
|
29
|
+
FilterTagsStory.args = {
|
|
30
|
+
tags: [
|
|
31
|
+
{
|
|
32
|
+
label: "Normal",
|
|
33
|
+
onRemove: onRemove,
|
|
34
|
+
superseded: false,
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
label: "abscess",
|
|
38
|
+
onRemove: onRemove,
|
|
39
|
+
superseded: true,
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
label: "acoustic neuroma",
|
|
43
|
+
onRemove: onRemove,
|
|
44
|
+
superseded: false,
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
label: "acute kidney failure",
|
|
48
|
+
onRemove: onRemove,
|
|
49
|
+
superseded: false,
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
label: "acute kidney tubular necrosis",
|
|
53
|
+
onRemove: onRemove,
|
|
54
|
+
superseded: false,
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
label: "alcohol abuse",
|
|
58
|
+
onRemove: onRemove,
|
|
59
|
+
superseded: false,
|
|
60
|
+
},
|
|
61
|
+
],
|
|
62
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import styled from "@emotion/styled";
|
|
2
|
+
import { mediaDesktopSmallUp } from "../../../../styles/common/mixins/breakpoints";
|
|
3
|
+
|
|
4
|
+
export const FilterTags = styled.span`
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-wrap: wrap;
|
|
7
|
+
gap: 4px;
|
|
8
|
+
margin-bottom: 8px;
|
|
9
|
+
padding: 0 16px;
|
|
10
|
+
|
|
11
|
+
&:last-child {
|
|
12
|
+
margin-bottom: 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
${mediaDesktopSmallUp} {
|
|
16
|
+
padding: 0;
|
|
17
|
+
}
|
|
18
|
+
`;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { CategoryTag } from "../../../../common/entities";
|
|
3
|
+
import { FilterTag as Tag } from "../FilterTag/filterTag";
|
|
4
|
+
import { FilterTags as Tags } from "./filterTags.styles";
|
|
5
|
+
|
|
6
|
+
export interface FilterTagsProps {
|
|
7
|
+
tags?: CategoryTag[];
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const FilterTags = ({ tags }: FilterTagsProps): JSX.Element | null => {
|
|
11
|
+
return tags && tags.length ? (
|
|
12
|
+
<Tags>
|
|
13
|
+
{tags.map(({ label, onRemove, superseded }, t) => (
|
|
14
|
+
<Tag
|
|
15
|
+
key={`${label}${t}`}
|
|
16
|
+
label={label}
|
|
17
|
+
onRemove={onRemove}
|
|
18
|
+
superseded={superseded}
|
|
19
|
+
/>
|
|
20
|
+
))}
|
|
21
|
+
</Tags>
|
|
22
|
+
) : null;
|
|
23
|
+
};
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { FilterMenuStory } from "../FilterMenu/filterMenu.stories";
|
|
4
|
+
import { Filters } from "./filters";
|
|
5
|
+
|
|
6
|
+
export default {
|
|
7
|
+
argTypes: {
|
|
8
|
+
categories: { control: { disable: true } },
|
|
9
|
+
onFilter: { control: { disable: true } },
|
|
10
|
+
},
|
|
11
|
+
component: Filters,
|
|
12
|
+
decorators: [
|
|
13
|
+
(Story): JSX.Element => (
|
|
14
|
+
<div style={{ width: 264 }}>
|
|
15
|
+
<Story />
|
|
16
|
+
</div>
|
|
17
|
+
),
|
|
18
|
+
],
|
|
19
|
+
title: "Components/Filter/Filters",
|
|
20
|
+
} as Meta<typeof Filters>;
|
|
21
|
+
|
|
22
|
+
type Story = StoryObj<typeof Filters>;
|
|
23
|
+
|
|
24
|
+
const onFilter = (): void => {
|
|
25
|
+
// onFilter function
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
const defaultValues = [
|
|
29
|
+
{
|
|
30
|
+
count: 1,
|
|
31
|
+
key: "item1",
|
|
32
|
+
label: "Item 1",
|
|
33
|
+
selected: false,
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
count: 10,
|
|
37
|
+
key: "item2",
|
|
38
|
+
label: "Item 2",
|
|
39
|
+
selected: false,
|
|
40
|
+
},
|
|
41
|
+
];
|
|
42
|
+
|
|
43
|
+
export const FiltersStory: Story = {
|
|
44
|
+
args: {
|
|
45
|
+
categoryFilters: [
|
|
46
|
+
{
|
|
47
|
+
categoryViews: [
|
|
48
|
+
{
|
|
49
|
+
isDisabled: false,
|
|
50
|
+
key: "genusSpecies",
|
|
51
|
+
label: "Genus Species",
|
|
52
|
+
values: [
|
|
53
|
+
{
|
|
54
|
+
count: 12,
|
|
55
|
+
key: "homoSapiens",
|
|
56
|
+
label: "Homo sapiens",
|
|
57
|
+
selected: false,
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
count: 6,
|
|
61
|
+
key: "musMusculus",
|
|
62
|
+
label: "Mus musculus",
|
|
63
|
+
selected: false,
|
|
64
|
+
},
|
|
65
|
+
],
|
|
66
|
+
},
|
|
67
|
+
],
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
categoryViews: [
|
|
71
|
+
{
|
|
72
|
+
isDisabled: false,
|
|
73
|
+
key: "donorDisease",
|
|
74
|
+
label: "Donor Disease",
|
|
75
|
+
values: FilterMenuStory.args?.values || defaultValues,
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
isDisabled: true,
|
|
79
|
+
key: "anatomicalEntity",
|
|
80
|
+
label: "Anatomical Entity",
|
|
81
|
+
values: [
|
|
82
|
+
{
|
|
83
|
+
count: 12,
|
|
84
|
+
key: "oralCavity",
|
|
85
|
+
label: "oral cavity",
|
|
86
|
+
selected: true,
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
count: 6,
|
|
90
|
+
key: "pancreas",
|
|
91
|
+
label: "pancreas",
|
|
92
|
+
selected: false,
|
|
93
|
+
},
|
|
94
|
+
],
|
|
95
|
+
},
|
|
96
|
+
],
|
|
97
|
+
},
|
|
98
|
+
],
|
|
99
|
+
onFilter: onFilter,
|
|
100
|
+
},
|
|
101
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { css } from "@emotion/react";
|
|
2
|
+
import styled from "@emotion/styled";
|
|
3
|
+
import { mediaDesktopSmallUp } from "../../../../styles/common/mixins/breakpoints";
|
|
4
|
+
|
|
5
|
+
interface Props {
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
height: number;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const Filters = styled("div", {
|
|
11
|
+
shouldForwardProp: (prop) => prop !== "height",
|
|
12
|
+
})<Props>`
|
|
13
|
+
height: ${({ height }) => height}px;
|
|
14
|
+
margin: 8px 0;
|
|
15
|
+
overflow: auto;
|
|
16
|
+
padding: 0 0 8px;
|
|
17
|
+
|
|
18
|
+
// Filters are globally "disabled".
|
|
19
|
+
${({ disabled }) =>
|
|
20
|
+
disabled &&
|
|
21
|
+
css`
|
|
22
|
+
pointer-events: none;
|
|
23
|
+
`};
|
|
24
|
+
|
|
25
|
+
.MuiDivider-root {
|
|
26
|
+
margin: 8px 0;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
${mediaDesktopSmallUp} {
|
|
30
|
+
height: unset;
|
|
31
|
+
overflow: unset;
|
|
32
|
+
padding: 0 12px 0 16px;
|
|
33
|
+
}
|
|
34
|
+
`;
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { Divider } from "@mui/material";
|
|
2
|
+
import { TrackFilterOpenedFunction } from "config/entities";
|
|
3
|
+
import React, { Fragment, useEffect, useRef, useState } from "react";
|
|
4
|
+
import { CategoryTag, SelectCategoryView } from "../../../../common/entities";
|
|
5
|
+
import {
|
|
6
|
+
BREAKPOINT_FN_NAME,
|
|
7
|
+
useBreakpointHelper,
|
|
8
|
+
} from "../../../../hooks/useBreakpointHelper";
|
|
9
|
+
import { OnFilterFn } from "../../../../hooks/useCategoryFilter";
|
|
10
|
+
import { useWindowResize } from "../../../../hooks/useWindowResize";
|
|
11
|
+
import { DESKTOP_SM } from "../../../../theme/common/breakpoints";
|
|
12
|
+
import { Filter } from "../Filter/filter";
|
|
13
|
+
import { FilterTags } from "../FilterTags/filterTags";
|
|
14
|
+
import { Filters as FilterList } from "./filters.styles";
|
|
15
|
+
|
|
16
|
+
export interface CategoryFilter {
|
|
17
|
+
categoryViews: SelectCategoryView[];
|
|
18
|
+
label?: string;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export interface FiltersProps {
|
|
22
|
+
categoryFilters: CategoryFilter[];
|
|
23
|
+
closeAncestor?: () => void;
|
|
24
|
+
disabled: boolean; // Global disabling of filters; typically in "related" entity view.
|
|
25
|
+
onFilter: OnFilterFn;
|
|
26
|
+
trackFilterOpened?: TrackFilterOpenedFunction;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Returns set of selected category tags with tag label (the selected metadata label) and corresponding Tag onRemove function.
|
|
31
|
+
* @param categoryView - View model of category to display.
|
|
32
|
+
* @param onFilter - Function to execute on select of category value or remove of selected category value.
|
|
33
|
+
* @returns Array of selected category tags.
|
|
34
|
+
*/
|
|
35
|
+
function buildSelectCategoryTags(
|
|
36
|
+
categoryView: SelectCategoryView,
|
|
37
|
+
onFilter: OnFilterFn
|
|
38
|
+
): CategoryTag[] {
|
|
39
|
+
const { key: categoryKey, values } = categoryView;
|
|
40
|
+
return values
|
|
41
|
+
.filter(({ selected }) => selected)
|
|
42
|
+
.map(({ key: categoryValueKey, label, selected }) => {
|
|
43
|
+
return {
|
|
44
|
+
label: label,
|
|
45
|
+
onRemove: () => onFilter(categoryKey, categoryValueKey, !selected),
|
|
46
|
+
superseded: false,
|
|
47
|
+
};
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Build selected filter tags element for the given category type.
|
|
53
|
+
* @param categoryView - View model of category to display.
|
|
54
|
+
* @param onFilter - Function to execute on select of category value or remove of selected category value.
|
|
55
|
+
* @returns Filter tags element displaying selected category values.
|
|
56
|
+
*/
|
|
57
|
+
function renderFilterTags(
|
|
58
|
+
categoryView: SelectCategoryView,
|
|
59
|
+
onFilter: OnFilterFn
|
|
60
|
+
): JSX.Element {
|
|
61
|
+
const tags = buildSelectCategoryTags(categoryView, onFilter);
|
|
62
|
+
return <FilterTags tags={tags} />;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export const Filters = ({
|
|
66
|
+
categoryFilters,
|
|
67
|
+
closeAncestor,
|
|
68
|
+
disabled = false,
|
|
69
|
+
onFilter,
|
|
70
|
+
trackFilterOpened,
|
|
71
|
+
}: FiltersProps): JSX.Element => {
|
|
72
|
+
const isFilterDrawer = useBreakpointHelper(
|
|
73
|
+
BREAKPOINT_FN_NAME.DOWN,
|
|
74
|
+
DESKTOP_SM
|
|
75
|
+
);
|
|
76
|
+
const { height: windowHeight } = useWindowResize();
|
|
77
|
+
const filterListRef = useRef<HTMLDivElement>(null);
|
|
78
|
+
const [height, setHeight] = useState<number>(0);
|
|
79
|
+
|
|
80
|
+
useEffect(() => {
|
|
81
|
+
setHeight(calculateListHeight(windowHeight, filterListRef.current));
|
|
82
|
+
}, [windowHeight]);
|
|
83
|
+
|
|
84
|
+
return (
|
|
85
|
+
<FilterList disabled={disabled} height={height} ref={filterListRef}>
|
|
86
|
+
{categoryFilters.map(({ categoryViews, label }, i) => (
|
|
87
|
+
<Fragment key={i}>
|
|
88
|
+
{i !== 0 && <Divider />}
|
|
89
|
+
{categoryViews.map((categoryView) => (
|
|
90
|
+
<Filter
|
|
91
|
+
key={categoryView.key}
|
|
92
|
+
categorySection={label}
|
|
93
|
+
categoryView={categoryView}
|
|
94
|
+
closeAncestor={closeAncestor}
|
|
95
|
+
isFilterDrawer={isFilterDrawer}
|
|
96
|
+
onFilter={onFilter}
|
|
97
|
+
trackFilterOpened={trackFilterOpened}
|
|
98
|
+
tags={renderFilterTags(categoryView, onFilter)}
|
|
99
|
+
/>
|
|
100
|
+
))}
|
|
101
|
+
</Fragment>
|
|
102
|
+
))}
|
|
103
|
+
</FilterList>
|
|
104
|
+
);
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Returns given height of filter list.
|
|
109
|
+
* @param windowHeight - Window height.
|
|
110
|
+
* @param filterListEl - Filter list element.
|
|
111
|
+
* @returns calculated height.
|
|
112
|
+
*/
|
|
113
|
+
function calculateListHeight(
|
|
114
|
+
windowHeight: number,
|
|
115
|
+
filterListEl: HTMLDivElement | null
|
|
116
|
+
): number {
|
|
117
|
+
return windowHeight - (filterListEl?.getBoundingClientRect()?.top ?? 0);
|
|
118
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { css } from "@emotion/react";
|
|
2
|
+
import styled from "@emotion/styled";
|
|
3
|
+
|
|
4
|
+
interface MatchHighlightProps {
|
|
5
|
+
leftOpen: boolean;
|
|
6
|
+
rightOpen: boolean;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export const MatchHighlight = styled.mark<MatchHighlightProps>`
|
|
10
|
+
background: ${({ theme }) => theme.palette.warning.light};
|
|
11
|
+
color: inherit;
|
|
12
|
+
padding: 2px 0;
|
|
13
|
+
|
|
14
|
+
${({ leftOpen }) =>
|
|
15
|
+
leftOpen &&
|
|
16
|
+
css`
|
|
17
|
+
margin-left: -2px;
|
|
18
|
+
padding-left: 2px;
|
|
19
|
+
`}
|
|
20
|
+
|
|
21
|
+
${({ rightOpen }) =>
|
|
22
|
+
rightOpen &&
|
|
23
|
+
css`
|
|
24
|
+
margin-right: -2px;
|
|
25
|
+
padding-right: 2px;
|
|
26
|
+
`}
|
|
27
|
+
`;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { FilterMenuSearchMatchRange } from "../../common/entities";
|
|
3
|
+
import { MatchHighlight } from "./highlightedLabel.styles";
|
|
4
|
+
|
|
5
|
+
interface HighlightedLabelProps {
|
|
6
|
+
label: string;
|
|
7
|
+
ranges?: FilterMenuSearchMatchRange[];
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const HighlightedLabel = ({
|
|
11
|
+
label,
|
|
12
|
+
ranges,
|
|
13
|
+
}: HighlightedLabelProps): JSX.Element => {
|
|
14
|
+
const items = [];
|
|
15
|
+
if (ranges) {
|
|
16
|
+
ranges = ranges.slice().sort(({ start: a }, { start: b }) => a - b);
|
|
17
|
+
let prevIndex = 0;
|
|
18
|
+
for (let i = 0; i < ranges.length; i++) {
|
|
19
|
+
const { start } = ranges[i];
|
|
20
|
+
let { end } = ranges[i];
|
|
21
|
+
// Consolidate overlapping ranges
|
|
22
|
+
while (i + 1 < ranges.length && ranges[i + 1].start <= end) {
|
|
23
|
+
i++;
|
|
24
|
+
end = Math.max(end, ranges[i].end);
|
|
25
|
+
}
|
|
26
|
+
const leftChar = label[start - 1];
|
|
27
|
+
const rightChar = label[end];
|
|
28
|
+
const leftOpen = !leftChar || /\s/.test(leftChar);
|
|
29
|
+
const rightOpen = !rightChar || /\s/.test(rightChar);
|
|
30
|
+
const matchItems = [
|
|
31
|
+
label.substring(prevIndex, start),
|
|
32
|
+
<MatchHighlight key={start} leftOpen={leftOpen} rightOpen={rightOpen}>
|
|
33
|
+
{label.substring(start, end)}
|
|
34
|
+
</MatchHighlight>,
|
|
35
|
+
];
|
|
36
|
+
prevIndex = end;
|
|
37
|
+
items.push(matchItems);
|
|
38
|
+
}
|
|
39
|
+
items.push(label.substring(prevIndex));
|
|
40
|
+
} else {
|
|
41
|
+
items.push(label);
|
|
42
|
+
}
|
|
43
|
+
return <span>{items}</span>;
|
|
44
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { PaperProps, PopperProps } from "@mui/material";
|
|
2
|
+
import { DividerItem, ITEM_TYPE, NoResultsItem } from "./entites";
|
|
3
|
+
|
|
4
|
+
export const DEFAULT_LIST_HEIGHT = 0;
|
|
5
|
+
|
|
6
|
+
export const DIVIDER_HEIGHT = 17;
|
|
7
|
+
|
|
8
|
+
export const DEFAULT_PAPER_PROPS: Partial<PaperProps> = {
|
|
9
|
+
sx: {
|
|
10
|
+
width: 368,
|
|
11
|
+
},
|
|
12
|
+
variant: "menu",
|
|
13
|
+
};
|
|
14
|
+
export const DEFAULT_POPPER_PROPS: Partial<PopperProps> = {
|
|
15
|
+
modifiers: [
|
|
16
|
+
{
|
|
17
|
+
name: "offset",
|
|
18
|
+
options: {
|
|
19
|
+
offset: [0, 8],
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
placement: "bottom-start",
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export const DEFAULT_SLOT_PROPS = {
|
|
27
|
+
paper: DEFAULT_PAPER_PROPS,
|
|
28
|
+
popper: DEFAULT_POPPER_PROPS,
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
export const DRAWER_PAPER_PROPS: Partial<PaperProps> = {
|
|
32
|
+
elevation: 0,
|
|
33
|
+
sx: {
|
|
34
|
+
width: 312,
|
|
35
|
+
},
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
export const DRAWER_POPPER_PROPS: Partial<PopperProps> = {
|
|
39
|
+
modifiers: [
|
|
40
|
+
{
|
|
41
|
+
name: "offset",
|
|
42
|
+
options: {
|
|
43
|
+
offset: [-16, 8],
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
popperOptions: { strategy: "absolute" },
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
export const DRAWER_SLOT_PROPS = {
|
|
51
|
+
paper: DRAWER_PAPER_PROPS,
|
|
52
|
+
popper: DRAWER_POPPER_PROPS,
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
export const DIVIDER_ITEM: DividerItem = {
|
|
56
|
+
type: ITEM_TYPE.DIVIDER,
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export const NO_RESULTS_ITEM: NoResultsItem = {
|
|
60
|
+
key: "noResults",
|
|
61
|
+
type: ITEM_TYPE.NO_RESULTS,
|
|
62
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { SelectCategoryValueView } from "../../../../../common/entities";
|
|
2
|
+
import { FilterMenuSearchMatchRange } from "../../../common/entities";
|
|
3
|
+
|
|
4
|
+
export enum ITEM_TYPE {
|
|
5
|
+
CATEGORY = "CATEGORY",
|
|
6
|
+
DIVIDER = "DIVIDER",
|
|
7
|
+
NO_RESULTS = "NO_RESULTS",
|
|
8
|
+
VALUE = "VALUE",
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export interface CategoryItem {
|
|
12
|
+
categoryLabel: string;
|
|
13
|
+
key: string;
|
|
14
|
+
type: ITEM_TYPE.CATEGORY;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface DividerItem {
|
|
18
|
+
type: ITEM_TYPE.DIVIDER;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export interface NoResultsItem {
|
|
22
|
+
key: "noResults";
|
|
23
|
+
type: ITEM_TYPE.NO_RESULTS;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export enum OVERFLOW_STYLE {
|
|
27
|
+
HIDDEN = "hidden",
|
|
28
|
+
NONE = "",
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export interface ValueItem {
|
|
32
|
+
categoryKey: string;
|
|
33
|
+
key: string;
|
|
34
|
+
matchRanges?: FilterMenuSearchMatchRange[];
|
|
35
|
+
type: ITEM_TYPE.VALUE;
|
|
36
|
+
value: SelectCategoryValueView;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export type SearchAllFiltersDynamicItem =
|
|
40
|
+
| CategoryItem
|
|
41
|
+
| ValueItem
|
|
42
|
+
| NoResultsItem;
|
|
43
|
+
|
|
44
|
+
export type SearchAllFiltersItem = SearchAllFiltersDynamicItem | DividerItem;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sets overflow style for the given list of elements.
|
|
3
|
+
* @param elements - Elements.
|
|
4
|
+
* @param overflowStyle - Overflow style value.
|
|
5
|
+
*/
|
|
6
|
+
export function setElementsOverflowStyle(
|
|
7
|
+
elements: (HTMLElement | null)[],
|
|
8
|
+
overflowStyle: string
|
|
9
|
+
): void {
|
|
10
|
+
for (const element of elements) {
|
|
11
|
+
if (element) {
|
|
12
|
+
element.style.overflow = overflowStyle;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import styled from "@emotion/styled";
|
|
2
|
+
import { Popper as MPopper } from "@mui/material";
|
|
3
|
+
import { mediaDesktopSmallDown } from "../../../../../../styles/common/mixins/breakpoints";
|
|
4
|
+
import { smokeLight } from "../../../../../../styles/common/mixins/colors";
|
|
5
|
+
|
|
6
|
+
export const AutocompletePopper = styled(MPopper)`
|
|
7
|
+
${mediaDesktopSmallDown} {
|
|
8
|
+
.MuiPaper-root {
|
|
9
|
+
background-color: ${smokeLight};
|
|
10
|
+
|
|
11
|
+
.MuiList-root {
|
|
12
|
+
margin: 0;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
`;
|