@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,37 +0,0 @@
|
|
|
1
|
-
import { ColumnDef } from "@tanstack/react-table";
|
|
2
|
-
import { ColumnConfig } from "../../../config/entities";
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Builds a base column definition.
|
|
6
|
-
* The following properties are set by default:
|
|
7
|
-
* - Grouping is not enabled `enableGrouping: false`.
|
|
8
|
-
* - Sorting is enabled - `enableSorting: true`.
|
|
9
|
-
* @param baseColumnConfig - Base column configuration.
|
|
10
|
-
* @returns column definition.
|
|
11
|
-
*/
|
|
12
|
-
export function buildBaseColumnDef<T>(
|
|
13
|
-
baseColumnConfig: ColumnConfig<T>,
|
|
14
|
-
): ColumnDef<T> {
|
|
15
|
-
const {
|
|
16
|
-
columnPinned,
|
|
17
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars -- Destructure to avoid passing it to the columnDef.
|
|
18
|
-
componentConfig,
|
|
19
|
-
header,
|
|
20
|
-
id,
|
|
21
|
-
meta,
|
|
22
|
-
width,
|
|
23
|
-
...columnDef
|
|
24
|
-
} = baseColumnConfig;
|
|
25
|
-
return {
|
|
26
|
-
...columnDef,
|
|
27
|
-
accessorKey: id,
|
|
28
|
-
header,
|
|
29
|
-
id,
|
|
30
|
-
meta: {
|
|
31
|
-
columnPinned,
|
|
32
|
-
header: typeof header === "string" ? header : undefined,
|
|
33
|
-
width,
|
|
34
|
-
...meta,
|
|
35
|
-
},
|
|
36
|
-
};
|
|
37
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { GridTrackMinMax, GridTrackSize } from "../../../../config/entities";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Type guard to determine if the given track size represents a size range (min-max).
|
|
5
|
-
* @param width - Grid table track size.
|
|
6
|
-
* @returns `true` if the given grid track size is a `GridTrackMinMax`, otherwise `false`.
|
|
7
|
-
*/
|
|
8
|
-
export function isGridTrackMinMax(
|
|
9
|
-
width?: GridTrackSize,
|
|
10
|
-
): width is GridTrackMinMax {
|
|
11
|
-
return (width as GridTrackMinMax)?.min !== undefined;
|
|
12
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { Column, RowData } from "@tanstack/react-table";
|
|
2
|
-
import { COLUMN_IDENTIFIER } from "../../../Table/common/columnIdentifier";
|
|
3
|
-
import { isGridTrackMinMax } from "./typeGuards";
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Generates the grid track sizing for a table using a grid layout.
|
|
7
|
-
* Creates a string value for the `grid-template-columns` CSS property based on the visible columns.
|
|
8
|
-
* It ensures proper sizing for grouped, system, and non-system columns.
|
|
9
|
-
* - Grouped columns are excluded from grid sizing as they flex across the table.
|
|
10
|
-
* - System columns (e.g., "rowPosition" and "rowSelection") have pre-defined sizing.
|
|
11
|
-
* - Non-system columns collectively fill the table's width. If their total fractional sizing is less than `1fr`, the first non-system column is assigned `1fr` to ensure the table is filled.
|
|
12
|
-
* @param visibleColumns - Visible columns.
|
|
13
|
-
* @returns string defining the CSS `grid-template-columns` value for the table.
|
|
14
|
-
*/
|
|
15
|
-
export function getColumnTrackSizing<T extends RowData>(
|
|
16
|
-
visibleColumns: Column<T>[],
|
|
17
|
-
): string {
|
|
18
|
-
// Precompute track sizing.
|
|
19
|
-
const trackSizing: string[] = [];
|
|
20
|
-
|
|
21
|
-
let columnCount = 0; // Non-system column count.
|
|
22
|
-
let firstNonSystemColumnIndex = -1;
|
|
23
|
-
let totalFractionalSize = 0;
|
|
24
|
-
|
|
25
|
-
for (const [i, column] of visibleColumns.entries()) {
|
|
26
|
-
if (column.getIsGrouped()) continue;
|
|
27
|
-
|
|
28
|
-
// Get the column's track size.
|
|
29
|
-
const columnTrackSize = getColumnTrackSize(column);
|
|
30
|
-
trackSizing.push(columnTrackSize);
|
|
31
|
-
|
|
32
|
-
// Extract the fractional value (if it exists), and accumulate the total.
|
|
33
|
-
const frSize = extractFractionalValue(columnTrackSize);
|
|
34
|
-
if (frSize) totalFractionalSize += frSize;
|
|
35
|
-
|
|
36
|
-
// Skip system columns; track the first non-system column index.
|
|
37
|
-
if (isSystemColumn(column)) continue;
|
|
38
|
-
if (firstNonSystemColumnIndex < 0) firstNonSystemColumnIndex = i;
|
|
39
|
-
|
|
40
|
-
columnCount++;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
// Adjust track sizing for the first non-system column when:
|
|
44
|
-
// - the table is a single-column table, or
|
|
45
|
-
// - the total `fr` value is less than 1.
|
|
46
|
-
if (
|
|
47
|
-
firstNonSystemColumnIndex >= 0 &&
|
|
48
|
-
(columnCount === 1 || totalFractionalSize < 1)
|
|
49
|
-
) {
|
|
50
|
-
trackSizing[firstNonSystemColumnIndex] = "1fr";
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
return trackSizing.join(" ");
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* Determines the CSS grid track size for a given column.
|
|
58
|
-
* Calculates the track size for a column based on its width configuration.
|
|
59
|
-
* If the column's width is defined as a min-max range, it returns a `minmax()` CSS function.
|
|
60
|
-
* Otherwise, it defaults to the column's width or `1fr` if no width is specified.
|
|
61
|
-
* @param column - Column.
|
|
62
|
-
* @returns A string representing the CSS track size for the column. This can be a `minmax()` function or a fixed/flexible value (e.g., `auto`, `1fr`, `200px`).
|
|
63
|
-
*/
|
|
64
|
-
export function getColumnTrackSize<T extends RowData>(
|
|
65
|
-
column: Column<T>,
|
|
66
|
-
): string {
|
|
67
|
-
const width = column.columnDef.meta?.width || "1fr";
|
|
68
|
-
if (isGridTrackMinMax(width)) {
|
|
69
|
-
return `minmax(${width.min}, ${width.max})`;
|
|
70
|
-
}
|
|
71
|
-
return width;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* Returns true if the column is a system column "rowPosition" or "rowSelection".
|
|
76
|
-
* @param column - Column.
|
|
77
|
-
* @returns true if the column is a system column.
|
|
78
|
-
*/
|
|
79
|
-
function isSystemColumn<T extends RowData>(column: Column<T>): boolean {
|
|
80
|
-
return (
|
|
81
|
-
column.id === COLUMN_IDENTIFIER.ROW_POSITION ||
|
|
82
|
-
column.id === COLUMN_IDENTIFIER.ROW_SELECTION
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* Extracts the fractional value (`fr`) from a CSS track size string.
|
|
88
|
-
* This function parses a CSS track size (e.g., `1fr`, `minmax(168px, 0.5fr)`)
|
|
89
|
-
* and extracts the numeric fractional value that appears before `fr`.
|
|
90
|
-
* If the input does not contain a valid fractional value, the function returns `0`.
|
|
91
|
-
* @param columnTrackSize - The CSS track size string e.g. `1fr`, `minmax(100px, 0.5fr)`, `200px`, or `auto`.
|
|
92
|
-
* @returns The fractional value as a number, or `0` if no fractional value is found.
|
|
93
|
-
*/
|
|
94
|
-
export function extractFractionalValue(columnTrackSize: string): number {
|
|
95
|
-
const match = columnTrackSize.match(/([\d.]+)fr/);
|
|
96
|
-
if (!match) return 0;
|
|
97
|
-
const value = parseFloat(match[1]);
|
|
98
|
-
return Number.isNaN(value) ? 0 : value;
|
|
99
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ExpandedOptions,
|
|
3
|
-
getExpandedRowModel,
|
|
4
|
-
RowData,
|
|
5
|
-
} from "@tanstack/react-table";
|
|
6
|
-
|
|
7
|
-
export const EXPANDED_OPTIONS: Pick<
|
|
8
|
-
ExpandedOptions<RowData>,
|
|
9
|
-
"autoResetExpanded" | "enableExpanding" | "getExpandedRowModel"
|
|
10
|
-
> = {
|
|
11
|
-
autoResetExpanded: false,
|
|
12
|
-
enableExpanding: false,
|
|
13
|
-
getExpandedRowModel: getExpandedRowModel(),
|
|
14
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { GroupingOptions, GroupingState, Updater } from "@tanstack/react-table";
|
|
2
|
-
import { useCallback } from "react";
|
|
3
|
-
import { useExploreState } from "../../../../hooks/useExploreState";
|
|
4
|
-
import { updateGrouping } from "../../../../providers/exploreState/actions/updateGrouping/dispatch";
|
|
5
|
-
import { GROUPING_OPTIONS } from "./constants";
|
|
6
|
-
|
|
7
|
-
export function useGroupingOptions(): GroupingOptions {
|
|
8
|
-
const { exploreDispatch } = useExploreState();
|
|
9
|
-
|
|
10
|
-
const onGroupingChange = useCallback(
|
|
11
|
-
(updaterOrValue: Updater<GroupingState>): void =>
|
|
12
|
-
exploreDispatch(updateGrouping({ updaterOrValue })),
|
|
13
|
-
[exploreDispatch],
|
|
14
|
-
);
|
|
15
|
-
|
|
16
|
-
return { ...GROUPING_OPTIONS, onGroupingChange };
|
|
17
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { RowData, TableOptions } from "@tanstack/react-table";
|
|
2
|
-
import { useConfig } from "../../../hooks/useConfig";
|
|
3
|
-
import { useExpandedOptions } from "./expanded/hook";
|
|
4
|
-
import { useGroupingOptions } from "./grouping/hook";
|
|
5
|
-
import { useInitialState } from "./initialState/hook";
|
|
6
|
-
import { useSortingOptions } from "./sorting/hook";
|
|
7
|
-
import { useVisibilityOptions } from "./visibility/hook";
|
|
8
|
-
|
|
9
|
-
export function useTableOptions<T extends RowData>(): Partial<TableOptions<T>> {
|
|
10
|
-
const { entityConfig } = useConfig();
|
|
11
|
-
const tableOptions = entityConfig.list.tableOptions;
|
|
12
|
-
const expandedOptions = useExpandedOptions<T>();
|
|
13
|
-
const groupingOptions = useGroupingOptions();
|
|
14
|
-
const sortingOptions = useSortingOptions<T>();
|
|
15
|
-
const visibilityOptions = useVisibilityOptions();
|
|
16
|
-
const initialState = useInitialState<T>(tableOptions);
|
|
17
|
-
return {
|
|
18
|
-
...expandedOptions,
|
|
19
|
-
...groupingOptions,
|
|
20
|
-
...sortingOptions, // TODO(cc) merge of all sorting options.
|
|
21
|
-
...visibilityOptions,
|
|
22
|
-
...tableOptions,
|
|
23
|
-
initialState,
|
|
24
|
-
};
|
|
25
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { RowData, TableOptions, VisibilityState } from "@tanstack/react-table";
|
|
2
|
-
import { COLUMN_IDENTIFIER } from "../../../Table/common/columnIdentifier";
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Returns initial column visibility state.
|
|
6
|
-
* @param tableOptions - Table options.
|
|
7
|
-
* @returns column visibility state.
|
|
8
|
-
*/
|
|
9
|
-
export function getInitialColumnVisibilityState<T extends RowData>(
|
|
10
|
-
tableOptions?:
|
|
11
|
-
| Partial<TableOptions<T>>
|
|
12
|
-
| Partial<Omit<TableOptions<T>, "data" | "columns" | "getCoreRowModel">>,
|
|
13
|
-
): VisibilityState {
|
|
14
|
-
const { initialState } = tableOptions || {};
|
|
15
|
-
const enableRowPosition = Boolean(tableOptions?.enableRowPosition);
|
|
16
|
-
const enableRowSelection = Boolean(tableOptions?.enableRowSelection);
|
|
17
|
-
return {
|
|
18
|
-
[COLUMN_IDENTIFIER.ROW_POSITION]: enableRowPosition,
|
|
19
|
-
[COLUMN_IDENTIFIER.ROW_SELECTION]: enableRowSelection,
|
|
20
|
-
...initialState?.columnVisibility,
|
|
21
|
-
};
|
|
22
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
InitialTableState,
|
|
3
|
-
RowData,
|
|
4
|
-
TableOptions,
|
|
5
|
-
} from "@tanstack/react-table";
|
|
6
|
-
import { useMemo } from "react";
|
|
7
|
-
import { getInitialColumnVisibilityState } from "./columnVisibility";
|
|
8
|
-
|
|
9
|
-
export function useInitialState<T extends RowData>(
|
|
10
|
-
tableOptions?:
|
|
11
|
-
| Partial<TableOptions<T>>
|
|
12
|
-
| Partial<Omit<TableOptions<T>, "data" | "columns" | "getCoreRowModel">>,
|
|
13
|
-
): InitialTableState {
|
|
14
|
-
const { initialState } = tableOptions || {};
|
|
15
|
-
const columnVisibility = getInitialColumnVisibilityState(tableOptions);
|
|
16
|
-
|
|
17
|
-
return useMemo(
|
|
18
|
-
() => ({
|
|
19
|
-
...initialState,
|
|
20
|
-
columnVisibility,
|
|
21
|
-
}),
|
|
22
|
-
[initialState, columnVisibility],
|
|
23
|
-
);
|
|
24
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { RowData, RowSelectionOptions } from "@tanstack/react-table";
|
|
2
|
-
|
|
3
|
-
export const ROW_SELECTION_OPTIONS: Pick<
|
|
4
|
-
RowSelectionOptions<RowData>,
|
|
5
|
-
"enableRowSelection" | "enableSubRowSelection" | "enableMultiRowSelection"
|
|
6
|
-
> = {
|
|
7
|
-
enableMultiRowSelection: false,
|
|
8
|
-
enableRowSelection: false,
|
|
9
|
-
enableSubRowSelection: false,
|
|
10
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { RowData, RowSelectionOptions } from "@tanstack/react-table";
|
|
2
|
-
import { ROW_SELECTION_OPTIONS } from "./constants";
|
|
3
|
-
|
|
4
|
-
export function useRowSelectionOptions<
|
|
5
|
-
T extends RowData,
|
|
6
|
-
>(): RowSelectionOptions<T> {
|
|
7
|
-
return { ...(ROW_SELECTION_OPTIONS as RowSelectionOptions<T>) };
|
|
8
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { RowData, SortingOptions } from "@tanstack/react-table";
|
|
2
|
-
|
|
3
|
-
export const SORTING_OPTIONS: Pick<
|
|
4
|
-
SortingOptions<RowData>,
|
|
5
|
-
"enableSorting" | "enableSortingInteraction" | "enableSortingRemoval"
|
|
6
|
-
> = {
|
|
7
|
-
enableSorting: true,
|
|
8
|
-
enableSortingInteraction: true,
|
|
9
|
-
enableSortingRemoval: false, // false i.e. toggling the sorting on a column will not remove sorting on the column.
|
|
10
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Updater,
|
|
3
|
-
VisibilityOptions,
|
|
4
|
-
VisibilityState,
|
|
5
|
-
} from "@tanstack/react-table";
|
|
6
|
-
import { useCallback } from "react";
|
|
7
|
-
import { useExploreState } from "../../../../hooks/useExploreState";
|
|
8
|
-
import { updateVisibility } from "../../../../providers/exploreState/actions/updateVisibility/dispatch";
|
|
9
|
-
import { VISIBILITY_OPTIONS } from "./constants";
|
|
10
|
-
|
|
11
|
-
export function useVisibilityOptions(): VisibilityOptions {
|
|
12
|
-
const { exploreDispatch } = useExploreState();
|
|
13
|
-
|
|
14
|
-
const onColumnVisibilityChange = useCallback(
|
|
15
|
-
(updaterOrValue: Updater<VisibilityState>): void => {
|
|
16
|
-
exploreDispatch(updateVisibility({ updaterOrValue }));
|
|
17
|
-
},
|
|
18
|
-
[exploreDispatch],
|
|
19
|
-
);
|
|
20
|
-
|
|
21
|
-
return { ...VISIBILITY_OPTIONS, onColumnVisibilityChange };
|
|
22
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { RowData, Table as TanStackTable } from "@tanstack/react-table";
|
|
2
|
-
import { JSX } from "react";
|
|
3
|
-
import { ListViewConfig } from "../../config/entities";
|
|
4
|
-
import { Table } from "../Table/table";
|
|
5
|
-
|
|
6
|
-
export interface TableCreatorProps<T> {
|
|
7
|
-
listView?: ListViewConfig;
|
|
8
|
-
loading: boolean;
|
|
9
|
-
table: TanStackTable<T>;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export const TableCreator = <T extends RowData>({
|
|
13
|
-
listView,
|
|
14
|
-
loading,
|
|
15
|
-
table,
|
|
16
|
-
}: TableCreatorProps<T>): JSX.Element => {
|
|
17
|
-
return <Table listView={listView} loading={loading} table={table} />;
|
|
18
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { JSX } from "react";
|
|
2
|
-
|
|
3
|
-
interface ErrorBoxProps {
|
|
4
|
-
message: string;
|
|
5
|
-
title: string;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export const ErrorBox = ({ message, title }: ErrorBoxProps): JSX.Element => {
|
|
9
|
-
return (
|
|
10
|
-
<div>
|
|
11
|
-
<p>{title}</p>
|
|
12
|
-
<div>{message}</div>
|
|
13
|
-
</div>
|
|
14
|
-
);
|
|
15
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { TempError } from "./tempError";
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { HTTPError } from "ky";
|
|
2
|
-
import { JSX } from "react";
|
|
3
|
-
import { ErrorBox } from "./components/errorBox";
|
|
4
|
-
|
|
5
|
-
interface TempErrorProps {
|
|
6
|
-
error: Error | HTTPError;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export const TempError = ({ error }: TempErrorProps): JSX.Element => {
|
|
10
|
-
const { code, request } =
|
|
11
|
-
error instanceof HTTPError
|
|
12
|
-
? {
|
|
13
|
-
...error,
|
|
14
|
-
code: error.response.status,
|
|
15
|
-
request: error.response.url,
|
|
16
|
-
}
|
|
17
|
-
: { ...error, code: null, request: null };
|
|
18
|
-
|
|
19
|
-
return (
|
|
20
|
-
<div>
|
|
21
|
-
{code && <ErrorBox title="Error Code" message={`${code}`} />}
|
|
22
|
-
{request && <ErrorBox title="Request URL" message={request} />}
|
|
23
|
-
<ErrorBox title="Error Message" message={error.message} />
|
|
24
|
-
</div>
|
|
25
|
-
);
|
|
26
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { Box } from "@mui/material";
|
|
2
|
-
import type { Meta, StoryObj } from "@storybook/nextjs-vite";
|
|
3
|
-
import { Accordion } from "./accordion";
|
|
4
|
-
|
|
5
|
-
const meta = {
|
|
6
|
-
component: Accordion,
|
|
7
|
-
title: "Components/Common/Accordion",
|
|
8
|
-
} satisfies Meta<typeof Accordion>;
|
|
9
|
-
|
|
10
|
-
export default meta;
|
|
11
|
-
|
|
12
|
-
type Story = StoryObj<typeof Accordion>;
|
|
13
|
-
|
|
14
|
-
export const AccordionStory: Story = {
|
|
15
|
-
args: {
|
|
16
|
-
children:
|
|
17
|
-
"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse malesuada lacus ex, sit amet blandit leo lobortis eget. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse malesuada lacus ex, sit amet blandit leo lobortis eget.",
|
|
18
|
-
title: "CSER Phase II Harmonized Measures",
|
|
19
|
-
},
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
export const AccordionsStory: Story = {
|
|
23
|
-
render: () => (
|
|
24
|
-
<Box bgcolor="white">
|
|
25
|
-
<Accordion title={AccordionStory.args?.title || ""}>
|
|
26
|
-
{AccordionStory.args?.children || ""}
|
|
27
|
-
</Accordion>
|
|
28
|
-
<Accordion title={"Information about the CSER1 Consortium"}>
|
|
29
|
-
{AccordionStory.args?.children || ""}
|
|
30
|
-
</Accordion>
|
|
31
|
-
<Accordion title={"Genetic and genomic online CME courses"}>
|
|
32
|
-
{AccordionStory.args?.children || ""}
|
|
33
|
-
</Accordion>
|
|
34
|
-
</Box>
|
|
35
|
-
),
|
|
36
|
-
};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
AccordionDetails,
|
|
3
|
-
AccordionSummary,
|
|
4
|
-
Accordion as MAccordion,
|
|
5
|
-
AccordionProps as MAccordionProps,
|
|
6
|
-
Typography,
|
|
7
|
-
} from "@mui/material";
|
|
8
|
-
import { JSX, ReactNode, useState } from "react";
|
|
9
|
-
import { TYPOGRAPHY_PROPS } from "../../../styles/common/mui/typography";
|
|
10
|
-
import { AddIcon } from "../CustomIcon/components/AddIcon/addIcon";
|
|
11
|
-
import { RemoveIcon } from "../CustomIcon/components/RemoveIcon/removeIcon";
|
|
12
|
-
|
|
13
|
-
export interface AccordionProps extends MAccordionProps {
|
|
14
|
-
collapseIcon?: ReactNode;
|
|
15
|
-
expandIcon?: ReactNode;
|
|
16
|
-
title: string;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export const Accordion = ({
|
|
20
|
-
children,
|
|
21
|
-
collapseIcon = <RemoveIcon color="primary" fontSize="medium" />,
|
|
22
|
-
expanded,
|
|
23
|
-
expandIcon = <AddIcon color="primary" fontSize="medium" />,
|
|
24
|
-
title,
|
|
25
|
-
...props /* Spread props to allow for Accordion specific props AccordionProps e.g. "disabled". */
|
|
26
|
-
}: AccordionProps): JSX.Element => {
|
|
27
|
-
const [isExpanded, setIsExpanded] = useState<boolean>(expanded || false);
|
|
28
|
-
|
|
29
|
-
const onToggleExpanded = (): void => {
|
|
30
|
-
setIsExpanded((expanded) => !expanded);
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
return (
|
|
34
|
-
<MAccordion expanded={isExpanded} onChange={onToggleExpanded} {...props}>
|
|
35
|
-
<AccordionSummary expandIcon={isExpanded ? collapseIcon : expandIcon}>
|
|
36
|
-
<Typography variant={TYPOGRAPHY_PROPS.VARIANT.BODY_LARGE_500}>
|
|
37
|
-
{title}
|
|
38
|
-
</Typography>
|
|
39
|
-
</AccordionSummary>
|
|
40
|
-
<AccordionDetails>{children}</AccordionDetails>
|
|
41
|
-
</MAccordion>
|
|
42
|
-
);
|
|
43
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { css } from "@emotion/react";
|
|
2
|
-
import styled from "@emotion/styled";
|
|
3
|
-
import { Alert } from "@mui/material";
|
|
4
|
-
import { FONT } from "../../../styles/common/constants/font";
|
|
5
|
-
import { SIZE } from "../../../styles/common/constants/size";
|
|
6
|
-
|
|
7
|
-
export const StyledAlert = styled(Alert)`
|
|
8
|
-
${(props) =>
|
|
9
|
-
props.size === SIZE.LARGE &&
|
|
10
|
-
css`
|
|
11
|
-
padding: 20px;
|
|
12
|
-
.MuiAlert-icon {
|
|
13
|
-
padding: 2px 0;
|
|
14
|
-
}
|
|
15
|
-
.MuiAlert-message {
|
|
16
|
-
font: ${FONT.BODY_400_2_LINES};
|
|
17
|
-
.MuiAlertTitle-root {
|
|
18
|
-
font: ${FONT.BODY_LARGE_500};
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
`}
|
|
22
|
-
`;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { AlertProps } from "@mui/material";
|
|
2
|
-
import { forwardRef, JSX } from "react";
|
|
3
|
-
import { BaseComponentProps } from "../../types";
|
|
4
|
-
import { StyledAlert } from "./alert.styles";
|
|
5
|
-
|
|
6
|
-
export const Alert = forwardRef<
|
|
7
|
-
HTMLDivElement,
|
|
8
|
-
AlertProps & BaseComponentProps
|
|
9
|
-
>(function Alert(
|
|
10
|
-
{ children, className, ...props }: AlertProps & BaseComponentProps,
|
|
11
|
-
ref,
|
|
12
|
-
): JSX.Element {
|
|
13
|
-
return (
|
|
14
|
-
<StyledAlert className={className} ref={ref} {...props}>
|
|
15
|
-
{children}
|
|
16
|
-
</StyledAlert>
|
|
17
|
-
);
|
|
18
|
-
});
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { AlertProps } from "@mui/material";
|
|
2
|
-
import { COLOR, SEVERITY, VARIANT } from "../../../styles/common/mui/alert";
|
|
3
|
-
|
|
4
|
-
export const ALERT_PROPS: Record<string, Partial<AlertProps>> = {
|
|
5
|
-
FILLED_INK: {
|
|
6
|
-
color: COLOR.INK,
|
|
7
|
-
variant: VARIANT.FILLED,
|
|
8
|
-
},
|
|
9
|
-
FILLED_PRIMARY: {
|
|
10
|
-
color: COLOR.PRIMARY,
|
|
11
|
-
variant: VARIANT.FILLED,
|
|
12
|
-
},
|
|
13
|
-
FILLED_SMOKE: {
|
|
14
|
-
color: COLOR.SMOKE,
|
|
15
|
-
variant: VARIANT.FILLED,
|
|
16
|
-
},
|
|
17
|
-
STANDARD_ERROR: {
|
|
18
|
-
severity: SEVERITY.ERROR,
|
|
19
|
-
},
|
|
20
|
-
STANDARD_INFO: {
|
|
21
|
-
severity: SEVERITY.INFO,
|
|
22
|
-
},
|
|
23
|
-
STANDARD_SUCCESS: {
|
|
24
|
-
severity: SEVERITY.SUCCESS,
|
|
25
|
-
},
|
|
26
|
-
STANDARD_WARNING: {
|
|
27
|
-
severity: SEVERITY.WARNING,
|
|
28
|
-
},
|
|
29
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { useCallback, useState } from "react";
|
|
2
|
-
import { UseTransition } from "./types";
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Hook to manage transition state for alert component wrapped in a transition component.
|
|
6
|
-
* @param initialState - Initial state of the transition.
|
|
7
|
-
* @returns transition state and handlers.
|
|
8
|
-
*/
|
|
9
|
-
export const useTransition = (initialState?: boolean): UseTransition => {
|
|
10
|
-
const [isIn, setIsIn] = useState<boolean>(initialState || false);
|
|
11
|
-
|
|
12
|
-
const onEnter = useCallback((): void => {
|
|
13
|
-
setIsIn(true);
|
|
14
|
-
}, []);
|
|
15
|
-
|
|
16
|
-
const onExit = useCallback((): void => {
|
|
17
|
-
setIsIn(false);
|
|
18
|
-
}, []);
|
|
19
|
-
|
|
20
|
-
return {
|
|
21
|
-
isIn,
|
|
22
|
-
onEnter,
|
|
23
|
-
onExit,
|
|
24
|
-
};
|
|
25
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import styled from "@emotion/styled";
|
|
2
|
-
import Link from "next/link";
|
|
3
|
-
import { PALETTE } from "../../../styles/common/constants/palette";
|
|
4
|
-
|
|
5
|
-
export const StyledNextLink = styled(Link)`
|
|
6
|
-
color: ${PALETTE.INK_LIGHT};
|
|
7
|
-
margin-left: 4px;
|
|
8
|
-
opacity: 0;
|
|
9
|
-
position: absolute;
|
|
10
|
-
transition: opacity 0.2s ease-in-out;
|
|
11
|
-
|
|
12
|
-
svg {
|
|
13
|
-
vertical-align: middle;
|
|
14
|
-
}
|
|
15
|
-
`;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { LinkRounded } from "@mui/icons-material";
|
|
2
|
-
import { useRouter } from "next/router";
|
|
3
|
-
import { JSX, MouseEvent } from "react";
|
|
4
|
-
import { StyledNextLink } from "./anchorLink.styles";
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* An anchor link component that provides deep linking functionality.
|
|
8
|
-
* @important The parent element must have `position: relative` CSS property
|
|
9
|
-
* to ensure proper positioning of the anchor link icon, and hover pseudo-class
|
|
10
|
-
* to change opacity of the icon.
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
interface AnchorLinkProps {
|
|
14
|
-
anchorLink: string;
|
|
15
|
-
className?: string;
|
|
16
|
-
onClick?: (e: MouseEvent) => void;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export const AnchorLink = ({
|
|
20
|
-
anchorLink,
|
|
21
|
-
className,
|
|
22
|
-
onClick,
|
|
23
|
-
}: AnchorLinkProps): JSX.Element => {
|
|
24
|
-
const { query } = useRouter();
|
|
25
|
-
return (
|
|
26
|
-
<StyledNextLink
|
|
27
|
-
aria-label={anchorLink}
|
|
28
|
-
className={className}
|
|
29
|
-
href={{ hash: anchorLink, query }}
|
|
30
|
-
onClick={onClick}
|
|
31
|
-
>
|
|
32
|
-
<LinkRounded fontSize="xsmall" />
|
|
33
|
-
</StyledNextLink>
|
|
34
|
-
);
|
|
35
|
-
};
|