@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,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.DialogTitle = void 0;
|
|
7
|
+
const CloseRounded_1 = __importDefault(require("@mui/icons-material/CloseRounded"));
|
|
8
|
+
const material_1 = require("@mui/material");
|
|
9
|
+
const react_1 = __importDefault(require("react"));
|
|
10
|
+
const DialogTitle = ({ className, onClose, title, }) => {
|
|
11
|
+
return (react_1.default.createElement(material_1.DialogTitle, { className: className },
|
|
12
|
+
title,
|
|
13
|
+
onClose && (react_1.default.createElement(material_1.IconButton, { color: "ink", edge: "end", onClick: onClose, size: "xsmall" },
|
|
14
|
+
react_1.default.createElement(CloseRounded_1.default, null)))));
|
|
15
|
+
};
|
|
16
|
+
exports.DialogTitle = DialogTitle;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.Dot = void 0;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const dot_styles_1 = require("./dot.styles");
|
|
9
|
+
const Dot = ({ className }) => {
|
|
10
|
+
return react_1.default.createElement(dot_styles_1.DotSeparator, { className: className });
|
|
11
|
+
};
|
|
12
|
+
exports.Dot = Dot;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const DotSeparator: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.DotSeparator = void 0;
|
|
7
|
+
const styled_1 = __importDefault(require("@emotion/styled"));
|
|
8
|
+
exports.DotSeparator = (0, styled_1.default)("span") `
|
|
9
|
+
align-self: center;
|
|
10
|
+
background-color: ${({ theme }) => theme.palette.ink.light};
|
|
11
|
+
border-radius: 50%;
|
|
12
|
+
display: block;
|
|
13
|
+
flex: none;
|
|
14
|
+
height: 4px;
|
|
15
|
+
width: 4px;
|
|
16
|
+
`;
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.EllipsisContent = void 0;
|
|
27
|
+
const react_1 = __importStar(require("react"));
|
|
28
|
+
const useResizeObserver_1 = require("../../../hooks/useResizeObserver");
|
|
29
|
+
const ellipsisContent_styles_1 = require("./ellipsisContent.styles");
|
|
30
|
+
var EllipsisMode;
|
|
31
|
+
(function (EllipsisMode) {
|
|
32
|
+
EllipsisMode["NONE"] = "NONE";
|
|
33
|
+
EllipsisMode["OFF"] = "OFF";
|
|
34
|
+
EllipsisMode["ON"] = "ON";
|
|
35
|
+
})(EllipsisMode || (EllipsisMode = {}));
|
|
36
|
+
const EllipsisContent = ({ children, maxLineCount, }) => {
|
|
37
|
+
const ellipsisRef = (0, react_1.useRef)(null);
|
|
38
|
+
const { height } = (0, useResizeObserver_1.useResizeObserver)(ellipsisRef, useResizeObserver_1.getBorderBoxSizeHeight) || {};
|
|
39
|
+
const [ellipsisMode, setEllipsisMode] = (0, react_1.useState)();
|
|
40
|
+
const isEllipsis = ellipsisMode === EllipsisMode.ON;
|
|
41
|
+
/**
|
|
42
|
+
* Updates the state of ellipsis mode by toggling between "ON" and "OFF" values.
|
|
43
|
+
*/
|
|
44
|
+
const onToggleMode = () => {
|
|
45
|
+
setEllipsisMode((currentMode) => {
|
|
46
|
+
if (currentMode === EllipsisMode.ON) {
|
|
47
|
+
return EllipsisMode.OFF;
|
|
48
|
+
}
|
|
49
|
+
return EllipsisMode.ON;
|
|
50
|
+
});
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Ellipsis mode state is initialized to "NONE" only when the component mounts,
|
|
54
|
+
* so we guarantee that `ellipsisRef` gets the element handle for resize observer hook.
|
|
55
|
+
*/
|
|
56
|
+
(0, react_1.useEffect)(() => {
|
|
57
|
+
setEllipsisMode(EllipsisMode.NONE);
|
|
58
|
+
}, []);
|
|
59
|
+
/**
|
|
60
|
+
* Ellipsis mode state updates with changes to the rendered content height.
|
|
61
|
+
*/
|
|
62
|
+
(0, react_1.useEffect)(() => {
|
|
63
|
+
setEllipsisMode((currentMode) => {
|
|
64
|
+
return getEllipsisMode(ellipsisRef.current, maxLineCount, currentMode);
|
|
65
|
+
});
|
|
66
|
+
}, [height, maxLineCount]);
|
|
67
|
+
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
68
|
+
react_1.default.createElement(ellipsisContent_styles_1.Content, { ref: ellipsisRef, isEllipsis: isEllipsis, maxLineCount: maxLineCount },
|
|
69
|
+
react_1.default.createElement("div", null, children)),
|
|
70
|
+
isModeActivated(ellipsisMode) && (react_1.default.createElement(ellipsisContent_styles_1.Button, { onClick: onToggleMode }, getModeText(ellipsisMode)))));
|
|
71
|
+
};
|
|
72
|
+
exports.EllipsisContent = EllipsisContent;
|
|
73
|
+
/**
|
|
74
|
+
* Returns the calculated line count of text rendered within the given element.
|
|
75
|
+
* @param element - Element observed by resize observer (ellipsis container).
|
|
76
|
+
* @returns line count of text rendered.
|
|
77
|
+
*/
|
|
78
|
+
function calculateRenderedLineCount(element) {
|
|
79
|
+
if (!element) {
|
|
80
|
+
return;
|
|
81
|
+
}
|
|
82
|
+
// Grab the DOMRects for the text nodes within the element.
|
|
83
|
+
const DOMRects = getTextNodeDOMRects(element).sort(sortDOMRects);
|
|
84
|
+
if (DOMRects.length === 0) {
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
// Set the first bounding rect as the initial y1 and y2 values.
|
|
88
|
+
let lineCount = 1;
|
|
89
|
+
let y1 = DOMRects[0].top;
|
|
90
|
+
let y2 = DOMRects[0].bottom;
|
|
91
|
+
// Keeping a track of the upper and lower positional threshold of each line, we are going to test each bounding rect
|
|
92
|
+
// to see if it falls within the threshold of the current line. If it does, we skip it. If it doesn't, we increment
|
|
93
|
+
// the line count and update the threshold values.
|
|
94
|
+
for (const rect of DOMRects) {
|
|
95
|
+
const { bottom, top } = rect;
|
|
96
|
+
if (top >= y1 && bottom <= y2) {
|
|
97
|
+
continue;
|
|
98
|
+
}
|
|
99
|
+
y1 = top;
|
|
100
|
+
y2 = bottom;
|
|
101
|
+
lineCount++;
|
|
102
|
+
}
|
|
103
|
+
return lineCount;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Returns one of the following ellipsis mode for the content:
|
|
107
|
+
* - "ON" - paragraph is ellipsis view with the option to toggle view, or
|
|
108
|
+
* - "OFF" - paragraph is in full view with the option to toggle view, or
|
|
109
|
+
* - "NONE" - paragraph is in full view with no option to toggle view as it does not require ellipsis.
|
|
110
|
+
* @param element - Element observed by resize observer (ellipsis container).
|
|
111
|
+
* @param maxLineCount - Maximum lines to display.
|
|
112
|
+
* @param currentMode - Current ellipsis mode.
|
|
113
|
+
* @returns ellipsis mode.
|
|
114
|
+
*/
|
|
115
|
+
function getEllipsisMode(element, maxLineCount, currentMode = EllipsisMode.NONE) {
|
|
116
|
+
// Calculate line count.
|
|
117
|
+
const lineCount = calculateRenderedLineCount(element);
|
|
118
|
+
if (!lineCount) {
|
|
119
|
+
return currentMode;
|
|
120
|
+
}
|
|
121
|
+
if (lineCount <= maxLineCount) {
|
|
122
|
+
// Element does not have hidden content and line count is within allowable limit.
|
|
123
|
+
// Mode is "NONE" - ellipsis mode not required.
|
|
124
|
+
return EllipsisMode.NONE;
|
|
125
|
+
}
|
|
126
|
+
if (currentMode === EllipsisMode.NONE) {
|
|
127
|
+
// Line count exceeds allowable limit, and ellipsis mode is "NONE".
|
|
128
|
+
// Change mode to "ON" - ellipsis mode required.
|
|
129
|
+
return EllipsisMode.ON;
|
|
130
|
+
}
|
|
131
|
+
return currentMode;
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Returns applicable button text for display corresponding with current mode.
|
|
135
|
+
* When the current mode is "ON" the return value will be "Show More", otherwise the return value is "Show Less".
|
|
136
|
+
* @param currentMode - current ellipsis mode.
|
|
137
|
+
* @returns string for display as button text.
|
|
138
|
+
*/
|
|
139
|
+
function getModeText(currentMode) {
|
|
140
|
+
if (currentMode === EllipsisMode.ON) {
|
|
141
|
+
return "Read More";
|
|
142
|
+
}
|
|
143
|
+
return "Read Less";
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Returns a list of DOMRects for text nodes within the given node.
|
|
147
|
+
* @param node - Node.
|
|
148
|
+
* @param DOMRects - List of DOMRects.
|
|
149
|
+
* @returns a list of text node DOMRects.
|
|
150
|
+
*/
|
|
151
|
+
function getTextNodeDOMRects(node, DOMRects = []) {
|
|
152
|
+
if (node.hasChildNodes()) {
|
|
153
|
+
for (const child of node.childNodes) {
|
|
154
|
+
// Traverse the DOM tree to find text nodes.
|
|
155
|
+
getTextNodeDOMRects(child, DOMRects);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
else {
|
|
159
|
+
// Create a range object for the text node.
|
|
160
|
+
const range = document.createRange();
|
|
161
|
+
range.selectNodeContents(node);
|
|
162
|
+
// Grab the DOMRectList for the range; this is a list of the bounding rectangles for the content.
|
|
163
|
+
const DOMRectList = range.getClientRects();
|
|
164
|
+
for (const rect of [...DOMRectList]) {
|
|
165
|
+
if (rect.height && rect.width) {
|
|
166
|
+
DOMRects.push(rect);
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
return DOMRects;
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* Ellipsis mode is "activated" when content is long enough to be truncated.
|
|
174
|
+
* i.e. the current mode will not equal "NONE".
|
|
175
|
+
* @param currentMode - current ellipsis mode.
|
|
176
|
+
* @returns true when mode is not "NONE".
|
|
177
|
+
*/
|
|
178
|
+
function isModeActivated(currentMode) {
|
|
179
|
+
return !!currentMode && currentMode !== EllipsisMode.NONE;
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* Sorts the given DOMRects by their y value.
|
|
183
|
+
* @param DOMRect0 - First DOMRect to compare.
|
|
184
|
+
* @param DOMRect1 - Second DOMRect to compare.
|
|
185
|
+
* @returns number indicating the relative order of the given DOMRects.
|
|
186
|
+
*/
|
|
187
|
+
function sortDOMRects(DOMRect0, DOMRect1) {
|
|
188
|
+
return DOMRect0.y - DOMRect1.y;
|
|
189
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface Props {
|
|
3
|
+
isEllipsis: boolean;
|
|
4
|
+
maxLineCount: number;
|
|
5
|
+
}
|
|
6
|
+
export declare const Content: import("@emotion/styled").StyledComponent<{
|
|
7
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
8
|
+
as?: import("react").ElementType<any> | undefined;
|
|
9
|
+
} & Props, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
10
|
+
export declare const Button: import("@emotion/styled").StyledComponent<{
|
|
11
|
+
[x: string]: any;
|
|
12
|
+
} & {
|
|
13
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
14
|
+
}, {}, {}>;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.Button = exports.Content = void 0;
|
|
7
|
+
const react_1 = require("@emotion/react");
|
|
8
|
+
const styled_1 = __importDefault(require("@emotion/styled"));
|
|
9
|
+
const buttonTextPrimary_1 = require("../Button/components/ButtonTextPrimary/buttonTextPrimary");
|
|
10
|
+
exports.Content = (0, styled_1.default)("div") `
|
|
11
|
+
${({ isEllipsis, maxLineCount }) => isEllipsis &&
|
|
12
|
+
(0, react_1.css) `
|
|
13
|
+
-webkit-box-orient: vertical;
|
|
14
|
+
display: -webkit-box;
|
|
15
|
+
-webkit-line-clamp: ${maxLineCount};
|
|
16
|
+
overflow: hidden;
|
|
17
|
+
`}
|
|
18
|
+
`;
|
|
19
|
+
exports.Button = (0, styled_1.default)(buttonTextPrimary_1.ButtonTextPrimary) `
|
|
20
|
+
align-self: flex-start;
|
|
21
|
+
margin-top: 8px;
|
|
22
|
+
`;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { OutlinedInputProps as MOutlinedInputProps } from "@mui/material";
|
|
3
|
+
/**
|
|
4
|
+
* Basic form input component.
|
|
5
|
+
*/
|
|
6
|
+
export interface InputProps extends MOutlinedInputProps {
|
|
7
|
+
className?: string;
|
|
8
|
+
isFilled: boolean;
|
|
9
|
+
label?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const Input: ({ className, isFilled, label, ...props }: InputProps) => JSX.Element;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.Input = void 0;
|
|
18
|
+
const material_1 = require("@mui/material");
|
|
19
|
+
const react_1 = __importDefault(require("react"));
|
|
20
|
+
const typography_1 = require("../../../../../theme/common/typography");
|
|
21
|
+
const input_styles_1 = require("./input.styles");
|
|
22
|
+
const Input = (_a) => {
|
|
23
|
+
var { className, isFilled, label } = _a, props = __rest(_a, ["className", "isFilled", "label"]) /* Spread props to allow for Mui OutlinedInputProps specific prop overrides e.g. "disabled". */;
|
|
24
|
+
return (react_1.default.createElement(input_styles_1.InputFormControl, { className: className, isFilled: isFilled },
|
|
25
|
+
label && react_1.default.createElement(material_1.Typography, { variant: typography_1.TEXT_BODY_400 }, label),
|
|
26
|
+
react_1.default.createElement(material_1.OutlinedInput, Object.assign({ fullWidth: true, inputProps: { autoComplete: "off", spellCheck: false }, size: "small" }, props))));
|
|
27
|
+
};
|
|
28
|
+
exports.Input = Input;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface Props {
|
|
3
|
+
isFilled?: boolean;
|
|
4
|
+
}
|
|
5
|
+
export declare const InputFormControl: import("@emotion/styled").StyledComponent<{
|
|
6
|
+
children?: import("react").ReactNode;
|
|
7
|
+
classes?: Partial<import("@mui/material").FormControlClasses> | undefined;
|
|
8
|
+
color?: "primary" | "secondary" | "error" | "info" | "success" | "warning" | undefined;
|
|
9
|
+
disabled?: boolean | undefined;
|
|
10
|
+
error?: boolean | undefined;
|
|
11
|
+
fullWidth?: boolean | undefined;
|
|
12
|
+
focused?: boolean | undefined;
|
|
13
|
+
hiddenLabel?: boolean | undefined;
|
|
14
|
+
margin?: "normal" | "none" | "dense" | undefined;
|
|
15
|
+
required?: boolean | undefined;
|
|
16
|
+
size?: "medium" | "small" | undefined;
|
|
17
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
18
|
+
variant?: "filled" | "outlined" | "standard" | undefined;
|
|
19
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
20
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
21
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "color" | "children" | "margin" | "sx" | "variant" | "disabled" | "required" | "size" | "error" | "fullWidth" | "focused" | "hiddenLabel"> & {
|
|
22
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
23
|
+
} & Props, {}, {}>;
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.InputFormControl = void 0;
|
|
18
|
+
const react_1 = require("@emotion/react");
|
|
19
|
+
const styled_1 = __importDefault(require("@emotion/styled"));
|
|
20
|
+
const material_1 = require("@mui/material");
|
|
21
|
+
const colors_1 = require("../../../../../styles/common/mixins/colors");
|
|
22
|
+
exports.InputFormControl = (0, styled_1.default)(material_1.FormControl, {
|
|
23
|
+
shouldForwardProp: (prop) => prop !== "isFilled",
|
|
24
|
+
}) `
|
|
25
|
+
display: flex;
|
|
26
|
+
flex-direction: column;
|
|
27
|
+
gap: 4px;
|
|
28
|
+
|
|
29
|
+
.MuiOutlinedInput-root {
|
|
30
|
+
.MuiOutlinedInput-input {
|
|
31
|
+
padding: 10px 12px 10px 0;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&.MuiInputBase-multiline {
|
|
35
|
+
padding: 0 0 0 10px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
input::placeholder,
|
|
39
|
+
textarea::placeholder {
|
|
40
|
+
color: ${colors_1.inkLight};
|
|
41
|
+
opacity: 0.8;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&.Mui-focused {
|
|
45
|
+
input::placeholder,
|
|
46
|
+
textarea::placeholder {
|
|
47
|
+
opacity: 0;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// Input filled.
|
|
52
|
+
${(_a) => {
|
|
53
|
+
var { isFilled } = _a, props = __rest(_a, ["isFilled"]);
|
|
54
|
+
return isFilled &&
|
|
55
|
+
(0, react_1.css) `
|
|
56
|
+
& .MuiOutlinedInput-input,
|
|
57
|
+
.MuiSvgIcon-root {
|
|
58
|
+
color: ${(0, colors_1.inkMain)(props)};
|
|
59
|
+
}
|
|
60
|
+
`;
|
|
61
|
+
}};
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.MuiFormHelperText-root {
|
|
65
|
+
align-items: flex-start;
|
|
66
|
+
display: flex;
|
|
67
|
+
gap: 4px;
|
|
68
|
+
}
|
|
69
|
+
`;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.DropDownIcon = void 0;
|
|
18
|
+
const ArrowDropDownRounded_1 = __importDefault(require("@mui/icons-material/ArrowDropDownRounded"));
|
|
19
|
+
const react_1 = __importDefault(require("react"));
|
|
20
|
+
const DropDownIcon = (_a) => {
|
|
21
|
+
var props = __rest(_a, []) /* Spread props to allow for Mui SvgIconProps specific prop overrides e.g. "htmlColor". */;
|
|
22
|
+
return (react_1.default.createElement(ArrowDropDownRounded_1.default, Object.assign({ color: "inkMain", fontSize: "small" }, props)));
|
|
23
|
+
};
|
|
24
|
+
exports.DropDownIcon = DropDownIcon;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SelectProps as MSelectProps } from "@mui/material";
|
|
2
|
+
import { ReactNode } from "react";
|
|
3
|
+
/**
|
|
4
|
+
* Basic form select component.
|
|
5
|
+
*/
|
|
6
|
+
export interface SelectProps extends MSelectProps {
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
className?: string;
|
|
9
|
+
isFilled: boolean;
|
|
10
|
+
label?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const Select: ({ children, className, isFilled, label, onBlur, ...props }: SelectProps) => JSX.Element;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.Select = void 0;
|
|
18
|
+
const material_1 = require("@mui/material");
|
|
19
|
+
const react_1 = __importDefault(require("react"));
|
|
20
|
+
const typography_1 = require("../../../../../theme/common/typography");
|
|
21
|
+
const select_styles_1 = require("./select.styles");
|
|
22
|
+
const Select = (_a) => {
|
|
23
|
+
var { children, className, isFilled, label, onBlur } = _a, props = __rest(_a, ["children", "className", "isFilled", "label", "onBlur"]) /* Spread props to allow for Mui SelectProps specific prop overrides e.g. "disabled". */;
|
|
24
|
+
return (react_1.default.createElement(select_styles_1.InputFormControl, { className: className, isFilled: isFilled },
|
|
25
|
+
label && react_1.default.createElement(material_1.Typography, { variant: typography_1.TEXT_BODY_400 }, label),
|
|
26
|
+
react_1.default.createElement(material_1.Select, Object.assign({ fullWidth: true, inputProps: { onBlur }, size: "small" }, props), children)));
|
|
27
|
+
};
|
|
28
|
+
exports.Select = Select;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface Props {
|
|
3
|
+
isFilled: boolean;
|
|
4
|
+
}
|
|
5
|
+
export declare const InputFormControl: import("@emotion/styled").StyledComponent<{
|
|
6
|
+
children?: import("react").ReactNode;
|
|
7
|
+
classes?: Partial<import("@mui/material").FormControlClasses> | undefined;
|
|
8
|
+
color?: "primary" | "secondary" | "error" | "info" | "success" | "warning" | undefined;
|
|
9
|
+
disabled?: boolean | undefined;
|
|
10
|
+
error?: boolean | undefined;
|
|
11
|
+
fullWidth?: boolean | undefined;
|
|
12
|
+
focused?: boolean | undefined;
|
|
13
|
+
hiddenLabel?: boolean | undefined;
|
|
14
|
+
margin?: "normal" | "none" | "dense" | undefined;
|
|
15
|
+
required?: boolean | undefined;
|
|
16
|
+
size?: "medium" | "small" | undefined;
|
|
17
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
18
|
+
variant?: "filled" | "outlined" | "standard" | undefined;
|
|
19
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
20
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
21
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "color" | "children" | "margin" | "sx" | "variant" | "disabled" | "required" | "size" | "error" | "fullWidth" | "focused" | "hiddenLabel"> & {
|
|
22
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
23
|
+
} & Props, {}, {}>;
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.InputFormControl = void 0;
|
|
18
|
+
const react_1 = require("@emotion/react");
|
|
19
|
+
const styled_1 = __importDefault(require("@emotion/styled"));
|
|
20
|
+
const material_1 = require("@mui/material");
|
|
21
|
+
const colors_1 = require("../../../../../styles/common/mixins/colors");
|
|
22
|
+
exports.InputFormControl = (0, styled_1.default)(material_1.FormControl, {
|
|
23
|
+
shouldForwardProp: (prop) => prop !== "isFilled",
|
|
24
|
+
}) `
|
|
25
|
+
display: flex;
|
|
26
|
+
flex-direction: column;
|
|
27
|
+
gap: 4px;
|
|
28
|
+
|
|
29
|
+
// Input filled.
|
|
30
|
+
${(_a) => {
|
|
31
|
+
var { isFilled } = _a, props = __rest(_a, ["isFilled"]);
|
|
32
|
+
return isFilled &&
|
|
33
|
+
(0, react_1.css) `
|
|
34
|
+
& .MuiOutlinedInput-input,
|
|
35
|
+
.MuiSvgIcon-root {
|
|
36
|
+
color: ${(0, colors_1.inkMain)(props)};
|
|
37
|
+
}
|
|
38
|
+
`;
|
|
39
|
+
}};
|
|
40
|
+
`;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { DropzoneState } from "react-dropzone";
|
|
3
|
+
import { FormState } from "../../../../Support/components/SupportRequest/components/SupportRequestForm/common/entities";
|
|
4
|
+
export interface UploadFileProps {
|
|
5
|
+
attachmentName: FormState["attachmentName"];
|
|
6
|
+
attachmentRejected: FormState["attachmentRejected"];
|
|
7
|
+
attachmentRejections: FormState["attachmentRejections"];
|
|
8
|
+
attachmentToken: FormState["attachmentToken"];
|
|
9
|
+
attachmentUploading: FormState["attachmentUploading"];
|
|
10
|
+
className?: string;
|
|
11
|
+
isDragActive: boolean;
|
|
12
|
+
label: string;
|
|
13
|
+
onAttachmentDeleted: () => void;
|
|
14
|
+
open: DropzoneState["open"];
|
|
15
|
+
}
|
|
16
|
+
export declare const UploadFile: ({ attachmentName, attachmentRejected, attachmentRejections, attachmentToken, attachmentUploading, className, isDragActive, label, onAttachmentDeleted, open, }: UploadFileProps) => JSX.Element;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.UploadFile = void 0;
|
|
7
|
+
const CloseRounded_1 = __importDefault(require("@mui/icons-material/CloseRounded"));
|
|
8
|
+
const material_1 = require("@mui/material");
|
|
9
|
+
const react_1 = __importDefault(require("react"));
|
|
10
|
+
const typography_1 = require("../../../../../theme/common/typography");
|
|
11
|
+
const loading_1 = require("../../../../Loading/loading");
|
|
12
|
+
const errorIcon_1 = require("../../../CustomIcon/components/ErrorIcon/errorIcon");
|
|
13
|
+
const input_styles_1 = require("../Input/input.styles");
|
|
14
|
+
const uploadFile_styles_1 = require("./uploadFile.styles");
|
|
15
|
+
const UploadFile = ({ attachmentName, attachmentRejected, attachmentRejections, attachmentToken, attachmentUploading, className, isDragActive, label, onAttachmentDeleted, open, }) => {
|
|
16
|
+
const error = attachmentRejected;
|
|
17
|
+
const isAttached = Boolean(attachmentToken);
|
|
18
|
+
return (react_1.default.createElement(input_styles_1.InputFormControl, { className: className, error: error },
|
|
19
|
+
label && react_1.default.createElement(material_1.Typography, { variant: typography_1.TEXT_BODY_400 }, label),
|
|
20
|
+
react_1.default.createElement(uploadFile_styles_1.Button, { isAttached: isAttached, isDragActive: isDragActive, isError: error, onClick: attachmentToken ? onAttachmentDeleted : open },
|
|
21
|
+
react_1.default.createElement(loading_1.Loading, { iconSize: "small", loading: attachmentUploading, panelStyle: loading_1.LOADING_PANEL_STYLE.INHERIT }),
|
|
22
|
+
react_1.default.createElement(material_1.Typography, { variant: typography_1.TEXT_BODY_400 }, isAttached ? (attachmentName) : (react_1.default.createElement(react_1.default.Fragment, null,
|
|
23
|
+
"Drag or ",
|
|
24
|
+
react_1.default.createElement(uploadFile_styles_1.Underline, null, "Click"),
|
|
25
|
+
" to attach file"))),
|
|
26
|
+
isAttached && react_1.default.createElement(CloseRounded_1.default, { fontSize: "small" })),
|
|
27
|
+
error && (react_1.default.createElement(material_1.FormHelperText, null,
|
|
28
|
+
react_1.default.createElement(errorIcon_1.ErrorIcon, { fontSize: "xxsmall" }),
|
|
29
|
+
getErrorMessage(attachmentRejections)))));
|
|
30
|
+
};
|
|
31
|
+
exports.UploadFile = UploadFile;
|
|
32
|
+
/**
|
|
33
|
+
* Returns the error message for the attachment.
|
|
34
|
+
* @param attachmentRejections - Attachment rejections.
|
|
35
|
+
* @returns error message.
|
|
36
|
+
*/
|
|
37
|
+
function getErrorMessage(attachmentRejections) {
|
|
38
|
+
const fileSizeError = attachmentRejections.find((rejection) => rejection.code === "file-too-large");
|
|
39
|
+
return fileSizeError
|
|
40
|
+
? "File must be less than 20 MB."
|
|
41
|
+
: "Unable to upload file.";
|
|
42
|
+
}
|