@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,312 +0,0 @@
|
|
|
1
|
-
import { Divider, List as MList, ListProps as MListProps } from "@mui/material";
|
|
2
|
-
import React, {
|
|
3
|
-
createContext,
|
|
4
|
-
forwardRef,
|
|
5
|
-
HTMLAttributes,
|
|
6
|
-
JSX,
|
|
7
|
-
useCallback,
|
|
8
|
-
useContext,
|
|
9
|
-
useEffect,
|
|
10
|
-
useRef,
|
|
11
|
-
useState,
|
|
12
|
-
} from "react";
|
|
13
|
-
import {
|
|
14
|
-
VariableSizeList as List,
|
|
15
|
-
ListChildComponentProps,
|
|
16
|
-
VariableSizeListProps as ListProps,
|
|
17
|
-
} from "react-window";
|
|
18
|
-
import { SelectCategoryView } from "../../../../../../common/entities";
|
|
19
|
-
import { OnFilterFn } from "../../../../../../hooks/useCategoryFilter";
|
|
20
|
-
import { useWindowResize } from "../../../../../../hooks/useWindowResize";
|
|
21
|
-
import {
|
|
22
|
-
LIST_ITEM_HEIGHT,
|
|
23
|
-
LIST_MARGIN,
|
|
24
|
-
MAX_DISPLAYABLE_LIST_ITEMS,
|
|
25
|
-
MAX_LIST_HEIGHT_PX,
|
|
26
|
-
} from "../../../../common/constants";
|
|
27
|
-
import { getSortMatchesFn } from "../../../../common/utils";
|
|
28
|
-
import { StyledList } from "../../../FilterList/filterList.styles";
|
|
29
|
-
import { SURFACE_TYPE } from "../../../surfaces/types";
|
|
30
|
-
import {
|
|
31
|
-
DIVIDER_HEIGHT,
|
|
32
|
-
DIVIDER_ITEM,
|
|
33
|
-
NO_RESULTS_ITEM,
|
|
34
|
-
} from "../../common/constants";
|
|
35
|
-
import {
|
|
36
|
-
ITEM_TYPE,
|
|
37
|
-
SearchAllFiltersItem,
|
|
38
|
-
ValueItem,
|
|
39
|
-
} from "../../common/entites";
|
|
40
|
-
import VariableSizeListItem from "../VariableSizeListItem/variableSizeListItem";
|
|
41
|
-
|
|
42
|
-
export type ItemSizeByItemKey = Map<string, number>;
|
|
43
|
-
|
|
44
|
-
export interface VariableSizeListProps {
|
|
45
|
-
autocompleteListProps: Omit<MListProps, "children">;
|
|
46
|
-
height?: number; // Height of list; vertical list must be a number.
|
|
47
|
-
itemSize?: number; // Default item size.
|
|
48
|
-
onFilter: OnFilterFn;
|
|
49
|
-
overscanCount?: ListProps["overscanCount"];
|
|
50
|
-
searchTerm: string;
|
|
51
|
-
selectCategoryViews: SelectCategoryView[];
|
|
52
|
-
surfaceType: SURFACE_TYPE;
|
|
53
|
-
width?: ListProps["width"]; // Width of list; default to 100% width of parent element.
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
interface VariableSizeListData {
|
|
57
|
-
filteredItems: SearchAllFiltersItem[];
|
|
58
|
-
onFilter: OnFilterFn;
|
|
59
|
-
onUpdateItemSizeByItemKey: (key: string, size: number) => void;
|
|
60
|
-
searchTerm?: string;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
interface OuterElementContextValue {
|
|
64
|
-
autocompleteListProps: Omit<MListProps, "children">;
|
|
65
|
-
autocompleteListRef?: React.ForwardedRef<HTMLUListElement>;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* Build variable list item element.
|
|
70
|
-
* @param props - Variable size list child component props i.e. list index, style.
|
|
71
|
-
* @returns variable list item element.
|
|
72
|
-
*/
|
|
73
|
-
function renderListItem(props: ListChildComponentProps): JSX.Element {
|
|
74
|
-
const { data, index, style } = props;
|
|
75
|
-
delete style.height; // Remove height style to allow variable size list to set item height.
|
|
76
|
-
const { filteredItems, onFilter, onUpdateItemSizeByItemKey, searchTerm } =
|
|
77
|
-
data as VariableSizeListData;
|
|
78
|
-
const item = filteredItems[index];
|
|
79
|
-
if (item.type === ITEM_TYPE.DIVIDER) return <Divider style={style} />;
|
|
80
|
-
else
|
|
81
|
-
return (
|
|
82
|
-
<VariableSizeListItem
|
|
83
|
-
item={item}
|
|
84
|
-
onFilter={onFilter}
|
|
85
|
-
onUpdateItemSizeByItemKey={onUpdateItemSizeByItemKey}
|
|
86
|
-
searchTerm={searchTerm}
|
|
87
|
-
style={style}
|
|
88
|
-
/>
|
|
89
|
-
);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
const OuterElementContext = createContext<OuterElementContextValue>({
|
|
93
|
-
autocompleteListProps: {},
|
|
94
|
-
});
|
|
95
|
-
|
|
96
|
-
const OuterElement = forwardRef<HTMLDivElement>(function OuterElement(
|
|
97
|
-
{ children, ...props }: HTMLAttributes<HTMLElement>,
|
|
98
|
-
ref,
|
|
99
|
-
): JSX.Element {
|
|
100
|
-
const { autocompleteListProps, autocompleteListRef } =
|
|
101
|
-
useContext(OuterElementContext);
|
|
102
|
-
return (
|
|
103
|
-
<div ref={ref} {...props}>
|
|
104
|
-
<MList
|
|
105
|
-
ref={autocompleteListRef}
|
|
106
|
-
style={{ maxHeight: "none", padding: 0 }}
|
|
107
|
-
{...autocompleteListProps}
|
|
108
|
-
>
|
|
109
|
-
{children}
|
|
110
|
-
</MList>
|
|
111
|
-
</div>
|
|
112
|
-
);
|
|
113
|
-
});
|
|
114
|
-
|
|
115
|
-
export const VariableSizeList = forwardRef<
|
|
116
|
-
HTMLUListElement,
|
|
117
|
-
VariableSizeListProps
|
|
118
|
-
>(function VariableSizeList(
|
|
119
|
-
{
|
|
120
|
-
autocompleteListProps,
|
|
121
|
-
height: initHeight = MAX_LIST_HEIGHT_PX,
|
|
122
|
-
itemSize = LIST_ITEM_HEIGHT,
|
|
123
|
-
onFilter,
|
|
124
|
-
overscanCount = MAX_DISPLAYABLE_LIST_ITEMS * 2,
|
|
125
|
-
searchTerm,
|
|
126
|
-
selectCategoryViews,
|
|
127
|
-
surfaceType,
|
|
128
|
-
width = "100%",
|
|
129
|
-
}: VariableSizeListProps,
|
|
130
|
-
autocompleteListRef,
|
|
131
|
-
): JSX.Element {
|
|
132
|
-
const filteredItems = applyMenuFilter(selectCategoryViews, searchTerm);
|
|
133
|
-
let resizeRequired = true;
|
|
134
|
-
const { height: windowHeight } = useWindowResize();
|
|
135
|
-
const [height, setHeight] = useState<number>(initHeight);
|
|
136
|
-
const itemSizeByItemKeyRef = useRef<ItemSizeByItemKey>(new Map());
|
|
137
|
-
const listRef = useRef<List>(null);
|
|
138
|
-
const innerRef = useRef<HTMLUListElement>(null);
|
|
139
|
-
const outerRef = useRef<HTMLDivElement>(null);
|
|
140
|
-
const { current: itemSizeByItemKey } = itemSizeByItemKeyRef;
|
|
141
|
-
const onUpdateItemSizeByItemKey = useCallback(
|
|
142
|
-
(key: string, size: number): void =>
|
|
143
|
-
updateItemSizeByItemKey(itemSizeByItemKeyRef.current, key, size),
|
|
144
|
-
[],
|
|
145
|
-
);
|
|
146
|
-
|
|
147
|
-
// Sets height of list.
|
|
148
|
-
useEffect(() => {
|
|
149
|
-
if (innerRef.current && outerRef.current)
|
|
150
|
-
setHeight(
|
|
151
|
-
calculateListHeight(
|
|
152
|
-
outerRef.current,
|
|
153
|
-
innerRef.current,
|
|
154
|
-
windowHeight,
|
|
155
|
-
surfaceType,
|
|
156
|
-
),
|
|
157
|
-
);
|
|
158
|
-
}, [surfaceType, windowHeight]);
|
|
159
|
-
|
|
160
|
-
// Clears VariableSizeList cache (offsets and measurements) when values are updated (filtered).
|
|
161
|
-
// Facilitates correct positioning of list items when list is updated.
|
|
162
|
-
useEffect(() => {
|
|
163
|
-
listRef.current?.resetAfterIndex(0);
|
|
164
|
-
}, [filteredItems]);
|
|
165
|
-
|
|
166
|
-
return (
|
|
167
|
-
<OuterElementContext.Provider
|
|
168
|
-
value={{ autocompleteListProps, autocompleteListRef }}
|
|
169
|
-
>
|
|
170
|
-
<List
|
|
171
|
-
height={height}
|
|
172
|
-
innerElementType={StyledList}
|
|
173
|
-
innerRef={innerRef}
|
|
174
|
-
itemCount={filteredItems.length}
|
|
175
|
-
itemData={{
|
|
176
|
-
filteredItems,
|
|
177
|
-
onFilter,
|
|
178
|
-
onUpdateItemSizeByItemKey,
|
|
179
|
-
searchTerm,
|
|
180
|
-
}}
|
|
181
|
-
itemSize={(index): number => {
|
|
182
|
-
const item = filteredItems[index];
|
|
183
|
-
if (item.type === ITEM_TYPE.DIVIDER) return DIVIDER_HEIGHT;
|
|
184
|
-
return itemSizeByItemKey.get(item.key) || itemSize;
|
|
185
|
-
}}
|
|
186
|
-
onItemsRendered={(): void => {
|
|
187
|
-
requestAnimationFrame(() => {
|
|
188
|
-
if (
|
|
189
|
-
resizeRequired &&
|
|
190
|
-
innerRef.current?.childElementCount &&
|
|
191
|
-
outerRef.current
|
|
192
|
-
) {
|
|
193
|
-
// Set height of list.
|
|
194
|
-
resizeRequired = false;
|
|
195
|
-
setHeight(
|
|
196
|
-
calculateListHeight(
|
|
197
|
-
outerRef.current,
|
|
198
|
-
innerRef.current,
|
|
199
|
-
windowHeight,
|
|
200
|
-
surfaceType,
|
|
201
|
-
),
|
|
202
|
-
);
|
|
203
|
-
}
|
|
204
|
-
listRef.current?.resetAfterIndex(0); // Facilitates correct positioning of list items when list scrolls.
|
|
205
|
-
});
|
|
206
|
-
}}
|
|
207
|
-
outerElementType={OuterElement}
|
|
208
|
-
outerRef={outerRef}
|
|
209
|
-
overscanCount={overscanCount}
|
|
210
|
-
ref={listRef}
|
|
211
|
-
width={width}
|
|
212
|
-
>
|
|
213
|
-
{renderListItem}
|
|
214
|
-
</List>
|
|
215
|
-
</OuterElementContext.Provider>
|
|
216
|
-
);
|
|
217
|
-
});
|
|
218
|
-
|
|
219
|
-
/**
|
|
220
|
-
* Filter categories' values by a search term and return model of list items
|
|
221
|
-
* @param selectCategoryViews - Select category views
|
|
222
|
-
* @param inputValue - Search term
|
|
223
|
-
* @returns array of objects representing list items to be rendered
|
|
224
|
-
*/
|
|
225
|
-
function applyMenuFilter(
|
|
226
|
-
selectCategoryViews: SelectCategoryView[],
|
|
227
|
-
inputValue: string,
|
|
228
|
-
): SearchAllFiltersItem[] {
|
|
229
|
-
const sortMatches = getSortMatchesFn(inputValue);
|
|
230
|
-
const filteredItems = selectCategoryViews.reduce(
|
|
231
|
-
(filteredItems, category) => {
|
|
232
|
-
if (!category.isDisabled) {
|
|
233
|
-
const categoryValueKeyPrefix =
|
|
234
|
-
"value_" + category.key.replaceAll(";", ";;") + ";_"; // Terminating the category key with a semicolon (and escaping preceding semicolons) ensures a unique prefix
|
|
235
|
-
const filteredCategoryValues = sortMatches(category.values).map(
|
|
236
|
-
(match): ValueItem => ({
|
|
237
|
-
categoryKey: category.key,
|
|
238
|
-
key: categoryValueKeyPrefix + match.value.key,
|
|
239
|
-
matchRanges: match.labelRanges,
|
|
240
|
-
type: ITEM_TYPE.VALUE,
|
|
241
|
-
value: match.value,
|
|
242
|
-
}),
|
|
243
|
-
);
|
|
244
|
-
if (filteredCategoryValues.length) {
|
|
245
|
-
if (filteredItems.length) filteredItems.push(DIVIDER_ITEM);
|
|
246
|
-
filteredItems.push({
|
|
247
|
-
categoryLabel: category.label,
|
|
248
|
-
key: "category_" + category.key,
|
|
249
|
-
type: ITEM_TYPE.CATEGORY,
|
|
250
|
-
});
|
|
251
|
-
filteredItems.push(...filteredCategoryValues);
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
return filteredItems;
|
|
255
|
-
},
|
|
256
|
-
[] as SearchAllFiltersItem[],
|
|
257
|
-
);
|
|
258
|
-
if (filteredItems.length === 0) filteredItems.push(NO_RESULTS_ITEM);
|
|
259
|
-
return filteredItems;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
/**
|
|
263
|
-
* Calculates list height, either to fit available window size, or if the list is filtered, a calculated height based on
|
|
264
|
-
* first and last rendered list element position.
|
|
265
|
-
* @param outerListElem - Outer list element to reference list position from.
|
|
266
|
-
* @param innerListElem - Element containing list items.
|
|
267
|
-
* @param windowHeight - Window height.
|
|
268
|
-
* @param surfaceType - Type of surface "POPPER_MENU" or "POPPER_DRAWER".
|
|
269
|
-
* @returns calculated height.
|
|
270
|
-
*/
|
|
271
|
-
function calculateListHeight(
|
|
272
|
-
outerListElem: HTMLDivElement,
|
|
273
|
-
innerListElem: HTMLUListElement,
|
|
274
|
-
windowHeight: number,
|
|
275
|
-
surfaceType: SURFACE_TYPE,
|
|
276
|
-
): number {
|
|
277
|
-
// Calculate max possible list height, based on window height and top position of the list element.
|
|
278
|
-
const maxHeight = windowHeight - outerListElem.getBoundingClientRect().top;
|
|
279
|
-
|
|
280
|
-
// Return the maximum possible height if the list is in a popper drawer.
|
|
281
|
-
if (surfaceType === SURFACE_TYPE.POPPER_DRAWER) return maxHeight;
|
|
282
|
-
|
|
283
|
-
// Grab the first and last element in the list.
|
|
284
|
-
const { firstElementChild: firstListEl, lastElementChild: lastListEl } =
|
|
285
|
-
innerListElem;
|
|
286
|
-
// Grab the scroll position to adjust calculated list height.
|
|
287
|
-
const { scrollTop } = innerListElem;
|
|
288
|
-
if (firstListEl && lastListEl) {
|
|
289
|
-
const { top } = firstListEl.getBoundingClientRect();
|
|
290
|
-
const { bottom } = lastListEl.getBoundingClientRect();
|
|
291
|
-
const calcHeight = bottom - top - scrollTop + LIST_MARGIN * 2;
|
|
292
|
-
return Math.min(calcHeight, maxHeight);
|
|
293
|
-
}
|
|
294
|
-
return maxHeight;
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
/**
|
|
298
|
-
* Updates map of item size by item key.
|
|
299
|
-
* @param itemSizeByItemKey - Map of item size by item key.
|
|
300
|
-
* @param key - Key.
|
|
301
|
-
* @param size - Item size.
|
|
302
|
-
*/
|
|
303
|
-
function updateItemSizeByItemKey(
|
|
304
|
-
itemSizeByItemKey: ItemSizeByItemKey,
|
|
305
|
-
key: string,
|
|
306
|
-
size: number,
|
|
307
|
-
): void {
|
|
308
|
-
if (itemSizeByItemKey.has(key)) {
|
|
309
|
-
return;
|
|
310
|
-
}
|
|
311
|
-
itemSizeByItemKey.set(key, size);
|
|
312
|
-
}
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Checkbox,
|
|
3
|
-
ListItemButton,
|
|
4
|
-
ListItemText,
|
|
5
|
-
ListSubheader,
|
|
6
|
-
Typography,
|
|
7
|
-
} from "@mui/material";
|
|
8
|
-
import { CSSProperties, JSX, useEffect, useRef } from "react";
|
|
9
|
-
import { VIEW_KIND } from "../../../../../../common/categories/views/types";
|
|
10
|
-
import { OnFilterFn } from "../../../../../../hooks/useCategoryFilter";
|
|
11
|
-
import { TYPOGRAPHY_PROPS } from "../../../../../../styles/common/mui/typography";
|
|
12
|
-
import { TEST_IDS } from "../../../../../../tests/testIds";
|
|
13
|
-
import { CheckedIcon } from "../../../../../common/CustomIcon/components/CheckedIcon/checkedIcon";
|
|
14
|
-
import { UncheckedIcon } from "../../../../../common/CustomIcon/components/UncheckedIcon/uncheckedIcon";
|
|
15
|
-
import { FilterNoResultsFound } from "../../../FilterNoResultsFound/filterNoResultsFound";
|
|
16
|
-
import { HighlightedLabel } from "../../../HighlightedLabel/highlightedLabel";
|
|
17
|
-
import { ITEM_TYPE, SearchAllFiltersDynamicItem } from "../../common/entites";
|
|
18
|
-
|
|
19
|
-
interface Props {
|
|
20
|
-
item: SearchAllFiltersDynamicItem;
|
|
21
|
-
onFilter: OnFilterFn;
|
|
22
|
-
onUpdateItemSizeByItemKey: (key: string, size: number) => void;
|
|
23
|
-
searchTerm?: string;
|
|
24
|
-
style: CSSProperties;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export default function VariableSizeListItem({
|
|
28
|
-
item,
|
|
29
|
-
onFilter,
|
|
30
|
-
onUpdateItemSizeByItemKey,
|
|
31
|
-
searchTerm,
|
|
32
|
-
style,
|
|
33
|
-
}: Props): JSX.Element {
|
|
34
|
-
const { key } = item;
|
|
35
|
-
const listItemRef = useRef<HTMLElement | null>(null);
|
|
36
|
-
|
|
37
|
-
const setRef = (e: HTMLElement | null): void => {
|
|
38
|
-
listItemRef.current = e;
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
// Sets map of list item key to its height.
|
|
42
|
-
useEffect(() => {
|
|
43
|
-
onUpdateItemSizeByItemKey(key, listItemRef.current?.clientHeight || 0);
|
|
44
|
-
}, [key, onUpdateItemSizeByItemKey]);
|
|
45
|
-
|
|
46
|
-
if (item.type === ITEM_TYPE.VALUE) {
|
|
47
|
-
const {
|
|
48
|
-
categoryKey,
|
|
49
|
-
matchRanges,
|
|
50
|
-
value: { count, key: valueKey, label, selected },
|
|
51
|
-
} = item;
|
|
52
|
-
return (
|
|
53
|
-
<ListItemButton
|
|
54
|
-
data-testid={TEST_IDS.FILTER_ITEM}
|
|
55
|
-
ref={setRef}
|
|
56
|
-
key={key}
|
|
57
|
-
onClick={(): void =>
|
|
58
|
-
onFilter(
|
|
59
|
-
categoryKey,
|
|
60
|
-
valueKey,
|
|
61
|
-
!selected,
|
|
62
|
-
undefined,
|
|
63
|
-
VIEW_KIND.SELECT,
|
|
64
|
-
searchTerm,
|
|
65
|
-
)
|
|
66
|
-
}
|
|
67
|
-
selected={selected}
|
|
68
|
-
style={style}
|
|
69
|
-
>
|
|
70
|
-
<Checkbox
|
|
71
|
-
checked={selected}
|
|
72
|
-
checkedIcon={<CheckedIcon />}
|
|
73
|
-
icon={<UncheckedIcon />}
|
|
74
|
-
/>
|
|
75
|
-
<ListItemText
|
|
76
|
-
disableTypography
|
|
77
|
-
primary={
|
|
78
|
-
<HighlightedLabel
|
|
79
|
-
label={label}
|
|
80
|
-
ranges={matchRanges}
|
|
81
|
-
testId={TEST_IDS.FILTER_TERM}
|
|
82
|
-
/>
|
|
83
|
-
}
|
|
84
|
-
secondary={
|
|
85
|
-
<Typography
|
|
86
|
-
color={TYPOGRAPHY_PROPS.COLOR.INK_LIGHT}
|
|
87
|
-
data-testid={TEST_IDS.FILTER_COUNT}
|
|
88
|
-
variant={TYPOGRAPHY_PROPS.VARIANT.BODY_SMALL_400}
|
|
89
|
-
>
|
|
90
|
-
{count}
|
|
91
|
-
</Typography>
|
|
92
|
-
}
|
|
93
|
-
/>
|
|
94
|
-
</ListItemButton>
|
|
95
|
-
);
|
|
96
|
-
} else if (item.type === ITEM_TYPE.CATEGORY) {
|
|
97
|
-
return (
|
|
98
|
-
<ListSubheader key={key} ref={setRef} style={style}>
|
|
99
|
-
{item.categoryLabel}
|
|
100
|
-
</ListSubheader>
|
|
101
|
-
);
|
|
102
|
-
} else {
|
|
103
|
-
return <FilterNoResultsFound ref={setRef} />;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { createContext } from "react";
|
|
2
|
-
import { SURFACE_TYPE } from "../../surfaces/types";
|
|
3
|
-
import { AutocompleteContextProps } from "./types";
|
|
4
|
-
|
|
5
|
-
export const AutocompleteContext = createContext<AutocompleteContextProps>({
|
|
6
|
-
onClear: (): void => undefined,
|
|
7
|
-
onFilter: (): void => undefined,
|
|
8
|
-
open: false,
|
|
9
|
-
searchTerm: "",
|
|
10
|
-
selectCategoryViews: [],
|
|
11
|
-
surfaceType: SURFACE_TYPE.POPPER_MENU,
|
|
12
|
-
});
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { useContext } from "react";
|
|
2
|
-
import { AutocompleteContext } from "./context";
|
|
3
|
-
import { AutocompleteContextProps } from "./types";
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Returns autocomplete context.
|
|
7
|
-
* @returns autocomplete context.
|
|
8
|
-
*/
|
|
9
|
-
export const useAutocomplete = (): AutocompleteContextProps => {
|
|
10
|
-
return useContext(AutocompleteContext);
|
|
11
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { SelectCategoryView } from "../../../../../common/entities";
|
|
2
|
-
import { OnFilterFn } from "../../../../../hooks/useCategoryFilter";
|
|
3
|
-
import { SURFACE_TYPE } from "../../surfaces/types";
|
|
4
|
-
|
|
5
|
-
export interface AutocompleteContextProps {
|
|
6
|
-
onClear: () => void;
|
|
7
|
-
onFilter: OnFilterFn;
|
|
8
|
-
open: boolean;
|
|
9
|
-
searchTerm: string;
|
|
10
|
-
selectCategoryViews: SelectCategoryView[];
|
|
11
|
-
surfaceType: SURFACE_TYPE;
|
|
12
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import styled from "@emotion/styled";
|
|
2
|
-
import { Autocomplete } from "@mui/material";
|
|
3
|
-
|
|
4
|
-
export const StyledAutocomplete = styled(Autocomplete)`
|
|
5
|
-
&.MuiAutocomplete-root {
|
|
6
|
-
grid-column: 1 / -1;
|
|
7
|
-
|
|
8
|
-
.MuiOutlinedInput-root {
|
|
9
|
-
padding: 0 12px;
|
|
10
|
-
|
|
11
|
-
.MuiAutocomplete-input {
|
|
12
|
-
padding: 10px 0;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
` as typeof Autocomplete;
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import { ListProps as MListProps } from "@mui/material";
|
|
2
|
-
import { forwardRef, JSX, useCallback, useRef, useState } from "react";
|
|
3
|
-
import { isSelectCategoryView } from "../../../../common/categories/views/select/typeGuards";
|
|
4
|
-
import { SELECTOR } from "../../../../common/selectors";
|
|
5
|
-
import { TEST_IDS } from "../../../../tests/testIds";
|
|
6
|
-
import {
|
|
7
|
-
StyledPopper,
|
|
8
|
-
StyledPopperDrawer,
|
|
9
|
-
} from "../surfaces/popper/Popper/popper.styles";
|
|
10
|
-
import { SURFACE_TYPE } from "../surfaces/types";
|
|
11
|
-
import {
|
|
12
|
-
POPPER_DRAWER_SLOT_PROPS,
|
|
13
|
-
POPPER_MENU_SLOT_PROPS,
|
|
14
|
-
} from "./common/constants";
|
|
15
|
-
import { OVERFLOW_STYLE } from "./common/entites";
|
|
16
|
-
import { setElementsOverflowStyle } from "./common/utils";
|
|
17
|
-
import { OutlinedInput } from "./components/OutlinedInput/outlinedInput";
|
|
18
|
-
import { VariableSizeList } from "./components/VariableSizeList/VariableSizeList";
|
|
19
|
-
import { AutocompleteContext } from "./context/context";
|
|
20
|
-
import { useAutocomplete } from "./context/hook";
|
|
21
|
-
import { StyledAutocomplete } from "./searchAllFilters.styles";
|
|
22
|
-
import { SearchAllFiltersProps } from "./types";
|
|
23
|
-
|
|
24
|
-
const Listbox = forwardRef<HTMLUListElement, MListProps>(
|
|
25
|
-
function Listbox(props, ref): JSX.Element {
|
|
26
|
-
props = Object.assign({}, props, {
|
|
27
|
-
children: undefined, // Content is controlled by VariableSizeList
|
|
28
|
-
});
|
|
29
|
-
const { onFilter, searchTerm, selectCategoryViews, surfaceType } =
|
|
30
|
-
useAutocomplete();
|
|
31
|
-
return (
|
|
32
|
-
<VariableSizeList
|
|
33
|
-
autocompleteListProps={props}
|
|
34
|
-
onFilter={onFilter}
|
|
35
|
-
ref={ref}
|
|
36
|
-
searchTerm={searchTerm}
|
|
37
|
-
selectCategoryViews={selectCategoryViews}
|
|
38
|
-
surfaceType={surfaceType}
|
|
39
|
-
/>
|
|
40
|
-
);
|
|
41
|
-
},
|
|
42
|
-
);
|
|
43
|
-
|
|
44
|
-
export const SearchAllFilters = ({
|
|
45
|
-
categoryViews,
|
|
46
|
-
className,
|
|
47
|
-
onFilter,
|
|
48
|
-
surfaceType = SURFACE_TYPE.POPPER_MENU,
|
|
49
|
-
...props /* Mui AutocompleteProps */
|
|
50
|
-
}: SearchAllFiltersProps): JSX.Element => {
|
|
51
|
-
const autocompleteRef = useRef<HTMLDivElement>(null);
|
|
52
|
-
const [open, setOpen] = useState(false);
|
|
53
|
-
const [searchTerm, setSearchTerm] = useState("");
|
|
54
|
-
const selectCategoryViews = categoryViews.filter(isSelectCategoryView);
|
|
55
|
-
|
|
56
|
-
// Handles background scroll action.
|
|
57
|
-
const handleBackgroundScroll = useCallback(
|
|
58
|
-
(overflowStyle: OVERFLOW_STYLE): void => {
|
|
59
|
-
if (surfaceType === SURFACE_TYPE.POPPER_MENU) {
|
|
60
|
-
setElementsOverflowStyle(
|
|
61
|
-
[
|
|
62
|
-
document.querySelector(SELECTOR.BODY),
|
|
63
|
-
document.getElementById(SELECTOR.SIDEBAR_POSITIONER),
|
|
64
|
-
],
|
|
65
|
-
overflowStyle,
|
|
66
|
-
);
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
[surfaceType],
|
|
70
|
-
);
|
|
71
|
-
|
|
72
|
-
const onClose = useCallback((): void => {
|
|
73
|
-
setSearchTerm("");
|
|
74
|
-
setOpen(false);
|
|
75
|
-
handleBackgroundScroll(OVERFLOW_STYLE.NONE);
|
|
76
|
-
setTimeout(() => {
|
|
77
|
-
autocompleteRef.current?.querySelector("input")?.blur();
|
|
78
|
-
}, 100);
|
|
79
|
-
}, [handleBackgroundScroll]);
|
|
80
|
-
|
|
81
|
-
const onOpen = useCallback((): void => {
|
|
82
|
-
setOpen(true);
|
|
83
|
-
handleBackgroundScroll(OVERFLOW_STYLE.HIDDEN);
|
|
84
|
-
}, [handleBackgroundScroll]);
|
|
85
|
-
|
|
86
|
-
const onClear = useCallback((): void => {
|
|
87
|
-
setSearchTerm("");
|
|
88
|
-
if (surfaceType === SURFACE_TYPE.POPPER_DRAWER) onClose();
|
|
89
|
-
}, [onClose, surfaceType]);
|
|
90
|
-
|
|
91
|
-
return (
|
|
92
|
-
<AutocompleteContext.Provider
|
|
93
|
-
value={{
|
|
94
|
-
onClear,
|
|
95
|
-
onFilter,
|
|
96
|
-
open,
|
|
97
|
-
searchTerm,
|
|
98
|
-
selectCategoryViews,
|
|
99
|
-
surfaceType,
|
|
100
|
-
}}
|
|
101
|
-
>
|
|
102
|
-
<StyledAutocomplete
|
|
103
|
-
className={className}
|
|
104
|
-
data-testid={TEST_IDS.SEARCH_ALL_FILTERS}
|
|
105
|
-
filterOptions={(options): string[] => options}
|
|
106
|
-
freeSolo
|
|
107
|
-
onClose={onClose}
|
|
108
|
-
onInputChange={(_, v = "") => setSearchTerm(v)}
|
|
109
|
-
onOpen={onOpen}
|
|
110
|
-
open={open}
|
|
111
|
-
options={[""]} // Placeholder options, since item rendering is fully controlled by VariableSizeList
|
|
112
|
-
ref={autocompleteRef}
|
|
113
|
-
renderInput={OutlinedInput}
|
|
114
|
-
slotProps={
|
|
115
|
-
surfaceType === SURFACE_TYPE.POPPER_MENU
|
|
116
|
-
? POPPER_MENU_SLOT_PROPS
|
|
117
|
-
: POPPER_DRAWER_SLOT_PROPS
|
|
118
|
-
}
|
|
119
|
-
slots={
|
|
120
|
-
surfaceType === SURFACE_TYPE.POPPER_MENU
|
|
121
|
-
? { listbox: Listbox, popper: StyledPopper }
|
|
122
|
-
: { listbox: Listbox, popper: StyledPopperDrawer }
|
|
123
|
-
}
|
|
124
|
-
value={searchTerm}
|
|
125
|
-
{...props}
|
|
126
|
-
/>
|
|
127
|
-
</AutocompleteContext.Provider>
|
|
128
|
-
);
|
|
129
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ComponentProps } from "react";
|
|
2
|
-
import { fn } from "storybook/test";
|
|
3
|
-
import {
|
|
4
|
-
BIOLOGICAL_SEX,
|
|
5
|
-
DONOR_COUNT,
|
|
6
|
-
GENUS_SPECIES,
|
|
7
|
-
} from "../../Filters/stories/constants";
|
|
8
|
-
import { SURFACE_TYPE } from "../../surfaces/types";
|
|
9
|
-
import { SearchAllFilters } from "../searchAllFilters";
|
|
10
|
-
|
|
11
|
-
export const DEFAULT_ARGS: ComponentProps<typeof SearchAllFilters> = {
|
|
12
|
-
categoryViews: [BIOLOGICAL_SEX, GENUS_SPECIES, DONOR_COUNT],
|
|
13
|
-
onFilter: fn(),
|
|
14
|
-
surfaceType: SURFACE_TYPE.POPPER_MENU,
|
|
15
|
-
};
|
package/src/components/Filter/components/SearchAllFilters/stories/searchAllFilters.stories.tsx
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { Box } from "@mui/material";
|
|
2
|
-
import type { Meta, StoryObj } from "@storybook/nextjs-vite";
|
|
3
|
-
import { JSX } from "react";
|
|
4
|
-
import { PALETTE } from "../../../../../styles/common/constants/palette";
|
|
5
|
-
import { SearchAllFilters } from "../searchAllFilters";
|
|
6
|
-
import { DEFAULT_ARGS } from "./args";
|
|
7
|
-
|
|
8
|
-
const meta: Meta<typeof SearchAllFilters> = {
|
|
9
|
-
component: SearchAllFilters,
|
|
10
|
-
decorators: [
|
|
11
|
-
(Story): JSX.Element => (
|
|
12
|
-
<Box sx={{ backgroundColor: PALETTE.COMMON_WHITE, minWidth: 264 }}>
|
|
13
|
-
<Story />
|
|
14
|
-
</Box>
|
|
15
|
-
),
|
|
16
|
-
],
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
export default meta;
|
|
20
|
-
|
|
21
|
-
type Story = StoryObj<typeof meta>;
|
|
22
|
-
|
|
23
|
-
const DefaultStory = (): JSX.Element => {
|
|
24
|
-
return <SearchAllFilters {...DEFAULT_ARGS} />;
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
export const Default: Story = {
|
|
28
|
-
render: () => <DefaultStory />,
|
|
29
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { AutocompleteProps } from "@mui/material";
|
|
2
|
-
import { CategoryView } from "../../../../common/categories/views/types";
|
|
3
|
-
import { OnFilterFn } from "../../../../hooks/useCategoryFilter";
|
|
4
|
-
import { BaseComponentProps } from "../../../types";
|
|
5
|
-
import { SURFACE_TYPE } from "../surfaces/types";
|
|
6
|
-
|
|
7
|
-
export interface SearchAllFiltersProps
|
|
8
|
-
extends
|
|
9
|
-
Omit<
|
|
10
|
-
AutocompleteProps<string, false, false, true>,
|
|
11
|
-
"options" | "renderInput"
|
|
12
|
-
>,
|
|
13
|
-
BaseComponentProps {
|
|
14
|
-
categoryViews: CategoryView[];
|
|
15
|
-
onFilter: OnFilterFn;
|
|
16
|
-
surfaceType?: SURFACE_TYPE;
|
|
17
|
-
}
|