@databiosphere/findable-ui 5.0.0 → 7.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/README.md +5 -1
- package/lib/apis/azul/common/constants.js +4 -7
- package/lib/apis/azul/common/entities.js +10 -13
- package/lib/apis/azul/common/filterTransformer.js +10 -18
- package/lib/apis/azul/common/utils.js +1 -5
- package/lib/common/analytics/analytics.js +5 -12
- package/lib/common/analytics/entities.js +8 -11
- package/lib/common/constants.js +3 -6
- package/lib/common/entities.js +2 -5
- package/lib/common/selectors.js +2 -5
- package/lib/common/utils.js +3 -9
- package/lib/components/ComponentCreator/ComponentCreator.d.ts +4 -2
- package/lib/components/ComponentCreator/ComponentCreator.js +17 -22
- package/lib/components/ComponentCreator/components/ConditionalComponent/conditionalComponent.js +3 -10
- package/lib/components/ComponentCreator/components/RenderComponent/renderComponent.js +4 -23
- package/lib/components/Detail/components/AccessibilityBadge/accessibilityBadge.js +6 -13
- package/lib/components/Detail/components/DetailViewTable/detailViewTable.d.ts +3 -3
- package/lib/components/Detail/components/DetailViewTable/detailViewTable.js +10 -29
- package/lib/components/Detail/components/Table/common/utils.d.ts +2 -2
- package/lib/components/Detail/components/Table/common/utils.js +8 -7
- package/lib/components/Detail/components/Table/components/TableBody/tableBody.d.ts +3 -3
- package/lib/components/Detail/components/Table/components/TableBody/tableBody.js +7 -14
- package/lib/components/Detail/components/Table/components/TableRows/components/CollapsableRows/collapsableRows.d.ts +3 -3
- package/lib/components/Detail/components/Table/components/TableRows/components/CollapsableRows/collapsableRows.js +8 -37
- package/lib/components/Detail/components/Table/components/TableRows/tableRows.d.ts +2 -2
- package/lib/components/Detail/components/Table/components/TableRows/tableRows.js +9 -35
- package/lib/components/Detail/components/Table/table.d.ts +3 -4
- package/lib/components/Detail/components/Table/table.js +26 -25
- package/lib/components/Detail/detail.js +4 -11
- package/lib/components/Detail/detail.stories.js +28 -35
- package/lib/components/Error/error.js +37 -44
- package/lib/components/Error/error.stories.js +5 -8
- package/lib/components/Error/error.styles.js +12 -18
- package/lib/components/ErrorBoundary/errorBoundary.js +2 -9
- package/lib/components/ErrorBoundary/index.js +1 -5
- package/lib/components/Export/common/entities.js +2 -5
- package/lib/components/Export/common/tracking.js +9 -13
- package/lib/components/Export/common/utils.js +6 -10
- package/lib/components/Export/components/DownloadCurlCommand/components/DownloadCurlCommandForm/downloadCurlCommandForm.js +10 -29
- package/lib/components/Export/components/DownloadCurlCommand/components/DownloadCurlCommandForm/downloadCurlCommandForm.styles.js +3 -9
- package/lib/components/Export/components/DownloadCurlCommand/components/DownloadCurlCommandNotStarted/downloadCurlCommandNotStarted.js +14 -21
- package/lib/components/Export/components/DownloadCurlCommand/components/DownloadCurlCommandReady/downloadCurlCommandReady.js +10 -17
- package/lib/components/Export/components/DownloadCurlCommand/downloadCurlCommand.js +18 -45
- package/lib/components/Export/components/ExportForm/common/entities.js +1 -2
- package/lib/components/Export/components/ExportForm/components/ExportButton/exportButton.js +12 -19
- package/lib/components/Export/components/ExportForm/components/ExportExecutionEnvironmentForm/exportExecutionEnvironmentForm.js +12 -19
- package/lib/components/Export/components/ExportForm/components/ExportFileSummaryForm/exportFileSummaryForm.js +34 -61
- package/lib/components/Export/components/ExportForm/components/ExportManifestDownloadFormatForm/exportManifestDownloadFormatForm.js +13 -20
- package/lib/components/Export/components/ExportForm/components/ExportSpeciesForm/exportSpeciesForm.js +16 -23
- package/lib/components/Export/components/ExportForm/exportForm.js +24 -51
- package/lib/components/Export/components/ExportForm/exportForm.styles.js +23 -30
- package/lib/components/Export/components/ExportMethod/exportMethod.js +21 -28
- package/lib/components/Export/components/ExportMethod/exportMethod.stories.js +7 -13
- package/lib/components/Export/components/ExportMethod/exportMethod.styles.js +8 -14
- package/lib/components/Export/components/ExportSummary/common/utils.js +7 -13
- package/lib/components/Export/components/ExportSummary/components/ExportCurrentQuery/exportCurrentQuery.js +14 -41
- package/lib/components/Export/components/ExportSummary/components/ExportSelectedDataSummary/exportSelectedDataSummary.js +12 -19
- package/lib/components/Export/components/ExportSummary/exportSummary.js +4 -11
- package/lib/components/Export/components/ExportSummary/exportSummary.styles.js +6 -12
- package/lib/components/Export/components/ExportToTerra/components/ExportToTerraForm/exportToTerraForm.js +9 -28
- package/lib/components/Export/components/ExportToTerra/components/ExportToTerraNotStarted/exportToTerraNotStarted.js +13 -20
- package/lib/components/Export/components/ExportToTerra/components/ExportToTerraReady/exportToTerraReady.js +13 -20
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/components/AcceptTerraTOS/acceptTerraTOS.js +12 -20
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/components/ConnectTerraToNIHAccount/connectTerraToNIHAccount.js +7 -14
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/components/CreateTerraAccount/createTerraAccount.js +9 -16
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/formStep.js +14 -21
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/formStep.styles.js +3 -9
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/NIHAccountExpiryWarning/nihAccountExpiryWarning.js +11 -18
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/terraSetUpForm.js +23 -32
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/terraSetUpForm.styles.js +16 -22
- package/lib/components/Export/components/ExportToTerra/exportToTerra.js +11 -18
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/components/FileManifestDownload/fileManifestDownload.js +34 -65
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/components/FileManifestSpreadsheet/fileManifestSpreadsheet.js +38 -69
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/manifestDownloadEntity.js +10 -17
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/manifestDownloadEntity.styles.js +11 -17
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadForm/manifestDownloadForm.js +7 -26
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadNotStarted/manifestDownloadNotStarted.js +13 -20
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadReady/manifestDownloadReady.js +13 -20
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadReady/manifestDownloadReady.styles.js +3 -9
- package/lib/components/Export/components/ManifestDownload/manifestDownload.js +10 -17
- package/lib/components/Export/export.styles.js +20 -27
- package/lib/components/Filter/common/constants.js +4 -7
- package/lib/components/Filter/common/entities.js +1 -2
- package/lib/components/Filter/common/utils.js +4 -8
- package/lib/components/Filter/components/ClearAllFilters/clearAllFilters.js +8 -15
- package/lib/components/Filter/components/Filter/components/DrawerTransition/drawerTransition.js +4 -42
- package/lib/components/Filter/components/Filter/filter.js +19 -46
- package/lib/components/Filter/components/Filter/filter.stories.js +9 -15
- package/lib/components/Filter/components/Filter/filter.styles.js +7 -13
- package/lib/components/Filter/components/FilterLabel/filterLabel.js +5 -12
- package/lib/components/Filter/components/FilterLabel/filterLabel.stories.js +9 -15
- package/lib/components/Filter/components/FilterLabel/filterLabel.styles.js +5 -11
- package/lib/components/Filter/components/FilterList/filterList.styles.js +5 -11
- package/lib/components/Filter/components/FilterMenu/filterMenu.js +21 -49
- package/lib/components/Filter/components/FilterMenu/filterMenu.stories.js +9 -15
- package/lib/components/Filter/components/FilterMenu/filterMenu.styles.js +9 -15
- package/lib/components/Filter/components/FilterMenuSearch/filterMenuSearch.js +5 -12
- package/lib/components/Filter/components/FilterMenuSearch/filterMenuSearch.styles.js +7 -13
- package/lib/components/Filter/components/FilterNoResultsFound/filterNoResultsFound.js +9 -35
- package/lib/components/Filter/components/FilterNoResultsFound/filterNoResultsFound.styles.js +2 -8
- package/lib/components/Filter/components/FilterTag/filterTag.js +11 -39
- package/lib/components/Filter/components/FilterTag/filterTag.stories.js +7 -13
- package/lib/components/Filter/components/FilterTag/filterTag.styles.js +3 -9
- package/lib/components/Filter/components/FilterTags/filterTags.js +5 -12
- package/lib/components/Filter/components/FilterTags/filterTags.stories.js +9 -15
- package/lib/components/Filter/components/FilterTags/filterTags.styles.js +4 -10
- package/lib/components/Filter/components/Filters/filters.d.ts +1 -1
- package/lib/components/Filter/components/Filters/filters.js +21 -49
- package/lib/components/Filter/components/Filters/filters.stories.js +9 -16
- package/lib/components/Filter/components/Filters/filters.styles.js +14 -20
- package/lib/components/Filter/components/HighlightedLabel/highlightedLabel.js +5 -12
- package/lib/components/Filter/components/HighlightedLabel/highlightedLabel.styles.js +5 -11
- package/lib/components/Filter/components/SearchAllFilters/common/constants.js +17 -20
- package/lib/components/Filter/components/SearchAllFilters/common/entites.js +4 -7
- package/lib/components/Filter/components/SearchAllFilters/common/utils.js +1 -5
- package/lib/components/Filter/components/SearchAllFilters/components/AutocompletePopper/autocompletePopper.styles.js +7 -13
- package/lib/components/Filter/components/SearchAllFilters/components/VariableSizeList/VariableSizeList.js +44 -87
- package/lib/components/Filter/components/SearchAllFilters/components/VariableSizeListItem/variableSizeListItem.js +19 -46
- package/lib/components/Filter/components/SearchAllFilters/searchAllFilters.js +42 -60
- package/lib/components/Filter/components/SearchAllFilters/searchAllFilters.stories.js +9 -16
- package/lib/components/Filter/components/SearchAllFilters/searchAllFilters.styles.js +5 -11
- package/lib/components/Filter/components/SearchAllFiltersSearch/components/SearchCloseButton/searchCloseButton.js +11 -41
- package/lib/components/Filter/components/SearchAllFiltersSearch/searchAllFiltersSearch.js +11 -47
- package/lib/components/Filter/components/SearchAllFiltersSearch/searchAllFiltersSearch.styles.js +7 -13
- package/lib/components/Filter/components/VariableSizeList/VariableSizeList.js +22 -53
- package/lib/components/Filter/components/VariableSizeListItem/variableSizeListItem.js +14 -41
- package/lib/components/Head/head.js +16 -23
- package/lib/components/Index/components/AzulFileDownload/azulFileDownload.js +22 -58
- package/lib/components/Index/components/AzulFileDownload/azulFileDownload.stories.js +7 -13
- package/lib/components/Index/components/Cell/cell.d.ts +3 -0
- package/lib/components/Index/components/Cell/cell.js +7 -11
- package/lib/components/Index/components/Hero/components/ExportButton/exportButton.js +11 -18
- package/lib/components/Index/components/Hero/components/ExportButton/exportButton.styles.js +5 -11
- package/lib/components/Index/components/Hero/components/Summaries/summaries.js +11 -38
- package/lib/components/Index/components/Hero/components/Summaries/summaries.stories.js +7 -13
- package/lib/components/Index/components/Hero/components/Summaries/summaries.styles.js +7 -13
- package/lib/components/Index/components/Hero/hero.js +10 -17
- package/lib/components/Index/components/Hero/hero.stories.js +9 -15
- package/lib/components/Index/components/Hero/hero.styles.js +9 -15
- package/lib/components/Index/components/NTag/components/Tooltip/tooltip.d.ts +3 -0
- package/lib/components/Index/components/NTag/components/Tooltip/tooltip.js +13 -49
- package/lib/components/Index/components/NTag/components/Tooltip/tooltip.styles.js +2 -8
- package/lib/components/Index/components/NTag/nTag.d.ts +3 -0
- package/lib/components/Index/components/NTag/nTag.js +7 -23
- package/lib/components/Index/components/NTagCell/nTagCell.d.ts +6 -1
- package/lib/components/Index/components/NTagCell/nTagCell.js +11 -34
- package/lib/components/Index/components/NTagCell/nTagCell.stories.js +7 -13
- package/lib/components/Index/components/TitleCell/titleCell.js +9 -28
- package/lib/components/Index/components/TitleCell/titleCell.styles.js +5 -11
- package/lib/components/Index/index.js +8 -15
- package/lib/components/Index/index.stories.js +7 -13
- package/lib/components/Index/index.styles.js +4 -10
- package/lib/components/Layout/components/AppLayout/appLayout.styles.js +2 -8
- package/lib/components/Layout/components/BackPage/backPageView.js +16 -43
- package/lib/components/Layout/components/BackPage/backPageView.stories.js +28 -35
- package/lib/components/Layout/components/BackPage/backPageView.styles.js +25 -31
- package/lib/components/Layout/components/BackPage/components/BackPageHero/backPageHero.js +14 -41
- package/lib/components/Layout/components/BackPage/components/BackPageHero/backPageHero.stories.js +4 -7
- package/lib/components/Layout/components/BackPage/components/BackPageHero/backPageHero.styles.js +9 -15
- package/lib/components/Layout/components/BackPage/components/BackPageHero/components/SubTitle/subTitle.js +5 -24
- package/lib/components/Layout/components/ContentLayout/common/constants.js +21 -24
- package/lib/components/Layout/components/ContentLayout/common/entities.js +2 -5
- package/lib/components/Layout/components/ContentLayout/components/Main/main.js +4 -11
- package/lib/components/Layout/components/ContentLayout/contentLayout.js +14 -21
- package/lib/components/Layout/components/ContentLayout/contentLayout.styles.js +22 -28
- package/lib/components/Layout/components/Floating/floating.js +4 -31
- package/lib/components/Layout/components/Footer/footer.js +11 -18
- package/lib/components/Layout/components/Footer/footer.stories.js +18 -24
- package/lib/components/Layout/components/Footer/footer.styles.js +15 -21
- package/lib/components/Layout/components/Header/common/constants.js +6 -9
- package/lib/components/Layout/components/Header/common/entities.js +1 -2
- package/lib/components/Layout/components/Header/common/utils.js +13 -16
- package/lib/components/Layout/components/Header/components/Content/components/Actions/actions.js +4 -11
- package/lib/components/Layout/components/Header/components/Content/components/Actions/actions.styles.js +4 -10
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/authentication.js +11 -38
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.js +12 -39
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.stories.js +7 -13
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.styles.js +7 -13
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/RequestAuthentication/requestAuthentication.js +16 -23
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/RequestAuthentication/requestAuthentication.styles.js +5 -11
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Menu/components/Content/components/Navigation/navigation.styles.js +7 -13
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Menu/components/Content/components/Socials/socials.styles.js +3 -9
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Menu/components/Toolbar/toolbar.js +14 -44
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Menu/menu.js +28 -57
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchBar/searchBar.js +14 -44
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchBar/searchBar.styles.js +9 -15
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchButton/searchButton.js +16 -23
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchButton/searchButton.styles.js +5 -11
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/search.js +8 -38
- package/lib/components/Layout/components/Header/components/Content/components/Logo/logo.js +9 -16
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationDrawer/components/Slide/slide.js +4 -42
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationDrawer/navigationDrawer.js +21 -51
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationDrawer/navigationDrawer.styles.js +6 -12
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenu/navigationMenu.js +14 -44
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenu/navigationMenu.styles.js +7 -13
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenuItems/navigationMenuItems.js +17 -44
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/navigation.js +21 -47
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/navigation.styles.js +14 -20
- package/lib/components/Layout/components/Header/components/Content/components/Slogan/slogan.js +6 -32
- package/lib/components/Layout/components/Header/components/Content/components/Slogan/slogan.styles.js +6 -12
- package/lib/components/Layout/components/Header/components/Content/components/Socials/socials.styles.js +3 -9
- package/lib/components/Layout/components/Header/components/Content/content.styles.js +2 -8
- package/lib/components/Layout/components/Header/header.js +48 -87
- package/lib/components/Layout/components/Header/header.stories.js +21 -27
- package/lib/components/Layout/components/Header/header.styles.js +6 -12
- package/lib/components/Layout/components/Main/main.js +6 -13
- package/lib/components/Layout/components/Main/main.styles.js +5 -11
- package/lib/components/Layout/components/Nav/components/NavBarHero/navBarHero.js +12 -19
- package/lib/components/Layout/components/Nav/components/NavBarHero/navBarHero.styles.js +4 -10
- package/lib/components/Layout/components/Nav/nav.js +11 -18
- package/lib/components/Layout/components/Nav/nav.stories.js +4 -7
- package/lib/components/Layout/components/Nav/nav.styles.js +8 -14
- package/lib/components/Layout/components/Outline/common/constants.d.ts +1 -1
- package/lib/components/Layout/components/Outline/common/constants.js +1 -4
- package/lib/components/Layout/components/Outline/components/ContentsTab/contentsTab.js +5 -24
- package/lib/components/Layout/components/Outline/components/ContentsTab/contentsTab.styles.js +9 -15
- package/lib/components/Layout/components/Outline/outline.js +12 -51
- package/lib/components/Layout/components/Outline/outline.styles.js +16 -22
- package/lib/components/Layout/components/Sidebar/components/SidebarButton/sidebarButton.js +7 -26
- package/lib/components/Layout/components/Sidebar/components/SidebarButton/sidebarButton.styles.js +10 -16
- package/lib/components/Layout/components/Sidebar/components/SidebarDrawer/sidebarDrawer.js +8 -15
- package/lib/components/Layout/components/Sidebar/components/SidebarDrawer/sidebarDrawer.styles.js +7 -13
- package/lib/components/Layout/components/Sidebar/components/SidebarLabel/sidebarLabel.js +5 -12
- package/lib/components/Layout/components/Sidebar/components/SidebarLabel/sidebarLabel.stories.js +7 -13
- package/lib/components/Layout/components/Sidebar/components/SidebarPositioner/sidebarPositioner.js +7 -14
- package/lib/components/Layout/components/Sidebar/components/SidebarPositioner/sidebarPositioner.styles.js +4 -10
- package/lib/components/Layout/components/Sidebar/components/SidebarTools/sidebarTools.styles.js +4 -10
- package/lib/components/Layout/components/Sidebar/sidebar.js +13 -40
- package/lib/components/Layout/components/Sidebar/sidebar.stories.js +12 -18
- package/lib/components/Layout/components/Sidebar/sidebar.styles.js +2 -8
- package/lib/components/Links/common/constants.js +1 -4
- package/lib/components/Links/common/entities.js +2 -5
- package/lib/components/Links/common/utils.js +5 -11
- package/lib/components/Links/components/Link/components/ExploreViewLink/exploreViewLink.d.ts +1 -1
- package/lib/components/Links/components/Link/components/ExploreViewLink/exploreViewLink.js +11 -41
- package/lib/components/Links/components/Link/link.d.ts +3 -1
- package/lib/components/Links/components/Link/link.js +22 -29
- package/lib/components/Links/links.js +6 -13
- package/lib/components/Links/links.stories.js +7 -13
- package/lib/components/Loading/loading.js +13 -20
- package/lib/components/Loading/loading.stories.js +11 -17
- package/lib/components/Loading/loading.styles.js +20 -26
- package/lib/components/Login/login.js +27 -54
- package/lib/components/Login/login.stories.js +12 -18
- package/lib/components/Login/login.styles.js +15 -21
- package/lib/components/NoResults/noResults.js +16 -23
- package/lib/components/NoResults/noResults.styles.js +4 -10
- package/lib/components/Project/common/entities.js +1 -2
- package/lib/components/Project/components/Citation/citation.js +12 -19
- package/lib/components/Project/components/Citation/citation.stories.js +4 -7
- package/lib/components/Project/components/Citation/citation.styles.js +3 -9
- package/lib/components/Project/components/CollaboratingOrganizations/collaboratingOrganizations.js +8 -15
- package/lib/components/Project/components/CollaboratingOrganizations/collaboratingOrganizations.stories.js +7 -13
- package/lib/components/Project/components/Contacts/contacts.js +12 -19
- package/lib/components/Project/components/Contacts/contacts.stories.js +7 -13
- package/lib/components/Project/components/Contributors/contributors.js +9 -16
- package/lib/components/Project/components/Contributors/contributors.stories.js +7 -13
- package/lib/components/Project/components/DataCurators/dataCurators.js +5 -12
- package/lib/components/Project/components/DataCurators/dataCurators.stories.js +7 -13
- package/lib/components/Project/components/DataReleasePolicy/dataReleasePolicy.js +9 -16
- package/lib/components/Project/components/DataReleasePolicy/dataReleasePolicy.stories.js +6 -12
- package/lib/components/Project/components/Description/description.js +6 -13
- package/lib/components/Project/components/Description/description.stories.js +7 -13
- package/lib/components/Project/components/Details/details.js +9 -36
- package/lib/components/Project/components/Details/details.stories.js +7 -13
- package/lib/components/Project/components/Publications/publications.js +10 -17
- package/lib/components/Project/components/Publications/publications.stories.js +7 -13
- package/lib/components/Project/components/Sup/sup.styles.js +2 -8
- package/lib/components/Project/components/SupplementaryLinks/supplementaryLinks.js +15 -42
- package/lib/components/Project/components/SupplementaryLinks/supplementaryLinks.stories.js +7 -13
- package/lib/components/Project/components/SupplementaryLinks/supplementaryLinks.styles.js +4 -10
- package/lib/components/Redirect/redirect.js +6 -33
- package/lib/components/Support/components/SupportRequest/components/Dialog/dialog.js +9 -39
- package/lib/components/Support/components/SupportRequest/components/Dialog/dialog.styles.js +12 -18
- package/lib/components/Support/components/SupportRequest/components/Dropzone/dropzone.js +13 -29
- package/lib/components/Support/components/SupportRequest/components/SupportRequestForm/common/constants.js +17 -20
- package/lib/components/Support/components/SupportRequest/components/SupportRequestForm/common/entities.js +6 -9
- package/lib/components/Support/components/SupportRequest/components/SupportRequestForm/common/utils.js +18 -39
- package/lib/components/Support/components/SupportRequest/components/SupportRequestForm/supportRequestForm.js +98 -92
- package/lib/components/Support/components/SupportRequest/components/SupportRequestForm/supportRequestForm.styles.js +6 -12
- package/lib/components/Support/components/SupportRequest/components/SupportRequestSubmitted/supportRequestSubmitted.js +12 -19
- package/lib/components/Support/components/SupportRequest/supportRequest.js +7 -34
- package/lib/components/Support/components/ViewSupport/viewSupport.js +7 -14
- package/lib/components/Support/components/ViewSupport/viewSupport.styles.js +8 -14
- package/lib/components/Table/common/entities.js +2 -5
- package/lib/components/Table/common/gridTable.styles.js +12 -12
- package/lib/components/Table/common/utils.d.ts +19 -14
- package/lib/components/Table/common/utils.js +54 -67
- package/lib/components/Table/components/CheckboxMenu/checkboxMenu.js +17 -44
- package/lib/components/Table/components/CheckboxMenu/checkboxMenu.stories.js +7 -13
- package/lib/components/Table/components/CheckboxMenu/checkboxMenu.styles.js +3 -9
- package/lib/components/Table/components/DownloadEntityResults/downloadEntityResults.d.ts +3 -3
- package/lib/components/Table/components/DownloadEntityResults/downloadEntityResults.js +11 -18
- package/lib/components/Table/components/Pagination/pagination.js +15 -22
- package/lib/components/Table/components/Pagination/pagination.stories.js +7 -13
- package/lib/components/Table/components/Pagination/pagination.styles.js +4 -10
- package/lib/components/Table/components/PaginationSummary/paginationSummary.js +12 -18
- package/lib/components/Table/components/TableBody/tableBody.d.ts +3 -3
- package/lib/components/Table/components/TableBody/tableBody.js +14 -41
- package/lib/components/Table/components/TableCell/common/utils.d.ts +3 -3
- package/lib/components/Table/components/TableCell/common/utils.js +3 -7
- package/lib/components/Table/components/TableCell/components/BasicCell/basicCell.d.ts +7 -0
- package/lib/components/Table/components/TableCell/components/BasicCell/basicCell.js +28 -0
- package/lib/components/Table/components/TableCell/components/CollapsableCell/collapsableCell.js +21 -49
- package/lib/components/Table/components/TableCell/components/CollapsableCell/collapsableCell.styles.js +14 -34
- package/lib/components/Table/components/TableCell/components/NTagCell/components/NTag/components/Tooltip/tooltip.d.ts +6 -0
- package/lib/components/Table/components/TableCell/components/NTagCell/components/NTag/components/Tooltip/tooltip.js +54 -0
- package/lib/components/Table/components/TableCell/components/NTagCell/components/NTag/components/Tooltip/tooltip.styles.d.ts +5 -0
- package/lib/components/Table/components/TableCell/components/NTagCell/components/NTag/components/Tooltip/tooltip.styles.js +10 -0
- package/lib/components/Table/components/TableCell/components/NTagCell/components/NTag/nTag.d.ts +7 -0
- package/lib/components/Table/components/TableCell/components/NTagCell/components/NTag/nTag.js +5 -0
- package/lib/components/Table/components/TableCell/components/NTagCell/nTagCell.d.ts +9 -0
- package/lib/components/Table/components/TableCell/components/NTagCell/nTagCell.js +26 -0
- package/lib/components/Table/components/TableCell/components/RowSelectionCell/rowSelectionCell.d.ts +2 -2
- package/lib/components/Table/components/TableCell/components/RowSelectionCell/rowSelectionCell.js +6 -13
- package/lib/components/Table/components/TableHead/components/HeadSelectionCell/headSelectionCell.d.ts +2 -2
- package/lib/components/Table/components/TableHead/components/HeadSelectionCell/headSelectionCell.js +7 -14
- package/lib/components/Table/components/TableHead/tableHead.d.ts +3 -3
- package/lib/components/Table/components/TableHead/tableHead.js +11 -38
- package/lib/components/Table/components/TableRow/tableRow.styles.d.ts +16 -0
- package/lib/components/Table/components/TableRow/tableRow.styles.js +16 -0
- package/lib/components/Table/components/TableRows/components/CollapsableRows/collapsableRows.d.ts +3 -3
- package/lib/components/Table/components/TableRows/components/CollapsableRows/collapsableRows.js +9 -35
- package/lib/components/Table/components/TableRows/components/VirtualizedRow/virtualizedRow.js +7 -35
- package/lib/components/Table/components/TableRows/tableRows.d.ts +3 -3
- package/lib/components/Table/components/TableRows/tableRows.js +9 -34
- package/lib/components/Table/components/TableToolbar/components/RowPreview/components/RowDrawer/common/constants.d.ts +2 -0
- package/lib/components/Table/components/TableToolbar/components/RowPreview/components/RowDrawer/common/constants.js +10 -0
- package/lib/components/Table/components/TableToolbar/components/RowPreview/components/RowDrawer/rowDrawer.d.ts +9 -0
- package/lib/components/Table/components/TableToolbar/components/RowPreview/components/RowDrawer/rowDrawer.js +13 -0
- package/lib/components/Table/components/TableToolbar/components/RowPreview/components/RowDrawer/rowDrawer.styles.d.ts +6 -0
- package/lib/components/Table/components/TableToolbar/components/RowPreview/components/RowDrawer/rowDrawer.styles.js +29 -0
- package/lib/components/Table/components/TableToolbar/components/RowPreview/components/Section/components/RowDetail/rowDetail.d.ts +12 -0
- package/lib/components/Table/components/TableToolbar/components/RowPreview/components/Section/components/RowDetail/rowDetail.js +20 -0
- package/lib/components/Table/components/TableToolbar/components/RowPreview/components/Section/components/RowDetail/rowDetail.styles.d.ts +5 -0
- package/lib/components/Table/components/TableToolbar/components/RowPreview/components/Section/components/RowDetail/rowDetail.styles.js +44 -0
- package/lib/components/Table/components/TableToolbar/components/RowPreview/components/Section/section.d.ts +7 -0
- package/lib/components/Table/components/TableToolbar/components/RowPreview/components/Section/section.js +9 -0
- package/lib/components/Table/components/TableToolbar/components/RowPreview/components/Section/section.styles.d.ts +5 -0
- package/lib/components/Table/components/TableToolbar/components/RowPreview/components/Section/section.styles.js +11 -0
- package/lib/components/Table/components/TableToolbar/components/RowPreview/rowPreview.d.ts +8 -0
- package/lib/components/Table/components/TableToolbar/components/RowPreview/rowPreview.js +11 -0
- package/lib/components/Table/components/TableToolbar/components/RowSelection/components/DropdownMenu/dropdownMenu.js +6 -25
- package/lib/components/Table/components/TableToolbar/components/RowSelection/components/DropdownMenu/dropdownMenu.styles.js +3 -9
- package/lib/components/Table/components/TableToolbar/components/RowSelection/rowSelection.d.ts +3 -3
- package/lib/components/Table/components/TableToolbar/components/RowSelection/rowSelection.js +9 -16
- package/lib/components/Table/components/TableToolbar/components/RowSelection/rowSelection.styles.js +2 -8
- package/lib/components/Table/components/TableToolbar/tableToolbar.d.ts +3 -3
- package/lib/components/Table/components/TableToolbar/tableToolbar.js +22 -46
- package/lib/components/Table/components/TableToolbar/tableToolbar.styles.js +7 -13
- package/lib/components/Table/features/RowPreview/constants.d.ts +2 -0
- package/lib/components/Table/features/RowPreview/constants.js +44 -0
- package/lib/components/Table/features/RowPreview/entities.d.ts +22 -0
- package/lib/components/Table/features/RowPreview/entities.js +1 -0
- package/lib/components/Table/features/RowPreview/utils.d.ts +33 -0
- package/lib/components/Table/features/RowPreview/utils.js +81 -0
- package/lib/components/Table/features/entities.d.ts +7 -0
- package/lib/components/Table/features/entities.js +1 -0
- package/lib/components/Table/table.d.ts +4 -12
- package/lib/components/Table/table.js +96 -131
- package/lib/components/Table/table.styles.js +7 -13
- package/lib/components/TableCreator/common/constants.js +6 -9
- package/lib/components/TableCreator/common/entities.d.ts +1 -1
- package/lib/components/TableCreator/common/entities.js +1 -2
- package/lib/components/TableCreator/common/utils.js +7 -6
- package/lib/components/TableCreator/tableCreator.d.ts +2 -9
- package/lib/components/TableCreator/tableCreator.js +33 -50
- package/lib/components/TableCreator/tableCreator.styles.js +2 -8
- package/lib/components/TempError/components/errorBox.js +5 -12
- package/lib/components/TempError/index.js +1 -5
- package/lib/components/TempError/tempError.js +15 -18
- package/lib/components/common/Accordion/accordion.js +11 -50
- package/lib/components/common/Accordion/accordion.stories.js +11 -20
- package/lib/components/common/Alert/alert.js +5 -12
- package/lib/components/common/Alert/alert.stories.js +4 -7
- package/lib/components/common/Alert/alert.styles.js +6 -12
- package/lib/components/common/Alert/components/AlertText/alertText.styles.js +2 -8
- package/lib/components/common/AnchorLink/anchorLink.js +6 -13
- package/lib/components/common/AnchorLink/anchorLink.styles.js +5 -11
- package/lib/components/common/Banner/banner.js +4 -42
- package/lib/components/common/Banner/components/BannerPrimary/bannerPrimary.js +4 -23
- package/lib/components/common/Banner/components/BannerPrimary/bannerPrimary.styles.js +8 -14
- package/lib/components/common/Banner/components/CookieBanner/cookieBanner.js +16 -55
- package/lib/components/common/Banner/components/CookieBanner/cookieBanner.styles.js +11 -17
- package/lib/components/common/Banner/components/DismissibleBanner/dismissibleBanner.js +8 -47
- package/lib/components/common/Banner/components/SessionTimeout/sessionTimeout.js +6 -45
- package/lib/components/common/Banner/components/SessionTimeout/sessionTimeout.styles.js +5 -11
- package/lib/components/common/Banner/components/SystemIndexing/systemIndexing.js +7 -46
- package/lib/components/common/Banner/components/SystemStatus/systemStatus.js +7 -46
- package/lib/components/common/Breadcrumbs/breadcrumbs.js +7 -14
- package/lib/components/common/Breadcrumbs/breadcrumbs.stories.js +11 -17
- package/lib/components/common/Button/button.d.ts +1 -1
- package/lib/components/common/Button/button.js +4 -42
- package/lib/components/common/Button/components/ButtonOutline/buttonOutline.js +4 -42
- package/lib/components/common/Button/components/ButtonOutline/buttonOutline.styles.js +10 -16
- package/lib/components/common/Button/components/ButtonPrimary/buttonPrimary.js +4 -42
- package/lib/components/common/Button/components/ButtonSecondary/buttonSecondary.js +4 -42
- package/lib/components/common/Button/components/ButtonSecondaryOutline/buttonSecondaryOutline.js +4 -42
- package/lib/components/common/Button/components/ButtonText/buttonText.js +4 -23
- package/lib/components/common/Button/components/ButtonText/buttonText.styles.js +3 -9
- package/lib/components/common/Button/components/ButtonTextPrimary/buttonTextPrimary.js +4 -23
- package/lib/components/common/Button/components/ButtonTextPrimary/buttonTextPrimary.styles.js +3 -9
- package/lib/components/common/Button/components/ButtonTextUnderline/buttonTextUnderline.js +4 -23
- package/lib/components/common/Button/components/ButtonTextUnderline/buttonTextUnderline.styles.js +3 -9
- package/lib/components/common/Button/components/CallToActionButton/callToActionButton.js +9 -16
- package/lib/components/common/Button/components/CallToActionButton/callToActionButton.stories.js +11 -17
- package/lib/components/common/Button/components/DropdownButton/dropdownButton.js +5 -24
- package/lib/components/common/Button/components/DropdownButton/dropdownButton.styles.js +9 -29
- package/lib/components/common/Button/components/FileDownloadButton/fileDownloadButton.js +6 -33
- package/lib/components/common/Button/components/HelpIconButton/helpIconButton.js +12 -19
- package/lib/components/common/Button/components/HelpIconButton/helpIconButton.stories.js +6 -9
- package/lib/components/common/Button/components/HelpIconButton/helpIconButton.styles.js +3 -9
- package/lib/components/common/Button/components/LoginButton/loginButton.js +5 -24
- package/lib/components/common/Button/components/LoginButton/loginButton.styles.js +4 -10
- package/lib/components/common/Button/components/NavigationButton/navigationButton.js +5 -24
- package/lib/components/common/Button/components/NavigationButton/navigationButton.styles.js +5 -11
- package/lib/components/common/ButtonGroup/buttonGroup.js +4 -43
- package/lib/components/common/ButtonGroup/components/ButtonGroupButton/buttonGroupButton.js +5 -12
- package/lib/components/common/Card/card.js +24 -51
- package/lib/components/common/Card/card.stories.js +8 -14
- package/lib/components/common/Card/card.styles.js +6 -12
- package/lib/components/common/Card/components/CardAction/cardAction.js +4 -11
- package/lib/components/common/Card/components/CardActionArea/cardActionArea.js +10 -17
- package/lib/components/common/Card/components/CardActions/cardActions.js +7 -14
- package/lib/components/common/Card/components/CardActions/cardActions.styles.js +4 -10
- package/lib/components/common/Card/components/CardMedia/cardMedia.js +6 -13
- package/lib/components/common/Card/components/CardMedia/cardMedia.styles.js +2 -8
- package/lib/components/common/Card/components/CardSecondaryText/cardSecondaryText.js +5 -24
- package/lib/components/common/Card/components/CardSecondaryTitle/cardSecondaryTitle.js +5 -24
- package/lib/components/common/Card/components/CardSecondaryTitle/cardSecondaryTitle.styles.js +3 -9
- package/lib/components/common/Card/components/CardText/cardText.js +5 -24
- package/lib/components/common/Card/components/CardTitle/cardTitle.js +5 -24
- package/lib/components/common/Card/components/RoundedCard/roundedCard.js +5 -12
- package/lib/components/common/Code/code.js +9 -39
- package/lib/components/common/Code/code.stories.js +4 -7
- package/lib/components/common/Code/code.styles.js +8 -14
- package/lib/components/common/CopyToClipboard/copyToClipboard.js +11 -41
- package/lib/components/common/CopyToClipboard/copyToClipboard.stories.js +4 -7
- package/lib/components/common/CustomIcon/common/constants.js +6 -12
- package/lib/components/common/CustomIcon/common/entities.js +1 -2
- package/lib/components/common/CustomIcon/components/AddIcon/addIcon.js +5 -24
- package/lib/components/common/CustomIcon/components/AddLinkIcon/addLinkIcon.js +5 -24
- package/lib/components/common/CustomIcon/components/AlertIcon/alertIcon.js +5 -24
- package/lib/components/common/CustomIcon/components/BackArrowIcon/backArrowIcon.js +5 -24
- package/lib/components/common/CustomIcon/components/CheckedIcon/checkedIcon.js +6 -25
- package/lib/components/common/CustomIcon/components/ContactSupportIcon/contactSupportIcon.js +5 -24
- package/lib/components/common/CustomIcon/components/ContentCopyIcon/contentCopyIcon.js +5 -24
- package/lib/components/common/CustomIcon/components/DiscourseIcon/discourseIcon.js +5 -24
- package/lib/components/common/CustomIcon/components/DownloadIcon/downloadIcon.js +5 -24
- package/lib/components/common/CustomIcon/components/EmailReadIcon/emailReadIcon.js +5 -24
- package/lib/components/common/CustomIcon/components/ErrorIcon/errorIcon.js +5 -24
- package/lib/components/common/CustomIcon/components/FacebookIcon/facebookIcon.js +5 -24
- package/lib/components/common/CustomIcon/components/FeedbackIcon/feedbackIcon.js +5 -24
- package/lib/components/common/CustomIcon/components/FormStatusCompletedIcon/formStatusCompletedIcon.js +6 -25
- package/lib/components/common/CustomIcon/components/FormStatusIncompleteIcon/formStatusIncompleteIcon.js +5 -24
- package/lib/components/common/CustomIcon/components/ForwardArrowIcon/forwardArrowIcon.js +5 -24
- package/lib/components/common/CustomIcon/components/GitHubIcon/gitHubIcon.js +5 -24
- package/lib/components/common/CustomIcon/components/GoogleIcon/googleIcon.js +8 -27
- package/lib/components/common/CustomIcon/components/HelpIcon/helpIcon.js +5 -24
- package/lib/components/common/CustomIcon/components/IndeterminateIcon/indeterminateIcon.js +6 -25
- package/lib/components/common/CustomIcon/components/InfoIcon/infoIcon.js +5 -24
- package/lib/components/common/CustomIcon/components/InventoryIcon/inventoryIcon.js +5 -24
- package/lib/components/common/CustomIcon/components/LinkedInIcon/linkedInIcon.js +5 -24
- package/lib/components/common/CustomIcon/components/LoadingIcon/loadingIcon.js +22 -41
- package/lib/components/common/CustomIcon/components/OpenInNewIcon/openInNewIcon.js +5 -24
- package/lib/components/common/CustomIcon/components/RadioCheckedIcon/radioCheckedIcon.js +5 -24
- package/lib/components/common/CustomIcon/components/RadioUncheckedIcon/radioUncheckedIcon.js +5 -24
- package/lib/components/common/CustomIcon/components/RemoveIcon/removeIcon.js +5 -24
- package/lib/components/common/CustomIcon/components/SearchIcon/searchIcon.js +5 -24
- package/lib/components/common/CustomIcon/components/SearchOffIcon/searchOffIcon.js +5 -24
- package/lib/components/common/CustomIcon/components/Segment/segment.js +5 -24
- package/lib/components/common/CustomIcon/components/SlackIcon/slackIcon.js +5 -24
- package/lib/components/common/CustomIcon/components/SouthIcon/southIcon.js +5 -24
- package/lib/components/common/CustomIcon/components/SuccessIcon/successIcon.js +5 -24
- package/lib/components/common/CustomIcon/components/UnLinkIcon/unLinkIcon.js +5 -24
- package/lib/components/common/CustomIcon/components/UncheckedErrorIcon/uncheckedErrorIcon.js +5 -24
- package/lib/components/common/CustomIcon/components/UncheckedIcon/uncheckedIcon.js +5 -24
- package/lib/components/common/CustomIcon/components/UnfoldMoreIcon/unfoldMoreIcon.js +5 -24
- package/lib/components/common/CustomIcon/components/WarningIcon/warningIcon.js +5 -24
- package/lib/components/common/CustomIcon/components/XIcon/xIcon.js +5 -24
- package/lib/components/common/CustomIcon/components/YouTubeIcon/youTubeIcon.js +5 -24
- package/lib/components/common/Dialog/components/DialogTitle/dialogTitle.js +7 -14
- package/lib/components/common/Dialog/dialog.js +4 -23
- package/lib/components/common/Dot/dot.js +4 -11
- package/lib/components/common/Dot/dot.styles.js +2 -8
- package/lib/components/common/Drawer/components/DrawerTitle/drawerTitle.d.ts +7 -0
- package/lib/components/common/Drawer/components/DrawerTitle/drawerTitle.js +10 -0
- package/lib/components/common/Drawer/components/DrawerTitle/drawerTitle.styles.d.ts +5 -0
- package/lib/components/common/Drawer/components/DrawerTitle/drawerTitle.styles.js +11 -0
- package/lib/components/common/Drawer/components/drawer.styles.d.ts +5 -0
- package/lib/components/common/Drawer/components/drawer.styles.js +5 -0
- package/lib/components/common/Drawer/drawer.d.ts +7 -0
- package/lib/components/common/Drawer/drawer.js +5 -0
- package/lib/components/common/DropdownMenu/common/constants.js +1 -4
- package/lib/components/common/DropdownMenu/common/entities.js +1 -2
- package/lib/components/common/DropdownMenu/components/MenuItem/menuItem.js +5 -24
- package/lib/components/common/DropdownMenu/dropdownMenu.js +8 -47
- package/lib/components/common/DropdownMenu/dropdownMenu.styles.js +3 -9
- package/lib/components/common/EllipsisContent/ellipsisContent.js +13 -40
- package/lib/components/common/EllipsisContent/ellipsisContent.styles.js +6 -12
- package/lib/components/common/Form/components/Input/input.js +8 -27
- package/lib/components/common/Form/components/Input/input.styles.js +10 -30
- package/lib/components/common/Form/components/Select/components/DropDownIcon/dropDownIcon.js +4 -23
- package/lib/components/common/Form/components/Select/select.js +8 -27
- package/lib/components/common/Form/components/Select/select.styles.js +9 -29
- package/lib/components/common/Form/components/UploadFile/uploadFile.js +18 -25
- package/lib/components/common/Form/components/UploadFile/uploadFile.styles.js +14 -20
- package/lib/components/common/Grid/components/GridItem/gridItem.js +4 -23
- package/lib/components/common/Grid/grid.d.ts +1 -1
- package/lib/components/common/Grid/grid.js +4 -23
- package/lib/components/common/IconBadge/iconBadge.js +7 -14
- package/lib/components/common/IconBadge/iconBadge.styles.js +25 -54
- package/lib/components/common/IconButton/components/LoadingIconButton/loadingIconButton.js +6 -13
- package/lib/components/common/IconButton/components/LoadingIconButton/loadingIconButton.stories.js +7 -13
- package/lib/components/common/IconButton/iconButton.js +5 -24
- package/lib/components/common/IconButton/iconButton.styles.js +16 -36
- package/lib/components/common/Input/input.js +8 -27
- package/lib/components/common/Input/input.styles.js +6 -12
- package/lib/components/common/KeyValuePairs/components/KeyElType/keyElType.js +4 -23
- package/lib/components/common/KeyValuePairs/components/KeyValueElType/keyValueElType.js +4 -23
- package/lib/components/common/KeyValuePairs/components/ValueElType/valueElType.js +4 -23
- package/lib/components/common/KeyValuePairs/keyValuePairs.js +8 -35
- package/lib/components/common/MDXMarkdown/components/Section/mdxSection.styles.js +6 -12
- package/lib/components/common/Markdown/markdown.js +4 -11
- package/lib/components/common/Paper/paper.js +6 -32
- package/lib/components/common/Paper/paper.styles.js +8 -14
- package/lib/components/common/Progress/components/CircularProgress/circularProgress.js +8 -27
- package/lib/components/common/Progress/components/CircularProgress/circularProgress.styles.js +2 -8
- package/lib/components/common/Progress/components/CircularProgress/components/CircularProgressTrack/circularProgressTrack.js +4 -43
- package/lib/components/common/Progress/components/CircularProgress/components/CircularProgressTrack/circularProgressTrack.styles.js +9 -15
- package/lib/components/common/RadioGroup/radioGroup.js +6 -13
- package/lib/components/common/Section/components/CollapsableSection/collapsableSection.js +21 -51
- package/lib/components/common/Section/components/CollapsableSection/collapsableSection.styles.js +9 -15
- package/lib/components/common/Section/components/SectionDetailsEmpty/sectionDetailsEmpty.js +3 -10
- package/lib/components/common/Section/components/SectionTitle/sectionTitle.js +4 -11
- package/lib/components/common/Section/components/SectionTitle/sectionTitle.stories.js +7 -13
- package/lib/components/common/Section/section.styles.js +18 -25
- package/lib/components/common/Sections/sections.js +5 -12
- package/lib/components/common/Socials/socials.js +7 -33
- package/lib/components/common/Socials/socials.stories.js +18 -21
- package/lib/components/common/Socials/socials.styles.js +2 -8
- package/lib/components/common/Stack/components/Divider/divider.js +4 -23
- package/lib/components/common/Stack/components/Divider/divider.styles.js +3 -9
- package/lib/components/common/Stack/stack.js +4 -11
- package/lib/components/common/StaticImage/staticImage.js +6 -13
- package/lib/components/common/StaticImage/staticImage.stories.js +9 -15
- package/lib/components/common/StatusBadge/statusBadge.js +8 -46
- package/lib/components/common/StatusBadge/statusBadge.stories.js +4 -7
- package/lib/components/common/StatusIcon/statusIcon.js +7 -14
- package/lib/components/common/StatusIcon/statusIcon.stories.js +11 -17
- package/lib/components/common/StatusIcon/statusIcon.styles.js +12 -18
- package/lib/components/common/Tabs/tabs.js +5 -12
- package/lib/components/common/Tabs/tabs.styles.js +8 -14
- package/lib/components/common/Tag/tag.js +4 -11
- package/lib/components/common/Tag/tag.stories.js +8 -14
- package/lib/components/common/Tag/tag.styles.js +4 -10
- package/lib/components/common/Title/title.js +5 -24
- package/lib/components/common/Title/title.styles.js +3 -9
- package/lib/components/common/ToggleButtonGroup/toggleButtonGroup.js +6 -47
- package/lib/components/common/ToggleButtonGroup/toggleButtonGroup.stories.js +7 -13
- package/lib/components/common/Typography/TypographyWordBreak/TypographyWordBreak.js +4 -23
- package/lib/components/common/Typography/common/entities.d.ts +2 -0
- package/lib/components/common/Typography/common/entities.js +1 -0
- package/lib/config/config.js +2 -7
- package/lib/config/entities.d.ts +8 -25
- package/lib/config/entities.js +1 -4
- package/lib/config/utils.js +9 -17
- package/lib/entity/api/service.js +49 -62
- package/lib/entity/apicf/service.js +17 -34
- package/lib/entity/common/client.js +7 -35
- package/lib/entity/common/service.js +10 -24
- package/lib/entity/common/utils.js +1 -5
- package/lib/entity/service/factory.js +5 -32
- package/lib/entity/service/model.js +2 -5
- package/lib/entity/tsv/service.js +18 -35
- package/lib/hooks/useAsync.js +13 -40
- package/lib/hooks/useAuthentication/common/constants.js +7 -10
- package/lib/hooks/useAuthentication/common/entities.js +4 -7
- package/lib/hooks/useAuthentication/common/utils.js +5 -10
- package/lib/hooks/useAuthentication/useAuthentication.js +4 -8
- package/lib/hooks/useAuthentication/useAuthenticationComplete.js +16 -43
- package/lib/hooks/useAuthentication/useAuthenticationForm.js +7 -11
- package/lib/hooks/useAuthentication/useAuthenticationNIHExpiry.js +6 -11
- package/lib/hooks/useAuthentication/useAuthenticationStatus.js +6 -11
- package/lib/hooks/useAuthentication/useFetchGoogleProfile.js +18 -17
- package/lib/hooks/useAuthentication/useFetchTerraNIHProfile.js +19 -18
- package/lib/hooks/useAuthentication/useFetchTerraProfile.js +20 -20
- package/lib/hooks/useAuthentication/useFetchTerraTermsOfService.js +19 -18
- package/lib/hooks/useAuthentication/useTokenClient.js +7 -11
- package/lib/hooks/useAuthenticationConfig.js +3 -7
- package/lib/hooks/useBreakpointHelper.js +5 -9
- package/lib/hooks/useCatalog.js +5 -9
- package/lib/hooks/useCategoryFilter.js +7 -13
- package/lib/hooks/useConfig.js +4 -8
- package/lib/hooks/useCurrentDetailTab.js +7 -12
- package/lib/hooks/useDownloadStatus.js +3 -7
- package/lib/hooks/useEntityHeadTitle.js +8 -12
- package/lib/hooks/useEntityList.js +45 -46
- package/lib/hooks/useEntityService.js +38 -25
- package/lib/hooks/useExploreMode.js +7 -11
- package/lib/hooks/useExploreState.js +4 -8
- package/lib/hooks/useExportConfig.js +3 -7
- package/lib/hooks/useExportToTerraResponseURL.js +5 -9
- package/lib/hooks/useFeatureFlag/common/entities.js +2 -5
- package/lib/hooks/useFeatureFlag/common/utils.js +3 -7
- package/lib/hooks/useFeatureFlag/useFeatureFlag.js +7 -11
- package/lib/hooks/useFetchEntity.js +20 -23
- package/lib/hooks/useFetchRequestURL.js +3 -7
- package/lib/hooks/useFileLocation.js +7 -11
- package/lib/hooks/useFileManifest/common/buildFileManifestRequestURL.js +5 -9
- package/lib/hooks/useFileManifest/common/entities.js +4 -7
- package/lib/hooks/useFileManifest/common/utils.js +13 -24
- package/lib/hooks/useFileManifest/useFetchFilesFacets.js +16 -20
- package/lib/hooks/useFileManifest/useFetchSummary.js +14 -18
- package/lib/hooks/useFileManifest/useFileManifest.js +5 -9
- package/lib/hooks/useFileManifest/useFileManifestDownload.js +15 -19
- package/lib/hooks/useFileManifest/useFileManifestSpreadsheet.js +20 -25
- package/lib/hooks/useFileManifest/useFileManifestURL.js +3 -7
- package/lib/hooks/useFileManifest/useRequestFileManifest.js +9 -13
- package/lib/hooks/useFileManifestState.js +4 -8
- package/lib/hooks/useLayoutState.js +4 -8
- package/lib/hooks/useLocalStorage/common/utils.js +4 -11
- package/lib/hooks/useLocalStorage/useLocalStorage.js +6 -10
- package/lib/hooks/useLocation.js +3 -7
- package/lib/hooks/useRequestFileLocation.js +19 -33
- package/lib/hooks/useResetableState.js +4 -8
- package/lib/hooks/useResizeObserver.js +15 -21
- package/lib/hooks/useScroll.js +3 -7
- package/lib/hooks/useSessionTimeout.js +13 -20
- package/lib/hooks/useSummary.js +13 -17
- package/lib/hooks/useSystemStatus.js +4 -8
- package/lib/hooks/useURLFilterParams.js +12 -17
- package/lib/hooks/useUpdateURLCatalogParam.js +10 -37
- package/lib/hooks/useUpdateURLSearchParams.js +7 -11
- package/lib/hooks/useWindowResize.js +5 -9
- package/lib/index.js +1 -2
- package/lib/providers/authentication.js +37 -65
- package/lib/providers/config.js +8 -35
- package/lib/providers/exploreState/constants.js +1 -4
- package/lib/providers/exploreState/entities.d.ts +3 -2
- package/lib/providers/exploreState/entities.js +1 -2
- package/lib/providers/exploreState/initializer/constants.js +8 -13
- package/lib/providers/exploreState/initializer/utils.js +46 -30
- package/lib/providers/exploreState/payloads/entities.d.ts +6 -11
- package/lib/providers/exploreState/payloads/entities.js +1 -2
- package/lib/providers/exploreState/utils.d.ts +12 -10
- package/lib/providers/exploreState/utils.js +63 -63
- package/lib/providers/exploreState.d.ts +12 -32
- package/lib/providers/exploreState.js +162 -101
- package/lib/providers/fileManifestState.js +63 -65
- package/lib/providers/layoutState.js +15 -39
- package/lib/providers/systemStatus.js +21 -57
- package/lib/shared/constants.js +1 -4
- package/lib/shared/utils.js +11 -18
- package/lib/styles/common/mixins/breakpoints.js +7 -16
- package/lib/styles/common/mixins/colors.d.ts +2 -1
- package/lib/styles/common/mixins/colors.js +23 -47
- package/lib/styles/common/mixins/fonts.js +18 -21
- package/lib/styles/common/mixins/shadows.js +2 -7
- package/lib/theme/common/breakpoints.js +12 -15
- package/lib/theme/common/components.js +240 -162
- package/lib/theme/common/palette.d.ts +3 -1
- package/lib/theme/common/palette.js +73 -73
- package/lib/theme/common/shadows.js +6 -9
- package/lib/theme/common/typography.js +22 -25
- package/lib/theme/theme.js +11 -38
- package/lib/types/error.js +6 -10
- package/lib/utils/database.js +4 -7
- package/lib/utils/fetchQueryParams.js +8 -8
- package/lib/utils/formatCountSize.js +1 -5
- package/lib/utils/formatFileSize.js +1 -5
- package/lib/utils/ssr.js +1 -5
- package/lib/utils/url.js +4 -8
- package/lib/viewModelBuilders/common/entities.js +1 -2
- package/lib/viewModelBuilders/common/utils.js +3 -9
- package/lib/views/ContentView/contentView.js +4 -11
- package/lib/views/ContentView/contentView.stories.js +26 -32
- package/lib/views/EntityDetailView/entityDetailView.js +26 -57
- package/lib/views/ExploreView/exploreView.js +60 -90
- package/lib/views/ExportMethodView/exportMethodView.js +11 -18
- package/lib/views/ExportView/exportView.js +13 -20
- package/lib/views/LoginView/loginView.js +6 -13
- package/package.json +2 -2
- package/src/components/ComponentCreator/ComponentCreator.tsx +6 -1
- package/src/components/Detail/components/DetailViewTable/detailViewTable.tsx +4 -4
- package/src/components/Detail/components/Table/common/utils.ts +2 -2
- package/src/components/Detail/components/Table/components/TableBody/tableBody.tsx +3 -3
- package/src/components/Detail/components/Table/components/TableRows/components/CollapsableRows/collapsableRows.tsx +5 -7
- package/src/components/Detail/components/Table/components/TableRows/tableRows.tsx +10 -6
- package/src/components/Detail/components/Table/table.tsx +6 -3
- package/src/components/Filter/components/Filters/filters.tsx +1 -1
- package/src/components/Index/components/Cell/cell.tsx +4 -0
- package/src/components/Index/components/NTag/components/Tooltip/tooltip.tsx +4 -0
- package/src/components/Index/components/NTag/nTag.tsx +4 -0
- package/src/components/Index/components/NTagCell/nTagCell.tsx +22 -3
- package/src/components/Layout/components/Outline/common/constants.ts +1 -1
- package/src/components/Links/components/Link/components/ExploreViewLink/exploreViewLink.tsx +1 -1
- package/src/components/Links/components/Link/link.tsx +15 -2
- package/src/components/Table/common/gridTable.styles.ts +8 -2
- package/src/components/Table/common/utils.ts +55 -24
- package/src/components/Table/components/DownloadEntityResults/downloadEntityResults.tsx +3 -3
- package/src/components/Table/components/PaginationSummary/paginationSummary.tsx +11 -9
- package/src/components/Table/components/TableBody/tableBody.tsx +3 -3
- package/src/components/Table/components/TableCell/common/utils.ts +3 -3
- package/src/components/Table/components/TableCell/components/BasicCell/basicCell.tsx +52 -0
- package/src/components/Table/components/TableCell/components/NTagCell/components/NTag/components/Tooltip/tooltip.styles.ts +11 -0
- package/src/components/Table/components/TableCell/components/NTagCell/components/NTag/components/Tooltip/tooltip.tsx +86 -0
- package/src/components/Table/components/TableCell/components/NTagCell/components/NTag/nTag.tsx +21 -0
- package/src/components/Table/components/TableCell/components/NTagCell/nTagCell.tsx +70 -0
- package/src/components/Table/components/TableCell/components/RowSelectionCell/rowSelectionCell.tsx +2 -3
- package/src/components/Table/components/TableHead/components/HeadSelectionCell/headSelectionCell.tsx +2 -3
- package/src/components/Table/components/TableHead/tableHead.tsx +3 -3
- package/src/components/Table/components/TableRow/tableRow.styles.ts +22 -0
- package/src/components/Table/components/TableRows/components/CollapsableRows/collapsableRows.tsx +8 -6
- package/src/components/Table/components/TableRows/tableRows.tsx +9 -6
- package/src/components/Table/components/TableToolbar/components/RowPreview/components/RowDrawer/common/constants.ts +12 -0
- package/src/components/Table/components/TableToolbar/components/RowPreview/components/RowDrawer/rowDrawer.styles.ts +31 -0
- package/src/components/Table/components/TableToolbar/components/RowPreview/components/RowDrawer/rowDrawer.tsx +53 -0
- package/src/components/Table/components/TableToolbar/components/RowPreview/components/Section/components/RowDetail/rowDetail.styles.ts +48 -0
- package/src/components/Table/components/TableToolbar/components/RowPreview/components/Section/components/RowDetail/rowDetail.tsx +51 -0
- package/src/components/Table/components/TableToolbar/components/RowPreview/components/Section/section.styles.ts +12 -0
- package/src/components/Table/components/TableToolbar/components/RowPreview/components/Section/section.tsx +25 -0
- package/src/components/Table/components/TableToolbar/components/RowPreview/rowPreview.tsx +26 -0
- package/src/components/Table/components/TableToolbar/components/RowSelection/rowSelection.tsx +3 -3
- package/src/components/Table/components/TableToolbar/tableToolbar.tsx +9 -4
- package/src/components/Table/features/RowPreview/constants.ts +65 -0
- package/src/components/Table/features/RowPreview/entities.ts +25 -0
- package/src/components/Table/features/RowPreview/utils.ts +93 -0
- package/src/components/Table/features/entities.ts +13 -0
- package/src/components/Table/table.tsx +40 -50
- package/src/components/TableCreator/common/entities.ts +1 -1
- package/src/components/TableCreator/tableCreator.tsx +15 -22
- package/src/components/common/Button/button.tsx +1 -2
- package/src/components/common/Drawer/components/DrawerTitle/drawerTitle.styles.ts +12 -0
- package/src/components/common/Drawer/components/DrawerTitle/drawerTitle.tsx +27 -0
- package/src/components/common/Drawer/components/drawer.styles.ts +6 -0
- package/src/components/common/Drawer/drawer.tsx +21 -0
- package/src/components/common/Grid/grid.tsx +1 -3
- package/src/components/common/Section/components/CollapsableSection/collapsableSection.tsx +1 -2
- package/src/components/common/Typography/common/entities.ts +5 -0
- package/src/config/entities.ts +8 -37
- package/src/providers/exploreState/entities.ts +7 -2
- package/src/providers/exploreState/initializer/constants.ts +1 -3
- package/src/providers/exploreState/initializer/utils.ts +2 -1
- package/src/providers/exploreState/payloads/entities.ts +7 -18
- package/src/providers/exploreState/utils.ts +25 -36
- package/src/providers/exploreState.tsx +93 -73
- package/src/styles/common/mixins/colors.ts +4 -1
- package/src/theme/common/components.ts +12 -0
- package/src/theme/common/palette.ts +4 -5
- package/src/theme/theme.ts +1 -2
- package/src/views/ExploreView/exploreView.tsx +3 -25
- package/tsconfig.json +3 -3
- package/types/data-explorer-ui.d.ts +21 -2
- package/src/hooks/useEntityListRelatedView.ts +0 -78
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
const palette_1 = require("./palette");
|
|
11
|
-
const shadows_1 = require("./shadows");
|
|
12
|
-
const typography_1 = require("./typography");
|
|
1
|
+
import { ErrorIcon } from "../../components/common/CustomIcon/components/ErrorIcon/errorIcon";
|
|
2
|
+
import { InfoIcon } from "../../components/common/CustomIcon/components/InfoIcon/infoIcon";
|
|
3
|
+
import { SuccessIcon } from "../../components/common/CustomIcon/components/SuccessIcon/successIcon";
|
|
4
|
+
import { WarningIcon } from "../../components/common/CustomIcon/components/WarningIcon/warningIcon";
|
|
5
|
+
import { DropDownIcon } from "../../components/common/Form/components/Select/components/DropDownIcon/dropDownIcon";
|
|
6
|
+
import { desktopUp, mobileUp, tabletUp } from "./breakpoints";
|
|
7
|
+
import { alpha32, alpha60, alpha64, alpha80, black04, black08, white, } from "./palette";
|
|
8
|
+
import { strokeBottom, strokeTop } from "./shadows";
|
|
9
|
+
import { TEXT_BODY_400, TEXT_BODY_400_2_LINES, TEXT_BODY_500, TEXT_BODY_LARGE_500, TEXT_BODY_SMALL_400, TEXT_BODY_SMALL_500, TEXT_HEADING, } from "./typography";
|
|
13
10
|
// Constants
|
|
14
11
|
const FLEX_START = "flex-start";
|
|
15
12
|
/**
|
|
@@ -17,7 +14,7 @@ const FLEX_START = "flex-start";
|
|
|
17
14
|
* @param theme - Theme.
|
|
18
15
|
* @returns MuiAccordion component theme styles.
|
|
19
16
|
*/
|
|
20
|
-
const MuiAccordion = (theme) => {
|
|
17
|
+
export const MuiAccordion = (theme) => {
|
|
21
18
|
return {
|
|
22
19
|
defaultProps: {
|
|
23
20
|
disableGutters: true,
|
|
@@ -27,23 +24,22 @@ const MuiAccordion = (theme) => {
|
|
|
27
24
|
styleOverrides: {
|
|
28
25
|
root: {
|
|
29
26
|
backgroundColor: "transparent",
|
|
30
|
-
boxShadow: `${
|
|
27
|
+
boxShadow: `${strokeTop} ${theme.palette.smoke.main}, ${strokeBottom} ${theme.palette.smoke.main}`,
|
|
31
28
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
32
29
|
"&:before": {
|
|
33
30
|
display: "none",
|
|
34
31
|
},
|
|
35
32
|
"&:nth-of-type(n+2)": {
|
|
36
|
-
boxShadow: `${
|
|
33
|
+
boxShadow: `${strokeBottom} ${theme.palette.smoke.main}`,
|
|
37
34
|
},
|
|
38
35
|
},
|
|
39
36
|
},
|
|
40
37
|
};
|
|
41
38
|
};
|
|
42
|
-
exports.MuiAccordion = MuiAccordion;
|
|
43
39
|
/**
|
|
44
40
|
* MuiAccordionDetails Component
|
|
45
41
|
*/
|
|
46
|
-
|
|
42
|
+
export const MuiAccordionDetails = {
|
|
47
43
|
styleOverrides: {
|
|
48
44
|
root: {
|
|
49
45
|
marginBottom: 16,
|
|
@@ -54,7 +50,7 @@ exports.MuiAccordionDetails = {
|
|
|
54
50
|
/**
|
|
55
51
|
* MuiAccordionSummary Component
|
|
56
52
|
*/
|
|
57
|
-
|
|
53
|
+
export const MuiAccordionSummary = {
|
|
58
54
|
styleOverrides: {
|
|
59
55
|
content: {
|
|
60
56
|
margin: "16px 0",
|
|
@@ -71,14 +67,14 @@ exports.MuiAccordionSummary = {
|
|
|
71
67
|
* @param theme - Theme.
|
|
72
68
|
* @returns MuiAlert component theme styles.
|
|
73
69
|
*/
|
|
74
|
-
const MuiAlert = (theme) => {
|
|
70
|
+
export const MuiAlert = (theme) => {
|
|
75
71
|
return {
|
|
76
72
|
defaultProps: {
|
|
77
73
|
iconMapping: {
|
|
78
|
-
error:
|
|
79
|
-
info:
|
|
80
|
-
success:
|
|
81
|
-
warning:
|
|
74
|
+
error: ErrorIcon({ fontSize: "small" }),
|
|
75
|
+
info: InfoIcon({ fontSize: "small" }),
|
|
76
|
+
success: SuccessIcon({ fontSize: "small" }),
|
|
77
|
+
warning: WarningIcon({ fontSize: "small" }),
|
|
82
78
|
},
|
|
83
79
|
},
|
|
84
80
|
styleOverrides: {
|
|
@@ -91,14 +87,19 @@ const MuiAlert = (theme) => {
|
|
|
91
87
|
gap: 4,
|
|
92
88
|
padding: 0,
|
|
93
89
|
},
|
|
94
|
-
root:
|
|
90
|
+
root: {
|
|
91
|
+
...theme.typography[TEXT_BODY_400_2_LINES],
|
|
92
|
+
borderRadius: 8,
|
|
93
|
+
boxShadow: theme.shadows[1],
|
|
94
|
+
color: theme.palette.ink.main,
|
|
95
|
+
},
|
|
95
96
|
standard: {
|
|
96
97
|
alignItems: FLEX_START,
|
|
97
98
|
padding: 20,
|
|
98
99
|
},
|
|
99
100
|
standardError: {
|
|
100
101
|
backgroundColor: theme.palette.alert.lightest,
|
|
101
|
-
border: `1px solid ${theme.palette.alert.main}${
|
|
102
|
+
border: `1px solid ${theme.palette.alert.main}${alpha32}`,
|
|
102
103
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
103
104
|
"& .MuiAlert-icon": {
|
|
104
105
|
color: theme.palette.alert.main,
|
|
@@ -106,7 +107,7 @@ const MuiAlert = (theme) => {
|
|
|
106
107
|
},
|
|
107
108
|
standardInfo: {
|
|
108
109
|
backgroundColor: theme.palette.info.lightest,
|
|
109
|
-
border: `1px solid ${theme.palette.info.main}${
|
|
110
|
+
border: `1px solid ${theme.palette.info.main}${alpha32}`,
|
|
110
111
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
111
112
|
"& .MuiAlert-icon": {
|
|
112
113
|
color: theme.palette.info.main,
|
|
@@ -114,7 +115,7 @@ const MuiAlert = (theme) => {
|
|
|
114
115
|
},
|
|
115
116
|
standardSuccess: {
|
|
116
117
|
backgroundColor: theme.palette.success.lightest,
|
|
117
|
-
border: `1px solid ${theme.palette.success.main}${
|
|
118
|
+
border: `1px solid ${theme.palette.success.main}${alpha32}`,
|
|
118
119
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
119
120
|
"& .MuiAlert-icon": {
|
|
120
121
|
color: theme.palette.success.main,
|
|
@@ -122,7 +123,7 @@ const MuiAlert = (theme) => {
|
|
|
122
123
|
},
|
|
123
124
|
standardWarning: {
|
|
124
125
|
backgroundColor: theme.palette.warning.lightest,
|
|
125
|
-
border: `1px solid ${theme.palette.warning.main}${
|
|
126
|
+
border: `1px solid ${theme.palette.warning.main}${alpha32}`,
|
|
126
127
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
127
128
|
"& .MuiAlert-icon": {
|
|
128
129
|
color: theme.palette.warning.main,
|
|
@@ -145,14 +146,16 @@ const MuiAlert = (theme) => {
|
|
|
145
146
|
"& .MuiAlert-icon": {
|
|
146
147
|
padding: 0,
|
|
147
148
|
},
|
|
148
|
-
"& .MuiAlertTitle-root":
|
|
149
|
+
"& .MuiAlertTitle-root": {
|
|
150
|
+
...theme.typography[TEXT_BODY_500],
|
|
151
|
+
},
|
|
149
152
|
},
|
|
150
153
|
},
|
|
151
154
|
{
|
|
152
155
|
props: { severity: "error", variant: "banner" },
|
|
153
156
|
style: {
|
|
154
157
|
backgroundColor: theme.palette.alert.lightest,
|
|
155
|
-
border: `1px solid ${theme.palette.alert.main}${
|
|
158
|
+
border: `1px solid ${theme.palette.alert.main}${alpha32}`,
|
|
156
159
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
157
160
|
"& .MuiAlert-icon": {
|
|
158
161
|
color: theme.palette.alert.main,
|
|
@@ -163,7 +166,7 @@ const MuiAlert = (theme) => {
|
|
|
163
166
|
props: { severity: "info", variant: "banner" },
|
|
164
167
|
style: {
|
|
165
168
|
backgroundColor: theme.palette.info.lightest,
|
|
166
|
-
border: `1px solid ${theme.palette.info.main}${
|
|
169
|
+
border: `1px solid ${theme.palette.info.main}${alpha32}`,
|
|
167
170
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
168
171
|
"& .MuiAlert-icon": {
|
|
169
172
|
color: theme.palette.info.main,
|
|
@@ -174,7 +177,7 @@ const MuiAlert = (theme) => {
|
|
|
174
177
|
props: { severity: "success", variant: "banner" },
|
|
175
178
|
style: {
|
|
176
179
|
backgroundColor: theme.palette.success.lightest,
|
|
177
|
-
border: `1px solid ${theme.palette.success.main}${
|
|
180
|
+
border: `1px solid ${theme.palette.success.main}${alpha32}`,
|
|
178
181
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
179
182
|
"& .MuiAlert-icon": {
|
|
180
183
|
color: theme.palette.success.main,
|
|
@@ -185,7 +188,7 @@ const MuiAlert = (theme) => {
|
|
|
185
188
|
props: { severity: "warning", variant: "banner" },
|
|
186
189
|
style: {
|
|
187
190
|
backgroundColor: theme.palette.warning.lightest,
|
|
188
|
-
border: `1px solid ${theme.palette.warning.main}${
|
|
191
|
+
border: `1px solid ${theme.palette.warning.main}${alpha32}`,
|
|
189
192
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
190
193
|
"& .MuiAlert-icon": {
|
|
191
194
|
color: theme.palette.warning.main,
|
|
@@ -195,24 +198,25 @@ const MuiAlert = (theme) => {
|
|
|
195
198
|
],
|
|
196
199
|
};
|
|
197
200
|
};
|
|
198
|
-
exports.MuiAlert = MuiAlert;
|
|
199
201
|
/**
|
|
200
202
|
* MuiAlertTitle Component
|
|
201
203
|
* @param theme - Theme.
|
|
202
204
|
* @returns MuiAlertTitle component theme styles.
|
|
203
205
|
*/
|
|
204
|
-
const MuiAlertTitle = (theme) => {
|
|
206
|
+
export const MuiAlertTitle = (theme) => {
|
|
205
207
|
return {
|
|
206
208
|
styleOverrides: {
|
|
207
|
-
root:
|
|
209
|
+
root: {
|
|
210
|
+
...theme.typography[TEXT_BODY_LARGE_500],
|
|
211
|
+
margin: 0,
|
|
212
|
+
},
|
|
208
213
|
},
|
|
209
214
|
};
|
|
210
215
|
};
|
|
211
|
-
exports.MuiAlertTitle = MuiAlertTitle;
|
|
212
216
|
/**
|
|
213
217
|
* MuiAppBar Component
|
|
214
218
|
*/
|
|
215
|
-
|
|
219
|
+
export const MuiAppBar = {
|
|
216
220
|
defaultProps: {
|
|
217
221
|
color: "default",
|
|
218
222
|
elevation: 0,
|
|
@@ -220,7 +224,7 @@ exports.MuiAppBar = {
|
|
|
220
224
|
},
|
|
221
225
|
styleOverrides: {
|
|
222
226
|
colorDefault: {
|
|
223
|
-
backgroundColor:
|
|
227
|
+
backgroundColor: white,
|
|
224
228
|
},
|
|
225
229
|
},
|
|
226
230
|
};
|
|
@@ -229,35 +233,38 @@ exports.MuiAppBar = {
|
|
|
229
233
|
* @param theme - Theme.
|
|
230
234
|
* @returns MuiBackdrop component theme styles.
|
|
231
235
|
*/
|
|
232
|
-
const MuiBackdrop = (theme) => {
|
|
236
|
+
export const MuiBackdrop = (theme) => {
|
|
233
237
|
return {
|
|
234
238
|
styleOverrides: {
|
|
235
239
|
invisible: {
|
|
236
240
|
backgroundColor: "transparent",
|
|
237
241
|
},
|
|
238
242
|
root: {
|
|
239
|
-
backgroundColor: `${theme.palette.ink.main}${
|
|
243
|
+
backgroundColor: `${theme.palette.ink.main}${alpha80}`,
|
|
240
244
|
},
|
|
241
245
|
},
|
|
242
246
|
};
|
|
243
247
|
};
|
|
244
|
-
exports.MuiBackdrop = MuiBackdrop;
|
|
245
248
|
/**
|
|
246
249
|
* MuiBreadcrumbs Component
|
|
247
250
|
* @param theme - Theme.
|
|
248
251
|
* @returns MuiBreadcrumbs component theme styles.
|
|
249
252
|
*/
|
|
250
|
-
const MuiBreadcrumbs = (theme) => {
|
|
253
|
+
export const MuiBreadcrumbs = (theme) => {
|
|
251
254
|
return {
|
|
252
255
|
styleOverrides: {
|
|
253
|
-
li:
|
|
256
|
+
li: {
|
|
257
|
+
...theme.typography[TEXT_BODY_SMALL_400],
|
|
258
|
+
margin: 0,
|
|
254
259
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
255
260
|
"& .MuiLink-root": {
|
|
256
261
|
color: "inherit",
|
|
257
|
-
},
|
|
262
|
+
},
|
|
263
|
+
"& .MuiTypography-root": {
|
|
258
264
|
color: "inherit",
|
|
259
265
|
font: "inherit",
|
|
260
|
-
}
|
|
266
|
+
},
|
|
267
|
+
},
|
|
261
268
|
ol: {
|
|
262
269
|
gap: 2,
|
|
263
270
|
},
|
|
@@ -270,13 +277,12 @@ const MuiBreadcrumbs = (theme) => {
|
|
|
270
277
|
},
|
|
271
278
|
};
|
|
272
279
|
};
|
|
273
|
-
exports.MuiBreadcrumbs = MuiBreadcrumbs;
|
|
274
280
|
/**
|
|
275
281
|
* MuiButton Component
|
|
276
282
|
* @param theme - Theme.
|
|
277
283
|
* @returns MuiButton component theme styles.
|
|
278
284
|
*/
|
|
279
|
-
const MuiButton = (theme) => {
|
|
285
|
+
export const MuiButton = (theme) => {
|
|
280
286
|
return {
|
|
281
287
|
defaultProps: {
|
|
282
288
|
disableRipple: true,
|
|
@@ -307,17 +313,17 @@ const MuiButton = (theme) => {
|
|
|
307
313
|
},
|
|
308
314
|
containedSecondary: {
|
|
309
315
|
backgroundColor: theme.palette.common.white,
|
|
310
|
-
boxShadow: `inset 0 0 0 1px ${theme.palette.smoke.dark}, 0 1px 0 0 ${
|
|
316
|
+
boxShadow: `inset 0 0 0 1px ${theme.palette.smoke.dark}, 0 1px 0 0 ${black08}`,
|
|
311
317
|
color: theme.palette.ink.main,
|
|
312
318
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
313
319
|
"&.Mui-focusVisible": {
|
|
314
320
|
backgroundColor: theme.palette.common.white,
|
|
315
|
-
boxShadow: `inset 0 0 0 1px ${theme.palette.smoke.dark}, 0 1px 0 0 ${
|
|
321
|
+
boxShadow: `inset 0 0 0 1px ${theme.palette.smoke.dark}, 0 1px 0 0 ${black08}`,
|
|
316
322
|
},
|
|
317
323
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
318
324
|
"&:hover": {
|
|
319
325
|
backgroundColor: theme.palette.smoke.lightest,
|
|
320
|
-
boxShadow: `inset 0 0 0 1px ${theme.palette.smoke.dark}, 0 1px 0 0 ${
|
|
326
|
+
boxShadow: `inset 0 0 0 1px ${theme.palette.smoke.dark}, 0 1px 0 0 ${black08}`,
|
|
321
327
|
},
|
|
322
328
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
323
329
|
"&:active": {
|
|
@@ -326,7 +332,7 @@ const MuiButton = (theme) => {
|
|
|
326
332
|
},
|
|
327
333
|
"&:disabled": {
|
|
328
334
|
backgroundColor: theme.palette.common.white,
|
|
329
|
-
boxShadow: `inset 0 0 0 1px ${theme.palette.smoke.dark}, 0 1px 0 0 ${
|
|
335
|
+
boxShadow: `inset 0 0 0 1px ${theme.palette.smoke.dark}, 0 1px 0 0 ${black08}`,
|
|
330
336
|
color: theme.palette.ink.main,
|
|
331
337
|
opacity: 0.5,
|
|
332
338
|
},
|
|
@@ -337,24 +343,30 @@ const MuiButton = (theme) => {
|
|
|
337
343
|
outlinedSecondary: {
|
|
338
344
|
backgroundColor: "transparent",
|
|
339
345
|
border: "none",
|
|
340
|
-
boxShadow: `inset 0 0 0 1px ${theme.palette.ink.main}${
|
|
346
|
+
boxShadow: `inset 0 0 0 1px ${theme.palette.ink.main}${alpha32}`,
|
|
341
347
|
color: theme.palette.ink.main,
|
|
342
348
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
343
349
|
"&:hover": {
|
|
344
350
|
backgroundColor: "transparent",
|
|
345
351
|
border: "none",
|
|
346
|
-
boxShadow: `inset 0 0 0 1px ${theme.palette.ink.main}${
|
|
352
|
+
boxShadow: `inset 0 0 0 1px ${theme.palette.ink.main}${alpha64}`,
|
|
347
353
|
},
|
|
348
354
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
349
355
|
"&:disabled": {
|
|
350
356
|
backgroundColor: "transparent",
|
|
351
357
|
border: "none",
|
|
352
|
-
boxShadow: `inset 0 0 0 1px ${theme.palette.ink.main}${
|
|
358
|
+
boxShadow: `inset 0 0 0 1px ${theme.palette.ink.main}${alpha32}`,
|
|
353
359
|
color: theme.palette.ink.main,
|
|
354
360
|
opacity: 0.5,
|
|
355
361
|
},
|
|
356
362
|
},
|
|
357
|
-
root:
|
|
363
|
+
root: {
|
|
364
|
+
...theme.typography[TEXT_BODY_500],
|
|
365
|
+
gap: 4,
|
|
366
|
+
letterSpacing: "normal",
|
|
367
|
+
padding: "10px 16px",
|
|
368
|
+
textTransform: "capitalize",
|
|
369
|
+
},
|
|
358
370
|
sizeSmall: {
|
|
359
371
|
padding: "6px 12px",
|
|
360
372
|
},
|
|
@@ -375,22 +387,27 @@ const MuiButton = (theme) => {
|
|
|
375
387
|
props: {
|
|
376
388
|
variant: "nav",
|
|
377
389
|
},
|
|
378
|
-
style:
|
|
390
|
+
style: {
|
|
391
|
+
...theme.typography[TEXT_BODY_500],
|
|
392
|
+
color: theme.palette.ink.main,
|
|
393
|
+
minWidth: 0,
|
|
394
|
+
textTransform: "capitalize",
|
|
395
|
+
whiteSpace: "nowrap",
|
|
379
396
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
380
397
|
"&:hover": {
|
|
381
398
|
backgroundColor: theme.palette.smoke.light,
|
|
382
|
-
}
|
|
399
|
+
},
|
|
400
|
+
},
|
|
383
401
|
},
|
|
384
402
|
],
|
|
385
403
|
};
|
|
386
404
|
};
|
|
387
|
-
exports.MuiButton = MuiButton;
|
|
388
405
|
/**
|
|
389
406
|
* MuiButtonBase Component
|
|
390
407
|
* @param theme - Theme.
|
|
391
408
|
* @returns MuiButtonBase component theme styles.
|
|
392
409
|
*/
|
|
393
|
-
const MuiButtonBase = (theme) => {
|
|
410
|
+
export const MuiButtonBase = (theme) => {
|
|
394
411
|
return {
|
|
395
412
|
defaultProps: {
|
|
396
413
|
disableRipple: true,
|
|
@@ -404,13 +421,12 @@ const MuiButtonBase = (theme) => {
|
|
|
404
421
|
},
|
|
405
422
|
};
|
|
406
423
|
};
|
|
407
|
-
exports.MuiButtonBase = MuiButtonBase;
|
|
408
424
|
/**
|
|
409
425
|
* MuiButtonGroup Component
|
|
410
426
|
* @param theme - Theme.
|
|
411
427
|
* @returns MuiButtonGroup component theme styles.
|
|
412
428
|
*/
|
|
413
|
-
const MuiButtonGroup = (theme) => {
|
|
429
|
+
export const MuiButtonGroup = (theme) => {
|
|
414
430
|
return {
|
|
415
431
|
defaultProps: {
|
|
416
432
|
disableElevation: true,
|
|
@@ -436,11 +452,10 @@ const MuiButtonGroup = (theme) => {
|
|
|
436
452
|
},
|
|
437
453
|
};
|
|
438
454
|
};
|
|
439
|
-
exports.MuiButtonGroup = MuiButtonGroup;
|
|
440
455
|
/**
|
|
441
456
|
* MuiCard Component
|
|
442
457
|
*/
|
|
443
|
-
|
|
458
|
+
export const MuiCard = {
|
|
444
459
|
styleOverrides: {
|
|
445
460
|
root: {
|
|
446
461
|
borderRadius: 8,
|
|
@@ -452,7 +467,7 @@ exports.MuiCard = {
|
|
|
452
467
|
* @param theme - Theme.
|
|
453
468
|
* @returns MuiCheckbox component theme styles.
|
|
454
469
|
*/
|
|
455
|
-
const MuiCheckbox = (theme) => {
|
|
470
|
+
export const MuiCheckbox = (theme) => {
|
|
456
471
|
return {
|
|
457
472
|
defaultProps: {
|
|
458
473
|
size: "xsmall",
|
|
@@ -479,13 +494,12 @@ const MuiCheckbox = (theme) => {
|
|
|
479
494
|
],
|
|
480
495
|
};
|
|
481
496
|
};
|
|
482
|
-
exports.MuiCheckbox = MuiCheckbox;
|
|
483
497
|
/**
|
|
484
498
|
* MuiChip Component
|
|
485
499
|
* @param theme - Theme.
|
|
486
500
|
* @returns MuiChip component theme styles.
|
|
487
501
|
*/
|
|
488
|
-
const MuiChip = (theme) => {
|
|
502
|
+
export const MuiChip = (theme) => {
|
|
489
503
|
return {
|
|
490
504
|
defaultProps: {
|
|
491
505
|
size: "small",
|
|
@@ -534,30 +548,49 @@ const MuiChip = (theme) => {
|
|
|
534
548
|
},
|
|
535
549
|
{
|
|
536
550
|
props: { variant: "filterTag" },
|
|
537
|
-
style:
|
|
551
|
+
style: {
|
|
552
|
+
...theme.typography[TEXT_BODY_SMALL_500],
|
|
553
|
+
cursor: "pointer",
|
|
554
|
+
gap: 2,
|
|
555
|
+
height: 24,
|
|
556
|
+
justifySelf: FLEX_START,
|
|
557
|
+
padding: "0 8px",
|
|
538
558
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
539
559
|
"& .MuiChip-label": {
|
|
540
560
|
padding: 0,
|
|
541
|
-
}
|
|
561
|
+
},
|
|
562
|
+
},
|
|
542
563
|
},
|
|
543
564
|
{
|
|
544
565
|
props: { variant: "ntag" },
|
|
545
|
-
style:
|
|
566
|
+
style: {
|
|
567
|
+
...theme.typography[TEXT_BODY_SMALL_400],
|
|
568
|
+
backgroundColor: theme.palette.smoke.main,
|
|
569
|
+
boxShadow: `0 0 0 2px ${white}`,
|
|
570
|
+
height: 24,
|
|
571
|
+
justifySelf: FLEX_START,
|
|
572
|
+
minWidth: 0,
|
|
573
|
+
},
|
|
546
574
|
},
|
|
547
575
|
{
|
|
548
576
|
props: { variant: "status" },
|
|
549
|
-
style:
|
|
577
|
+
style: {
|
|
578
|
+
...theme.typography[TEXT_BODY_SMALL_500],
|
|
579
|
+
boxShadow: `0 0 0 2px ${white}`,
|
|
580
|
+
height: 20,
|
|
581
|
+
maxWidth: "fit-content",
|
|
582
|
+
minWidth: 0,
|
|
583
|
+
},
|
|
550
584
|
},
|
|
551
585
|
],
|
|
552
586
|
};
|
|
553
587
|
};
|
|
554
|
-
exports.MuiChip = MuiChip;
|
|
555
588
|
/**
|
|
556
589
|
* MuiCircularProgress Component
|
|
557
590
|
* @param theme - Theme.
|
|
558
591
|
* @returns MuiCircularProgress component theme styles.
|
|
559
592
|
*/
|
|
560
|
-
const MuiCircularProgress = (theme) => {
|
|
593
|
+
export const MuiCircularProgress = (theme) => {
|
|
561
594
|
return {
|
|
562
595
|
styleOverrides: {
|
|
563
596
|
circle: {
|
|
@@ -576,13 +609,12 @@ const MuiCircularProgress = (theme) => {
|
|
|
576
609
|
],
|
|
577
610
|
};
|
|
578
611
|
};
|
|
579
|
-
exports.MuiCircularProgress = MuiCircularProgress;
|
|
580
612
|
/**
|
|
581
613
|
* MuiCssBaseline Component
|
|
582
614
|
* @param theme - Theme.
|
|
583
615
|
* @returns MuiCssBaseline component theme styles.
|
|
584
616
|
*/
|
|
585
|
-
const MuiCssBaseline = (theme) => {
|
|
617
|
+
export const MuiCssBaseline = (theme) => {
|
|
586
618
|
return {
|
|
587
619
|
styleOverrides: {
|
|
588
620
|
a: {
|
|
@@ -596,7 +628,11 @@ const MuiCssBaseline = (theme) => {
|
|
|
596
628
|
body: {
|
|
597
629
|
fontFamily: theme.typography.fontFamily,
|
|
598
630
|
},
|
|
599
|
-
code:
|
|
631
|
+
code: {
|
|
632
|
+
...theme.typography[TEXT_BODY_400_2_LINES],
|
|
633
|
+
fontFamily: "Roboto Mono, monospace",
|
|
634
|
+
fontSize: 12,
|
|
635
|
+
},
|
|
600
636
|
img: {
|
|
601
637
|
display: "block",
|
|
602
638
|
},
|
|
@@ -618,13 +654,12 @@ const MuiCssBaseline = (theme) => {
|
|
|
618
654
|
},
|
|
619
655
|
};
|
|
620
656
|
};
|
|
621
|
-
exports.MuiCssBaseline = MuiCssBaseline;
|
|
622
657
|
/**
|
|
623
658
|
* MuiDialog Component
|
|
624
659
|
* @param theme - Theme.
|
|
625
660
|
* @returns MuiDialog component theme styles.
|
|
626
661
|
*/
|
|
627
|
-
const MuiDialog = (theme) => {
|
|
662
|
+
export const MuiDialog = (theme) => {
|
|
628
663
|
return {
|
|
629
664
|
styleOverrides: {
|
|
630
665
|
paper: {
|
|
@@ -633,17 +668,16 @@ const MuiDialog = (theme) => {
|
|
|
633
668
|
root: {
|
|
634
669
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
635
670
|
"& .MuiBackdrop-root": {
|
|
636
|
-
backgroundColor: `${theme.palette.ink.main}${
|
|
671
|
+
backgroundColor: `${theme.palette.ink.main}${alpha60}`,
|
|
637
672
|
},
|
|
638
673
|
},
|
|
639
674
|
},
|
|
640
675
|
};
|
|
641
676
|
};
|
|
642
|
-
exports.MuiDialog = MuiDialog;
|
|
643
677
|
/**
|
|
644
678
|
* MuiDialogActions Component
|
|
645
679
|
*/
|
|
646
|
-
|
|
680
|
+
export const MuiDialogActions = {
|
|
647
681
|
styleOverrides: {
|
|
648
682
|
root: {
|
|
649
683
|
padding: 20,
|
|
@@ -655,7 +689,7 @@ exports.MuiDialogActions = {
|
|
|
655
689
|
* @param theme - Theme.
|
|
656
690
|
* @returns MuiDialogContent component theme styles.
|
|
657
691
|
*/
|
|
658
|
-
const MuiDialogContent = (theme) => {
|
|
692
|
+
export const MuiDialogContent = (theme) => {
|
|
659
693
|
return {
|
|
660
694
|
styleOverrides: {
|
|
661
695
|
root: {
|
|
@@ -665,31 +699,36 @@ const MuiDialogContent = (theme) => {
|
|
|
665
699
|
},
|
|
666
700
|
};
|
|
667
701
|
};
|
|
668
|
-
exports.MuiDialogContent = MuiDialogContent;
|
|
669
702
|
/**
|
|
670
703
|
* MuiDialogTitle Component
|
|
671
704
|
* @param theme - Theme.
|
|
672
705
|
* @returns MuiDialogTitle component theme styles.
|
|
673
706
|
*/
|
|
674
|
-
const MuiDialogTitle = (theme) => {
|
|
707
|
+
export const MuiDialogTitle = (theme) => {
|
|
675
708
|
return {
|
|
676
709
|
styleOverrides: {
|
|
677
|
-
root:
|
|
710
|
+
root: {
|
|
711
|
+
...theme.typography[TEXT_HEADING],
|
|
712
|
+
alignItems: "center",
|
|
713
|
+
display: "grid",
|
|
714
|
+
gridAutoFlow: "column",
|
|
715
|
+
padding: 20,
|
|
716
|
+
[tabletUp]: {},
|
|
678
717
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
679
718
|
"& .MuiIconButton-edgeEnd": {
|
|
680
719
|
alignSelf: FLEX_START,
|
|
681
720
|
justifySelf: "flex-end",
|
|
682
|
-
}
|
|
721
|
+
},
|
|
722
|
+
},
|
|
683
723
|
},
|
|
684
724
|
};
|
|
685
725
|
};
|
|
686
|
-
exports.MuiDialogTitle = MuiDialogTitle;
|
|
687
726
|
/**
|
|
688
727
|
* MuiDivider Component
|
|
689
728
|
* @param theme - Theme.
|
|
690
729
|
* @returns MuiDivider component theme styles.
|
|
691
730
|
*/
|
|
692
|
-
const MuiDivider = (theme) => {
|
|
731
|
+
export const MuiDivider = (theme) => {
|
|
693
732
|
return {
|
|
694
733
|
styleOverrides: {
|
|
695
734
|
root: {
|
|
@@ -698,11 +737,10 @@ const MuiDivider = (theme) => {
|
|
|
698
737
|
},
|
|
699
738
|
};
|
|
700
739
|
};
|
|
701
|
-
exports.MuiDivider = MuiDivider;
|
|
702
740
|
/**
|
|
703
741
|
* MuiDrawer Component
|
|
704
742
|
*/
|
|
705
|
-
|
|
743
|
+
export const MuiDrawer = {
|
|
706
744
|
styleOverrides: {
|
|
707
745
|
paper: {
|
|
708
746
|
overflowY: "visible", // required; allows backdrop button to render outside of drawer container
|
|
@@ -714,10 +752,12 @@ exports.MuiDrawer = {
|
|
|
714
752
|
* @param theme - Theme.
|
|
715
753
|
* @returns MuiFormControlLabel component theme styles.
|
|
716
754
|
*/
|
|
717
|
-
const MuiFormControlLabel = (theme) => {
|
|
755
|
+
export const MuiFormControlLabel = (theme) => {
|
|
718
756
|
return {
|
|
719
757
|
styleOverrides: {
|
|
720
|
-
label:
|
|
758
|
+
label: {
|
|
759
|
+
...theme.typography[TEXT_BODY_400],
|
|
760
|
+
},
|
|
721
761
|
root: {
|
|
722
762
|
gap: 8,
|
|
723
763
|
margin: 0,
|
|
@@ -725,11 +765,10 @@ const MuiFormControlLabel = (theme) => {
|
|
|
725
765
|
},
|
|
726
766
|
};
|
|
727
767
|
};
|
|
728
|
-
exports.MuiFormControlLabel = MuiFormControlLabel;
|
|
729
768
|
/**
|
|
730
769
|
* MuiFormGroup Component
|
|
731
770
|
*/
|
|
732
|
-
|
|
771
|
+
export const MuiFormGroup = {
|
|
733
772
|
styleOverrides: {
|
|
734
773
|
root: {
|
|
735
774
|
alignItems: FLEX_START,
|
|
@@ -742,24 +781,25 @@ exports.MuiFormGroup = {
|
|
|
742
781
|
* @param theme - Theme.
|
|
743
782
|
* @returns MuiFormHelperText component theme styles.
|
|
744
783
|
*/
|
|
745
|
-
const MuiFormHelperText = (theme) => {
|
|
784
|
+
export const MuiFormHelperText = (theme) => {
|
|
746
785
|
return {
|
|
747
786
|
styleOverrides: {
|
|
748
|
-
root:
|
|
787
|
+
root: {
|
|
788
|
+
...theme.typography[TEXT_BODY_SMALL_400],
|
|
749
789
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
750
790
|
"&.Mui-error": {
|
|
751
791
|
color: theme.palette.alert.main,
|
|
752
|
-
}
|
|
792
|
+
},
|
|
793
|
+
},
|
|
753
794
|
},
|
|
754
795
|
};
|
|
755
796
|
};
|
|
756
|
-
exports.MuiFormHelperText = MuiFormHelperText;
|
|
757
797
|
/**
|
|
758
798
|
* MuiIconButton Component
|
|
759
799
|
* @param theme - Theme.
|
|
760
800
|
* @returns MuiIconButton component theme styles.
|
|
761
801
|
*/
|
|
762
|
-
const MuiIconButton = (theme) => {
|
|
802
|
+
export const MuiIconButton = (theme) => {
|
|
763
803
|
return {
|
|
764
804
|
defaultProps: {
|
|
765
805
|
disableRipple: true,
|
|
@@ -845,13 +885,12 @@ const MuiIconButton = (theme) => {
|
|
|
845
885
|
],
|
|
846
886
|
};
|
|
847
887
|
};
|
|
848
|
-
exports.MuiIconButton = MuiIconButton;
|
|
849
888
|
/**
|
|
850
889
|
* MuiInputBase Component
|
|
851
890
|
* @param theme - Theme.
|
|
852
891
|
* @returns MuiInputBase component theme styles.
|
|
853
892
|
*/
|
|
854
|
-
const MuiInputBase = (theme) => {
|
|
893
|
+
export const MuiInputBase = (theme) => {
|
|
855
894
|
return {
|
|
856
895
|
styleOverrides: {
|
|
857
896
|
adornedStart: {
|
|
@@ -860,19 +899,23 @@ const MuiInputBase = (theme) => {
|
|
|
860
899
|
multiline: {
|
|
861
900
|
height: "unset",
|
|
862
901
|
},
|
|
863
|
-
root:
|
|
902
|
+
root: {
|
|
903
|
+
...theme.typography[TEXT_BODY_400],
|
|
904
|
+
fontSize: 16,
|
|
905
|
+
height: 40,
|
|
906
|
+
letterSpacing: "normal",
|
|
864
907
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
865
|
-
[
|
|
866
|
-
fontSize: theme.typography[
|
|
867
|
-
}
|
|
908
|
+
[tabletUp]: {
|
|
909
|
+
fontSize: theme.typography[TEXT_BODY_400].fontSize,
|
|
910
|
+
},
|
|
911
|
+
},
|
|
868
912
|
},
|
|
869
913
|
};
|
|
870
914
|
};
|
|
871
|
-
exports.MuiInputBase = MuiInputBase;
|
|
872
915
|
/**
|
|
873
916
|
* MuiLink Component
|
|
874
917
|
*/
|
|
875
|
-
|
|
918
|
+
export const MuiLink = {
|
|
876
919
|
defaultProps: {
|
|
877
920
|
underline: "hover",
|
|
878
921
|
},
|
|
@@ -887,14 +930,17 @@ exports.MuiLink = {
|
|
|
887
930
|
* @param theme - Theme.
|
|
888
931
|
* @returns MuiListItemButton component theme styles.
|
|
889
932
|
*/
|
|
890
|
-
const MuiListItemButton = (theme) => {
|
|
933
|
+
export const MuiListItemButton = (theme) => {
|
|
891
934
|
return {
|
|
892
935
|
styleOverrides: {
|
|
893
|
-
root:
|
|
936
|
+
root: {
|
|
937
|
+
...theme.typography[TEXT_BODY_400],
|
|
938
|
+
minHeight: "unset",
|
|
939
|
+
padding: "10px 16px",
|
|
894
940
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
895
941
|
"&:hover": {
|
|
896
942
|
backgroundColor: theme.palette.smoke.light,
|
|
897
|
-
},
|
|
943
|
+
},
|
|
898
944
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
899
945
|
"&.Mui-selected": {
|
|
900
946
|
backgroundColor: "unset",
|
|
@@ -902,15 +948,15 @@ const MuiListItemButton = (theme) => {
|
|
|
902
948
|
"&:hover": {
|
|
903
949
|
backgroundColor: theme.palette.smoke.light,
|
|
904
950
|
},
|
|
905
|
-
}
|
|
951
|
+
},
|
|
952
|
+
},
|
|
906
953
|
},
|
|
907
954
|
};
|
|
908
955
|
};
|
|
909
|
-
exports.MuiListItemButton = MuiListItemButton;
|
|
910
956
|
/**
|
|
911
957
|
* MuiListItemText Component
|
|
912
958
|
*/
|
|
913
|
-
|
|
959
|
+
export const MuiListItemText = {
|
|
914
960
|
styleOverrides: {
|
|
915
961
|
root: {
|
|
916
962
|
margin: 0,
|
|
@@ -922,35 +968,40 @@ exports.MuiListItemText = {
|
|
|
922
968
|
* @param theme - Theme.
|
|
923
969
|
* @returns MuiListSubheader component theme styles.
|
|
924
970
|
*/
|
|
925
|
-
const MuiListSubheader = (theme) => {
|
|
971
|
+
export const MuiListSubheader = (theme) => {
|
|
926
972
|
return {
|
|
927
973
|
defaultProps: { disableSticky: true },
|
|
928
974
|
styleOverrides: {
|
|
929
|
-
root:
|
|
975
|
+
root: {
|
|
976
|
+
...theme.typography[TEXT_BODY_500],
|
|
977
|
+
color: theme.palette.ink.main,
|
|
978
|
+
},
|
|
930
979
|
},
|
|
931
980
|
};
|
|
932
981
|
};
|
|
933
|
-
exports.MuiListSubheader = MuiListSubheader;
|
|
934
982
|
/**
|
|
935
983
|
* MuiMenuItem Component
|
|
936
984
|
* @param theme - Theme.
|
|
937
985
|
* @returns MuiMenuItem component theme styles.
|
|
938
986
|
*/
|
|
939
|
-
const MuiMenuItem = (theme) => {
|
|
987
|
+
export const MuiMenuItem = (theme) => {
|
|
940
988
|
return {
|
|
941
989
|
defaultProps: { disableRipple: true },
|
|
942
990
|
styleOverrides: {
|
|
943
|
-
root:
|
|
991
|
+
root: {
|
|
992
|
+
...theme.typography[TEXT_BODY_400],
|
|
993
|
+
minHeight: "unset",
|
|
994
|
+
padding: "10px 16px",
|
|
995
|
+
},
|
|
944
996
|
},
|
|
945
997
|
};
|
|
946
998
|
};
|
|
947
|
-
exports.MuiMenuItem = MuiMenuItem;
|
|
948
999
|
/**
|
|
949
1000
|
* MuiOutlinedInput Component
|
|
950
1001
|
* @param theme - Theme.
|
|
951
1002
|
* @returns MuiOutlinedInput component theme styles.
|
|
952
1003
|
*/
|
|
953
|
-
const MuiOutlinedInput = (theme) => {
|
|
1004
|
+
export const MuiOutlinedInput = (theme) => {
|
|
954
1005
|
return {
|
|
955
1006
|
styleOverrides: {
|
|
956
1007
|
input: {
|
|
@@ -966,8 +1017,8 @@ const MuiOutlinedInput = (theme) => {
|
|
|
966
1017
|
borderColor: theme.palette.smoke.dark,
|
|
967
1018
|
},
|
|
968
1019
|
root: {
|
|
969
|
-
backgroundColor:
|
|
970
|
-
boxShadow: `inset 0 2px 0 0 ${
|
|
1020
|
+
backgroundColor: white,
|
|
1021
|
+
boxShadow: `inset 0 2px 0 0 ${black04}`,
|
|
971
1022
|
paddingLeft: 12,
|
|
972
1023
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
973
1024
|
"& .MuiSvgIcon-root": {
|
|
@@ -1010,20 +1061,19 @@ const MuiOutlinedInput = (theme) => {
|
|
|
1010
1061
|
},
|
|
1011
1062
|
};
|
|
1012
1063
|
};
|
|
1013
|
-
exports.MuiOutlinedInput = MuiOutlinedInput;
|
|
1014
1064
|
/**
|
|
1015
1065
|
* MuiPaper Component
|
|
1016
1066
|
* @param theme - Theme.
|
|
1017
1067
|
* @returns MuiPaper component theme styles.
|
|
1018
1068
|
*/
|
|
1019
|
-
const MuiPaper = (theme) => {
|
|
1069
|
+
export const MuiPaper = (theme) => {
|
|
1020
1070
|
return {
|
|
1021
1071
|
variants: [
|
|
1022
1072
|
{
|
|
1023
1073
|
props: { variant: "footer" },
|
|
1024
1074
|
style: {
|
|
1025
1075
|
backgroundColor: theme.palette.smoke.light,
|
|
1026
|
-
boxShadow: `${
|
|
1076
|
+
boxShadow: `${strokeTop} ${theme.palette.smoke.main}, ${strokeBottom} ${theme.palette.smoke.main}`,
|
|
1027
1077
|
},
|
|
1028
1078
|
},
|
|
1029
1079
|
{
|
|
@@ -1063,16 +1113,24 @@ const MuiPaper = (theme) => {
|
|
|
1063
1113
|
},
|
|
1064
1114
|
},
|
|
1065
1115
|
},
|
|
1116
|
+
{
|
|
1117
|
+
props: { variant: "table" },
|
|
1118
|
+
style: {
|
|
1119
|
+
borderColor: theme.palette.smoke.main,
|
|
1120
|
+
borderStyle: "solid",
|
|
1121
|
+
borderWidth: 1,
|
|
1122
|
+
boxShadow: theme.shadows[1], // elevation01
|
|
1123
|
+
},
|
|
1124
|
+
},
|
|
1066
1125
|
],
|
|
1067
1126
|
};
|
|
1068
1127
|
};
|
|
1069
|
-
exports.MuiPaper = MuiPaper;
|
|
1070
1128
|
/**
|
|
1071
1129
|
* MuiRadio Component
|
|
1072
1130
|
* @param theme - Theme.
|
|
1073
1131
|
* @returns MuiRadio component theme styles.
|
|
1074
1132
|
*/
|
|
1075
|
-
const MuiRadio = (theme) => {
|
|
1133
|
+
export const MuiRadio = (theme) => {
|
|
1076
1134
|
return {
|
|
1077
1135
|
defaultProps: {
|
|
1078
1136
|
disableRipple: true,
|
|
@@ -1101,13 +1159,12 @@ const MuiRadio = (theme) => {
|
|
|
1101
1159
|
},
|
|
1102
1160
|
};
|
|
1103
1161
|
};
|
|
1104
|
-
exports.MuiRadio = MuiRadio;
|
|
1105
1162
|
/**
|
|
1106
1163
|
* MuiSelect Component
|
|
1107
1164
|
*/
|
|
1108
|
-
|
|
1165
|
+
export const MuiSelect = {
|
|
1109
1166
|
defaultProps: {
|
|
1110
|
-
IconComponent:
|
|
1167
|
+
IconComponent: DropDownIcon,
|
|
1111
1168
|
},
|
|
1112
1169
|
styleOverrides: {
|
|
1113
1170
|
select: {
|
|
@@ -1121,7 +1178,7 @@ exports.MuiSelect = {
|
|
|
1121
1178
|
* @param theme - Theme.
|
|
1122
1179
|
* @returns MuiSvgIcon component theme styles.
|
|
1123
1180
|
*/
|
|
1124
|
-
const MuiSvgIcon = (theme) => {
|
|
1181
|
+
export const MuiSvgIcon = (theme) => {
|
|
1125
1182
|
return {
|
|
1126
1183
|
styleOverrides: {
|
|
1127
1184
|
fontSizeLarge: {
|
|
@@ -1189,13 +1246,12 @@ const MuiSvgIcon = (theme) => {
|
|
|
1189
1246
|
],
|
|
1190
1247
|
};
|
|
1191
1248
|
};
|
|
1192
|
-
exports.MuiSvgIcon = MuiSvgIcon;
|
|
1193
1249
|
/**
|
|
1194
1250
|
* MuiTab Component
|
|
1195
1251
|
* @param theme - Theme.
|
|
1196
1252
|
* @returns MuiTab component theme styles.
|
|
1197
1253
|
*/
|
|
1198
|
-
const MuiTab = (theme) => {
|
|
1254
|
+
export const MuiTab = (theme) => {
|
|
1199
1255
|
return {
|
|
1200
1256
|
styleOverrides: {
|
|
1201
1257
|
labelIcon: {
|
|
@@ -1205,29 +1261,42 @@ const MuiTab = (theme) => {
|
|
|
1205
1261
|
maxHeight: 20, // Tab image max height.
|
|
1206
1262
|
},
|
|
1207
1263
|
},
|
|
1208
|
-
root:
|
|
1264
|
+
root: {
|
|
1265
|
+
...theme.typography[TEXT_BODY_500],
|
|
1266
|
+
color: theme.palette.ink.light,
|
|
1267
|
+
marginBottom: 3,
|
|
1268
|
+
minHeight: "unset",
|
|
1269
|
+
minWidth: "unset",
|
|
1270
|
+
opacity: 1,
|
|
1271
|
+
padding: 12,
|
|
1272
|
+
textTransform: "capitalize",
|
|
1209
1273
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
1210
1274
|
"&.Mui-selected": {
|
|
1211
1275
|
color: theme.palette.ink.main,
|
|
1212
|
-
},
|
|
1276
|
+
},
|
|
1213
1277
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
1214
1278
|
"& > .MuiTab-iconWrapper": {
|
|
1215
1279
|
marginRight: 0,
|
|
1216
|
-
}
|
|
1280
|
+
},
|
|
1281
|
+
},
|
|
1217
1282
|
},
|
|
1218
1283
|
};
|
|
1219
1284
|
};
|
|
1220
|
-
exports.MuiTab = MuiTab;
|
|
1221
1285
|
/**
|
|
1222
1286
|
* MuiTableCell Component
|
|
1223
1287
|
* @param theme - Theme.
|
|
1224
1288
|
* @returns MuiTableCell component theme styles.
|
|
1225
1289
|
*/
|
|
1226
|
-
const MuiTableCell = (theme) => {
|
|
1290
|
+
export const MuiTableCell = (theme) => {
|
|
1227
1291
|
return {
|
|
1228
1292
|
styleOverrides: {
|
|
1229
|
-
body:
|
|
1230
|
-
|
|
1293
|
+
body: {
|
|
1294
|
+
...theme.typography[TEXT_BODY_400],
|
|
1295
|
+
},
|
|
1296
|
+
head: {
|
|
1297
|
+
...theme.typography[TEXT_BODY_SMALL_500],
|
|
1298
|
+
padding: "20px",
|
|
1299
|
+
},
|
|
1231
1300
|
paddingCheckbox: {
|
|
1232
1301
|
paddingRight: 0,
|
|
1233
1302
|
width: "unset",
|
|
@@ -1244,11 +1313,10 @@ const MuiTableCell = (theme) => {
|
|
|
1244
1313
|
},
|
|
1245
1314
|
};
|
|
1246
1315
|
};
|
|
1247
|
-
exports.MuiTableCell = MuiTableCell;
|
|
1248
1316
|
/**
|
|
1249
1317
|
* MuiTableSortLabel Component
|
|
1250
1318
|
*/
|
|
1251
|
-
|
|
1319
|
+
export const MuiTableSortLabel = {
|
|
1252
1320
|
styleOverrides: {
|
|
1253
1321
|
icon: {
|
|
1254
1322
|
fontSize: 20,
|
|
@@ -1277,7 +1345,7 @@ exports.MuiTableSortLabel = {
|
|
|
1277
1345
|
* @param theme - Theme.
|
|
1278
1346
|
* @returns MuiTabs component theme styles.
|
|
1279
1347
|
*/
|
|
1280
|
-
const MuiTabs = (theme) => {
|
|
1348
|
+
export const MuiTabs = (theme) => {
|
|
1281
1349
|
return {
|
|
1282
1350
|
defaultProps: {
|
|
1283
1351
|
textColor: "inherit",
|
|
@@ -1326,7 +1394,7 @@ const MuiTabs = (theme) => {
|
|
|
1326
1394
|
height: 3,
|
|
1327
1395
|
},
|
|
1328
1396
|
root: {
|
|
1329
|
-
boxShadow: `${
|
|
1397
|
+
boxShadow: `${strokeBottom} ${theme.palette.smoke.main}`,
|
|
1330
1398
|
minHeight: "unset",
|
|
1331
1399
|
position: "relative", // Positions scroll fuzz.
|
|
1332
1400
|
},
|
|
@@ -1334,45 +1402,51 @@ const MuiTabs = (theme) => {
|
|
|
1334
1402
|
margin: 0,
|
|
1335
1403
|
padding: "0 8px",
|
|
1336
1404
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
1337
|
-
[
|
|
1405
|
+
[tabletUp]: {
|
|
1338
1406
|
padding: 0,
|
|
1339
1407
|
},
|
|
1340
1408
|
},
|
|
1341
1409
|
},
|
|
1342
1410
|
};
|
|
1343
1411
|
};
|
|
1344
|
-
exports.MuiTabs = MuiTabs;
|
|
1345
1412
|
/**
|
|
1346
1413
|
* MuiToggleButton Component
|
|
1347
1414
|
* @param theme - Theme.
|
|
1348
1415
|
* @returns MuiToggleButton component theme styles.
|
|
1349
1416
|
*/
|
|
1350
|
-
const MuiToggleButton = (theme) => {
|
|
1417
|
+
export const MuiToggleButton = (theme) => {
|
|
1351
1418
|
return {
|
|
1352
1419
|
styleOverrides: {
|
|
1353
|
-
root:
|
|
1420
|
+
root: {
|
|
1421
|
+
...theme.typography[TEXT_BODY_500],
|
|
1422
|
+
backgroundColor: theme.palette.smoke.main,
|
|
1423
|
+
border: "none",
|
|
1424
|
+
borderRadius: 4,
|
|
1425
|
+
color: theme.palette.ink.main,
|
|
1426
|
+
flex: 1,
|
|
1427
|
+
padding: "8px 12px",
|
|
1354
1428
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
1355
1429
|
"&:hover": {
|
|
1356
1430
|
backgroundColor: theme.palette.smoke.lightest,
|
|
1357
|
-
},
|
|
1431
|
+
},
|
|
1358
1432
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
1359
1433
|
"&.Mui-selected": {
|
|
1360
|
-
backgroundColor:
|
|
1434
|
+
backgroundColor: white,
|
|
1361
1435
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
1362
1436
|
"&:hover": {
|
|
1363
|
-
backgroundColor:
|
|
1437
|
+
backgroundColor: white,
|
|
1364
1438
|
},
|
|
1365
|
-
}
|
|
1439
|
+
},
|
|
1440
|
+
},
|
|
1366
1441
|
},
|
|
1367
1442
|
};
|
|
1368
1443
|
};
|
|
1369
|
-
exports.MuiToggleButton = MuiToggleButton;
|
|
1370
1444
|
/**
|
|
1371
1445
|
* MuiToggleButtonGroup Component
|
|
1372
1446
|
* @param theme - Theme.
|
|
1373
1447
|
* @returns MuiToggleButtonGroup component theme styles.
|
|
1374
1448
|
*/
|
|
1375
|
-
const MuiToggleButtonGroup = (theme) => {
|
|
1449
|
+
export const MuiToggleButtonGroup = (theme) => {
|
|
1376
1450
|
return {
|
|
1377
1451
|
styleOverrides: {
|
|
1378
1452
|
grouped: {
|
|
@@ -1392,19 +1466,18 @@ const MuiToggleButtonGroup = (theme) => {
|
|
|
1392
1466
|
},
|
|
1393
1467
|
};
|
|
1394
1468
|
};
|
|
1395
|
-
exports.MuiToggleButtonGroup = MuiToggleButtonGroup;
|
|
1396
1469
|
/**
|
|
1397
1470
|
* MuiToolbar Component
|
|
1398
1471
|
*/
|
|
1399
|
-
|
|
1472
|
+
export const MuiToolbar = {
|
|
1400
1473
|
styleOverrides: {
|
|
1401
1474
|
root: {
|
|
1402
|
-
[
|
|
1475
|
+
[mobileUp]: {
|
|
1403
1476
|
paddingLeft: 12,
|
|
1404
1477
|
paddingRight: 12,
|
|
1405
1478
|
},
|
|
1406
1479
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
1407
|
-
[
|
|
1480
|
+
[desktopUp]: {
|
|
1408
1481
|
paddingLeft: 16,
|
|
1409
1482
|
paddingRight: 16,
|
|
1410
1483
|
},
|
|
@@ -1416,7 +1489,7 @@ exports.MuiToolbar = {
|
|
|
1416
1489
|
* @param theme - Theme.
|
|
1417
1490
|
* @returns MuiTooltip component theme styles.
|
|
1418
1491
|
*/
|
|
1419
|
-
const MuiTooltip = (theme) => {
|
|
1492
|
+
export const MuiTooltip = (theme) => {
|
|
1420
1493
|
return {
|
|
1421
1494
|
defaultProps: {
|
|
1422
1495
|
enterTouchDelay: 0,
|
|
@@ -1431,15 +1504,20 @@ const MuiTooltip = (theme) => {
|
|
|
1431
1504
|
borderRadius: 1,
|
|
1432
1505
|
},
|
|
1433
1506
|
},
|
|
1434
|
-
tooltip:
|
|
1507
|
+
tooltip: {
|
|
1508
|
+
...theme.typography[TEXT_BODY_SMALL_400],
|
|
1509
|
+
backgroundColor: theme.palette.ink.main,
|
|
1510
|
+
boxShadow: theme.shadows[2],
|
|
1511
|
+
boxSizing: "content-box",
|
|
1512
|
+
padding: "8px 12px",
|
|
1513
|
+
},
|
|
1435
1514
|
},
|
|
1436
1515
|
};
|
|
1437
1516
|
};
|
|
1438
|
-
exports.MuiTooltip = MuiTooltip;
|
|
1439
1517
|
/**
|
|
1440
1518
|
* MuiTypography Component
|
|
1441
1519
|
*/
|
|
1442
|
-
|
|
1520
|
+
export const MuiTypography = {
|
|
1443
1521
|
defaultProps: {
|
|
1444
1522
|
variant: "inherit",
|
|
1445
1523
|
},
|