@databiosphere/findable-ui 50.6.1 → 50.7.1
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 +32 -19
- package/package.json +1 -2
- package/types/data-explorer-ui.d.ts +6 -7
- package/src/apis/azul/common/constants.ts +0 -7
- package/src/apis/azul/common/entities.ts +0 -185
- package/src/apis/azul/common/filterTransformer.ts +0 -149
- package/src/apis/azul/common/utils.ts +0 -21
- package/src/common/ai/config/types.ts +0 -25
- package/src/common/ai/constants.ts +0 -3
- package/src/common/analytics/analytics.ts +0 -50
- package/src/common/analytics/entities.ts +0 -85
- package/src/common/analytics/readme-analytics.md +0 -27
- package/src/common/categories/config/range/typeGuards.ts +0 -14
- package/src/common/categories/config/types.ts +0 -41
- package/src/common/categories/config/utils.ts +0 -50
- package/src/common/categories/models/range/typeGuards.ts +0 -24
- package/src/common/categories/models/range/types.ts +0 -17
- package/src/common/categories/models/range/utils.ts +0 -51
- package/src/common/categories/models/select/utils.ts +0 -23
- package/src/common/categories/models/types.ts +0 -7
- package/src/common/categories/views/common/types.ts +0 -11
- package/src/common/categories/views/range/typeGuards.ts +0 -13
- package/src/common/categories/views/range/types.ts +0 -21
- package/src/common/categories/views/range/utils.ts +0 -35
- package/src/common/categories/views/select/typeGuards.ts +0 -13
- package/src/common/categories/views/select/types.ts +0 -8
- package/src/common/categories/views/types.ts +0 -15
- package/src/common/chart/sort/constants.ts +0 -13
- package/src/common/chart/sort/types.ts +0 -22
- package/src/common/chart/sort/utils.ts +0 -22
- package/src/common/chart/types.ts +0 -6
- package/src/common/constants.ts +0 -18
- package/src/common/entities.ts +0 -174
- package/src/common/filters/sort/config/types.ts +0 -14
- package/src/common/filters/sort/config/utils.ts +0 -11
- package/src/common/filters/sort/models/utils.ts +0 -57
- package/src/common/selectors.ts +0 -6
- package/src/common/utils.ts +0 -30
- package/src/components/Authentication/components/SessionController/components/GoogleSessionController/SessionController.tsx +0 -38
- package/src/components/Authentication/components/SessionController/components/GoogleSessionController/types.ts +0 -7
- package/src/components/Authentication/components/SessionController/components/NextSessionController/SessionController.tsx +0 -23
- package/src/components/Authentication/components/SessionController/components/NextSessionController/constants.ts +0 -21
- package/src/components/Authentication/components/SessionController/components/NextSessionController/types.ts +0 -5
- package/src/components/Authentication/components/SessionController/components/NextSessionController/utils.ts +0 -74
- package/src/components/ComponentCreator/ComponentCreator.tsx +0 -72
- package/src/components/ComponentCreator/components/ConditionalComponent/conditionalComponent.tsx +0 -17
- package/src/components/ComponentCreator/components/RenderComponent/renderComponent.tsx +0 -17
- package/src/components/DataDictionary/common/utils.ts +0 -164
- package/src/components/DataDictionary/components/Description/description.styles.ts +0 -50
- package/src/components/DataDictionary/components/Description/description.tsx +0 -14
- package/src/components/DataDictionary/components/Description/types.ts +0 -3
- package/src/components/DataDictionary/components/Entities/constants.ts +0 -16
- package/src/components/DataDictionary/components/Entities/entities.styles.ts +0 -6
- package/src/components/DataDictionary/components/Entities/entities.tsx +0 -26
- package/src/components/DataDictionary/components/Entities/types.ts +0 -6
- package/src/components/DataDictionary/components/Entity/constants.ts +0 -7
- package/src/components/DataDictionary/components/Entity/entity.styles.ts +0 -13
- package/src/components/DataDictionary/components/Entity/entity.tsx +0 -51
- package/src/components/DataDictionary/components/Entity/types.ts +0 -7
- package/src/components/DataDictionary/components/Entity/utils.ts +0 -25
- package/src/components/DataDictionary/components/Filters/components/ColumnFilterTags/columnFilterTags.styles.ts +0 -8
- package/src/components/DataDictionary/components/Filters/components/ColumnFilterTags/columnFilterTags.tsx +0 -36
- package/src/components/DataDictionary/components/Filters/components/ColumnFilterTags/constants.ts +0 -8
- package/src/components/DataDictionary/components/Filters/components/ColumnFilterTags/types.ts +0 -9
- package/src/components/DataDictionary/components/Filters/components/ColumnFilters/columnFilters.tsx +0 -47
- package/src/components/DataDictionary/components/Filters/components/ColumnFilters/types.ts +0 -6
- package/src/components/DataDictionary/components/Filters/filters.styles.ts +0 -9
- package/src/components/DataDictionary/components/Filters/filters.tsx +0 -18
- package/src/components/DataDictionary/components/Filters/stories/constants.ts +0 -51
- package/src/components/DataDictionary/components/Filters/stories/filters.stories.tsx +0 -62
- package/src/components/DataDictionary/components/Filters/stories/hook.ts +0 -17
- package/src/components/DataDictionary/components/Filters/stories/types.ts +0 -3
- package/src/components/DataDictionary/components/Filters/stories/utils.ts +0 -15
- package/src/components/DataDictionary/components/Filters/types.ts +0 -6
- package/src/components/DataDictionary/components/Layout/components/EntitiesLayout/entitiesLayout.styles.ts +0 -23
- package/src/components/DataDictionary/components/Layout/components/EntitiesLayout/entitiesLayout.tsx +0 -16
- package/src/components/DataDictionary/components/Layout/components/EntitiesLayout/types.ts +0 -8
- package/src/components/DataDictionary/components/Layout/components/FiltersLayout/filtersLayout.styles.ts +0 -37
- package/src/components/DataDictionary/components/Layout/components/FiltersLayout/filtersLayout.tsx +0 -16
- package/src/components/DataDictionary/components/Layout/components/FiltersLayout/types.ts +0 -6
- package/src/components/DataDictionary/components/Layout/components/OutlineLayout/outlineLayout.styles.ts +0 -31
- package/src/components/DataDictionary/components/Layout/components/OutlineLayout/outlineLayout.tsx +0 -14
- package/src/components/DataDictionary/components/Layout/components/OutlineLayout/types.ts +0 -6
- package/src/components/DataDictionary/components/Layout/components/TitleLayout/titleLayout.styles.ts +0 -26
- package/src/components/DataDictionary/components/Layout/components/TitleLayout/titleLayout.tsx +0 -10
- package/src/components/DataDictionary/components/Layout/components/TitleLayout/types.ts +0 -6
- package/src/components/DataDictionary/components/Layout/constants.ts +0 -9
- package/src/components/DataDictionary/components/Outline/components/ContentsTab/constants.ts +0 -7
- package/src/components/DataDictionary/components/Outline/components/ContentsTab/contentsTab.styles.ts +0 -8
- package/src/components/DataDictionary/components/Outline/components/ContentsTab/contentsTab.tsx +0 -7
- package/src/components/DataDictionary/components/Outline/outline.styles.ts +0 -20
- package/src/components/DataDictionary/components/Outline/outline.tsx +0 -11
- package/src/components/DataDictionary/components/Outline/types.ts +0 -6
- package/src/components/DataDictionary/components/Outline/utils.ts +0 -43
- package/src/components/DataDictionary/components/Table/components/BasicCell/basicCell.tsx +0 -20
- package/src/components/DataDictionary/components/Table/components/BasicCell/utils.ts +0 -13
- package/src/components/DataDictionary/components/Table/hook.ts +0 -40
- package/src/components/DataDictionary/components/Table/options/columnFilters/constants.ts +0 -17
- package/src/components/DataDictionary/components/Table/options/columnFilters/hook.ts +0 -33
- package/src/components/DataDictionary/components/Table/options/core/constants.ts +0 -12
- package/src/components/DataDictionary/components/Table/options/expanded/constants.ts +0 -14
- package/src/components/DataDictionary/components/Table/options/faceted/constants.ts +0 -14
- package/src/components/DataDictionary/components/Table/options/globalFilter/constants.ts +0 -14
- package/src/components/DataDictionary/components/Table/options/globalFilter/hook.ts +0 -28
- package/src/components/DataDictionary/components/Table/options/grouping/constants.ts +0 -9
- package/src/components/DataDictionary/components/Table/options/hook.ts +0 -37
- package/src/components/DataDictionary/components/Table/options/pagination/constants.ts +0 -6
- package/src/components/DataDictionary/components/Table/options/sorting/constants.ts +0 -5
- package/src/components/DataDictionary/components/Table/options/visibility/constants.ts +0 -5
- package/src/components/DataDictionary/components/Table/table.styles.ts +0 -9
- package/src/components/DataDictionary/components/Table/table.tsx +0 -38
- package/src/components/DataDictionary/components/Table/types.ts +0 -12
- package/src/components/DataDictionary/components/Table/utils.ts +0 -40
- package/src/components/DataDictionary/components/Title/title.styles.ts +0 -18
- package/src/components/DataDictionary/components/Title/title.tsx +0 -10
- package/src/components/DataDictionary/components/Tooltip/components/Title/constants.ts +0 -6
- package/src/components/DataDictionary/components/Tooltip/components/Title/title.tsx +0 -23
- package/src/components/DataDictionary/components/Tooltip/components/Title/types.ts +0 -6
- package/src/components/DataDictionary/components/Tooltip/constants.ts +0 -27
- package/src/components/DataDictionary/components/Tooltip/tooltip.tsx +0 -26
- package/src/components/DataDictionary/components/Tooltip/types.ts +0 -10
- package/src/components/DataDictionary/dataDictionary.styles.ts +0 -20
- package/src/components/DataDictionary/dataDictionary.tsx +0 -81
- package/src/components/DataDictionary/hooks/UseDataDictionaryConfig/hook.ts +0 -39
- package/src/components/DataDictionary/hooks/UseDataDictionaryConfig/types.ts +0 -9
- package/src/components/DataDictionary/hooks/UseDataDictionaryConfig/utils.ts +0 -8
- package/src/components/DataDictionary/hooks/UseMeasureFilters/hook.ts +0 -27
- package/src/components/DataDictionary/hooks/UseMeasureFilters/types.ts +0 -6
- package/src/components/DataDictionary/types.ts +0 -12
- package/src/components/Detail/components/AccessibilityBadge/accessibilityBadge.tsx +0 -30
- package/src/components/Detail/components/DetailViewTable/detailViewTable.tsx +0 -48
- package/src/components/Detail/components/Table/common/utils.ts +0 -20
- package/src/components/Detail/components/Table/components/TableBody/tableBody.tsx +0 -40
- package/src/components/Detail/components/Table/components/TableRows/components/CollapsableRows/collapsableRows.tsx +0 -45
- package/src/components/Detail/components/Table/components/TableRows/tableRows.tsx +0 -66
- package/src/components/Detail/components/Table/stories/args.ts +0 -104
- package/src/components/Detail/components/Table/stories/constants.ts +0 -15
- package/src/components/Detail/components/Table/stories/filter/args.ts +0 -54
- package/src/components/Detail/components/Table/stories/filter/filter.stories.tsx +0 -90
- package/src/components/Detail/components/Table/stories/table.stories.tsx +0 -32
- package/src/components/Detail/components/Table/table.tsx +0 -97
- package/src/components/Detail/detail.stories.tsx +0 -66
- package/src/components/Detail/detail.tsx +0 -28
- package/src/components/Error/error.stories.tsx +0 -33
- package/src/components/Error/error.styles.ts +0 -47
- package/src/components/Error/error.tsx +0 -115
- package/src/components/ErrorBoundary/errorBoundary.tsx +0 -46
- package/src/components/ErrorBoundary/index.ts +0 -1
- package/src/components/Export/common/entities.ts +0 -53
- package/src/components/Export/common/tracking.ts +0 -73
- package/src/components/Export/common/utils.ts +0 -50
- package/src/components/Export/components/DownloadCurlCommand/components/DownloadCurlCommandForm/downloadCurlCommandForm.styles.ts +0 -6
- package/src/components/Export/components/DownloadCurlCommand/components/DownloadCurlCommandForm/downloadCurlCommandForm.tsx +0 -52
- package/src/components/Export/components/DownloadCurlCommand/components/DownloadCurlCommandNotStarted/downloadCurlCommandNotStarted.tsx +0 -62
- package/src/components/Export/components/DownloadCurlCommand/components/DownloadCurlCommandReady/downloadCurlCommandReady.tsx +0 -25
- package/src/components/Export/components/DownloadCurlCommand/downloadCurlCommand.tsx +0 -101
- package/src/components/Export/components/ExportForm/common/entities.ts +0 -13
- package/src/components/Export/components/ExportForm/components/ExportButton/exportButton.tsx +0 -43
- package/src/components/Export/components/ExportForm/components/ExportExecutionEnvironmentForm/exportExecutionEnvironmentForm.tsx +0 -59
- package/src/components/Export/components/ExportForm/components/ExportFileSummaryForm/exportFileSummaryForm.tsx +0 -125
- package/src/components/Export/components/ExportForm/components/ExportManifestDownloadFormatForm/exportManifestDownloadFormatForm.tsx +0 -42
- package/src/components/Export/components/ExportForm/components/ExportSpeciesForm/exportSpeciesForm.tsx +0 -64
- package/src/components/Export/components/ExportForm/exportForm.styles.ts +0 -100
- package/src/components/Export/components/ExportForm/exportForm.tsx +0 -139
- package/src/components/Export/components/ExportMethod/constants.ts +0 -8
- package/src/components/Export/components/ExportMethod/exportMethod.styles.ts +0 -42
- package/src/components/Export/components/ExportMethod/exportMethod.tsx +0 -95
- package/src/components/Export/components/ExportMethod/stories/exportMethod.stories.tsx +0 -30
- package/src/components/Export/components/ExportSummary/common/utils.ts +0 -55
- package/src/components/Export/components/ExportSummary/components/ExportCurrentQuery/exportCurrentQuery.tsx +0 -41
- package/src/components/Export/components/ExportSummary/components/ExportSelectedDataSummary/exportSelectedDataSummary.tsx +0 -32
- package/src/components/Export/components/ExportSummary/exportSummary.styles.ts +0 -23
- package/src/components/Export/components/ExportSummary/exportSummary.tsx +0 -12
- package/src/components/Export/components/ExportToTerra/components/ExportToTerraForm/exportToTerraForm.tsx +0 -51
- package/src/components/Export/components/ExportToTerra/components/ExportToTerraNotStarted/exportToTerraNotStarted.tsx +0 -55
- package/src/components/Export/components/ExportToTerra/components/ExportToTerraReady/exportToTerraReady.tsx +0 -45
- package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/components/AcceptTerraTOS/acceptTerraTOS.tsx +0 -74
- package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/components/ConnectTerraToNIHAccount/connectTerraToNIHAccount.tsx +0 -44
- package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/components/CreateTerraAccount/createTerraAccount.tsx +0 -49
- package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/formStep.styles.ts +0 -10
- package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/formStep.tsx +0 -65
- package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/NIHAccountExpiryWarning/nihAccountExpiryWarning.tsx +0 -66
- package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/terraSetUpForm.styles.ts +0 -60
- package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/terraSetUpForm.tsx +0 -107
- package/src/components/Export/components/ExportToTerra/exportToTerra.tsx +0 -87
- package/src/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/components/FileManifestDownload/fileManifestDownload.tsx +0 -108
- package/src/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/components/FileManifestSpreadsheet/fileManifestSpreadsheet.tsx +0 -107
- package/src/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/constants.ts +0 -24
- package/src/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/manifestDownloadEntity.styles.ts +0 -34
- package/src/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/manifestDownloadEntity.tsx +0 -25
- package/src/components/Export/components/ManifestDownload/components/ManifestDownloadForm/manifestDownloadForm.tsx +0 -37
- package/src/components/Export/components/ManifestDownload/components/ManifestDownloadNotStarted/manifestDownloadNotStarted.tsx +0 -47
- package/src/components/Export/components/ManifestDownload/components/ManifestDownloadReady/manifestDownloadReady.styles.ts +0 -11
- package/src/components/Export/components/ManifestDownload/components/ManifestDownloadReady/manifestDownloadReady.tsx +0 -40
- package/src/components/Export/components/ManifestDownload/manifestDownload.tsx +0 -85
- package/src/components/Export/export.styles.ts +0 -40
- package/src/components/Filter/common/constants.ts +0 -5
- package/src/components/Filter/common/entities.ts +0 -46
- package/src/components/Filter/common/utils.ts +0 -84
- package/src/components/Filter/components/ClearAllFilters/clearAllFilters.styles.ts +0 -6
- package/src/components/Filter/components/ClearAllFilters/clearAllFilters.tsx +0 -28
- package/src/components/Filter/components/Filter/components/DrawerTransition/drawerTransition.tsx +0 -24
- package/src/components/Filter/components/Filter/filter.styles.ts +0 -26
- package/src/components/Filter/components/Filter/filter.tsx +0 -142
- package/src/components/Filter/components/Filter/stories/args.ts +0 -25
- package/src/components/Filter/components/Filter/stories/filter.stories.tsx +0 -32
- package/src/components/Filter/components/FilterCountChip/filterCountChip.styles.ts +0 -19
- package/src/components/Filter/components/FilterCountChip/filterCountChip.tsx +0 -22
- package/src/components/Filter/components/FilterCountChip/stories/filterCountChip.stories.tsx +0 -12
- package/src/components/Filter/components/FilterCountChip/types.ts +0 -6
- package/src/components/Filter/components/FilterLabel/filterLabel.stories.tsx +0 -43
- package/src/components/Filter/components/FilterLabel/filterLabel.styles.ts +0 -54
- package/src/components/Filter/components/FilterLabel/filterLabel.tsx +0 -48
- package/src/components/Filter/components/FilterList/filterList.styles.ts +0 -58
- package/src/components/Filter/components/FilterMenu/filterMenu.stories.tsx +0 -129
- package/src/components/Filter/components/FilterMenu/filterMenu.styles.ts +0 -22
- package/src/components/Filter/components/FilterMenu/filterMenu.tsx +0 -82
- package/src/components/Filter/components/FilterMenuSearch/filterMenuSearch.styles.ts +0 -22
- package/src/components/Filter/components/FilterMenuSearch/filterMenuSearch.tsx +0 -27
- package/src/components/Filter/components/FilterNoResultsFound/filterNoResultsFound.styles.ts +0 -7
- package/src/components/Filter/components/FilterNoResultsFound/filterNoResultsFound.tsx +0 -41
- package/src/components/Filter/components/FilterRange/constants.ts +0 -34
- package/src/components/Filter/components/FilterRange/filterRange.styles.ts +0 -122
- package/src/components/Filter/components/FilterRange/filterRange.tsx +0 -139
- package/src/components/Filter/components/FilterRange/hooks/UseFilterRange/constants.ts +0 -5
- package/src/components/Filter/components/FilterRange/hooks/UseFilterRange/hook.ts +0 -61
- package/src/components/Filter/components/FilterRange/hooks/UseFilterRange/schema.ts +0 -60
- package/src/components/Filter/components/FilterRange/hooks/UseFilterRange/types.ts +0 -40
- package/src/components/Filter/components/FilterRange/hooks/UseFilterRange/utils.ts +0 -32
- package/src/components/Filter/components/FilterRange/stories/args.ts +0 -17
- package/src/components/Filter/components/FilterRange/stories/filterRange.stories.tsx +0 -15
- package/src/components/Filter/components/FilterRange/types.ts +0 -15
- package/src/components/Filter/components/FilterRange/utils.ts +0 -16
- package/src/components/Filter/components/FilterTag/filterTag.styles.ts +0 -7
- package/src/components/Filter/components/FilterTag/filterTag.tsx +0 -59
- package/src/components/Filter/components/FilterTag/stories/args.ts +0 -22
- package/src/components/Filter/components/FilterTag/stories/filterTag.stories.tsx +0 -32
- package/src/components/Filter/components/FilterTag/utils.ts +0 -57
- package/src/components/Filter/components/FilterTags/filterTags.stories.tsx +0 -63
- package/src/components/Filter/components/FilterTags/filterTags.styles.ts +0 -13
- package/src/components/Filter/components/FilterTags/filterTags.tsx +0 -23
- package/src/components/Filter/components/Filters/filters.styles.ts +0 -45
- package/src/components/Filter/components/Filters/filters.tsx +0 -141
- package/src/components/Filter/components/Filters/stories/args.ts +0 -24
- package/src/components/Filter/components/Filters/stories/constants.ts +0 -175
- package/src/components/Filter/components/Filters/stories/filters.stories.tsx +0 -24
- package/src/components/Filter/components/HighlightedLabel/highlightedLabel.styles.ts +0 -28
- package/src/components/Filter/components/HighlightedLabel/highlightedLabel.tsx +0 -46
- package/src/components/Filter/components/SearchAllFilters/common/constants.ts +0 -49
- package/src/components/Filter/components/SearchAllFilters/common/entites.ts +0 -44
- package/src/components/Filter/components/SearchAllFilters/common/utils.ts +0 -15
- package/src/components/Filter/components/SearchAllFilters/components/OutlinedInput/constants.ts +0 -9
- package/src/components/Filter/components/SearchAllFilters/components/OutlinedInput/outlinedInput.tsx +0 -31
- package/src/components/Filter/components/SearchAllFilters/components/OutlinedInput/utils.ts +0 -22
- package/src/components/Filter/components/SearchAllFilters/components/VariableSizeList/VariableSizeList.tsx +0 -312
- package/src/components/Filter/components/SearchAllFilters/components/VariableSizeListItem/variableSizeListItem.tsx +0 -105
- package/src/components/Filter/components/SearchAllFilters/context/context.ts +0 -12
- package/src/components/Filter/components/SearchAllFilters/context/hook.ts +0 -11
- package/src/components/Filter/components/SearchAllFilters/context/types.ts +0 -12
- package/src/components/Filter/components/SearchAllFilters/searchAllFilters.styles.ts +0 -16
- package/src/components/Filter/components/SearchAllFilters/searchAllFilters.tsx +0 -129
- package/src/components/Filter/components/SearchAllFilters/stories/args.ts +0 -15
- package/src/components/Filter/components/SearchAllFilters/stories/searchAllFilters.stories.tsx +0 -29
- package/src/components/Filter/components/SearchAllFilters/types.ts +0 -17
- package/src/components/Filter/components/VariableSizeList/VariableSizeList.tsx +0 -179
- package/src/components/Filter/components/VariableSizeListItem/variableSizeListItem.tsx +0 -88
- package/src/components/Filter/components/adapters/tanstack/ColumnFiltersAdapter/columnFiltersAdapter.tsx +0 -65
- package/src/components/Filter/components/adapters/tanstack/ColumnFiltersAdapter/hooks/UseUpdateFilterSort/hook.ts +0 -22
- package/src/components/Filter/components/adapters/tanstack/ColumnFiltersAdapter/hooks/UseUpdateFilterSort/types.ts +0 -7
- package/src/components/Filter/components/adapters/tanstack/ColumnFiltersAdapter/hooks/UseUpdateFilterSort/utils.ts +0 -33
- package/src/components/Filter/components/adapters/tanstack/ColumnFiltersAdapter/types.ts +0 -20
- package/src/components/Filter/components/adapters/tanstack/ColumnFiltersAdapter/utils.ts +0 -264
- package/src/components/Filter/components/controls/Controls/components/FilterSort/constants.ts +0 -22
- package/src/components/Filter/components/controls/Controls/components/FilterSort/filterSort.styles.ts +0 -34
- package/src/components/Filter/components/controls/Controls/components/FilterSort/filterSort.tsx +0 -73
- package/src/components/Filter/components/controls/Controls/components/FilterSort/stories/filterSort.stories.tsx +0 -15
- package/src/components/Filter/components/controls/Controls/components/FilterSort/types.ts +0 -7
- package/src/components/Filter/components/controls/Controls/controls.styles.ts +0 -11
- package/src/components/Filter/components/controls/Controls/controls.tsx +0 -39
- package/src/components/Filter/components/controls/Controls/types.ts +0 -11
- package/src/components/Filter/components/surfaces/drawer/Drawer/constants.ts +0 -7
- package/src/components/Filter/components/surfaces/drawer/Drawer/drawer.styles.ts +0 -20
- package/src/components/Filter/components/surfaces/drawer/Drawer/drawer.tsx +0 -46
- package/src/components/Filter/components/surfaces/drawer/Drawer/types.ts +0 -9
- package/src/components/Filter/components/surfaces/drawer/components/Button/button.tsx +0 -40
- package/src/components/Filter/components/surfaces/drawer/components/ButtonBase/buttonBase.styles.ts +0 -13
- package/src/components/Filter/components/surfaces/drawer/components/ButtonBase/buttonBase.tsx +0 -25
- package/src/components/Filter/components/surfaces/drawer/components/IconButton/constants.ts +0 -12
- package/src/components/Filter/components/surfaces/drawer/components/IconButton/iconButton.styles.ts +0 -10
- package/src/components/Filter/components/surfaces/drawer/components/IconButton/iconButton.tsx +0 -28
- package/src/components/Filter/components/surfaces/popper/Popper/popper.styles.ts +0 -20
- package/src/components/Filter/components/surfaces/types.ts +0 -17
- package/src/components/Filter/components/views/select/SelectListItem/selectListItem.tsx +0 -19
- package/src/components/Filter/components/views/select/SelectListItem/types.ts +0 -14
- package/src/components/Filter/components/views/select/components/Checkbox/checkbox.tsx +0 -19
- package/src/components/Filter/components/views/select/components/ListItemButton/listItemButton.styles.ts +0 -12
- package/src/components/Filter/components/views/select/components/ListItemButton/listItemButton.tsx +0 -25
- package/src/components/Filter/components/views/select/components/ListItemText/components/Count/count.tsx +0 -20
- package/src/components/Filter/components/views/select/components/ListItemText/components/Term/term.tsx +0 -19
- package/src/components/Filter/components/views/select/components/ListItemText/listItemText.styles.ts +0 -13
- package/src/components/Filter/components/views/select/components/ListItemText/listItemText.tsx +0 -48
- package/src/components/Head/head.tsx +0 -69
- package/src/components/Index/components/AzulFileDownload/azulFileDownload.stories.tsx +0 -20
- package/src/components/Index/components/AzulFileDownload/azulFileDownload.styles.ts +0 -6
- package/src/components/Index/components/AzulFileDownload/azulFileDownload.tsx +0 -81
- package/src/components/Index/components/AzulFileDownload/common/constants.ts +0 -4
- package/src/components/Index/components/EntityView/components/controls/ActionButton/actionButton.tsx +0 -12
- package/src/components/Index/components/EntityView/components/controls/ExportButton/exportButton.styles.ts +0 -9
- package/src/components/Index/components/EntityView/components/controls/ExportButton/exportButton.tsx +0 -39
- package/src/components/Index/components/EntityView/components/controls/FilterButton/filterButton.styles.ts +0 -9
- package/src/components/Index/components/EntityView/components/controls/FilterButton/filterButton.tsx +0 -39
- package/src/components/Index/components/EntityView/components/controls/ViewToggle/hooks/UseViewToggle/hook.ts +0 -15
- package/src/components/Index/components/EntityView/components/controls/ViewToggle/hooks/UseViewToggle/types.ts +0 -16
- package/src/components/Index/components/EntityView/components/controls/ViewToggle/stories/viewToggle.stories.tsx +0 -12
- package/src/components/Index/components/EntityView/components/controls/ViewToggle/viewToggle.styles.ts +0 -9
- package/src/components/Index/components/EntityView/components/controls/ViewToggle/viewToggle.tsx +0 -24
- package/src/components/Index/components/EntityView/components/layout/Summary/constants.ts +0 -7
- package/src/components/Index/components/EntityView/components/layout/Summary/summary.styles.ts +0 -20
- package/src/components/Index/components/EntityView/components/layout/Summary/summary.tsx +0 -41
- package/src/components/Index/components/EntityView/components/layout/Title/title.tsx +0 -16
- package/src/components/Index/components/EntityView/components/navigation/Tabs/common/utils.ts +0 -25
- package/src/components/Index/components/EntityView/components/navigation/Tabs/tabs.styles.ts +0 -20
- package/src/components/Index/components/EntityView/components/navigation/Tabs/tabs.tsx +0 -28
- package/src/components/Index/components/EntityView/components/slots/EntityListSlot/entityListSlot.tsx +0 -14
- package/src/components/Index/components/EntityView/components/slots/EntityViewSlot/entityViewSlot.styles.ts +0 -17
- package/src/components/Index/components/EntityView/components/slots/EntityViewSlot/entityViewSlot.tsx +0 -19
- package/src/components/Index/components/EntityView/components/views/ChartView/chartView.styles.ts +0 -15
- package/src/components/Index/components/EntityView/components/views/ChartView/chartView.tsx +0 -53
- package/src/components/Index/components/EntityView/components/views/ChartView/components/Chart/barX/constants.ts +0 -15
- package/src/components/Index/components/EntityView/components/views/ChartView/components/Chart/barX/plot.ts +0 -110
- package/src/components/Index/components/EntityView/components/views/ChartView/components/Chart/barX/utils.ts +0 -278
- package/src/components/Index/components/EntityView/components/views/ChartView/components/Chart/chart.styles.ts +0 -36
- package/src/components/Index/components/EntityView/components/views/ChartView/components/Chart/chart.tsx +0 -39
- package/src/components/Index/components/EntityView/components/views/ChartView/components/Chart/constants.ts +0 -1
- package/src/components/Index/components/EntityView/components/views/ChartView/components/Chart/hooks/UseBarCount/constants.ts +0 -1
- package/src/components/Index/components/EntityView/components/views/ChartView/components/Chart/hooks/UseBarCount/hook.ts +0 -18
- package/src/components/Index/components/EntityView/components/views/ChartView/components/Chart/hooks/UseBarCount/types.ts +0 -4
- package/src/components/Index/components/EntityView/components/views/ChartView/components/Chart/hooks/UseBarCount/utils.ts +0 -38
- package/src/components/Index/components/EntityView/components/views/ChartView/components/Chart/hooks/UsePlotOptions/hook.ts +0 -27
- package/src/components/Index/components/EntityView/components/views/ChartView/components/Chart/hooks/UsePlotOptions/types.ts +0 -5
- package/src/components/Index/components/EntityView/components/views/ChartView/components/Chart/stories/args.ts +0 -74
- package/src/components/Index/components/EntityView/components/views/ChartView/components/Chart/stories/chart.stories.tsx +0 -28
- package/src/components/Index/components/EntityView/components/views/ChartView/components/Chart/types.ts +0 -8
- package/src/components/Index/components/EntityView/components/views/ChartView/components/Chart/utils.ts +0 -20
- package/src/components/Index/components/EntityView/components/views/ChartView/constants.ts +0 -1
- package/src/components/Index/components/EntityView/components/views/ChartView/hooks/UseChartView/types.ts +0 -8
- package/src/components/Index/components/EntityView/components/views/ChartView/hooks/UseChartView/useChartView.ts +0 -29
- package/src/components/Index/components/EntityView/components/views/ChartView/stories/args.ts +0 -100
- package/src/components/Index/components/EntityView/components/views/ChartView/stories/chartView.stories.tsx +0 -24
- package/src/components/Index/components/EntityView/components/views/ChartView/types.ts +0 -9
- package/src/components/Index/components/EntityView/components/views/ChartView/utils.ts +0 -28
- package/src/components/Index/components/EntityView/components/views/TableView/tableView.tsx +0 -22
- package/src/components/Index/components/EntityView/components/views/TableView/types.ts +0 -7
- package/src/components/Index/components/EntityView/context/context.ts +0 -9
- package/src/components/Index/components/EntityView/context/hook.ts +0 -11
- package/src/components/Index/components/EntityView/context/types.ts +0 -11
- package/src/components/Index/index.styles.ts +0 -69
- package/src/components/Index/index.tsx +0 -78
- package/src/components/Index/table/coreOptions/columns/cellFactory.tsx +0 -22
- package/src/components/Index/table/hook.ts +0 -252
- package/src/components/Index/table/types.ts +0 -9
- package/src/components/Index/types.ts +0 -10
- package/src/components/Layout/components/AppLayout/appLayout.styles.ts +0 -8
- package/src/components/Layout/components/BackPage/backPageView.stories.tsx +0 -66
- package/src/components/Layout/components/BackPage/backPageView.styles.ts +0 -151
- package/src/components/Layout/components/BackPage/backPageView.tsx +0 -50
- package/src/components/Layout/components/BackPage/components/BackPageHero/backPageHero.styles.ts +0 -35
- package/src/components/Layout/components/BackPage/components/BackPageHero/backPageHero.tsx +0 -59
- package/src/components/Layout/components/BackPage/components/BackPageHero/components/Actions/actions.styles.ts +0 -14
- package/src/components/Layout/components/BackPage/components/BackPageHero/components/Actions/actions.tsx +0 -13
- package/src/components/Layout/components/BackPage/components/BackPageHero/components/SubTitle/subTitle.tsx +0 -28
- package/src/components/Layout/components/BackPage/components/BackPageHero/stories/backPageHero.stories.tsx +0 -24
- package/src/components/Layout/components/ContentLayout/common/constants.ts +0 -31
- package/src/components/Layout/components/ContentLayout/common/entities.ts +0 -13
- package/src/components/Layout/components/ContentLayout/components/Main/main.tsx +0 -11
- package/src/components/Layout/components/ContentLayout/contentLayout.styles.ts +0 -149
- package/src/components/Layout/components/ContentLayout/contentLayout.tsx +0 -78
- package/src/components/Layout/components/Floating/floating.tsx +0 -15
- package/src/components/Layout/components/Footer/components/PoweredByCleverCanary/poweredByCleverCanary.tsx +0 -31
- package/src/components/Layout/components/Footer/components/PoweredByCleverCanary/types.ts +0 -8
- package/src/components/Layout/components/Footer/components/VersionInfo/components/Tooltip/components/Title/constants.ts +0 -5
- package/src/components/Layout/components/Footer/components/VersionInfo/components/Tooltip/components/Title/title.tsx +0 -56
- package/src/components/Layout/components/Footer/components/VersionInfo/components/Tooltip/components/Title/utils.ts +0 -31
- package/src/components/Layout/components/Footer/components/VersionInfo/constants.ts +0 -37
- package/src/components/Layout/components/Footer/components/VersionInfo/types.ts +0 -14
- package/src/components/Layout/components/Footer/components/VersionInfo/utils.ts +0 -32
- package/src/components/Layout/components/Footer/components/VersionInfo/versionInfo.styles.ts +0 -11
- package/src/components/Layout/components/Footer/components/VersionInfo/versionInfo.tsx +0 -32
- package/src/components/Layout/components/Footer/footer.styles.ts +0 -59
- package/src/components/Layout/components/Footer/footer.tsx +0 -62
- package/src/components/Layout/components/Footer/stories/footer.stories.tsx +0 -63
- package/src/components/Layout/components/Header/common/constants.ts +0 -21
- package/src/components/Layout/components/Header/common/entities.ts +0 -23
- package/src/components/Layout/components/Header/common/utils.ts +0 -222
- package/src/components/Layout/components/Header/components/Announcements/announcements.tsx +0 -14
- package/src/components/Layout/components/Header/components/Content/components/Actions/actions.styles.ts +0 -9
- package/src/components/Layout/components/Header/components/Content/components/Actions/actions.tsx +0 -10
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/authentication.tsx +0 -75
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.styles.ts +0 -40
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.tsx +0 -45
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/constants.ts +0 -19
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/Button/button.styles.ts +0 -9
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Menu/common/constants.ts +0 -9
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Menu/components/Content/components/Navigation/navigation.styles.ts +0 -33
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Menu/components/Content/components/Socials/socials.styles.ts +0 -7
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Menu/components/Toolbar/toolbar.tsx +0 -67
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Menu/menu.tsx +0 -79
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/Button/button.styles.ts +0 -8
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchBar/common/constants.ts +0 -4
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchBar/common/utils.ts +0 -29
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchBar/searchBar.styles.ts +0 -43
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchBar/searchBar.tsx +0 -145
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Search/search.tsx +0 -65
- package/src/components/Layout/components/Header/components/Content/components/Logo/logo.styles.ts +0 -11
- package/src/components/Layout/components/Header/components/Content/components/Logo/logo.tsx +0 -37
- package/src/components/Layout/components/Header/components/Content/components/Navigation/common/utils.ts +0 -19
- package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationButtonLabel/navigationButtonLabel.tsx +0 -22
- package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationDrawer/common/constants.ts +0 -9
- package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationDrawer/components/Slide/slide.tsx +0 -22
- package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationDrawer/navigationDrawer.styles.ts +0 -39
- package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationDrawer/navigationDrawer.tsx +0 -81
- package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenu/common/constants.ts +0 -15
- package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenu/navigationMenu.styles.ts +0 -95
- package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenu/navigationMenu.tsx +0 -98
- package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenuItems/common/constants.ts +0 -5
- package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenuItems/navigationMenuItems.tsx +0 -103
- package/src/components/Layout/components/Header/components/Content/components/Navigation/constants.ts +0 -1
- package/src/components/Layout/components/Header/components/Content/components/Navigation/navigation.styles.ts +0 -37
- package/src/components/Layout/components/Header/components/Content/components/Navigation/navigation.tsx +0 -135
- package/src/components/Layout/components/Header/components/Content/components/Slogan/slogan.styles.ts +0 -28
- package/src/components/Layout/components/Header/components/Content/components/Slogan/slogan.tsx +0 -30
- package/src/components/Layout/components/Header/components/Content/components/Socials/socials.styles.ts +0 -8
- package/src/components/Layout/components/Header/components/Content/content.styles.ts +0 -9
- package/src/components/Layout/components/Header/header.stories.tsx +0 -97
- package/src/components/Layout/components/Header/header.styles.ts +0 -59
- package/src/components/Layout/components/Header/header.tsx +0 -165
- package/src/components/Layout/components/Header/hooks/useHeaderNavigation.ts +0 -19
- package/src/components/Layout/components/Header/hooks/useHeaderVisibility.ts +0 -81
- package/src/components/Layout/components/Header/hooks/useMenu.ts +0 -27
- package/src/components/Layout/components/Main/main.styles.ts +0 -20
- package/src/components/Layout/components/Main/main.tsx +0 -17
- package/src/components/Layout/components/Nav/components/NavBarHero/navBarHero.styles.ts +0 -26
- package/src/components/Layout/components/Nav/components/NavBarHero/navBarHero.tsx +0 -43
- package/src/components/Layout/components/Nav/nav.stories.tsx +0 -36
- package/src/components/Layout/components/Nav/nav.styles.ts +0 -59
- package/src/components/Layout/components/Nav/nav.tsx +0 -39
- package/src/components/Layout/components/Outline/components/ContentsTab/contentsTab.styles.ts +0 -18
- package/src/components/Layout/components/Outline/components/ContentsTab/contentsTab.tsx +0 -23
- package/src/components/Layout/components/Outline/components/ContentsTab/types.ts +0 -7
- package/src/components/Layout/components/Outline/hooks/UseHash/hook.ts +0 -17
- package/src/components/Layout/components/Outline/hooks/UseHash/types.ts +0 -3
- package/src/components/Layout/components/Outline/hooks/UseTabs/constants.ts +0 -3
- package/src/components/Layout/components/Outline/hooks/UseTabs/hook.ts +0 -32
- package/src/components/Layout/components/Outline/hooks/UseTabs/utils.ts +0 -18
- package/src/components/Layout/components/Outline/outline.styles.ts +0 -64
- package/src/components/Layout/components/Outline/outline.tsx +0 -40
- package/src/components/Layout/components/Outline/types.ts +0 -16
- package/src/components/Layout/components/Sidebar/components/SidebarButton/sidebarButton.styles.ts +0 -37
- package/src/components/Layout/components/Sidebar/components/SidebarButton/sidebarButton.tsx +0 -26
- package/src/components/Layout/components/Sidebar/components/SidebarDrawer/sidebarDrawer.styles.ts +0 -27
- package/src/components/Layout/components/Sidebar/components/SidebarDrawer/sidebarDrawer.tsx +0 -42
- package/src/components/Layout/components/Sidebar/components/SidebarLabel/sidebarLabel.stories.tsx +0 -20
- package/src/components/Layout/components/Sidebar/components/SidebarLabel/sidebarLabel.tsx +0 -18
- package/src/components/Layout/components/Sidebar/components/SidebarPositioner/sidebarPositioner.styles.ts +0 -21
- package/src/components/Layout/components/Sidebar/components/SidebarPositioner/sidebarPositioner.tsx +0 -22
- package/src/components/Layout/components/Sidebar/components/SidebarTools/sidebarTools.styles.ts +0 -22
- package/src/components/Layout/components/Sidebar/sidebar.stories.tsx +0 -48
- package/src/components/Layout/components/Sidebar/sidebar.styles.ts +0 -9
- package/src/components/Layout/components/Sidebar/sidebar.tsx +0 -34
- package/src/components/Links/common/constants.ts +0 -1
- package/src/components/Links/common/entities.ts +0 -20
- package/src/components/Links/common/utils.ts +0 -36
- package/src/components/Links/components/Link/components/ExploreViewLink/exploreViewLink.tsx +0 -208
- package/src/components/Links/components/Link/link.tsx +0 -107
- package/src/components/Links/links.stories.tsx +0 -28
- package/src/components/Links/links.tsx +0 -30
- package/src/components/Loading/loading.stories.tsx +0 -43
- package/src/components/Loading/loading.styles.ts +0 -84
- package/src/components/Loading/loading.tsx +0 -89
- package/src/components/Login/components/Button/button.styles.ts +0 -12
- package/src/components/Login/components/Button/button.tsx +0 -8
- package/src/components/Login/components/Button/constants.ts +0 -7
- package/src/components/Login/components/Button/types.ts +0 -4
- package/src/components/Login/components/Buttons/buttons.tsx +0 -22
- package/src/components/Login/components/Buttons/types.ts +0 -9
- package/src/components/Login/components/Section/components/Consent/consent.styles.ts +0 -15
- package/src/components/Login/components/Section/components/Consent/consent.tsx +0 -32
- package/src/components/Login/components/Section/components/Consent/types.ts +0 -11
- package/src/components/Login/components/Section/components/Warning/warning.tsx +0 -23
- package/src/components/Login/hooks/useUserConsent/types.ts +0 -11
- package/src/components/Login/hooks/useUserConsent/useUserConsent.ts +0 -32
- package/src/components/Login/hooks/useUserLogin/types.ts +0 -10
- package/src/components/Login/hooks/useUserLogin/useUserLogin.ts +0 -29
- package/src/components/Login/login.styles.ts +0 -42
- package/src/components/Login/login.tsx +0 -112
- package/src/components/Login/types.ts +0 -11
- package/src/components/MarkdownRenderer/components/Anchor/anchor.tsx +0 -39
- package/src/components/MarkdownRenderer/components/Table/table.styles.ts +0 -41
- package/src/components/MarkdownRenderer/components/Table/table.tsx +0 -13
- package/src/components/MarkdownRenderer/constants.ts +0 -8
- package/src/components/MarkdownRenderer/markdownRenderer.styles.ts +0 -19
- package/src/components/MarkdownRenderer/markdownRenderer.tsx +0 -80
- package/src/components/MarkdownRenderer/rehypeHighlight.ts +0 -54
- package/src/components/MarkdownRenderer/stories/args.ts +0 -8
- package/src/components/MarkdownRenderer/stories/markdownRenderer.stories.tsx +0 -33
- package/src/components/MarkdownRenderer/types.ts +0 -8
- package/src/components/NoResults/noResults.styles.ts +0 -14
- package/src/components/NoResults/noResults.tsx +0 -37
- package/src/components/NoResults/types.ts +0 -13
- package/src/components/Plot/components/BarX/barX.tsx +0 -20
- package/src/components/Plot/components/BarX/types.ts +0 -6
- package/src/components/Project/common/entities.ts +0 -50
- package/src/components/Project/components/Citation/citation.stories.tsx +0 -21
- package/src/components/Project/components/Citation/citation.styles.ts +0 -22
- package/src/components/Project/components/Citation/citation.tsx +0 -37
- package/src/components/Project/components/CollaboratingOrganizations/collaboratingOrganizations.stories.tsx +0 -33
- package/src/components/Project/components/CollaboratingOrganizations/collaboratingOrganizations.tsx +0 -30
- package/src/components/Project/components/Contacts/contacts.stories.tsx +0 -31
- package/src/components/Project/components/Contacts/contacts.tsx +0 -34
- package/src/components/Project/components/Contributors/contributors.stories.tsx +0 -38
- package/src/components/Project/components/Contributors/contributors.tsx +0 -31
- package/src/components/Project/components/DataCurators/dataCurators.stories.tsx +0 -20
- package/src/components/Project/components/DataCurators/dataCurators.tsx +0 -26
- package/src/components/Project/components/DataReleasePolicy/dataReleasePolicy.stories.tsx +0 -13
- package/src/components/Project/components/DataReleasePolicy/dataReleasePolicy.tsx +0 -22
- package/src/components/Project/components/Description/description.stories.tsx +0 -18
- package/src/components/Project/components/Description/description.tsx +0 -18
- package/src/components/Project/components/Details/details.stories.tsx +0 -31
- package/src/components/Project/components/Details/details.tsx +0 -50
- package/src/components/Project/components/Publications/publications.stories.tsx +0 -30
- package/src/components/Project/components/Publications/publications.tsx +0 -43
- package/src/components/Project/components/Sup/sup.styles.tsx +0 -5
- package/src/components/Project/components/SupplementaryLinks/supplementaryLinks.stories.tsx +0 -29
- package/src/components/Project/components/SupplementaryLinks/supplementaryLinks.styles.ts +0 -20
- package/src/components/Project/components/SupplementaryLinks/supplementaryLinks.tsx +0 -54
- package/src/components/Redirect/redirect.tsx +0 -24
- package/src/components/Stepper/components/Step/components/StepContent/stepContent.styles.ts +0 -18
- package/src/components/Stepper/components/Step/components/StepContent/stepContent.tsx +0 -16
- package/src/components/Stepper/components/Step/components/StepIcon/components/CompletedIcon/completedIcon.styles.ts +0 -16
- package/src/components/Stepper/components/Step/components/StepIcon/components/CompletedIcon/completedIcon.tsx +0 -20
- package/src/components/Stepper/components/Step/components/StepIcon/components/CompletedIcon/contants.ts +0 -6
- package/src/components/Stepper/components/Step/components/StepIcon/constants.ts +0 -1
- package/src/components/Stepper/components/Step/components/StepIcon/stepIcon.styles.ts +0 -28
- package/src/components/Stepper/components/Step/components/StepIcon/stepIcon.tsx +0 -21
- package/src/components/Stepper/components/Step/components/StepIcon/stories/stepIcon.stories.tsx +0 -52
- package/src/components/Stepper/components/Step/components/StepLabel/components/Label/components/Icon/constants.ts +0 -14
- package/src/components/Stepper/components/Step/components/StepLabel/components/Label/components/Icon/icon.tsx +0 -13
- package/src/components/Stepper/components/Step/components/StepLabel/components/Label/components/Icon/stories/contants.ts +0 -6
- package/src/components/Stepper/components/Step/components/StepLabel/components/Label/components/Icon/stories/icon.stories.tsx +0 -30
- package/src/components/Stepper/components/Step/components/StepLabel/components/Label/components/Icon/types.ts +0 -8
- package/src/components/Stepper/components/Step/components/StepLabel/components/Label/constants.ts +0 -8
- package/src/components/Stepper/components/Step/components/StepLabel/components/Label/label.styles.ts +0 -8
- package/src/components/Stepper/components/Step/components/StepLabel/components/Label/label.tsx +0 -10
- package/src/components/Stepper/components/Step/components/StepLabel/components/Label/stories/label.stories.tsx +0 -34
- package/src/components/Stepper/components/Step/components/StepLabel/components/Optional/constants.ts +0 -7
- package/src/components/Stepper/components/Step/components/StepLabel/components/Optional/optional.tsx +0 -9
- package/src/components/Stepper/components/Step/components/StepLabel/constants.ts +0 -10
- package/src/components/Stepper/components/Step/components/StepLabel/stepLabel.styles.ts +0 -13
- package/src/components/Stepper/components/Step/components/StepLabel/stepLabel.tsx +0 -10
- package/src/components/Stepper/components/Step/components/StepLabel/stories/contants.ts +0 -19
- package/src/components/Stepper/components/Step/components/StepLabel/stories/stepLabel.stories.tsx +0 -52
- package/src/components/Stepper/components/Step/constants.ts +0 -6
- package/src/components/Stepper/components/Step/step.styles.ts +0 -33
- package/src/components/Stepper/components/Step/step.tsx +0 -12
- package/src/components/Stepper/components/Step/stories/contants.ts +0 -18
- package/src/components/Stepper/components/Step/stories/step.stories.tsx +0 -91
- package/src/components/Support/components/SupportRequest/components/Dialog/dialog.styles.ts +0 -38
- package/src/components/Support/components/SupportRequest/components/Dialog/dialog.tsx +0 -57
- package/src/components/Support/components/SupportRequest/components/Dropzone/dropzone.tsx +0 -40
- package/src/components/Support/components/SupportRequest/components/SupportRequestForm/common/constants.ts +0 -45
- package/src/components/Support/components/SupportRequest/components/SupportRequestForm/common/entities.ts +0 -65
- package/src/components/Support/components/SupportRequest/components/SupportRequestForm/common/utils.ts +0 -96
- package/src/components/Support/components/SupportRequest/components/SupportRequestForm/supportRequestForm.styles.ts +0 -6
- package/src/components/Support/components/SupportRequest/components/SupportRequestForm/supportRequestForm.tsx +0 -344
- package/src/components/Support/components/SupportRequest/components/SupportRequestSubmitted/supportRequestSubmitted.tsx +0 -39
- package/src/components/Support/components/SupportRequest/supportRequest.tsx +0 -33
- package/src/components/Support/components/ViewSupport/types.ts +0 -8
- package/src/components/Support/components/ViewSupport/viewSupport.styles.ts +0 -31
- package/src/components/Support/components/ViewSupport/viewSupport.tsx +0 -25
- package/src/components/Table/columnDef/accessorFn/typeGuards.ts +0 -15
- package/src/components/Table/columnDef/columnFilters/filterFn.ts +0 -27
- package/src/components/Table/columnDef/globalFilter/constants.ts +0 -5
- package/src/components/Table/columnDef/globalFilter/filterFn.ts +0 -34
- package/src/components/Table/columnDef/globalFilter/types.ts +0 -5
- package/src/components/Table/columnDef/globalFilter/utils.ts +0 -74
- package/src/components/Table/common/columnDef.ts +0 -40
- package/src/components/Table/common/columnIdentifier.ts +0 -4
- package/src/components/Table/common/entities.ts +0 -4
- package/src/components/Table/common/gridTable.styles.ts +0 -54
- package/src/components/Table/common/typeGuards.ts +0 -12
- package/src/components/Table/common/utils.ts +0 -316
- package/src/components/Table/components/PaginationSummary/paginationSummary.tsx +0 -33
- package/src/components/Table/components/TableBody/tableBody.tsx +0 -38
- package/src/components/Table/components/TableCell/common/utils.ts +0 -33
- package/src/components/Table/components/TableCell/components/BasicCell/basicCell.tsx +0 -60
- package/src/components/Table/components/TableCell/components/ChipCell/chipCell.tsx +0 -16
- package/src/components/Table/components/TableCell/components/CodeCell/codeCell.styles.ts +0 -16
- package/src/components/Table/components/TableCell/components/CodeCell/codeCell.tsx +0 -24
- package/src/components/Table/components/TableCell/components/CollapsableCell/collapsableCell.styles.ts +0 -56
- package/src/components/Table/components/TableCell/components/CollapsableCell/collapsableCell.tsx +0 -79
- package/src/components/Table/components/TableCell/components/LinkCell/linkCell.tsx +0 -69
- package/src/components/Table/components/TableCell/components/LinkCell/stories/args.ts +0 -35
- package/src/components/Table/components/TableCell/components/LinkCell/stories/linkCell.stories.tsx +0 -32
- package/src/components/Table/components/TableCell/components/LinkCell/stories/types.ts +0 -4
- package/src/components/Table/components/TableCell/components/LinkCell/utils.ts +0 -59
- package/src/components/Table/components/TableCell/components/MarkdownCell/markdownCell.styles.ts +0 -33
- package/src/components/Table/components/TableCell/components/MarkdownCell/markdownCell.tsx +0 -39
- package/src/components/Table/components/TableCell/components/MarkdownCell/stories/args.ts +0 -18
- package/src/components/Table/components/TableCell/components/MarkdownCell/stories/constants.ts +0 -11
- package/src/components/Table/components/TableCell/components/MarkdownCell/stories/markdownCell.stories.tsx +0 -37
- package/src/components/Table/components/TableCell/components/NTagCell/components/NTag/components/Tooltip/tooltip.styles.ts +0 -11
- package/src/components/Table/components/TableCell/components/NTagCell/components/NTag/components/Tooltip/tooltip.tsx +0 -86
- package/src/components/Table/components/TableCell/components/NTagCell/components/NTag/nTag.tsx +0 -21
- package/src/components/Table/components/TableCell/components/NTagCell/nTagCell.tsx +0 -73
- package/src/components/Table/components/TableCell/components/RankedCell/rankedCell.tsx +0 -67
- package/src/components/Table/components/TableCell/components/RankedCell/utils.ts +0 -48
- package/src/components/Table/components/TableCell/components/RowPositionCell/constants.ts +0 -7
- package/src/components/Table/components/TableCell/components/RowPositionCell/rowPositionCell.tsx +0 -16
- package/src/components/Table/components/TableCell/components/RowSelectionCell/constants.ts +0 -15
- package/src/components/Table/components/TableCell/components/RowSelectionCell/rowSelectionCell.tsx +0 -36
- package/src/components/Table/components/TableFeatures/ColumnFilter/columnFilter.styles.ts +0 -48
- package/src/components/Table/components/TableFeatures/ColumnFilter/columnFilter.tsx +0 -105
- package/src/components/Table/components/TableFeatures/ColumnFilter/components/ColumnFilterTag/columnFilterTag.styles.ts +0 -25
- package/src/components/Table/components/TableFeatures/ColumnFilter/components/ColumnFilterTag/columnFilterTag.tsx +0 -31
- package/src/components/Table/components/TableFeatures/ColumnFilter/components/ColumnFilterTag/constants.ts +0 -13
- package/src/components/Table/components/TableFeatures/ColumnFilter/components/ColumnFilterTag/stories/columFilterTag.stories.tsx +0 -27
- package/src/components/Table/components/TableFeatures/ColumnFilter/components/ColumnFilterTag/types.ts +0 -8
- package/src/components/Table/components/TableFeatures/ColumnFilter/constants.ts +0 -28
- package/src/components/Table/components/TableFeatures/ColumnFilter/types.ts +0 -10
- package/src/components/Table/components/TableFeatures/ColumnFilter/utils.ts +0 -27
- package/src/components/Table/components/TableFeatures/ColumnGrouping/utils.ts +0 -70
- package/src/components/Table/components/TableFeatures/ColumnVisibility/utils.ts +0 -33
- package/src/components/Table/components/TableFeatures/GlobalFilter/constants.ts +0 -8
- package/src/components/Table/components/TableFeatures/GlobalFilter/globalFilter.tsx +0 -37
- package/src/components/Table/components/TableFeatures/GlobalFilter/types.ts +0 -8
- package/src/components/Table/components/TableFeatures/RowExpanding/utils.ts +0 -25
- package/src/components/Table/components/TableFeatures/RowSorting/utils.ts +0 -87
- package/src/components/Table/components/TableFeatures/TableDownload/tableDownload.styles.ts +0 -9
- package/src/components/Table/components/TableFeatures/TableDownload/tableDownload.tsx +0 -23
- package/src/components/Table/components/TableFeatures/TableDownload/types.ts +0 -8
- package/src/components/Table/components/TableHead/components/HeadSelectionCell/headSelectionCell.tsx +0 -26
- package/src/components/Table/components/TableHead/tableHead.tsx +0 -64
- package/src/components/Table/components/TableHead/types.ts +0 -5
- package/src/components/Table/components/TableHead/utils.ts +0 -42
- package/src/components/Table/components/TablePagination/stories/args.ts +0 -12
- package/src/components/Table/components/TablePagination/stories/tablePagination.stories.tsx +0 -15
- package/src/components/Table/components/TablePagination/tablePagination.styles.ts +0 -11
- package/src/components/Table/components/TablePagination/tablePagination.tsx +0 -47
- package/src/components/Table/components/TablePagination/types.ts +0 -8
- package/src/components/Table/components/TableRow/tableRow.styles.ts +0 -76
- package/src/components/Table/components/TableRows/components/CollapsableRows/collapsableRows.styles.ts +0 -6
- package/src/components/Table/components/TableRows/components/CollapsableRows/collapsableRows.tsx +0 -47
- package/src/components/Table/components/TableRows/components/CollapsableRows/hook.ts +0 -20
- package/src/components/Table/components/TableRows/components/VirtualizedRow/virtualizedRow.tsx +0 -61
- package/src/components/Table/components/TableRows/tableRows.tsx +0 -65
- package/src/components/Table/components/TableToolbar/components/ColumnGrouping/columnGrouping.tsx +0 -36
- package/src/components/Table/components/TableToolbar/components/ColumnGrouping/components/MenuItems/constants.ts +0 -13
- package/src/components/Table/components/TableToolbar/components/ColumnGrouping/components/MenuItems/menuItems.styles.ts +0 -17
- package/src/components/Table/components/TableToolbar/components/ColumnGrouping/components/MenuItems/menuItems.tsx +0 -55
- package/src/components/Table/components/TableToolbar/components/ColumnGrouping/components/MenuItems/types.ts +0 -7
- package/src/components/Table/components/TableToolbar/components/ColumnGrouping/components/MenuItems/utils.ts +0 -58
- package/src/components/Table/components/TableToolbar/components/ColumnGrouping/constants.ts +0 -5
- package/src/components/Table/components/TableToolbar/components/ColumnGrouping/types.ts +0 -5
- package/src/components/Table/components/TableToolbar/components/ColumnGrouping/utils.ts +0 -38
- package/src/components/Table/components/TableToolbar/components/ColumnVisibility/columnVisibility.styles.ts +0 -12
- package/src/components/Table/components/TableToolbar/components/ColumnVisibility/columnVisibility.tsx +0 -28
- package/src/components/Table/components/TableToolbar/components/ColumnVisibility/components/MenuItems/constants.ts +0 -9
- package/src/components/Table/components/TableToolbar/components/ColumnVisibility/components/MenuItems/menuItems.styles.ts +0 -17
- package/src/components/Table/components/TableToolbar/components/ColumnVisibility/components/MenuItems/menuItems.tsx +0 -53
- package/src/components/Table/components/TableToolbar/components/ColumnVisibility/components/MenuItems/types.ts +0 -5
- package/src/components/Table/components/TableToolbar/components/ColumnVisibility/components/MenuItems/utils.ts +0 -44
- package/src/components/Table/components/TableToolbar/components/ColumnVisibility/constants.ts +0 -5
- package/src/components/Table/components/TableToolbar/components/ColumnVisibility/types.ts +0 -5
- package/src/components/Table/components/TableToolbar/components/RowPreview/components/RowDrawer/common/constants.ts +0 -12
- package/src/components/Table/components/TableToolbar/components/RowPreview/components/RowDrawer/rowDrawer.styles.ts +0 -33
- package/src/components/Table/components/TableToolbar/components/RowPreview/components/RowDrawer/rowDrawer.tsx +0 -59
- package/src/components/Table/components/TableToolbar/components/RowPreview/components/Section/components/RowDetail/rowDetail.styles.ts +0 -48
- package/src/components/Table/components/TableToolbar/components/RowPreview/components/Section/components/RowDetail/rowDetail.tsx +0 -51
- package/src/components/Table/components/TableToolbar/components/RowPreview/components/Section/section.styles.ts +0 -12
- package/src/components/Table/components/TableToolbar/components/RowPreview/components/Section/section.tsx +0 -28
- package/src/components/Table/components/TableToolbar/components/RowPreview/rowPreview.tsx +0 -26
- package/src/components/Table/components/TableToolbar/components/RowSelection/components/DropdownMenu/dropdownMenu.styles.ts +0 -8
- package/src/components/Table/components/TableToolbar/components/RowSelection/components/DropdownMenu/dropdownMenu.tsx +0 -37
- package/src/components/Table/components/TableToolbar/components/RowSelection/rowSelection.styles.ts +0 -8
- package/src/components/Table/components/TableToolbar/components/RowSelection/rowSelection.tsx +0 -30
- package/src/components/Table/components/TableToolbar/constants.ts +0 -8
- package/src/components/Table/components/TableToolbar/tableToolbar.styles.ts +0 -19
- package/src/components/Table/components/TableToolbar/tableToolbar.tsx +0 -61
- package/src/components/Table/components/TableToolbar2/tableToolbar2.styles.ts +0 -18
- package/src/components/Table/components/TableToolbar2/tableToolbar2.tsx +0 -17
- package/src/components/Table/components/TableToolbar2/types.ts +0 -5
- package/src/components/Table/coreOptions/state/pagination/constants.ts +0 -8
- package/src/components/Table/coreOptions/state/pagination/utils.ts +0 -21
- package/src/components/Table/featureOptions/facetedColumn/getFacetedMinMaxValues.ts +0 -64
- package/src/components/Table/featureOptions/facetedColumn/utils.ts +0 -14
- package/src/components/Table/featureOptions/tableDownload/constants.ts +0 -9
- package/src/components/Table/features/RowPosition/constants.ts +0 -37
- package/src/components/Table/features/RowPosition/types.ts +0 -7
- package/src/components/Table/features/RowPosition/utils.ts +0 -56
- package/src/components/Table/features/RowPreview/constants.ts +0 -65
- package/src/components/Table/features/RowPreview/entities.ts +0 -25
- package/src/components/Table/features/RowPreview/utils.ts +0 -93
- package/src/components/Table/features/RowSelectionValidation/constants.ts +0 -24
- package/src/components/Table/features/RowSelectionValidation/types.ts +0 -10
- package/src/components/Table/features/RowSelectionValidation/utils.ts +0 -15
- package/src/components/Table/features/TableDownload/constants.ts +0 -24
- package/src/components/Table/features/TableDownload/onDownload/utils.ts +0 -76
- package/src/components/Table/features/TableDownload/types.ts +0 -19
- package/src/components/Table/features/TableDownload/utils.ts +0 -60
- package/src/components/Table/features/entities.ts +0 -36
- package/src/components/Table/hooks/UseVirtualization/hook.ts +0 -31
- package/src/components/Table/hooks/UseVirtualization/types.ts +0 -9
- package/src/components/Table/hooks/UseVirtualization/utils.ts +0 -27
- package/src/components/Table/options/updater.ts +0 -29
- package/src/components/Table/table.styles.ts +0 -55
- package/src/components/Table/table.tsx +0 -145
- package/src/components/TableCreator/common/utils.ts +0 -37
- package/src/components/TableCreator/options/columnTrackSizing/typeGuards.ts +0 -12
- package/src/components/TableCreator/options/columnTrackSizing/utils.ts +0 -99
- package/src/components/TableCreator/options/expanded/constants.ts +0 -14
- package/src/components/TableCreator/options/expanded/hook.ts +0 -6
- package/src/components/TableCreator/options/grouping/constants.ts +0 -6
- package/src/components/TableCreator/options/grouping/hook.ts +0 -17
- package/src/components/TableCreator/options/hook.ts +0 -25
- package/src/components/TableCreator/options/initialState/columnVisibility.ts +0 -22
- package/src/components/TableCreator/options/initialState/hook.ts +0 -24
- package/src/components/TableCreator/options/rowSelection/constants.ts +0 -10
- package/src/components/TableCreator/options/rowSelection/hook.ts +0 -8
- package/src/components/TableCreator/options/sorting/constants.ts +0 -10
- package/src/components/TableCreator/options/sorting/hook.ts +0 -6
- package/src/components/TableCreator/options/visibility/constants.ts +0 -5
- package/src/components/TableCreator/options/visibility/hook.ts +0 -22
- package/src/components/TableCreator/tableCreator.tsx +0 -18
- package/src/components/TempError/components/errorBox.tsx +0 -15
- package/src/components/TempError/index.ts +0 -1
- package/src/components/TempError/tempError.tsx +0 -26
- package/src/components/common/Accordion/accordion.stories.tsx +0 -36
- package/src/components/common/Accordion/accordion.tsx +0 -43
- package/src/components/common/Alert/alert.styles.ts +0 -22
- package/src/components/common/Alert/alert.tsx +0 -18
- package/src/components/common/Alert/constants.ts +0 -29
- package/src/components/common/Alert/hooks/useTransition/types.ts +0 -5
- package/src/components/common/Alert/hooks/useTransition/useTransition.ts +0 -25
- package/src/components/common/AnchorLink/anchorLink.styles.ts +0 -15
- package/src/components/common/AnchorLink/anchorLink.tsx +0 -35
- package/src/components/common/Banner/banner.styles.ts +0 -29
- package/src/components/common/Banner/banner.tsx +0 -15
- package/src/components/common/Banner/components/CookieBanner/constants.ts +0 -9
- package/src/components/common/Banner/components/CookieBanner/cookieBanner.styles.ts +0 -34
- package/src/components/common/Banner/components/CookieBanner/cookieBanner.tsx +0 -56
- package/src/components/common/Banner/components/SessionTimeout/sessionTimeout.tsx +0 -21
- package/src/components/common/Banner/components/SystemIndexing/systemIndexing.tsx +0 -22
- package/src/components/common/Banner/components/SystemStatus/systemStatus.tsx +0 -22
- package/src/components/common/Banner/constants.ts +0 -11
- package/src/components/common/Breadcrumbs/breadcrumbs.stories.tsx +0 -57
- package/src/components/common/Breadcrumbs/breadcrumbs.tsx +0 -42
- package/src/components/common/Breadcrumbs/constants.ts +0 -6
- package/src/components/common/Breadcrumbs/typeGuard.ts +0 -24
- package/src/components/common/Button/button.tsx +0 -36
- package/src/components/common/Button/components/ButtonOutline/buttonOutline.styles.ts +0 -18
- package/src/components/common/Button/components/ButtonOutline/buttonOutline.tsx +0 -23
- package/src/components/common/Button/components/ButtonPrimary/buttonPrimary.tsx +0 -13
- package/src/components/common/Button/components/ButtonSecondary/buttonSecondary.tsx +0 -15
- package/src/components/common/Button/components/ButtonSecondaryOutline/buttonSecondaryOutline.tsx +0 -14
- package/src/components/common/Button/components/ButtonText/buttonText.styles.ts +0 -13
- package/src/components/common/Button/components/ButtonText/buttonText.tsx +0 -8
- package/src/components/common/Button/components/ButtonTextPrimary/buttonTextPrimary.styles.ts +0 -9
- package/src/components/common/Button/components/ButtonTextPrimary/buttonTextPrimary.tsx +0 -8
- package/src/components/common/Button/components/ButtonTextUnderline/buttonTextUnderline.styles.ts +0 -14
- package/src/components/common/Button/components/ButtonTextUnderline/buttonTextUnderline.tsx +0 -8
- package/src/components/common/Button/components/CallToActionButton/callToActionButton.stories.tsx +0 -33
- package/src/components/common/Button/components/CallToActionButton/callToActionButton.tsx +0 -58
- package/src/components/common/Button/components/DropdownButton/dropdownButton.styles.ts +0 -25
- package/src/components/common/Button/components/DropdownButton/dropdownButton.tsx +0 -22
- package/src/components/common/Button/components/DropdownButton/types.ts +0 -5
- package/src/components/common/Button/components/FileDownloadButton/fileDownloadButton.tsx +0 -27
- package/src/components/common/Button/components/HelpIconButton/helpIconButton.stories.tsx +0 -25
- package/src/components/common/Button/components/HelpIconButton/helpIconButton.styles.ts +0 -9
- package/src/components/common/Button/components/HelpIconButton/helpIconButton.tsx +0 -42
- package/src/components/common/Button/components/NavigationButton/navigationButton.styles.ts +0 -32
- package/src/components/common/Button/components/NavigationButton/navigationButton.tsx +0 -28
- package/src/components/common/Button/constants.ts +0 -37
- package/src/components/common/ButtonGroup/buttonGroup.tsx +0 -50
- package/src/components/common/ButtonGroup/components/ButtonGroupButton/buttonGroupButton.tsx +0 -32
- package/src/components/common/ButtonGroup/constants.ts +0 -13
- package/src/components/common/Card/card.stories.tsx +0 -45
- package/src/components/common/Card/card.styles.ts +0 -15
- package/src/components/common/Card/card.tsx +0 -67
- package/src/components/common/Card/components/CardAction/cardAction.tsx +0 -17
- package/src/components/common/Card/components/CardActionArea/cardActionArea.tsx +0 -42
- package/src/components/common/Card/components/CardActions/cardActions.styles.ts +0 -9
- package/src/components/common/Card/components/CardActions/cardActions.tsx +0 -16
- package/src/components/common/Card/components/CardMedia/cardMedia.styles.ts +0 -11
- package/src/components/common/Card/components/CardMedia/cardMedia.tsx +0 -23
- package/src/components/common/Card/components/CardSecondaryText/cardSecondaryText.tsx +0 -13
- package/src/components/common/Card/components/CardSecondaryTitle/cardSecondaryTitle.styles.ts +0 -6
- package/src/components/common/Card/components/CardSecondaryTitle/cardSecondaryTitle.tsx +0 -14
- package/src/components/common/Card/components/CardText/cardText.tsx +0 -12
- package/src/components/common/Card/components/CardTitle/cardTitle.tsx +0 -13
- package/src/components/common/Card/components/RoundedCard/roundedCard.tsx +0 -11
- package/src/components/common/Chip/components/Beta/beta.styles.ts +0 -15
- package/src/components/common/Chip/components/Beta/beta.tsx +0 -25
- package/src/components/common/Chip/components/Beta/stories/beta.stories.tsx +0 -12
- package/src/components/common/Code/code.stories.tsx +0 -17
- package/src/components/common/Code/code.styles.ts +0 -62
- package/src/components/common/Code/code.tsx +0 -38
- package/src/components/common/CopyToClipboard/copyToClipboard.stories.tsx +0 -22
- package/src/components/common/CopyToClipboard/copyToClipboard.tsx +0 -50
- package/src/components/common/CustomIcon/common/constants.ts +0 -14
- package/src/components/common/CustomIcon/common/entities.ts +0 -3
- package/src/components/common/CustomIcon/components/AddIcon/addIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/AddLinkIcon/addLinkIcon.tsx +0 -18
- package/src/components/common/CustomIcon/components/AlertIcon/alertIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/BackArrowIcon/backArrowIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/CheckedIcon/checkedIcon.tsx +0 -26
- package/src/components/common/CustomIcon/components/CloseIcon/closeIcon.tsx +0 -17
- package/src/components/common/CustomIcon/components/ContactSupportIcon/contactSupportIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/ContentCopyIcon/contentCopyIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/DiscourseIcon/discourseIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/DownloadIcon/downloadIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/EmailReadIcon/emailReadIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/ErrorIcon/errorIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/FacebookIcon/facebookIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/FeedbackIcon/feedbackIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/FormStatusCompletedIcon/formStatusCompletedIcon.tsx +0 -23
- package/src/components/common/CustomIcon/components/FormStatusIncompleteIcon/formStatusIncompleteIcon.tsx +0 -28
- package/src/components/common/CustomIcon/components/ForwardArrowIcon/forwardArrowIcon.tsx +0 -18
- package/src/components/common/CustomIcon/components/GitHubIcon/gitHubIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/GoogleIcon/googleIcon.tsx +0 -33
- package/src/components/common/CustomIcon/components/HelpIcon/helpIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/InProgressIcon/inProgressIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/IndeterminateIcon/indeterminateIcon.tsx +0 -23
- package/src/components/common/CustomIcon/components/InfoIcon/infoIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/InventoryIcon/inventoryIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/LinkedInIcon/linkedInIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/LoadingIcon/loadingIcon.tsx +0 -108
- package/src/components/common/CustomIcon/components/OpenInNewIcon/openInNewIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/RadioCheckedIcon/radioCheckedIcon.tsx +0 -24
- package/src/components/common/CustomIcon/components/RadioUncheckedIcon/radioUncheckedIcon.tsx +0 -27
- package/src/components/common/CustomIcon/components/RemoveIcon/removeIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/SearchIcon/searchIcon.tsx +0 -21
- package/src/components/common/CustomIcon/components/SearchOffIcon/searchOffIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/Segment/segment.tsx +0 -18
- package/src/components/common/CustomIcon/components/SlackIcon/slackIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/SouthIcon/southIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/SuccessIcon/successIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/UnLinkIcon/unLinkIcon.tsx +0 -18
- package/src/components/common/CustomIcon/components/UncheckedDisabledIcon/uncheckedDisabledIcon.tsx +0 -27
- package/src/components/common/CustomIcon/components/UncheckedErrorIcon/uncheckedErrorIcon.tsx +0 -27
- package/src/components/common/CustomIcon/components/UncheckedIcon/uncheckedIcon.tsx +0 -27
- package/src/components/common/CustomIcon/components/UnfoldMoreIcon/unfoldMoreIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/UpArrowIcon/upArrowIcon.tsx +0 -21
- package/src/components/common/CustomIcon/components/WarningIcon/warningIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/XIcon/xIcon.tsx +0 -22
- package/src/components/common/CustomIcon/components/YouTubeIcon/youTubeIcon.tsx +0 -22
- package/src/components/common/Dialog/components/DialogTitle/dialogTitle.tsx +0 -26
- package/src/components/common/Dialog/dialog.tsx +0 -21
- package/src/components/common/Dialog/hooks/useDialog.ts +0 -28
- package/src/components/common/Dot/dot.styles.ts +0 -12
- package/src/components/common/Dot/dot.tsx +0 -7
- package/src/components/common/Drawer/components/DrawerTitle/drawerTitle.styles.ts +0 -12
- package/src/components/common/Drawer/components/DrawerTitle/drawerTitle.tsx +0 -27
- package/src/components/common/Drawer/components/drawer.styles.ts +0 -6
- package/src/components/common/Drawer/drawer.tsx +0 -21
- package/src/components/common/Drawer/provider/context.ts +0 -8
- package/src/components/common/Drawer/provider/hook.ts +0 -11
- package/src/components/common/Drawer/provider/provider.tsx +0 -19
- package/src/components/common/Drawer/provider/types.ts +0 -12
- package/src/components/common/DropdownMenu/common/constants.ts +0 -7
- package/src/components/common/DropdownMenu/common/entities.ts +0 -11
- package/src/components/common/DropdownMenu/components/MenuItem/menuItem.tsx +0 -24
- package/src/components/common/DropdownMenu/dropdownMenu.styles.ts +0 -8
- package/src/components/common/DropdownMenu/dropdownMenu.tsx +0 -52
- package/src/components/common/EllipsisContent/ellipsisContent.styles.ts +0 -24
- package/src/components/common/EllipsisContent/ellipsisContent.tsx +0 -204
- package/src/components/common/Form/components/Input/input.styles.ts +0 -55
- package/src/components/common/Form/components/Input/input.tsx +0 -41
- package/src/components/common/Form/components/Select/components/DropDownIcon/dropDownIcon.tsx +0 -9
- package/src/components/common/Form/components/Select/select.styles.ts +0 -26
- package/src/components/common/Form/components/Select/select.tsx +0 -41
- package/src/components/common/Form/components/UploadFile/uploadFile.styles.ts +0 -55
- package/src/components/common/Form/components/UploadFile/uploadFile.tsx +0 -92
- package/src/components/common/Grid/components/GridItem/gridItem.tsx +0 -25
- package/src/components/common/Grid/grid.tsx +0 -23
- package/src/components/common/IconBadge/iconBadge.styles.ts +0 -49
- package/src/components/common/IconBadge/iconBadge.tsx +0 -32
- package/src/components/common/IconButton/iconButton.styles.ts +0 -20
- package/src/components/common/IconButton/iconButton.tsx +0 -33
- package/src/components/common/Input/input.styles.ts +0 -37
- package/src/components/common/Input/input.tsx +0 -66
- package/src/components/common/KeyValuePairs/components/KeyElType/keyElType.tsx +0 -26
- package/src/components/common/KeyValuePairs/components/KeyValueElType/keyValueElType.tsx +0 -34
- package/src/components/common/KeyValuePairs/components/ValueElType/valueElType.tsx +0 -20
- package/src/components/common/KeyValuePairs/keyValuePairs.tsx +0 -45
- package/src/components/common/Link/typeGuards.ts +0 -35
- package/src/components/common/LoginDialog/constants.ts +0 -33
- package/src/components/common/LoginDialog/loginDialog.styles.ts +0 -50
- package/src/components/common/LoginDialog/loginDialog.tsx +0 -56
- package/src/components/common/LoginDialog/types.ts +0 -4
- package/src/components/common/MDXMarkdown/components/Section/mdxSection.styles.ts +0 -27
- package/src/components/common/Markdown/markdown.tsx +0 -19
- package/src/components/common/Menu/hooks/useMenu.ts +0 -62
- package/src/components/common/OutlinedInput/components/InputAdornment/components/ClearInputAdornment/clearInputAdornment.styles.ts +0 -12
- package/src/components/common/OutlinedInput/components/InputAdornment/components/ClearInputAdornment/clearInputAdornment.tsx +0 -21
- package/src/components/common/OutlinedInput/components/InputAdornment/components/ClearInputAdornment/constants.ts +0 -13
- package/src/components/common/OutlinedInput/components/InputAdornment/components/ClearInputAdornment/types.ts +0 -4
- package/src/components/common/OutlinedInput/components/InputAdornment/components/SearchInputAdornment/constants.ts +0 -7
- package/src/components/common/OutlinedInput/components/InputAdornment/components/SearchInputAdornment/searchInputAdornment.tsx +0 -13
- package/src/components/common/OutlinedInput/components/InputAdornment/components/constants.ts +0 -7
- package/src/components/common/OutlinedInput/components/InputAdornment/inputAdornment.styles.ts +0 -6
- package/src/components/common/OutlinedInput/outlinedInput.styles.ts +0 -24
- package/src/components/common/Paper/components/FlatPaper/flatPaper.styles.ts +0 -9
- package/src/components/common/Paper/components/FlatPaper/flatPaper.tsx +0 -10
- package/src/components/common/Paper/components/FluidPaper/fluidPaper.styles.ts +0 -11
- package/src/components/common/Paper/components/FluidPaper/fluidPaper.tsx +0 -10
- package/src/components/common/Paper/components/RoundedPaper/roundedPaper.styles.ts +0 -10
- package/src/components/common/Paper/components/RoundedPaper/roundedPaper.tsx +0 -10
- package/src/components/common/Paper/paper.styles.ts +0 -77
- package/src/components/common/Paper/paper.tsx +0 -44
- package/src/components/common/Progress/components/CircularProgress/circularProgress.styles.ts +0 -6
- package/src/components/common/Progress/components/CircularProgress/circularProgress.tsx +0 -26
- package/src/components/common/Progress/components/CircularProgress/components/CircularProgressTrack/circularProgressTrack.styles.ts +0 -27
- package/src/components/common/Progress/components/CircularProgress/components/CircularProgressTrack/circularProgressTrack.tsx +0 -23
- package/src/components/common/RadioGroup/radioGroup.tsx +0 -58
- package/src/components/common/Section/components/CollapsableSection/collapsableSection.styles.ts +0 -39
- package/src/components/common/Section/components/CollapsableSection/collapsableSection.tsx +0 -82
- package/src/components/common/Section/components/SectionDetailsEmpty/sectionDetailsEmpty.tsx +0 -11
- package/src/components/common/Section/components/SectionTitle/sectionTitle.stories.tsx +0 -20
- package/src/components/common/Section/components/SectionTitle/sectionTitle.tsx +0 -25
- package/src/components/common/Section/section.styles.ts +0 -66
- package/src/components/common/Sections/sections.tsx +0 -18
- package/src/components/common/Socials/socials.stories.tsx +0 -63
- package/src/components/common/Socials/socials.styles.ts +0 -15
- package/src/components/common/Socials/socials.tsx +0 -50
- package/src/components/common/Stack/components/Divider/divider.styles.tsx +0 -6
- package/src/components/common/Stack/components/Divider/divider.tsx +0 -25
- package/src/components/common/Stack/stack.tsx +0 -44
- package/src/components/common/StaticImage/staticImage.stories.tsx +0 -26
- package/src/components/common/StaticImage/staticImage.tsx +0 -35
- package/src/components/common/StatusBadge/statusBadge.stories.tsx +0 -18
- package/src/components/common/StatusBadge/statusBadge.tsx +0 -35
- package/src/components/common/StatusIcon/statusIcon.stories.tsx +0 -23
- package/src/components/common/StatusIcon/statusIcon.styles.ts +0 -51
- package/src/components/common/StatusIcon/statusIcon.tsx +0 -33
- package/src/components/common/Tabs/tabs.styles.ts +0 -48
- package/src/components/common/Tabs/tabs.tsx +0 -92
- package/src/components/common/Tag/tag.stories.tsx +0 -22
- package/src/components/common/Tag/tag.styles.ts +0 -14
- package/src/components/common/Tag/tag.tsx +0 -18
- package/src/components/common/Title/title.styles.ts +0 -9
- package/src/components/common/Title/title.tsx +0 -26
- package/src/components/common/ToggleButtonGroup/hooks/UseToggleButtonGroup/hook.ts +0 -17
- package/src/components/common/ToggleButtonGroup/provider/context.ts +0 -9
- package/src/components/common/ToggleButtonGroup/provider/hook.ts +0 -16
- package/src/components/common/ToggleButtonGroup/provider/provider.tsx +0 -37
- package/src/components/common/ToggleButtonGroup/provider/types.ts +0 -17
- package/src/components/common/ToggleButtonGroup/toggleButtonGroup.stories.tsx +0 -38
- package/src/components/common/ToggleButtonGroup/toggleButtonGroup.tsx +0 -87
- package/src/components/common/Typography/TypographyWordBreak/TypographyWordBreak.tsx +0 -23
- package/src/components/common/Typography/common/entities.ts +0 -5
- package/src/components/types.ts +0 -21
- package/src/components/utils.ts +0 -10
- package/src/config/config.ts +0 -19
- package/src/config/entities.ts +0 -456
- package/src/config/utils.ts +0 -89
- package/src/entity/api/service.ts +0 -195
- package/src/entity/apicf/service.ts +0 -73
- package/src/entity/common/client.ts +0 -30
- package/src/entity/common/service.ts +0 -40
- package/src/entity/common/utils.ts +0 -12
- package/src/entity/service/factory.ts +0 -44
- package/src/entity/service/model.ts +0 -72
- package/src/entity/tsv/service.ts +0 -49
- package/src/hooks/UseLayoutSpacing/hook.ts +0 -12
- package/src/hooks/UseLayoutSpacing/types.ts +0 -8
- package/src/hooks/ai/useAiRoutes/hook.ts +0 -22
- package/src/hooks/authentication/auth/useAuthReducer.ts +0 -16
- package/src/hooks/authentication/authentication/useAuthenticationReducer.ts +0 -16
- package/src/hooks/authentication/config/useAuthenticationConfig.ts +0 -13
- package/src/hooks/authentication/credentials/useCredentialsReducer.ts +0 -13
- package/src/hooks/authentication/profile/types.ts +0 -9
- package/src/hooks/authentication/profile/useProfile.ts +0 -21
- package/src/hooks/authentication/providers/types.ts +0 -7
- package/src/hooks/authentication/providers/useProviders.ts +0 -23
- package/src/hooks/authentication/session/useSessionActive.ts +0 -51
- package/src/hooks/authentication/session/useSessionCallbackUrl.ts +0 -25
- package/src/hooks/authentication/session/useSessionIdleTimer.ts +0 -9
- package/src/hooks/authentication/session/useSessionTimeout.ts +0 -40
- package/src/hooks/authentication/terra/useAuthenticationForm.ts +0 -120
- package/src/hooks/authentication/terra/useAuthenticationNIHExpiry.ts +0 -63
- package/src/hooks/authentication/token/types.ts +0 -5
- package/src/hooks/authentication/token/useToken.ts +0 -9
- package/src/hooks/authentication/token/useTokenReducer.ts +0 -19
- package/src/hooks/stateSyncManager/hook.ts +0 -47
- package/src/hooks/stateSyncManager/hooks/UseBeforePopState/hook.ts +0 -30
- package/src/hooks/stateSyncManager/hooks/UseMetaCommands/hook.ts +0 -30
- package/src/hooks/stateSyncManager/hooks/UseMetaCommands/types.ts +0 -4
- package/src/hooks/stateSyncManager/hooks/UseStateSync/hook.ts +0 -52
- package/src/hooks/stateSyncManager/hooks/UseStateSync/utils.ts +0 -58
- package/src/hooks/stateSyncManager/types.ts +0 -34
- package/src/hooks/types.ts +0 -4
- package/src/hooks/useAsync.ts +0 -100
- package/src/hooks/useBreakpoint.ts +0 -55
- package/src/hooks/useBreakpointHelper.ts +0 -24
- package/src/hooks/useCatalog.ts +0 -17
- package/src/hooks/useCategoryFilter.ts +0 -289
- package/src/hooks/useConfig.tsx +0 -10
- package/src/hooks/useCurrentBreakpoint.ts +0 -23
- package/src/hooks/useCurrentDetailTab.ts +0 -29
- package/src/hooks/useDownloadStatus.ts +0 -31
- package/src/hooks/useEntityExportConfig.ts +0 -16
- package/src/hooks/useEntityHeadTitle.ts +0 -62
- package/src/hooks/useEntityList.ts +0 -206
- package/src/hooks/useEntityService.ts +0 -75
- package/src/hooks/useExploreMode/types.ts +0 -7
- package/src/hooks/useExploreMode/useExploreMode.ts +0 -16
- package/src/hooks/useExploreState.tsx +0 -13
- package/src/hooks/useExportConfig.ts +0 -16
- package/src/hooks/useExportToTerraResponseURL.ts +0 -25
- package/src/hooks/useFeatureFlag/common/entities.ts +0 -4
- package/src/hooks/useFeatureFlag/common/utils.ts +0 -17
- package/src/hooks/useFeatureFlag/useFeatureFlag.ts +0 -19
- package/src/hooks/useFetchEntity.tsx +0 -82
- package/src/hooks/useFetchRequestURL.ts +0 -20
- package/src/hooks/useFileLocation.ts +0 -37
- package/src/hooks/useFileManifest/common/entities.ts +0 -51
- package/src/hooks/useFileManifest/common/utils.ts +0 -218
- package/src/hooks/useFileManifest/useFetchFilesFacets.ts +0 -57
- package/src/hooks/useFileManifest/useFetchSummary.ts +0 -45
- package/src/hooks/useFileManifest/useFileManifest.ts +0 -40
- package/src/hooks/useFileManifest/useFileManifestDownload.ts +0 -118
- package/src/hooks/useFileManifest/useFileManifestFileCount.ts +0 -65
- package/src/hooks/useFileManifest/useFileManifestFormat.ts +0 -23
- package/src/hooks/useFileManifest/useFileManifestSpreadsheet.ts +0 -110
- package/src/hooks/useFileManifestState.ts +0 -13
- package/src/hooks/useHtmlStyle/constants.ts +0 -5
- package/src/hooks/useHtmlStyle/hook.ts +0 -23
- package/src/hooks/useHtmlStyle/types.ts +0 -3
- package/src/hooks/useLocalStorage/common/utils.ts +0 -19
- package/src/hooks/useLocalStorage/useLocalStorage.ts +0 -17
- package/src/hooks/useLocation.ts +0 -25
- package/src/hooks/useRequestFileLocation.ts +0 -154
- package/src/hooks/useRequestManifest/constants.ts +0 -6
- package/src/hooks/useRequestManifest/types.ts +0 -7
- package/src/hooks/useRequestManifest/useRequestManifest.ts +0 -49
- package/src/hooks/useRequestManifest/utils.ts +0 -166
- package/src/hooks/useResetableState.ts +0 -18
- package/src/hooks/useResizeObserver.ts +0 -114
- package/src/hooks/useRouteHistory.ts +0 -65
- package/src/hooks/useRouteRoot.ts +0 -11
- package/src/hooks/useSummary.ts +0 -40
- package/src/hooks/useSystemStatus.ts +0 -10
- package/src/hooks/useURLFilterParams.ts +0 -68
- package/src/hooks/useUpdateURLCatalogParam.ts +0 -21
- package/src/hooks/useUpdateURLSearchParams.ts +0 -20
- package/src/hooks/useWindowResize.ts +0 -52
- package/src/images/cc.svg +0 -18
- package/src/images/logo.svg +0 -3
- package/src/index.ts +0 -1
- package/src/mocks/useRequestFileManifest.mocks.ts +0 -123
- package/src/providers/authentication/auth/actions.ts +0 -17
- package/src/providers/authentication/auth/constants.ts +0 -6
- package/src/providers/authentication/auth/context.ts +0 -9
- package/src/providers/authentication/auth/dispatch.ts +0 -58
- package/src/providers/authentication/auth/hook.ts +0 -11
- package/src/providers/authentication/auth/reducer.ts +0 -25
- package/src/providers/authentication/auth/types.ts +0 -63
- package/src/providers/authentication/authentication/actions.ts +0 -17
- package/src/providers/authentication/authentication/constants.ts +0 -6
- package/src/providers/authentication/authentication/context.ts +0 -8
- package/src/providers/authentication/authentication/dispatch.ts +0 -55
- package/src/providers/authentication/authentication/hook.ts +0 -11
- package/src/providers/authentication/authentication/reducer.ts +0 -34
- package/src/providers/authentication/authentication/types.ts +0 -64
- package/src/providers/authentication/authentication/utils.ts +0 -25
- package/src/providers/authentication/common/types.ts +0 -1
- package/src/providers/authentication/common/utils.ts +0 -11
- package/src/providers/authentication/credentials/actions.ts +0 -17
- package/src/providers/authentication/credentials/constants.ts +0 -5
- package/src/providers/authentication/credentials/context.ts +0 -8
- package/src/providers/authentication/credentials/dispatch.ts +0 -31
- package/src/providers/authentication/credentials/hook.ts +0 -11
- package/src/providers/authentication/credentials/reducer.ts +0 -30
- package/src/providers/authentication/credentials/types.ts +0 -33
- package/src/providers/authentication/terra/context.ts +0 -16
- package/src/providers/authentication/terra/hook.ts +0 -11
- package/src/providers/authentication/terra/hooks/common/constants.ts +0 -31
- package/src/providers/authentication/terra/hooks/common/entities.ts +0 -28
- package/src/providers/authentication/terra/hooks/common/utils.ts +0 -31
- package/src/providers/authentication/terra/hooks/useFetchProfiles.ts +0 -61
- package/src/providers/authentication/terra/hooks/useFetchTerraNIHProfile.ts +0 -96
- package/src/providers/authentication/terra/hooks/useFetchTerraProfile.ts +0 -111
- package/src/providers/authentication/terra/hooks/useFetchTerraTermsOfService.ts +0 -100
- package/src/providers/authentication/terra/hooks/utils.ts +0 -29
- package/src/providers/authentication/terra/provider.tsx +0 -60
- package/src/providers/authentication/terra/types.ts +0 -23
- package/src/providers/authentication/terra/utils.ts +0 -49
- package/src/providers/authentication/token/constants.ts +0 -6
- package/src/providers/authentication/token/dispatch.ts +0 -29
- package/src/providers/authentication/token/reducer.ts +0 -26
- package/src/providers/authentication/token/types.ts +0 -36
- package/src/providers/config.tsx +0 -58
- package/src/providers/dataDictionary/context.ts +0 -6
- package/src/providers/dataDictionary/hook.ts +0 -11
- package/src/providers/dataDictionary/types.ts +0 -6
- package/src/providers/dataDictionaryState/actions/clearMeta/action.ts +0 -18
- package/src/providers/dataDictionaryState/actions/clearMeta/dispatch.ts +0 -13
- package/src/providers/dataDictionaryState/actions/clearMeta/types.ts +0 -8
- package/src/providers/dataDictionaryState/actions/stateToUrl/action.ts +0 -20
- package/src/providers/dataDictionaryState/actions/stateToUrl/dispatch.ts +0 -14
- package/src/providers/dataDictionaryState/actions/stateToUrl/types.ts +0 -15
- package/src/providers/dataDictionaryState/actions/types.ts +0 -20
- package/src/providers/dataDictionaryState/actions/updateColumnFilters/action.ts +0 -24
- package/src/providers/dataDictionaryState/actions/updateColumnFilters/dispatch.ts +0 -16
- package/src/providers/dataDictionaryState/actions/updateColumnFilters/types.ts +0 -12
- package/src/providers/dataDictionaryState/actions/updateColumnFilters/utils.ts +0 -41
- package/src/providers/dataDictionaryState/actions/updateGlobalFilter/action.ts +0 -25
- package/src/providers/dataDictionaryState/actions/updateGlobalFilter/dispatch.ts +0 -16
- package/src/providers/dataDictionaryState/actions/updateGlobalFilter/types.ts +0 -12
- package/src/providers/dataDictionaryState/actions/updateGlobalFilter/utils.ts +0 -50
- package/src/providers/dataDictionaryState/actions/urlToState/action.ts +0 -28
- package/src/providers/dataDictionaryState/actions/urlToState/dispatch.ts +0 -14
- package/src/providers/dataDictionaryState/actions/urlToState/types.ts +0 -11
- package/src/providers/dataDictionaryState/context.ts +0 -9
- package/src/providers/dataDictionaryState/dictionaries/constants.ts +0 -4
- package/src/providers/dataDictionaryState/dictionaries/state.ts +0 -45
- package/src/providers/dataDictionaryState/dictionaries/types.ts +0 -11
- package/src/providers/dataDictionaryState/dictionaries/utils.ts +0 -25
- package/src/providers/dataDictionaryState/hooks/UseDataDictionaryInitialArgs/hook.ts +0 -14
- package/src/providers/dataDictionaryState/hooks/UseDataDictionaryInitialArgs/types.ts +0 -5
- package/src/providers/dataDictionaryState/hooks/UseDataDictionaryReducer/hook.ts +0 -17
- package/src/providers/dataDictionaryState/hooks/UseDataDictionaryState/hook.ts +0 -11
- package/src/providers/dataDictionaryState/initializer/constants.ts +0 -6
- package/src/providers/dataDictionaryState/initializer/initializer.ts +0 -22
- package/src/providers/dataDictionaryState/initializer/utils.ts +0 -39
- package/src/providers/dataDictionaryState/provider.tsx +0 -16
- package/src/providers/dataDictionaryState/reducer.ts +0 -42
- package/src/providers/dataDictionaryState/types.ts +0 -18
- package/src/providers/exploreState/actions/clearMeta/action.ts +0 -18
- package/src/providers/exploreState/actions/clearMeta/dispatch.ts +0 -13
- package/src/providers/exploreState/actions/clearMeta/types.ts +0 -8
- package/src/providers/exploreState/actions/stateToUrl/action.ts +0 -20
- package/src/providers/exploreState/actions/stateToUrl/dispatch.ts +0 -14
- package/src/providers/exploreState/actions/stateToUrl/types.ts +0 -15
- package/src/providers/exploreState/actions/updateFilterSort/action.ts +0 -30
- package/src/providers/exploreState/actions/updateFilterSort/dispatch.ts +0 -16
- package/src/providers/exploreState/actions/updateFilterSort/types.ts +0 -9
- package/src/providers/exploreState/actions/updateFilterSort/utils.ts +0 -30
- package/src/providers/exploreState/actions/updateGrouping/action.ts +0 -26
- package/src/providers/exploreState/actions/updateGrouping/dispatch.ts +0 -16
- package/src/providers/exploreState/actions/updateGrouping/types.ts +0 -11
- package/src/providers/exploreState/actions/updateGrouping/utils.ts +0 -33
- package/src/providers/exploreState/actions/updateVisibility/action.ts +0 -29
- package/src/providers/exploreState/actions/updateVisibility/dispatch.ts +0 -19
- package/src/providers/exploreState/actions/updateVisibility/types.ts +0 -11
- package/src/providers/exploreState/actions/updateVisibility/utils.ts +0 -28
- package/src/providers/exploreState/actions/urlToState/action.ts +0 -74
- package/src/providers/exploreState/actions/urlToState/dispatch.ts +0 -14
- package/src/providers/exploreState/actions/urlToState/types.ts +0 -11
- package/src/providers/exploreState/actions/urlToState/utils.ts +0 -18
- package/src/providers/exploreState/constants.ts +0 -9
- package/src/providers/exploreState/entities/query/buildQuery.ts +0 -66
- package/src/providers/exploreState/entities/state.ts +0 -53
- package/src/providers/exploreState/entities/types.ts +0 -19
- package/src/providers/exploreState/entities.ts +0 -66
- package/src/providers/exploreState/initializer/constants.ts +0 -46
- package/src/providers/exploreState/initializer/utils.ts +0 -339
- package/src/providers/exploreState/payloads/entities.ts +0 -95
- package/src/providers/exploreState/utils.ts +0 -295
- package/src/providers/exploreState.tsx +0 -783
- package/src/providers/fileManifestState/constants.ts +0 -17
- package/src/providers/fileManifestState.tsx +0 -392
- package/src/providers/googleSignInAuthentication/common/types.ts +0 -28
- package/src/providers/googleSignInAuthentication/constants.ts +0 -17
- package/src/providers/googleSignInAuthentication/hooks/useGoogleSignInService.ts +0 -53
- package/src/providers/googleSignInAuthentication/profile/types.ts +0 -15
- package/src/providers/googleSignInAuthentication/profile/utils.ts +0 -29
- package/src/providers/googleSignInAuthentication/provider.tsx +0 -53
- package/src/providers/googleSignInAuthentication/service/constants.ts +0 -16
- package/src/providers/googleSignInAuthentication/service/service.ts +0 -68
- package/src/providers/googleSignInAuthentication/types.ts +0 -7
- package/src/providers/layoutDimensions/constants.ts +0 -6
- package/src/providers/layoutDimensions/context.tsx +0 -10
- package/src/providers/layoutDimensions/hook.ts +0 -7
- package/src/providers/layoutDimensions/provider.tsx +0 -29
- package/src/providers/layoutDimensions/types.ts +0 -17
- package/src/providers/loginGuard/common/types.ts +0 -21
- package/src/providers/loginGuard/context.ts +0 -12
- package/src/providers/loginGuard/hook.ts +0 -14
- package/src/providers/loginGuard/provider.tsx +0 -76
- package/src/providers/nextAuthAuthentication/hooks/useNextAuthService.ts +0 -26
- package/src/providers/nextAuthAuthentication/provider.tsx +0 -42
- package/src/providers/nextAuthAuthentication/service/service.ts +0 -14
- package/src/providers/nextAuthAuthentication/types.ts +0 -9
- package/src/providers/services/provider.tsx +0 -25
- package/src/providers/services/wasPop/context.ts +0 -7
- package/src/providers/services/wasPop/hook.ts +0 -7
- package/src/providers/services/wasPop/provider.tsx +0 -45
- package/src/providers/services/wasPop/types.ts +0 -7
- package/src/providers/systemStatus.tsx +0 -112
- package/src/routes/constants.ts +0 -4
- package/src/services/beforePopState/popStateBus.ts +0 -64
- package/src/services/beforePopState/types.ts +0 -15
- package/src/services/beforePopState/useOnPopState.ts +0 -15
- package/src/services/beforePopState/usePopStateBus.ts +0 -14
- package/src/shared/constants.ts +0 -1
- package/src/shared/utils.ts +0 -34
- package/src/storybook/controls/constants.ts +0 -12
- package/src/storybook/controls/types.ts +0 -4
- package/src/storybook/controls/utils.ts +0 -18
- package/src/storybook/decorators.tsx +0 -17
- package/src/storybook/loremIpsum.ts +0 -5
- package/src/storybook/parameters.ts +0 -14
- package/src/styles/common/constants/app.ts +0 -3
- package/src/styles/common/constants/colorMixes.ts +0 -23
- package/src/styles/common/constants/font.ts +0 -18
- package/src/styles/common/constants/palette.ts +0 -47
- package/src/styles/common/constants/shadows.ts +0 -5
- package/src/styles/common/constants/size.ts +0 -5
- package/src/styles/common/mixins/breakpoints.ts +0 -31
- package/src/styles/common/mixins/typography.ts +0 -15
- package/src/styles/common/mui/alert.ts +0 -24
- package/src/styles/common/mui/button.ts +0 -38
- package/src/styles/common/mui/buttonGroup.ts +0 -46
- package/src/styles/common/mui/chip.ts +0 -36
- package/src/styles/common/mui/drawer.ts +0 -24
- package/src/styles/common/mui/icon.ts +0 -8
- package/src/styles/common/mui/iconButton.ts +0 -40
- package/src/styles/common/mui/inputAdornment.ts +0 -22
- package/src/styles/common/mui/inputBase.ts +0 -38
- package/src/styles/common/mui/link.ts +0 -15
- package/src/styles/common/mui/outlinedInput.ts +0 -14
- package/src/styles/common/mui/paper.ts +0 -10
- package/src/styles/common/mui/popover.ts +0 -19
- package/src/styles/common/mui/stack.ts +0 -33
- package/src/styles/common/mui/stepper.ts +0 -14
- package/src/styles/common/mui/svgIcon.ts +0 -35
- package/src/styles/common/mui/tab.ts +0 -16
- package/src/styles/common/mui/tableCell.ts +0 -40
- package/src/styles/common/mui/tabs.ts +0 -20
- package/src/styles/common/mui/textField.ts +0 -33
- package/src/styles/common/mui/toggleButton.ts +0 -27
- package/src/styles/common/mui/typography.ts +0 -45
- package/src/tests/mui/constants.ts +0 -6
- package/src/tests/testIds.ts +0 -26
- package/src/tests/utils.ts +0 -53
- package/src/theme/common/breakpoints.ts +0 -19
- package/src/theme/common/components.ts +0 -1439
- package/src/theme/common/fontStyles.ts +0 -17
- package/src/theme/common/palette.ts +0 -137
- package/src/theme/common/shadows.ts +0 -29
- package/src/theme/common/typography.ts +0 -154
- package/src/theme/components/index.ts +0 -4
- package/src/theme/components/muiAlert.ts +0 -122
- package/src/theme/components/muiAlertTitle.ts +0 -14
- package/src/theme/components/muiButtonGroup.ts +0 -83
- package/src/theme/components/muiTableCell.ts +0 -53
- package/src/theme/theme.ts +0 -45
- package/src/theme/types.ts +0 -5
- package/src/types/error.ts +0 -21
- package/src/utils/database.ts +0 -58
- package/src/utils/fetchQueryParams.ts +0 -27
- package/src/utils/formatCountSize.ts +0 -27
- package/src/utils/formatFileSize.ts +0 -26
- package/src/utils/mdx/files/mapMDXSlugByFilePaths.ts +0 -48
- package/src/utils/mdx/files/resolveRelativeDirs.ts +0 -10
- package/src/utils/mdx/frontmatter/getMatter.ts +0 -13
- package/src/utils/mdx/frontmatter/types.ts +0 -7
- package/src/utils/mdx/frontmatter/validateMatter.ts +0 -20
- package/src/utils/mdx/plugins/rehypeSlug.ts +0 -64
- package/src/utils/mdx/plugins/remarkHeadings.ts +0 -66
- package/src/utils/mdx/plugins/types.ts +0 -4
- package/src/utils/mdx/plugins/utils.ts +0 -39
- package/src/utils/mdx/staticGeneration/staticPaths.ts +0 -18
- package/src/utils/mdx/staticGeneration/staticProps.ts +0 -61
- package/src/utils/mdx/staticGeneration/types.ts +0 -16
- package/src/utils/mdx/staticGeneration/utils.ts +0 -32
- package/src/utils/parseJsonQueryParam.ts +0 -27
- package/src/utils/replaceParameters.ts +0 -23
- package/src/utils/ssr.ts +0 -5
- package/src/utils/stateToUrlQuery.ts +0 -40
- package/src/utils/tests.ts +0 -39
- package/src/utils/typeGuards.ts +0 -8
- package/src/utils/url.ts +0 -20
- package/src/viewModelBuilders/common/entities.ts +0 -4
- package/src/viewModelBuilders/common/utils.ts +0 -45
- package/src/views/ContentView/contentView.stories.tsx +0 -105
- package/src/views/ContentView/contentView.tsx +0 -29
- package/src/views/DataDictionaryView/dataDictionaryView.tsx +0 -35
- package/src/views/DataDictionaryView/types.ts +0 -5
- package/src/views/DataDictionaryView/utils.ts +0 -23
- package/src/views/EntityDetailView/entityDetailView.tsx +0 -90
- package/src/views/EntityExportMethodView/entityExportMethodView.tsx +0 -67
- package/src/views/EntityExportView/entityExportView.tsx +0 -39
- package/src/views/ExploreView/entityList/filters/components/ToggleButtonGroup/toggleButtonGroup.styles.ts +0 -25
- package/src/views/ExploreView/entityList/filters/components/ToggleButtonGroup/toggleButtonGroup.tsx +0 -35
- package/src/views/ExploreView/entityList/filters/filters.styles.ts +0 -19
- package/src/views/ExploreView/exploreView.tsx +0 -208
- package/src/views/ExploreView/hooks/UseUpdateFilterSort/hook.ts +0 -20
- package/src/views/ExploreView/hooks/UseUpdateFilterSort/types.ts +0 -7
- package/src/views/ExploreView/utils.ts +0 -25
- package/src/views/ExportMethodView/exportMethodView.tsx +0 -42
- package/src/views/ExportView/exportView.tsx +0 -32
- package/src/views/LoginView/loginView.tsx +0 -24
- package/src/views/ResearchView/assistant/assistant.tsx +0 -28
- package/src/views/ResearchView/assistant/components/Drawer/drawer.styles.ts +0 -24
- package/src/views/ResearchView/assistant/components/Drawer/drawer.tsx +0 -26
- package/src/views/ResearchView/assistant/components/Drawer/types.ts +0 -5
- package/src/views/ResearchView/assistant/components/Form/constants.ts +0 -3
- package/src/views/ResearchView/assistant/components/Form/form.styles.ts +0 -8
- package/src/views/ResearchView/assistant/components/Form/form.tsx +0 -33
- package/src/views/ResearchView/assistant/components/Form/types.ts +0 -9
- package/src/views/ResearchView/assistant/components/Form/utils.ts +0 -51
- package/src/views/ResearchView/assistant/components/Input/constants.ts +0 -16
- package/src/views/ResearchView/assistant/components/Input/hooks/UseControlledInput/hook.ts +0 -33
- package/src/views/ResearchView/assistant/components/Input/hooks/UseControlledInput/types.ts +0 -12
- package/src/views/ResearchView/assistant/components/Input/hooks/UseKeyShortCuts/constants.ts +0 -7
- package/src/views/ResearchView/assistant/components/Input/hooks/UseKeyShortCuts/hook.ts +0 -47
- package/src/views/ResearchView/assistant/components/Input/hooks/UseKeyShortCuts/types.ts +0 -13
- package/src/views/ResearchView/assistant/components/Input/hooks/UseKeyShortCuts/utils.ts +0 -95
- package/src/views/ResearchView/assistant/components/Input/input.styles.ts +0 -21
- package/src/views/ResearchView/assistant/components/Input/input.tsx +0 -46
- package/src/views/ResearchView/assistant/components/Input/stories/input.stories.tsx +0 -21
- package/src/views/ResearchView/assistant/components/Input/types.ts +0 -4
- package/src/views/ResearchView/assistant/components/Input/utils.ts +0 -34
- package/src/views/ResearchView/assistant/components/Messages/components/AssistantMessage/assistantMessage.tsx +0 -21
- package/src/views/ResearchView/assistant/components/Messages/components/AssistantMessage/types.ts +0 -5
- package/src/views/ResearchView/assistant/components/Messages/components/ErrorMessage/errorMessage.tsx +0 -21
- package/src/views/ResearchView/assistant/components/Messages/components/ErrorMessage/types.ts +0 -5
- package/src/views/ResearchView/assistant/components/Messages/components/PromptMessage/components/Chips/chips.styles.ts +0 -27
- package/src/views/ResearchView/assistant/components/Messages/components/PromptMessage/components/Chips/chips.tsx +0 -31
- package/src/views/ResearchView/assistant/components/Messages/components/PromptMessage/components/Chips/types.ts +0 -6
- package/src/views/ResearchView/assistant/components/Messages/components/PromptMessage/promptMessage.tsx +0 -26
- package/src/views/ResearchView/assistant/components/Messages/components/PromptMessage/types.ts +0 -6
- package/src/views/ResearchView/assistant/components/Messages/components/UserMessage/types.ts +0 -5
- package/src/views/ResearchView/assistant/components/Messages/components/UserMessage/useMessage.styles.ts +0 -11
- package/src/views/ResearchView/assistant/components/Messages/components/UserMessage/userMessage.tsx +0 -21
- package/src/views/ResearchView/assistant/components/Messages/hooks/UseScroll/hook.ts +0 -25
- package/src/views/ResearchView/assistant/components/Messages/messages.styles.ts +0 -10
- package/src/views/ResearchView/assistant/components/Messages/messages.tsx +0 -29
- package/src/views/ResearchView/assistant/components/Messages/selector/messageSelector.tsx +0 -37
- package/src/views/ResearchView/assistant/components/Messages/selector/types.ts +0 -6
- package/src/views/ResearchView/assistant/components/Messages/stories/args.ts +0 -115
- package/src/views/ResearchView/assistant/components/Messages/stories/messages.stories.tsx +0 -24
- package/src/views/ResearchView/assistant/components/Messages/types.ts +0 -5
- package/src/views/ResearchView/assistant/components/ToggleButtonGroup/stories/toggleButtonGroup.stories.tsx +0 -22
- package/src/views/ResearchView/assistant/components/ToggleButtonGroup/toggleButtonGroup.styles.ts +0 -22
- package/src/views/ResearchView/assistant/components/ToggleButtonGroup/toggleButtonGroup.tsx +0 -34
- package/src/views/ResearchView/assistant/stories/args.ts +0 -36
- package/src/views/ResearchView/assistant/stories/assistant.stories.tsx +0 -39
- package/src/views/ResearchView/query/constants.ts +0 -5
- package/src/views/ResearchView/query/fetch.ts +0 -58
- package/src/views/ResearchView/researchView.tsx +0 -19
- package/src/views/ResearchView/state/actions/setError/action.ts +0 -22
- package/src/views/ResearchView/state/actions/setError/dispatch.ts +0 -14
- package/src/views/ResearchView/state/actions/setError/types.ts +0 -16
- package/src/views/ResearchView/state/actions/setMessage/action.ts +0 -26
- package/src/views/ResearchView/state/actions/setMessage/dispatch.ts +0 -14
- package/src/views/ResearchView/state/actions/setMessage/types.ts +0 -19
- package/src/views/ResearchView/state/actions/setQuery/action.ts +0 -22
- package/src/views/ResearchView/state/actions/setQuery/dispatch.ts +0 -14
- package/src/views/ResearchView/state/actions/setQuery/types.ts +0 -16
- package/src/views/ResearchView/state/actions/setStatus/action.ts +0 -19
- package/src/views/ResearchView/state/actions/setStatus/dispatch.ts +0 -14
- package/src/views/ResearchView/state/actions/setStatus/types.ts +0 -16
- package/src/views/ResearchView/state/actions/types.ts +0 -23
- package/src/views/ResearchView/state/constants.ts +0 -9
- package/src/views/ResearchView/state/context.ts +0 -11
- package/src/views/ResearchView/state/guards/guards.ts +0 -58
- package/src/views/ResearchView/state/hooks/UseChatDispatch/hook.ts +0 -46
- package/src/views/ResearchView/state/hooks/UseChatDispatch/types.ts +0 -11
- package/src/views/ResearchView/state/hooks/UseChatReducer/hook.ts +0 -15
- package/src/views/ResearchView/state/hooks/UseChatState/hook.ts +0 -14
- package/src/views/ResearchView/state/initializer/initializer.ts +0 -23
- package/src/views/ResearchView/state/initializer/types.ts +0 -3
- package/src/views/ResearchView/state/provider.tsx +0 -34
- package/src/views/ResearchView/state/query/context.ts +0 -9
- package/src/views/ResearchView/state/query/hooks/UseQuery/hook.ts +0 -11
- package/src/views/ResearchView/state/query/hooks/UseSubmit/hook.ts +0 -71
- package/src/views/ResearchView/state/query/provider.tsx +0 -27
- package/src/views/ResearchView/state/query/types.ts +0 -31
- package/src/views/ResearchView/state/reducer.ts +0 -34
- package/src/views/ResearchView/state/types.ts +0 -149
|
@@ -1,252 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ColumnDef,
|
|
3
|
-
ColumnSort,
|
|
4
|
-
getCoreRowModel,
|
|
5
|
-
getFacetedRowModel,
|
|
6
|
-
getFilteredRowModel,
|
|
7
|
-
getPaginationRowModel,
|
|
8
|
-
getSortedRowModel,
|
|
9
|
-
RowData,
|
|
10
|
-
RowSelectionState,
|
|
11
|
-
TableState,
|
|
12
|
-
Updater,
|
|
13
|
-
useReactTable,
|
|
14
|
-
} from "@tanstack/react-table";
|
|
15
|
-
import { useCallback, useEffect, useMemo } from "react";
|
|
16
|
-
import { track } from "../../../common/analytics/analytics";
|
|
17
|
-
import {
|
|
18
|
-
EVENT_NAME,
|
|
19
|
-
EVENT_PARAM,
|
|
20
|
-
SORT_DIRECTION,
|
|
21
|
-
} from "../../../common/analytics/entities";
|
|
22
|
-
import { useConfig } from "../../../hooks/useConfig";
|
|
23
|
-
import { useExploreMode } from "../../../hooks/useExploreMode/useExploreMode";
|
|
24
|
-
import { useExploreState } from "../../../hooks/useExploreState";
|
|
25
|
-
import { ExploreActionKind } from "../../../providers/exploreState";
|
|
26
|
-
import { DEFAULT_PAGINATION_STATE } from "../../../providers/exploreState/initializer/constants";
|
|
27
|
-
import { arrIncludesSome } from "../../Table/columnDef/columnFilters/filterFn";
|
|
28
|
-
import { COLUMN_DEF } from "../../Table/common/columnDef";
|
|
29
|
-
import {
|
|
30
|
-
buildCategoryViews,
|
|
31
|
-
getFacetedUniqueValuesWithArrayValues,
|
|
32
|
-
getTableStatePagination,
|
|
33
|
-
isClientFilteringEnabled,
|
|
34
|
-
sortingFn,
|
|
35
|
-
} from "../../Table/common/utils";
|
|
36
|
-
import { getFacetedMinMaxValues } from "../../Table/featureOptions/facetedColumn/getFacetedMinMaxValues";
|
|
37
|
-
import { TABLE_DOWNLOAD_OPTIONS } from "../../Table/featureOptions/tableDownload/constants";
|
|
38
|
-
import { ROW_POSITION } from "../../Table/features/RowPosition/constants";
|
|
39
|
-
import { ROW_PREVIEW } from "../../Table/features/RowPreview/constants";
|
|
40
|
-
import { RowPreviewState } from "../../Table/features/RowPreview/entities";
|
|
41
|
-
import { ROW_SELECTION_VALIDATION } from "../../Table/features/RowSelectionValidation/constants";
|
|
42
|
-
import { TABLE_DOWNLOAD } from "../../Table/features/TableDownload/constants";
|
|
43
|
-
import { buildBaseColumnDef } from "../../TableCreator/common/utils";
|
|
44
|
-
import { useTableOptions } from "../../TableCreator/options/hook";
|
|
45
|
-
import { createCell } from "./coreOptions/columns/cellFactory";
|
|
46
|
-
import { UseTable, UseTableProps } from "./types";
|
|
47
|
-
|
|
48
|
-
export const useTable = <T extends RowData>({
|
|
49
|
-
entityListType,
|
|
50
|
-
}: // eslint-disable-next-line sonarjs/cognitive-complexity -- TODO fix complexity
|
|
51
|
-
UseTableProps): UseTable<T> => {
|
|
52
|
-
const { entityConfig } = useConfig();
|
|
53
|
-
const exploreMode = useExploreMode();
|
|
54
|
-
const { exploreDispatch, exploreState } = useExploreState();
|
|
55
|
-
const tableOptions = useTableOptions<T>();
|
|
56
|
-
const {
|
|
57
|
-
entityPageState,
|
|
58
|
-
filterState,
|
|
59
|
-
listItems,
|
|
60
|
-
paginationState,
|
|
61
|
-
rowPreview,
|
|
62
|
-
tabValue,
|
|
63
|
-
} = exploreState;
|
|
64
|
-
const { getId: getRowId, list } = entityConfig;
|
|
65
|
-
const { columns: columnsConfig } = list;
|
|
66
|
-
const { columnVisibility, grouping, rowSelection, sorting } =
|
|
67
|
-
entityPageState[tabValue];
|
|
68
|
-
const { currentPage, pageSize, rows: pageCount } = paginationState;
|
|
69
|
-
const clientFiltering = isClientFilteringEnabled(exploreMode);
|
|
70
|
-
const pagination = useMemo(
|
|
71
|
-
() => getTableStatePagination(currentPage - 1, pageSize),
|
|
72
|
-
[currentPage, pageSize],
|
|
73
|
-
);
|
|
74
|
-
|
|
75
|
-
const columnDefs: ColumnDef<T>[] = useMemo(
|
|
76
|
-
() =>
|
|
77
|
-
columnsConfig.reduce(
|
|
78
|
-
(
|
|
79
|
-
acc,
|
|
80
|
-
{
|
|
81
|
-
/**
|
|
82
|
-
* Applies the custom `arrIncludesSome` filter function as the default for multi-value filtering.
|
|
83
|
-
* Although `ColumnFilter["value"]` is typed as `unknown`, in practice it's consistently an array (`unknown[]`) in entity lists.
|
|
84
|
-
* This custom filter function supports multi-select filtering, even when individual cell values are single strings.
|
|
85
|
-
* This override of TanStack's default `arrIncludesSome` resolves a limitation where the base implementation
|
|
86
|
-
* does not support matching an array of filter values against a single string cell value.
|
|
87
|
-
* For range filtering, specify TanStack's `inNumberRange` filter function on the column definition.
|
|
88
|
-
*/
|
|
89
|
-
filterFn = "arrIncludesSome",
|
|
90
|
-
...columnConfig
|
|
91
|
-
},
|
|
92
|
-
) => {
|
|
93
|
-
acc.push({
|
|
94
|
-
...buildBaseColumnDef<T>(columnConfig),
|
|
95
|
-
cell: createCell(columnConfig),
|
|
96
|
-
filterFn,
|
|
97
|
-
sortingFn,
|
|
98
|
-
});
|
|
99
|
-
return acc;
|
|
100
|
-
},
|
|
101
|
-
[
|
|
102
|
-
/* Initialize column definitions with the "row position" column */
|
|
103
|
-
COLUMN_DEF.ROW_POSITION,
|
|
104
|
-
/* Initialize column definitions with the "row selection" column */
|
|
105
|
-
COLUMN_DEF.ROW_SELECTION,
|
|
106
|
-
] as ColumnDef<T>[],
|
|
107
|
-
),
|
|
108
|
-
[columnsConfig],
|
|
109
|
-
);
|
|
110
|
-
|
|
111
|
-
const onSortingChange = (updater: Updater<ColumnSort[]>): void => {
|
|
112
|
-
// TODO(cc) memoize `onSortingChange` with `useCallback`.
|
|
113
|
-
// TODO(cc) copy `onSortingChange` to ../options/sorting/hook.ts see src/components/Table/options/grouping/hook.ts for example.
|
|
114
|
-
exploreDispatch({
|
|
115
|
-
payload: typeof updater === "function" ? updater(sorting) : updater,
|
|
116
|
-
type: ExploreActionKind.UpdateSorting,
|
|
117
|
-
});
|
|
118
|
-
// Execute GTM tracking.
|
|
119
|
-
// TODO(cc) update tracking to handle sorting of multiple columns.
|
|
120
|
-
// TODO(cc) GTM tracking when `onSortingChange` is triggered only tracks the first column sorted, and takes the value from explore state which is not updated yet.
|
|
121
|
-
track(EVENT_NAME.ENTITY_TABLE_SORTED, {
|
|
122
|
-
[EVENT_PARAM.ENTITY_NAME]: exploreState.tabValue,
|
|
123
|
-
[EVENT_PARAM.COLUMN_NAME]: sorting?.[0]?.id, // TODO(cc) sorting should always be at least `[]` and never `undefined`.
|
|
124
|
-
[EVENT_PARAM.SORT_DIRECTION]: sorting?.[0]?.desc // TODO(cc) sorting should always be at least `[]` and never `undefined`.
|
|
125
|
-
? SORT_DIRECTION.DESC
|
|
126
|
-
: SORT_DIRECTION.ASC,
|
|
127
|
-
});
|
|
128
|
-
};
|
|
129
|
-
|
|
130
|
-
const onRowPreviewChange = useCallback(
|
|
131
|
-
(updater: Updater<RowPreviewState>): void => {
|
|
132
|
-
exploreDispatch({
|
|
133
|
-
payload: typeof updater === "function" ? updater(rowPreview) : updater,
|
|
134
|
-
type: ExploreActionKind.UpdateRowPreview,
|
|
135
|
-
});
|
|
136
|
-
},
|
|
137
|
-
[exploreDispatch, rowPreview],
|
|
138
|
-
);
|
|
139
|
-
|
|
140
|
-
const onRowSelectionChange = useCallback(
|
|
141
|
-
(updater: Updater<RowSelectionState>): void => {
|
|
142
|
-
// TODO(cc) refactor `onRowSelectionChange` to /options/rowSelection/hook.ts see onGroupingChange.
|
|
143
|
-
exploreDispatch({
|
|
144
|
-
payload:
|
|
145
|
-
typeof updater === "function" ? updater(rowSelection) : updater,
|
|
146
|
-
type: ExploreActionKind.UpdateRowSelection,
|
|
147
|
-
});
|
|
148
|
-
},
|
|
149
|
-
[exploreDispatch, rowSelection],
|
|
150
|
-
);
|
|
151
|
-
|
|
152
|
-
const state: Partial<TableState> = {
|
|
153
|
-
columnVisibility,
|
|
154
|
-
grouping,
|
|
155
|
-
pagination,
|
|
156
|
-
rowPreview,
|
|
157
|
-
rowSelection,
|
|
158
|
-
sorting,
|
|
159
|
-
};
|
|
160
|
-
|
|
161
|
-
/**
|
|
162
|
-
* TODO: Update `ColumnConfig` to follow the `ColumnDef` API of TanStack Table.
|
|
163
|
-
* - Standardize column definitions to leverage the full power of TanStack Table's feature set and improve compatibility.
|
|
164
|
-
* TODO: Define `sorting` directly within `ListConfig` via the `tableOptions.initialState` property.
|
|
165
|
-
* - This will simplify the configuration structure and centralize table state definitions, reducing redundancy and improving clarity.
|
|
166
|
-
*/
|
|
167
|
-
const table = useReactTable<T>({
|
|
168
|
-
_features: [
|
|
169
|
-
ROW_POSITION,
|
|
170
|
-
ROW_PREVIEW,
|
|
171
|
-
ROW_SELECTION_VALIDATION,
|
|
172
|
-
TABLE_DOWNLOAD,
|
|
173
|
-
],
|
|
174
|
-
columns: columnDefs,
|
|
175
|
-
data: listItems || [],
|
|
176
|
-
enableColumnFilters: true, // client-side filtering.
|
|
177
|
-
enableFilters: true, // client-side filtering.
|
|
178
|
-
enableMultiSort: clientFiltering, // TODO(cc) move to sorting options; default to false and let the table options in config flag this value.
|
|
179
|
-
filterFns: { arrIncludesSome },
|
|
180
|
-
getCoreRowModel: getCoreRowModel(),
|
|
181
|
-
getFacetedMinMaxValues: clientFiltering
|
|
182
|
-
? getFacetedMinMaxValues()
|
|
183
|
-
: undefined,
|
|
184
|
-
getFacetedRowModel: clientFiltering ? getFacetedRowModel() : undefined,
|
|
185
|
-
getFacetedUniqueValues: clientFiltering
|
|
186
|
-
? getFacetedUniqueValuesWithArrayValues()
|
|
187
|
-
: undefined,
|
|
188
|
-
getFilteredRowModel: clientFiltering ? getFilteredRowModel() : undefined,
|
|
189
|
-
getPaginationRowModel: getPaginationRowModel(),
|
|
190
|
-
getRowId,
|
|
191
|
-
getSortedRowModel: clientFiltering ? getSortedRowModel() : undefined,
|
|
192
|
-
manualPagination: true,
|
|
193
|
-
manualSorting: !clientFiltering,
|
|
194
|
-
onRowPreviewChange,
|
|
195
|
-
onRowSelectionChange,
|
|
196
|
-
onSortingChange,
|
|
197
|
-
pageCount,
|
|
198
|
-
...TABLE_DOWNLOAD_OPTIONS,
|
|
199
|
-
state,
|
|
200
|
-
...tableOptions,
|
|
201
|
-
});
|
|
202
|
-
|
|
203
|
-
const { getAllColumns, getRowModel, getState } = table;
|
|
204
|
-
|
|
205
|
-
const allColumns = getAllColumns();
|
|
206
|
-
const { columnFilters } = getState();
|
|
207
|
-
const { rows } = getRowModel();
|
|
208
|
-
|
|
209
|
-
// Sets react table column filters `columnFilters` state - for client-side filtering only - with update of filterState.
|
|
210
|
-
useEffect(() => {
|
|
211
|
-
if (clientFiltering) {
|
|
212
|
-
table.setColumnFilters(
|
|
213
|
-
filterState.map(({ categoryKey, value }) => ({
|
|
214
|
-
id: categoryKey,
|
|
215
|
-
value,
|
|
216
|
-
})),
|
|
217
|
-
);
|
|
218
|
-
}
|
|
219
|
-
}, [clientFiltering, filterState, table]);
|
|
220
|
-
|
|
221
|
-
// Process explore response - client-side filtering only.
|
|
222
|
-
useEffect(() => {
|
|
223
|
-
if (entityListType !== tabValue) return;
|
|
224
|
-
if (!listItems || listItems.length === 0) return;
|
|
225
|
-
if (clientFiltering) {
|
|
226
|
-
exploreDispatch({
|
|
227
|
-
payload: {
|
|
228
|
-
listItems,
|
|
229
|
-
loading: false,
|
|
230
|
-
paginationResponse: {
|
|
231
|
-
...DEFAULT_PAGINATION_STATE,
|
|
232
|
-
pageSize: rows.filter(({ getIsGrouped }) => !getIsGrouped()).length,
|
|
233
|
-
rows: rows.filter(({ getIsGrouped }) => !getIsGrouped()).length,
|
|
234
|
-
},
|
|
235
|
-
selectCategories: buildCategoryViews(allColumns, columnFilters),
|
|
236
|
-
},
|
|
237
|
-
type: ExploreActionKind.ProcessExploreResponse,
|
|
238
|
-
});
|
|
239
|
-
}
|
|
240
|
-
}, [
|
|
241
|
-
allColumns,
|
|
242
|
-
clientFiltering,
|
|
243
|
-
columnFilters,
|
|
244
|
-
entityListType,
|
|
245
|
-
exploreDispatch,
|
|
246
|
-
listItems,
|
|
247
|
-
rows,
|
|
248
|
-
tabValue,
|
|
249
|
-
]);
|
|
250
|
-
|
|
251
|
-
return { table };
|
|
252
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { BaseComponentProps } from "components/types";
|
|
2
|
-
import { EntityConfig } from "config/entities";
|
|
3
|
-
import { CategoryFilter } from "../../components/Filter/components/Filters/filters";
|
|
4
|
-
|
|
5
|
-
export interface IndexProps extends BaseComponentProps {
|
|
6
|
-
categoryFilters: CategoryFilter[];
|
|
7
|
-
entityListType: string;
|
|
8
|
-
entityName: EntityConfig["label"];
|
|
9
|
-
loading: boolean;
|
|
10
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from "@storybook/nextjs-vite";
|
|
2
|
-
import { CollaboratingOrganizations } from "../../../Project/components/CollaboratingOrganizations/collaboratingOrganizations";
|
|
3
|
-
import { CollaboratingOrganizationsStory } from "../../../Project/components/CollaboratingOrganizations/collaboratingOrganizations.stories";
|
|
4
|
-
import { Contacts } from "../../../Project/components/Contacts/contacts";
|
|
5
|
-
import { ContactsStory } from "../../../Project/components/Contacts/contacts.stories";
|
|
6
|
-
import { Contributors } from "../../../Project/components/Contributors/contributors";
|
|
7
|
-
import { ContributorsStory } from "../../../Project/components/Contributors/contributors.stories";
|
|
8
|
-
import { DataCurators } from "../../../Project/components/DataCurators/dataCurators";
|
|
9
|
-
import { DataCuratorsStory } from "../../../Project/components/DataCurators/dataCurators.stories";
|
|
10
|
-
import { DataReleasePolicy } from "../../../Project/components/DataReleasePolicy/dataReleasePolicy";
|
|
11
|
-
import { Description } from "../../../Project/components/Description/description";
|
|
12
|
-
import { DescriptionStory } from "../../../Project/components/Description/description.stories";
|
|
13
|
-
import { Details } from "../../../Project/components/Details/details";
|
|
14
|
-
import { DetailsStory } from "../../../Project/components/Details/details.stories";
|
|
15
|
-
import { Publications } from "../../../Project/components/Publications/publications";
|
|
16
|
-
import { PublicationsStory } from "../../../Project/components/Publications/publications.stories";
|
|
17
|
-
import { SupplementaryLinks } from "../../../Project/components/SupplementaryLinks/supplementaryLinks";
|
|
18
|
-
import { SupplementaryLinksStory } from "../../../Project/components/SupplementaryLinks/supplementaryLinks.stories";
|
|
19
|
-
import { BackPageView } from "./backPageView";
|
|
20
|
-
|
|
21
|
-
const meta = {
|
|
22
|
-
argTypes: {
|
|
23
|
-
isDetailOverview: { control: "boolean" },
|
|
24
|
-
mainColumn: { table: { disable: true } },
|
|
25
|
-
sideColumn: { table: { disable: true } },
|
|
26
|
-
top: { table: { disable: true } },
|
|
27
|
-
},
|
|
28
|
-
component: BackPageView,
|
|
29
|
-
parameters: {
|
|
30
|
-
layout: "fullscreen",
|
|
31
|
-
},
|
|
32
|
-
title: "Views/BackPage",
|
|
33
|
-
} satisfies Meta<typeof BackPageView>;
|
|
34
|
-
|
|
35
|
-
export default meta;
|
|
36
|
-
|
|
37
|
-
type Story = StoryObj<typeof meta>;
|
|
38
|
-
|
|
39
|
-
export const BackPageViewStory: Story = {
|
|
40
|
-
args: {
|
|
41
|
-
isDetailOverview: true,
|
|
42
|
-
mainColumn: (
|
|
43
|
-
<>
|
|
44
|
-
<Description
|
|
45
|
-
projectDescription={
|
|
46
|
-
DescriptionStory.args?.projectDescription || "None"
|
|
47
|
-
}
|
|
48
|
-
/>
|
|
49
|
-
<Contacts {...ContactsStory.args} />
|
|
50
|
-
<Publications {...PublicationsStory.args} />
|
|
51
|
-
<Contributors {...ContributorsStory.args} />
|
|
52
|
-
<CollaboratingOrganizations {...CollaboratingOrganizationsStory.args} />
|
|
53
|
-
<DataCurators {...DataCuratorsStory.args} />
|
|
54
|
-
{/*<Citation {...CitationStory.args} />*/}
|
|
55
|
-
<SupplementaryLinks {...SupplementaryLinksStory.args} />
|
|
56
|
-
<DataReleasePolicy />
|
|
57
|
-
</>
|
|
58
|
-
),
|
|
59
|
-
sideColumn: (
|
|
60
|
-
<>
|
|
61
|
-
<Details {...DetailsStory.args} />
|
|
62
|
-
</>
|
|
63
|
-
),
|
|
64
|
-
top: <></>,
|
|
65
|
-
},
|
|
66
|
-
};
|
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
import { css } from "@emotion/react";
|
|
2
|
-
import styled from "@emotion/styled";
|
|
3
|
-
import { PALETTE } from "../../../../styles/common/constants/palette";
|
|
4
|
-
import { bpDownSm, bpUpSm } from "../../../../styles/common/mixins/breakpoints";
|
|
5
|
-
import { Sections } from "../../../common/Sections/sections";
|
|
6
|
-
|
|
7
|
-
export const BackPageView = styled.div`
|
|
8
|
-
display: grid;
|
|
9
|
-
flex: 1;
|
|
10
|
-
gap: 16px;
|
|
11
|
-
grid-template-columns: repeat(2, 1fr);
|
|
12
|
-
margin: 0 16px;
|
|
13
|
-
padding: 24px 0;
|
|
14
|
-
|
|
15
|
-
${bpUpSm} {
|
|
16
|
-
grid-template-columns: repeat(12, 1fr);
|
|
17
|
-
margin: 0 auto;
|
|
18
|
-
max-width: min(calc(100% - 32px), 1232px);
|
|
19
|
-
}
|
|
20
|
-
`;
|
|
21
|
-
|
|
22
|
-
export const BackPageHero = styled.div`
|
|
23
|
-
display: contents;
|
|
24
|
-
|
|
25
|
-
> * {
|
|
26
|
-
grid-column: 1 / -1;
|
|
27
|
-
}
|
|
28
|
-
`;
|
|
29
|
-
|
|
30
|
-
export const BackPageTabs = styled.div`
|
|
31
|
-
grid-column: 1 / -1;
|
|
32
|
-
|
|
33
|
-
${bpDownSm} {
|
|
34
|
-
margin-left: -16px;
|
|
35
|
-
margin-right: -16px;
|
|
36
|
-
}
|
|
37
|
-
`;
|
|
38
|
-
|
|
39
|
-
// Back page content (main and side column wrapper).
|
|
40
|
-
export const BackPageContent = styled.div`
|
|
41
|
-
align-items: flex-start;
|
|
42
|
-
display: grid;
|
|
43
|
-
gap: 16px 0;
|
|
44
|
-
grid-column: 1 / -1;
|
|
45
|
-
grid-template-columns: 1fr;
|
|
46
|
-
margin-left: -16px;
|
|
47
|
-
margin-right: -16px;
|
|
48
|
-
|
|
49
|
-
${bpUpSm} {
|
|
50
|
-
display: grid;
|
|
51
|
-
gap: 16px;
|
|
52
|
-
grid-template-columns: inherit;
|
|
53
|
-
margin: 0;
|
|
54
|
-
}
|
|
55
|
-
`;
|
|
56
|
-
|
|
57
|
-
// EntityDetailView back page "overview" content (main and side column wrapper).
|
|
58
|
-
// Typically used by back page "project" or "datasets" tab.
|
|
59
|
-
// Used with DetailPageOverviewContentMainColumn and DetailPageOverviewContentSideColumn, the "sections"
|
|
60
|
-
// appear to be contained within a combination of "fluid" and "gridded" paper elements.
|
|
61
|
-
// These styles render:
|
|
62
|
-
// - mobile - a gridded, flat paper environment, each section stacked with a 1px gap, and
|
|
63
|
-
// - tablet - a main and side column arrangement, and within each column, a gridded, rounded paper environment, each section stacked with a 1px gap.
|
|
64
|
-
export const DetailPageOverviewContent = styled(BackPageContent)`
|
|
65
|
-
background-color: ${PALETTE.SMOKE_MAIN};
|
|
66
|
-
gap: 1px;
|
|
67
|
-
padding: 1px 0;
|
|
68
|
-
|
|
69
|
-
${bpUpSm} {
|
|
70
|
-
background-color: transparent;
|
|
71
|
-
padding: 0;
|
|
72
|
-
}
|
|
73
|
-
`;
|
|
74
|
-
|
|
75
|
-
// Back page content column.
|
|
76
|
-
const BackPageContentColumn = styled.div`
|
|
77
|
-
display: flex;
|
|
78
|
-
flex-direction: column;
|
|
79
|
-
gap: 16px 0;
|
|
80
|
-
`;
|
|
81
|
-
|
|
82
|
-
const mainColumn = css`
|
|
83
|
-
grid-column: 1 / 9;
|
|
84
|
-
`;
|
|
85
|
-
|
|
86
|
-
const sideColumn = css`
|
|
87
|
-
grid-column: 9 / -1;
|
|
88
|
-
`;
|
|
89
|
-
|
|
90
|
-
// Single column.
|
|
91
|
-
export const BackPageContentSingleColumn = styled(BackPageContentColumn)`
|
|
92
|
-
grid-column: 1 / -1;
|
|
93
|
-
`;
|
|
94
|
-
|
|
95
|
-
// Main column.
|
|
96
|
-
export const BackPageContentMainColumn = styled(BackPageContentColumn)`
|
|
97
|
-
${bpUpSm} {
|
|
98
|
-
${mainColumn};
|
|
99
|
-
}
|
|
100
|
-
`;
|
|
101
|
-
|
|
102
|
-
// Side column.
|
|
103
|
-
export const BackPageContentSideColumn = styled(BackPageContentColumn)`
|
|
104
|
-
${bpUpSm} {
|
|
105
|
-
${sideColumn};
|
|
106
|
-
}
|
|
107
|
-
`;
|
|
108
|
-
|
|
109
|
-
// EntityDetailView back page "overview" main column.
|
|
110
|
-
// Typically used by back page "project" or "datasets" tab.
|
|
111
|
-
export const DetailPageOverviewContentMainColumn = styled(Sections)`
|
|
112
|
-
display: contents;
|
|
113
|
-
|
|
114
|
-
// Added negation pseudo-class to ensure the display style is not applied to the style tag during initial rendering.
|
|
115
|
-
&& > *:not(style) {
|
|
116
|
-
display: contents; // required to override nested GridPaper.
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
${bpUpSm} {
|
|
120
|
-
align-self: flex-start;
|
|
121
|
-
display: grid;
|
|
122
|
-
${mainColumn};
|
|
123
|
-
|
|
124
|
-
// Added negation pseudo-class to ensure the display style is not applied to the style tag during initial rendering.
|
|
125
|
-
&& > *:not(style) {
|
|
126
|
-
display: grid; // required to restore nested GridPaper display property.
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
`;
|
|
130
|
-
|
|
131
|
-
// EntityDetailView back page "overview" side column.
|
|
132
|
-
// Typically used by back page "project" or "datasets" tab.
|
|
133
|
-
export const DetailPageOverviewContentSideColumn = styled(Sections)`
|
|
134
|
-
display: contents;
|
|
135
|
-
|
|
136
|
-
// Added negation pseudo-class to ensure the display style is not applied to the style tag during initial rendering.
|
|
137
|
-
&& > *:not(style) {
|
|
138
|
-
display: contents; // required to override nested GridPaper.
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
${bpUpSm} {
|
|
142
|
-
align-self: flex-start;
|
|
143
|
-
display: grid;
|
|
144
|
-
${sideColumn};
|
|
145
|
-
|
|
146
|
-
// Added negation pseudo-class to ensure the display style is not applied to the style tag during initial rendering.
|
|
147
|
-
&& > *:not(style) {
|
|
148
|
-
display: grid; // required to restore nested GridPaper display property.
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
`;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { JSX, Fragment, ReactNode } from "react";
|
|
2
|
-
import {
|
|
3
|
-
BackPageContent,
|
|
4
|
-
BackPageContentMainColumn,
|
|
5
|
-
BackPageContentSideColumn,
|
|
6
|
-
BackPageHero,
|
|
7
|
-
BackPageView as BackPageLayout,
|
|
8
|
-
BackPageTabs,
|
|
9
|
-
DetailPageOverviewContent,
|
|
10
|
-
DetailPageOverviewContentMainColumn,
|
|
11
|
-
DetailPageOverviewContentSideColumn,
|
|
12
|
-
} from "./backPageView.styles";
|
|
13
|
-
|
|
14
|
-
export interface BackPageViewProps {
|
|
15
|
-
isDetailOverview?: boolean;
|
|
16
|
-
mainColumn: ReactNode;
|
|
17
|
-
sideColumn?: ReactNode;
|
|
18
|
-
Tabs?: ReactNode;
|
|
19
|
-
top: ReactNode;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export const BackPageView = ({
|
|
23
|
-
isDetailOverview = false,
|
|
24
|
-
mainColumn,
|
|
25
|
-
sideColumn,
|
|
26
|
-
Tabs,
|
|
27
|
-
top,
|
|
28
|
-
}: BackPageViewProps): JSX.Element => {
|
|
29
|
-
const Content = isDetailOverview
|
|
30
|
-
? DetailPageOverviewContent
|
|
31
|
-
: BackPageContent;
|
|
32
|
-
const MainColumn = isDetailOverview
|
|
33
|
-
? DetailPageOverviewContentMainColumn
|
|
34
|
-
: sideColumn
|
|
35
|
-
? BackPageContentMainColumn
|
|
36
|
-
: Fragment;
|
|
37
|
-
const SideColumn = isDetailOverview
|
|
38
|
-
? DetailPageOverviewContentSideColumn
|
|
39
|
-
: BackPageContentSideColumn;
|
|
40
|
-
return (
|
|
41
|
-
<BackPageLayout>
|
|
42
|
-
<BackPageHero>{top}</BackPageHero>
|
|
43
|
-
{Tabs && <BackPageTabs>{Tabs}</BackPageTabs>}
|
|
44
|
-
<Content>
|
|
45
|
-
<MainColumn>{mainColumn}</MainColumn>
|
|
46
|
-
{sideColumn && <SideColumn>{sideColumn}</SideColumn>}
|
|
47
|
-
</Content>
|
|
48
|
-
</BackPageLayout>
|
|
49
|
-
);
|
|
50
|
-
};
|
package/src/components/Layout/components/BackPage/components/BackPageHero/backPageHero.styles.ts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import styled from "@emotion/styled";
|
|
2
|
-
import { Stack } from "@mui/material";
|
|
3
|
-
import { bpUpSm } from "../../../../../../styles/common/mixins/breakpoints";
|
|
4
|
-
import { CallToActionButton as CTAButton } from "../../../../../common/Button/components/CallToActionButton/callToActionButton";
|
|
5
|
-
|
|
6
|
-
export const BackPageHeroHeadline = styled.div`
|
|
7
|
-
display: contents;
|
|
8
|
-
|
|
9
|
-
> * {
|
|
10
|
-
grid-column: 1 / -1; // Title and breadcrumbs consume full width of available grid.
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
${bpUpSm} {
|
|
14
|
-
display: flex;
|
|
15
|
-
flex: 1;
|
|
16
|
-
gap: 88px;
|
|
17
|
-
|
|
18
|
-
> * {
|
|
19
|
-
grid-column: unset;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
`;
|
|
23
|
-
|
|
24
|
-
export const HeroHeader = styled(Stack)`
|
|
25
|
-
flex: 1;
|
|
26
|
-
`;
|
|
27
|
-
|
|
28
|
-
export const CallToActionButton = styled(CTAButton)`
|
|
29
|
-
align-self: center;
|
|
30
|
-
justify-self: flex-start;
|
|
31
|
-
|
|
32
|
-
${bpUpSm} {
|
|
33
|
-
justify-self: flex-end;
|
|
34
|
-
}
|
|
35
|
-
`;
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { JSX, Fragment, ReactNode } from "react";
|
|
2
|
-
import {
|
|
3
|
-
Breadcrumb,
|
|
4
|
-
Breadcrumbs,
|
|
5
|
-
} from "../../../../../common/Breadcrumbs/breadcrumbs";
|
|
6
|
-
import { isBreadcrumbArray } from "../../../../../common/Breadcrumbs/typeGuard";
|
|
7
|
-
import { CallToAction } from "../../../../../common/Button/components/CallToActionButton/callToActionButton";
|
|
8
|
-
import { Title } from "../../../../../common/Title/title";
|
|
9
|
-
import {
|
|
10
|
-
BackPageHeroHeadline,
|
|
11
|
-
CallToActionButton,
|
|
12
|
-
HeroHeader,
|
|
13
|
-
} from "./backPageHero.styles";
|
|
14
|
-
import { SubTitle } from "./components/SubTitle/subTitle";
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Back page hero component comprising breadcrumbs, title, status and tabs.
|
|
18
|
-
*/
|
|
19
|
-
|
|
20
|
-
export interface BackPageHeroProps {
|
|
21
|
-
actions?: ReactNode;
|
|
22
|
-
breadcrumbs?: Breadcrumb[] | ReactNode;
|
|
23
|
-
callToAction?: CallToAction;
|
|
24
|
-
children?: ReactNode;
|
|
25
|
-
subTitle?: ReactNode;
|
|
26
|
-
title?: ReactNode;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export const BackPageHero = ({
|
|
30
|
-
actions,
|
|
31
|
-
breadcrumbs,
|
|
32
|
-
callToAction,
|
|
33
|
-
children,
|
|
34
|
-
subTitle,
|
|
35
|
-
title,
|
|
36
|
-
}: BackPageHeroProps): JSX.Element => {
|
|
37
|
-
const HeroHeadline =
|
|
38
|
-
actions || callToAction ? BackPageHeroHeadline : Fragment;
|
|
39
|
-
return (
|
|
40
|
-
<Fragment>
|
|
41
|
-
<HeroHeadline>
|
|
42
|
-
<HeroHeader gap={1}>
|
|
43
|
-
{breadcrumbs ? (
|
|
44
|
-
isBreadcrumbArray(breadcrumbs) ? (
|
|
45
|
-
<Breadcrumbs breadcrumbs={breadcrumbs} />
|
|
46
|
-
) : (
|
|
47
|
-
breadcrumbs
|
|
48
|
-
)
|
|
49
|
-
) : null}
|
|
50
|
-
<Title>{title}</Title>
|
|
51
|
-
<SubTitle subTitle={subTitle} />
|
|
52
|
-
</HeroHeader>
|
|
53
|
-
{actions}
|
|
54
|
-
{callToAction && <CallToActionButton callToAction={callToAction} />}
|
|
55
|
-
</HeroHeadline>
|
|
56
|
-
{children}
|
|
57
|
-
</Fragment>
|
|
58
|
-
);
|
|
59
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import styled from "@emotion/styled";
|
|
2
|
-
import { bpUpSm } from "../../../../../../../../styles/common/mixins/breakpoints";
|
|
3
|
-
|
|
4
|
-
export const BackPageHeroActions = styled.div`
|
|
5
|
-
align-items: center;
|
|
6
|
-
align-self: center;
|
|
7
|
-
display: flex;
|
|
8
|
-
gap: 16px;
|
|
9
|
-
justify-self: flex-start;
|
|
10
|
-
|
|
11
|
-
${bpUpSm} {
|
|
12
|
-
justify-self: flex-end;
|
|
13
|
-
}
|
|
14
|
-
`;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { JSX, ReactNode } from "react";
|
|
2
|
-
import { BackPageHeroActions } from "./actions.styles";
|
|
3
|
-
|
|
4
|
-
export interface ActionsProps {
|
|
5
|
-
children: ReactNode;
|
|
6
|
-
className?: string;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export const Actions = ({ children, className }: ActionsProps): JSX.Element => {
|
|
10
|
-
return (
|
|
11
|
-
<BackPageHeroActions className={className}>{children}</BackPageHeroActions>
|
|
12
|
-
);
|
|
13
|
-
};
|