@databiosphere/findable-ui 23.0.0 → 25.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.release-please-manifest.json +1 -1
- package/.storybook/preview.js +4 -37
- package/CHANGELOG.md +64 -0
- package/jest.config.js +1 -0
- package/lib/common/entities.d.ts +1 -0
- package/lib/components/DataDictionary/components/Entities/constants.d.ts +2 -2
- package/lib/components/DataDictionary/components/Entities/constants.js +1 -1
- package/lib/components/DataDictionary/components/Entities/entities.js +3 -3
- package/lib/components/DataDictionary/components/Entity/constants.d.ts +2 -2
- package/lib/components/DataDictionary/components/Entity/constants.js +1 -1
- package/lib/components/DataDictionary/components/Entity/entity.js +4 -4
- package/lib/components/Detail/components/Table/components/TableHead/tableHead.d.ts +8 -0
- package/lib/components/Detail/components/Table/components/TableHead/tableHead.js +36 -0
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/NIHAccountExpiryWarning/nihAccountExpiryWarning.js +1 -1
- package/lib/components/Filter/components/FilterLabel/filterLabel.js +2 -2
- package/lib/components/Filter/components/FilterLabel/filterLabel.styles.d.ts +1 -1
- package/lib/components/Filter/components/SearchAllFiltersSearch/components/SearchCloseButton/searchCloseButton.js +2 -2
- package/lib/components/Index/components/EntitiesView/components/ChartView/chartView.d.ts +2 -0
- package/lib/components/Index/components/EntitiesView/components/ChartView/chartView.js +17 -0
- package/lib/components/Index/components/EntitiesView/components/ChartView/chartView.styles.d.ts +13 -0
- package/lib/components/Index/components/EntitiesView/components/ChartView/chartView.styles.js +12 -0
- package/lib/components/Index/components/EntitiesView/components/ChartView/components/Chart/barX/constants.d.ts +9 -0
- package/lib/components/Index/components/EntitiesView/components/ChartView/components/Chart/barX/constants.js +9 -0
- package/lib/components/Index/components/EntitiesView/components/ChartView/components/Chart/barX/plot.d.ts +3 -0
- package/lib/components/Index/components/EntitiesView/components/ChartView/components/Chart/barX/plot.js +86 -0
- package/lib/components/Index/components/EntitiesView/components/ChartView/components/Chart/barX/utils.d.ts +105 -0
- package/lib/components/Index/components/EntitiesView/components/ChartView/components/Chart/barX/utils.js +196 -0
- package/lib/components/Index/components/EntitiesView/components/ChartView/components/Chart/chart.d.ts +2 -0
- package/lib/components/Index/components/EntitiesView/components/ChartView/components/Chart/chart.js +7 -0
- package/lib/components/Index/components/EntitiesView/components/ChartView/components/Chart/chart.styles.d.ts +3 -0
- package/lib/components/Index/components/EntitiesView/components/ChartView/components/Chart/chart.styles.js +29 -0
- package/lib/components/Index/components/EntitiesView/components/ChartView/components/Chart/constants.d.ts +1 -0
- package/lib/components/Index/components/EntitiesView/components/ChartView/components/Chart/constants.js +1 -0
- package/lib/components/Index/components/EntitiesView/components/ChartView/components/Chart/stories/args.d.ts +4 -0
- package/lib/components/Index/components/EntitiesView/components/ChartView/components/Chart/stories/args.js +70 -0
- package/lib/components/Index/components/EntitiesView/components/ChartView/components/Chart/stories/chart.stories.d.ts +7 -0
- package/lib/components/Index/components/EntitiesView/components/ChartView/components/Chart/stories/chart.stories.js +19 -0
- package/lib/components/Index/components/EntitiesView/components/ChartView/components/Chart/types.d.ts +6 -0
- package/lib/components/Index/components/EntitiesView/components/ChartView/components/Chart/types.js +1 -0
- package/lib/components/Index/components/EntitiesView/components/ChartView/constants.d.ts +1 -0
- package/lib/components/Index/components/EntitiesView/components/ChartView/constants.js +1 -0
- package/lib/components/Index/components/EntitiesView/components/ChartView/hooks/UseChartView/types.d.ts +7 -0
- package/lib/components/Index/components/EntitiesView/components/ChartView/hooks/UseChartView/types.js +1 -0
- package/lib/components/Index/components/EntitiesView/components/ChartView/hooks/UseChartView/useChartView.d.ts +3 -0
- package/lib/components/Index/components/EntitiesView/components/ChartView/hooks/UseChartView/useChartView.js +11 -0
- package/lib/components/Index/components/EntitiesView/components/ChartView/stories/args.d.ts +3 -0
- package/lib/components/Index/components/EntitiesView/components/ChartView/stories/args.js +96 -0
- package/lib/components/Index/components/EntitiesView/components/ChartView/stories/chartView.stories.d.ts +6 -0
- package/lib/components/Index/components/EntitiesView/components/ChartView/stories/chartView.stories.js +16 -0
- package/lib/components/Index/components/EntitiesView/components/ChartView/types.d.ts +6 -0
- package/lib/components/Index/components/EntitiesView/components/ChartView/types.js +1 -0
- package/lib/components/Index/components/EntitiesView/components/ChartView/utils.d.ts +14 -0
- package/lib/components/Index/components/EntitiesView/components/ChartView/utils.js +21 -0
- package/lib/components/Index/components/EntitiesView/components/EntityList/entityList.d.ts +2 -0
- package/lib/components/Index/components/EntitiesView/components/EntityList/entityList.js +16 -0
- package/lib/components/Index/components/EntitiesView/components/EntityList/types.d.ts +3 -0
- package/lib/components/Index/components/EntitiesView/components/EntityList/types.js +1 -0
- package/lib/components/Index/components/EntitiesView/constants.d.ts +1 -0
- package/lib/components/Index/components/EntitiesView/constants.js +1 -0
- package/lib/components/Index/components/EntitiesView/entitiesView.d.ts +2 -0
- package/lib/components/Index/components/EntitiesView/entitiesView.js +14 -0
- package/lib/components/Index/components/EntitiesView/entitiesView.styles.d.ts +3 -0
- package/lib/components/Index/components/EntitiesView/entitiesView.styles.js +20 -0
- package/lib/components/Index/components/EntitiesView/hooks/UseEntitiesView/hook.d.ts +2 -0
- package/lib/components/Index/components/EntitiesView/hooks/UseEntitiesView/hook.js +14 -0
- package/lib/components/Index/components/EntitiesView/hooks/UseEntitiesView/types.d.ts +13 -0
- package/lib/components/Index/components/EntitiesView/hooks/UseEntitiesView/types.js +5 -0
- package/lib/components/Index/components/EntitiesView/stories/entitiesView.stories.d.ts +8 -0
- package/lib/components/Index/components/EntitiesView/stories/entitiesView.stories.js +50 -0
- package/lib/components/Index/components/EntitiesView/types.d.ts +8 -0
- package/lib/components/Index/components/EntitiesView/types.js +1 -0
- package/lib/components/Index/components/NTagCell/nTagCell.stories.d.ts +5 -16
- package/lib/components/Index/components/NTagCell/nTagCell.stories.js +8 -8
- package/lib/components/Index/components/TitleCell/titleCell.d.ts +6 -0
- package/lib/components/Index/components/TitleCell/titleCell.js +10 -0
- package/lib/components/Index/components/TitleCell/titleCell.styles.d.ts +3 -0
- package/lib/components/Index/components/TitleCell/titleCell.styles.js +6 -0
- package/lib/components/Index/index.d.ts +2 -13
- package/lib/components/Index/index.js +6 -2
- package/lib/components/Index/index.stories.js +3 -2
- package/lib/components/Index/types.d.ts +12 -0
- package/lib/components/Index/types.js +1 -0
- package/lib/components/Layout/components/BackPage/components/BackPageHero/backPageHero.d.ts +1 -1
- package/lib/components/Layout/components/BackPage/components/BackPageHero/backPageHero.js +5 -4
- package/lib/components/Layout/components/BackPage/components/BackPageHero/stories/backPageHero.stories.d.ts +6 -0
- package/lib/components/Layout/components/BackPage/components/BackPageHero/stories/backPageHero.stories.js +18 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/authentication.js +3 -3
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.stories.d.ts +5 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.stories.js +29 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.styles.d.ts +2 -2
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/Button/button.styles.d.ts +1 -1
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/RequestAuthentication/requestAuthentication.d.ts +6 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/RequestAuthentication/requestAuthentication.js +13 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/RequestAuthentication/requestAuthentication.styles.d.ts +36 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/RequestAuthentication/requestAuthentication.styles.js +9 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Menu/components/Toolbar/toolbar.js +2 -2
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Menu/menu.js +2 -2
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/Button/button.styles.d.ts +1 -1
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchBar/searchBar.js +5 -3
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchBar/searchBar.styles.d.ts +5 -1
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchBar/searchBar.styles.js +4 -3
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchButton/searchButton.d.ts +5 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchButton/searchButton.js +10 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchButton/searchButton.styles.d.ts +36 -0
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchButton/searchButton.styles.js +9 -0
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationDrawer/navigationDrawer.js +2 -2
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenu/navigationMenu.js +2 -2
- package/lib/components/Layout/components/Header/hooks/useMeasureHeader.d.ts +5 -0
- package/lib/components/Layout/components/Header/hooks/useMeasureHeader.js +19 -0
- package/lib/components/Layout/components/Outline/common/constants.d.ts +2 -0
- package/lib/components/Layout/components/Outline/common/constants.js +1 -0
- package/lib/components/Layout/components/Outline/outline.styles.d.ts +1 -1
- package/lib/components/Layout/components/Sidebar/components/SidebarButton/sidebarButton.js +2 -2
- package/lib/components/Loading/loading.d.ts +2 -1
- package/lib/components/Loading/loading.js +2 -2
- package/lib/components/Loading/loading.stories.d.ts +3 -31
- package/lib/components/Login/components/Button/button.styles.d.ts +1 -1
- package/lib/components/Login/components/Section/components/Consent/consent.js +3 -3
- package/lib/components/Login/components/Section/components/Consent/consent.styles.d.ts +1 -1
- package/lib/components/Login/components/Section/components/Consent/consent.styles.js +2 -2
- package/lib/components/Login/components/Section/components/Consent/types.d.ts +2 -2
- package/lib/components/Login/login.stories.d.ts +6 -0
- package/lib/components/Login/login.stories.js +31 -0
- package/lib/components/NoResults/noResults.d.ts +1 -8
- package/lib/components/NoResults/noResults.js +9 -8
- package/lib/components/NoResults/noResults.styles.d.ts +2 -2
- package/lib/components/NoResults/noResults.styles.js +4 -2
- package/lib/components/NoResults/types.d.ts +8 -0
- package/lib/components/NoResults/types.js +1 -0
- package/lib/components/Plot/components/BarX/barX.d.ts +2 -0
- package/lib/components/Plot/components/BarX/barX.js +13 -0
- package/lib/components/Plot/components/BarX/types.d.ts +5 -0
- package/lib/components/Plot/components/BarX/types.js +1 -0
- package/lib/components/Stepper/components/Step/components/StepContent/stepContent.d.ts +3 -0
- package/lib/components/Stepper/components/Step/components/StepContent/stepContent.js +7 -0
- package/lib/components/Stepper/components/Step/components/StepContent/stepContent.styles.d.ts +3 -0
- package/lib/components/Stepper/components/Step/components/StepContent/stepContent.styles.js +17 -0
- package/lib/components/Stepper/components/Step/components/StepIcon/components/CompletedIcon/completedIcon.d.ts +2 -0
- package/lib/components/Stepper/components/Step/components/StepIcon/components/CompletedIcon/completedIcon.js +8 -0
- package/lib/components/Stepper/components/Step/components/StepIcon/components/CompletedIcon/completedIcon.styles.d.ts +5 -0
- package/lib/components/Stepper/components/Step/components/StepIcon/components/CompletedIcon/completedIcon.styles.js +15 -0
- package/lib/components/Stepper/components/Step/components/StepIcon/components/CompletedIcon/contants.d.ts +2 -0
- package/lib/components/Stepper/components/Step/components/StepIcon/components/CompletedIcon/contants.js +4 -0
- package/lib/components/Stepper/components/Step/components/StepIcon/constants.d.ts +1 -0
- package/lib/components/Stepper/components/Step/components/StepIcon/constants.js +1 -0
- package/lib/components/Stepper/components/Step/components/StepIcon/stepIcon.d.ts +3 -0
- package/lib/components/Stepper/components/Step/components/StepIcon/stepIcon.js +6 -0
- package/lib/components/Stepper/components/Step/components/StepIcon/stepIcon.styles.d.ts +3 -0
- package/lib/components/Stepper/components/Step/components/StepIcon/stepIcon.styles.js +27 -0
- package/lib/components/Stepper/components/Step/components/StepIcon/stories/stepIcon.stories.d.ts +9 -0
- package/lib/components/Stepper/components/Step/components/StepIcon/stories/stepIcon.stories.js +38 -0
- package/lib/components/Stepper/components/Step/components/StepLabel/components/Label/components/Icon/constants.d.ts +3 -0
- package/lib/components/Stepper/components/Step/components/StepLabel/components/Label/components/Icon/constants.js +11 -0
- package/lib/components/Stepper/components/Step/components/StepLabel/components/Label/components/Icon/icon.d.ts +2 -0
- package/lib/components/Stepper/components/Step/components/StepLabel/components/Label/components/Icon/icon.js +9 -0
- package/lib/components/Stepper/components/Step/components/StepLabel/components/Label/components/Icon/stories/contants.d.ts +3 -0
- package/lib/components/Stepper/components/Step/components/StepLabel/components/Label/components/Icon/stories/contants.js +3 -0
- package/lib/components/Stepper/components/Step/components/StepLabel/components/Label/components/Icon/stories/icon.stories.d.ts +6 -0
- package/lib/components/Stepper/components/Step/components/StepLabel/components/Label/components/Icon/stories/icon.stories.js +20 -0
- package/lib/components/Stepper/components/Step/components/StepLabel/components/Label/components/Icon/types.d.ts +7 -0
- package/lib/components/Stepper/components/Step/components/StepLabel/components/Label/components/Icon/types.js +1 -0
- package/lib/components/Stepper/components/Step/components/StepLabel/components/Label/constants.d.ts +2 -0
- package/lib/components/Stepper/components/Step/components/StepLabel/components/Label/constants.js +6 -0
- package/lib/components/Stepper/components/Step/components/StepLabel/components/Label/label.d.ts +2 -0
- package/lib/components/Stepper/components/Step/components/StepLabel/components/Label/label.js +6 -0
- package/lib/components/Stepper/components/Step/components/StepLabel/components/Label/label.styles.d.ts +5 -0
- package/lib/components/Stepper/components/Step/components/StepLabel/components/Label/label.styles.js +7 -0
- package/lib/components/Stepper/components/Step/components/StepLabel/components/Label/stories/label.stories.d.ts +7 -0
- package/lib/components/Stepper/components/Step/components/StepLabel/components/Label/stories/label.stories.js +21 -0
- package/lib/components/Stepper/components/Step/components/StepLabel/components/Optional/constants.d.ts +2 -0
- package/lib/components/Stepper/components/Step/components/StepLabel/components/Optional/constants.js +5 -0
- package/lib/components/Stepper/components/Step/components/StepLabel/components/Optional/optional.d.ts +2 -0
- package/lib/components/Stepper/components/Step/components/StepLabel/components/Optional/optional.js +6 -0
- package/lib/components/Stepper/components/Step/components/StepLabel/constants.d.ts +2 -0
- package/lib/components/Stepper/components/Step/components/StepLabel/constants.js +8 -0
- package/lib/components/Stepper/components/Step/components/StepLabel/stepLabel.d.ts +2 -0
- package/lib/components/Stepper/components/Step/components/StepLabel/stepLabel.js +6 -0
- package/lib/components/Stepper/components/Step/components/StepLabel/stepLabel.styles.d.ts +3 -0
- package/lib/components/Stepper/components/Step/components/StepLabel/stepLabel.styles.js +12 -0
- package/lib/components/Stepper/components/Step/components/StepLabel/stories/contants.d.ts +4 -0
- package/lib/components/Stepper/components/Step/components/StepLabel/stories/contants.js +15 -0
- package/lib/components/Stepper/components/Step/components/StepLabel/stories/stepLabel.stories.d.ts +8 -0
- package/lib/components/Stepper/components/Step/components/StepLabel/stories/stepLabel.stories.js +37 -0
- package/lib/components/Stepper/components/Step/constants.d.ts +2 -0
- package/lib/components/Stepper/components/Step/constants.js +4 -0
- package/lib/components/Stepper/components/Step/step.d.ts +3 -0
- package/lib/components/Stepper/components/Step/step.js +6 -0
- package/lib/components/Stepper/components/Step/step.styles.d.ts +5 -0
- package/lib/components/Stepper/components/Step/step.styles.js +31 -0
- package/lib/components/Stepper/components/Step/stories/contants.d.ts +4 -0
- package/lib/components/Stepper/components/Step/stories/contants.js +14 -0
- package/lib/components/Stepper/components/Step/stories/step.stories.d.ts +8 -0
- package/lib/components/Stepper/components/Step/stories/step.stories.js +62 -0
- package/lib/components/Support/components/SupportRequest/components/Dialog/dialog.js +2 -2
- package/lib/components/Table/components/CheckboxMenu/checkboxMenu.d.ts +16 -0
- package/lib/components/Table/components/CheckboxMenu/checkboxMenu.js +28 -0
- package/lib/components/Table/components/CheckboxMenu/checkboxMenu.stories.d.ts +5 -0
- package/lib/components/Table/components/CheckboxMenu/checkboxMenu.stories.js +46 -0
- package/lib/components/Table/components/CheckboxMenu/checkboxMenu.styles.d.ts +3 -0
- package/lib/components/Table/components/CheckboxMenu/checkboxMenu.styles.js +21 -0
- package/lib/components/Table/components/EntityViewToggle/entityViewToggle.d.ts +2 -0
- package/lib/components/Table/components/EntityViewToggle/entityViewToggle.js +37 -0
- package/lib/components/Table/components/Pagination/pagination.js +3 -4
- package/lib/components/Table/components/TableHead/tableHead.js +2 -2
- package/lib/components/Table/table.js +11 -11
- package/lib/components/TableCreator/common/constants.d.ts +6 -0
- package/lib/components/TableCreator/common/constants.js +19 -0
- package/lib/components/TableCreator/common/entities.d.ts +5 -0
- package/lib/components/TableCreator/common/entities.js +1 -0
- package/lib/components/TableCreator/tableCreator.js +1 -6
- package/lib/components/common/Alert/alert.stories.d.ts +6 -0
- package/lib/components/common/Alert/alert.stories.js +36 -0
- package/lib/components/common/Alert/components/AlertText/alertText.styles.d.ts +4 -0
- package/lib/components/common/Alert/components/AlertText/alertText.styles.js +19 -0
- package/lib/components/common/AnchorLink/anchorLink.js +2 -2
- package/lib/components/common/Banner/components/BannerPrimary/bannerPrimary.d.ts +7 -0
- package/lib/components/common/Banner/components/BannerPrimary/bannerPrimary.js +5 -0
- package/lib/components/common/Banner/components/BannerPrimary/bannerPrimary.styles.d.ts +3 -0
- package/lib/components/common/Banner/components/BannerPrimary/bannerPrimary.styles.js +19 -0
- package/lib/components/common/Banner/components/DismissibleBanner/dismissibleBanner.d.ts +10 -0
- package/lib/components/common/Banner/components/DismissibleBanner/dismissibleBanner.js +16 -0
- package/lib/components/common/Banner/components/SessionTimeout/sessionTimeout.styles.d.ts +3 -0
- package/lib/components/common/Banner/components/SessionTimeout/sessionTimeout.styles.js +21 -0
- package/lib/components/common/Breadcrumbs/breadcrumbs.js +2 -2
- package/lib/components/common/Breadcrumbs/typeGuard.d.ts +13 -0
- package/lib/components/common/Breadcrumbs/typeGuard.js +23 -0
- package/lib/components/common/Button/components/DropdownButton/dropdownButton.js +2 -2
- package/lib/components/common/Button/components/LoginButton/loginButton.d.ts +3 -0
- package/lib/components/common/Button/components/LoginButton/loginButton.js +6 -0
- package/lib/components/common/Button/components/LoginButton/loginButton.styles.d.ts +7 -0
- package/lib/components/common/Button/components/LoginButton/loginButton.styles.js +11 -0
- package/lib/components/common/Button/components/NavigationButton/navigationButton.js +2 -2
- package/lib/components/common/CopyToClipboard/copyToClipboard.js +2 -2
- package/lib/components/common/Dialog/components/DialogTitle/dialogTitle.js +2 -2
- package/lib/components/common/Drawer/components/DrawerTitle/drawerTitle.js +2 -2
- package/lib/components/common/Form/components/Select/components/DropDownIcon/dropDownIcon.d.ts +2 -3
- package/lib/components/common/Form/components/Select/components/DropDownIcon/dropDownIcon.js +3 -3
- package/lib/components/common/Form/components/UploadFile/uploadFile.js +2 -2
- package/lib/components/common/IconButton/components/LoadingIconButton/loadingIconButton.d.ts +5 -0
- package/lib/components/common/IconButton/components/LoadingIconButton/loadingIconButton.js +10 -0
- package/lib/components/common/IconButton/components/LoadingIconButton/loadingIconButton.stories.d.ts +3 -0
- package/lib/components/common/IconButton/components/LoadingIconButton/loadingIconButton.stories.js +9 -0
- package/lib/components/common/IconButton/iconButton.styles.d.ts +1 -1
- package/lib/components/common/KeyValuePairs/components/KeyElType/keyElType.d.ts +2 -5
- package/lib/components/common/KeyValuePairs/components/KeyElType/keyElType.js +6 -2
- package/lib/components/common/KeyValuePairs/components/ValueElType/valueElType.d.ts +2 -5
- package/lib/components/common/KeyValuePairs/components/ValueElType/valueElType.js +6 -2
- package/lib/components/common/LoginDialog/loginDialog.styles.js +1 -1
- package/lib/components/common/Paper/paper.d.ts +2 -1
- package/lib/components/common/Paper/paper.js +2 -2
- package/lib/components/common/Section/components/CollapsableSection/collapsableSection.js +2 -3
- package/lib/components/common/ToggleButtonGroup/hooks/UseToggleButtonGroup/hook.d.ts +2 -0
- package/lib/components/common/ToggleButtonGroup/hooks/UseToggleButtonGroup/hook.js +10 -0
- package/lib/components/types.d.ts +3 -0
- package/lib/config/entities.d.ts +2 -0
- package/lib/hooks/useAuthentication/common/constants.d.ts +4 -0
- package/lib/hooks/useAuthentication/common/constants.js +19 -0
- package/lib/hooks/useAuthentication/common/entities.d.ts +25 -0
- package/lib/hooks/useAuthentication/common/entities.js +11 -0
- package/lib/hooks/useAuthentication/common/utils.d.ts +15 -0
- package/lib/hooks/useAuthentication/common/utils.js +25 -0
- package/lib/hooks/useAuthentication/useAuthentication.d.ts +6 -0
- package/lib/hooks/useAuthentication/useAuthentication.js +9 -0
- package/lib/hooks/useAuthentication/useAuthenticationComplete.d.ts +6 -0
- package/lib/hooks/useAuthentication/useAuthenticationComplete.js +55 -0
- package/lib/hooks/useAuthentication/useAuthenticationForm.d.ts +20 -0
- package/lib/hooks/useAuthentication/useAuthenticationForm.js +88 -0
- package/lib/hooks/useAuthentication/useAuthenticationNIHExpiry.d.ts +18 -0
- package/lib/hooks/useAuthentication/useAuthenticationNIHExpiry.js +50 -0
- package/lib/hooks/useAuthentication/useAuthenticationStatus.d.ts +20 -0
- package/lib/hooks/useAuthentication/useAuthenticationStatus.js +32 -0
- package/lib/hooks/useAuthentication/useFetchGoogleProfile.d.ts +21 -0
- package/lib/hooks/useAuthentication/useFetchGoogleProfile.js +41 -0
- package/lib/hooks/useAuthentication/useFetchTerraNIHProfile.d.ts +18 -0
- package/lib/hooks/useAuthentication/useFetchTerraNIHProfile.js +62 -0
- package/lib/hooks/useAuthentication/useFetchTerraProfile.d.ts +24 -0
- package/lib/hooks/useAuthentication/useFetchTerraProfile.js +62 -0
- package/lib/hooks/useAuthentication/useFetchTerraTermsOfService.d.ts +15 -0
- package/lib/hooks/useAuthentication/useFetchTerraTermsOfService.js +62 -0
- package/lib/hooks/useAuthentication/useTokenClient.d.ts +11 -0
- package/lib/hooks/useAuthentication/useTokenClient.js +29 -0
- package/lib/hooks/useAuthenticationConfig.d.ts +6 -0
- package/lib/hooks/useAuthenticationConfig.js +14 -0
- package/lib/hooks/useCategoryConfigs.d.ts +6 -0
- package/lib/hooks/useCategoryConfigs.js +17 -0
- package/lib/hooks/useCategoryFilter.js +1 -0
- package/lib/hooks/useEntityListRelatedView.d.ts +15 -0
- package/lib/hooks/useEntityListRelatedView.js +62 -0
- package/lib/hooks/useFileManifest/common/buildFileManifestRequestURL.d.ts +15 -0
- package/lib/hooks/useFileManifest/common/buildFileManifestRequestURL.js +27 -0
- package/lib/hooks/useFileManifest/useFileManifestURL.d.ts +5 -0
- package/lib/hooks/useFileManifest/useFileManifestURL.js +11 -0
- package/lib/hooks/useFileManifest/useRequestFileManifest.d.ts +9 -0
- package/lib/hooks/useFileManifest/useRequestFileManifest.js +37 -0
- package/lib/hooks/useLayoutState.d.ts +6 -0
- package/lib/hooks/useLayoutState.js +9 -0
- package/lib/hooks/useMenu.d.ts +10 -0
- package/lib/hooks/useMenu.js +17 -0
- package/lib/hooks/useMenuWithPosition.d.ts +14 -0
- package/lib/hooks/useMenuWithPosition.js +33 -0
- package/lib/hooks/useResizeObserver.d.ts +2 -1
- package/lib/hooks/useResizeObserver.js +5 -2
- package/lib/hooks/useSessionTimeout.d.ts +11 -0
- package/lib/hooks/useSessionTimeout.js +28 -0
- package/lib/providers/authentication.d.ts +51 -0
- package/lib/providers/authentication.js +110 -0
- package/lib/providers/layoutState.d.ts +40 -0
- package/lib/providers/layoutState.js +47 -0
- package/lib/storybook/controls/constants.d.ts +4 -0
- package/lib/storybook/controls/constants.js +6 -0
- package/lib/storybook/controls/types.d.ts +4 -0
- package/lib/storybook/controls/types.js +5 -0
- package/lib/storybook/controls/utils.d.ts +9 -0
- package/lib/storybook/controls/utils.js +10 -0
- package/lib/storybook/decorators.d.ts +2 -0
- package/lib/storybook/decorators.js +11 -0
- package/lib/storybook/loremIpsum.d.ts +4 -0
- package/lib/storybook/loremIpsum.js +4 -0
- package/lib/storybook/parameters.d.ts +2 -0
- package/lib/storybook/parameters.js +12 -0
- package/lib/styles/common/mui/palette.d.ts +47 -0
- package/lib/styles/common/mui/palette.js +47 -0
- package/lib/styles/common/mui/stepper.d.ts +7 -0
- package/lib/styles/common/mui/stepper.js +7 -0
- package/lib/styles/common/mui/svgIcon.d.ts +9 -0
- package/lib/styles/common/mui/svgIcon.js +26 -0
- package/lib/styles/common/mui/typography.js +1 -0
- package/lib/tests/mui/constants.d.ts +4 -0
- package/lib/tests/mui/constants.js +4 -0
- package/lib/theme/common/typography.d.ts +6 -2
- package/lib/theme/common/typography.js +10 -1
- package/lib/theme/theme.js +2 -0
- package/lib/utils/tests.d.ts +12 -0
- package/lib/utils/tests.js +20 -0
- package/lib/views/ExploreView/exploreView.js +4 -24
- package/package.json +6 -4
- package/src/common/entities.ts +1 -0
- package/src/components/DataDictionary/components/Entities/constants.ts +2 -2
- package/src/components/DataDictionary/components/Entities/entities.tsx +4 -4
- package/src/components/DataDictionary/components/Entity/constants.ts +2 -2
- package/src/components/DataDictionary/components/Entity/entity.tsx +6 -6
- package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/NIHAccountExpiryWarning/nihAccountExpiryWarning.tsx +1 -1
- package/src/components/Filter/components/FilterLabel/filterLabel.tsx +2 -2
- package/src/components/Filter/components/SearchAllFiltersSearch/components/SearchCloseButton/searchCloseButton.tsx +2 -2
- package/src/components/Index/components/EntitiesView/components/ChartView/chartView.styles.ts +14 -0
- package/src/components/Index/components/EntitiesView/components/ChartView/chartView.tsx +38 -0
- package/src/components/Index/components/EntitiesView/components/ChartView/components/Chart/barX/constants.ts +13 -0
- package/src/components/Index/components/EntitiesView/components/ChartView/components/Chart/barX/plot.ts +104 -0
- package/src/components/Index/components/EntitiesView/components/ChartView/components/Chart/barX/utils.ts +229 -0
- package/src/components/Index/components/EntitiesView/components/ChartView/components/Chart/chart.styles.ts +30 -0
- package/src/components/Index/components/EntitiesView/components/ChartView/components/Chart/chart.tsx +16 -0
- package/src/components/Index/components/EntitiesView/components/ChartView/components/Chart/constants.ts +1 -0
- package/src/components/Index/components/EntitiesView/components/ChartView/components/Chart/stories/args.ts +74 -0
- package/src/components/Index/components/EntitiesView/components/ChartView/components/Chart/stories/chart.stories.tsx +29 -0
- package/src/components/Index/components/EntitiesView/components/ChartView/components/Chart/types.ts +9 -0
- package/src/components/Index/components/EntitiesView/components/ChartView/constants.ts +1 -0
- package/src/components/Index/components/EntitiesView/components/ChartView/hooks/UseChartView/types.ts +8 -0
- package/src/components/Index/components/EntitiesView/components/ChartView/hooks/UseChartView/useChartView.ts +29 -0
- package/src/components/Index/components/EntitiesView/components/ChartView/stories/args.ts +99 -0
- package/src/components/Index/components/EntitiesView/components/ChartView/stories/chartView.stories.tsx +25 -0
- package/src/components/Index/components/EntitiesView/components/ChartView/types.ts +7 -0
- package/src/components/Index/components/EntitiesView/components/ChartView/utils.ts +26 -0
- package/src/components/Index/components/EntitiesView/components/EntityList/entityList.tsx +29 -0
- package/src/components/Index/components/EntitiesView/components/EntityList/types.ts +3 -0
- package/src/components/Index/components/EntitiesView/constants.ts +1 -0
- package/src/components/Index/components/EntitiesView/entitiesView.styles.ts +21 -0
- package/src/components/Index/components/EntitiesView/entitiesView.tsx +30 -0
- package/src/components/Index/components/EntitiesView/hooks/UseEntitiesView/hook.ts +15 -0
- package/src/components/Index/components/EntitiesView/hooks/UseEntitiesView/types.ts +16 -0
- package/src/components/Index/components/EntitiesView/stories/entitiesView.stories.tsx +76 -0
- package/src/components/Index/components/EntitiesView/types.ts +9 -0
- package/src/components/Index/index.stories.tsx +3 -2
- package/src/components/Index/index.tsx +15 -15
- package/src/components/Index/types.ts +13 -0
- package/src/components/Layout/components/BackPage/components/BackPageHero/backPageHero.tsx +19 -14
- package/src/components/Layout/components/BackPage/components/BackPageHero/stories/backPageHero.stories.tsx +24 -0
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/authentication.tsx +3 -3
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Menu/components/Toolbar/toolbar.tsx +2 -2
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Menu/menu.tsx +2 -2
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchBar/searchBar.styles.ts +8 -3
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchBar/searchBar.tsx +5 -2
- package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationDrawer/navigationDrawer.tsx +2 -2
- package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenu/navigationMenu.tsx +2 -2
- package/src/components/Layout/components/Sidebar/components/SidebarButton/sidebarButton.tsx +2 -2
- package/src/components/Loading/loading.stories.tsx +2 -2
- package/src/components/Loading/loading.tsx +11 -3
- package/src/components/Login/components/Section/components/Consent/consent.styles.ts +2 -2
- package/src/components/Login/components/Section/components/Consent/consent.tsx +4 -4
- package/src/components/Login/components/Section/components/Consent/types.ts +2 -2
- package/src/components/NoResults/noResults.styles.ts +4 -2
- package/src/components/NoResults/noResults.tsx +16 -22
- package/src/components/NoResults/types.ts +13 -0
- package/src/components/Plot/components/BarX/barX.tsx +20 -0
- package/src/components/Plot/components/BarX/types.ts +6 -0
- package/src/components/Stepper/components/Step/components/StepContent/stepContent.styles.ts +18 -0
- package/src/components/Stepper/components/Step/components/StepContent/stepContent.tsx +16 -0
- package/src/components/Stepper/components/Step/components/StepIcon/components/CompletedIcon/completedIcon.styles.ts +19 -0
- package/src/components/Stepper/components/Step/components/StepIcon/components/CompletedIcon/completedIcon.tsx +20 -0
- package/src/components/Stepper/components/Step/components/StepIcon/components/CompletedIcon/contants.ts +6 -0
- package/src/components/Stepper/components/Step/components/StepIcon/constants.ts +1 -0
- package/src/components/Stepper/components/Step/components/StepIcon/stepIcon.styles.ts +32 -0
- package/src/components/Stepper/components/Step/components/StepIcon/stepIcon.tsx +21 -0
- package/src/components/Stepper/components/Step/components/StepIcon/stories/stepIcon.stories.tsx +52 -0
- package/src/components/Stepper/components/Step/components/StepLabel/components/Label/components/Icon/constants.ts +14 -0
- package/src/components/Stepper/components/Step/components/StepLabel/components/Label/components/Icon/icon.tsx +13 -0
- package/src/components/Stepper/components/Step/components/StepLabel/components/Label/components/Icon/stories/contants.ts +6 -0
- package/src/components/Stepper/components/Step/components/StepLabel/components/Label/components/Icon/stories/icon.stories.tsx +30 -0
- package/src/components/Stepper/components/Step/components/StepLabel/components/Label/components/Icon/types.ts +8 -0
- package/src/components/Stepper/components/Step/components/StepLabel/components/Label/constants.ts +8 -0
- package/src/components/Stepper/components/Step/components/StepLabel/components/Label/label.styles.ts +8 -0
- package/src/components/Stepper/components/Step/components/StepLabel/components/Label/label.tsx +10 -0
- package/src/components/Stepper/components/Step/components/StepLabel/components/Label/stories/label.stories.tsx +31 -0
- package/src/components/Stepper/components/Step/components/StepLabel/components/Optional/constants.ts +7 -0
- package/src/components/Stepper/components/Step/components/StepLabel/components/Optional/optional.tsx +9 -0
- package/src/components/Stepper/components/Step/components/StepLabel/constants.ts +10 -0
- package/src/components/Stepper/components/Step/components/StepLabel/stepLabel.styles.ts +13 -0
- package/src/components/Stepper/components/Step/components/StepLabel/stepLabel.tsx +10 -0
- package/src/components/Stepper/components/Step/components/StepLabel/stories/contants.ts +19 -0
- package/src/components/Stepper/components/Step/components/StepLabel/stories/stepLabel.stories.tsx +48 -0
- package/src/components/Stepper/components/Step/constants.ts +6 -0
- package/src/components/Stepper/components/Step/step.styles.ts +33 -0
- package/src/components/Stepper/components/Step/step.tsx +12 -0
- package/src/components/Stepper/components/Step/stories/contants.ts +18 -0
- package/src/components/Stepper/components/Step/stories/step.stories.tsx +87 -0
- package/src/components/Support/components/SupportRequest/components/Dialog/dialog.tsx +2 -2
- package/src/components/Table/components/Pagination/pagination.tsx +3 -4
- package/src/components/Table/components/TableHead/tableHead.tsx +2 -2
- package/src/components/Table/table.tsx +42 -38
- package/src/components/TableCreator/tableCreator.tsx +8 -18
- package/src/components/common/AnchorLink/anchorLink.tsx +2 -2
- package/src/components/common/Breadcrumbs/breadcrumbs.tsx +2 -2
- package/src/components/common/Breadcrumbs/typeGuard.ts +24 -0
- package/src/components/common/Button/components/DropdownButton/dropdownButton.tsx +2 -2
- package/src/components/common/Button/components/NavigationButton/navigationButton.tsx +2 -2
- package/src/components/common/CopyToClipboard/copyToClipboard.tsx +2 -2
- package/src/components/common/Dialog/components/DialogTitle/dialogTitle.tsx +2 -2
- package/src/components/common/Drawer/components/DrawerTitle/drawerTitle.tsx +2 -2
- package/src/components/common/Form/components/Select/components/DropDownIcon/dropDownIcon.tsx +5 -6
- package/src/components/common/Form/components/UploadFile/uploadFile.tsx +2 -2
- package/src/components/common/KeyValuePairs/components/KeyElType/keyElType.tsx +14 -9
- package/src/components/common/KeyValuePairs/components/ValueElType/valueElType.tsx +8 -9
- package/src/components/common/LoginDialog/loginDialog.styles.ts +1 -1
- package/src/components/common/Paper/paper.tsx +9 -3
- package/src/components/common/Section/components/CollapsableSection/collapsableSection.tsx +2 -3
- package/src/components/common/ToggleButtonGroup/hooks/UseToggleButtonGroup/hook.ts +17 -0
- package/src/components/types.ts +4 -0
- package/src/config/entities.ts +2 -0
- package/src/hooks/useCategoryFilter.ts +1 -0
- package/src/hooks/useResizeObserver.ts +5 -2
- package/src/storybook/controls/constants.ts +12 -0
- package/src/storybook/controls/types.ts +4 -0
- package/src/storybook/controls/utils.ts +18 -0
- package/src/storybook/decorators.tsx +17 -0
- package/src/storybook/loremIpsum.ts +5 -0
- package/src/storybook/parameters.ts +14 -0
- package/src/styles/common/mui/palette.ts +47 -0
- package/src/styles/common/mui/stepper.ts +14 -0
- package/src/styles/common/mui/svgIcon.ts +35 -0
- package/src/styles/common/mui/typography.ts +1 -0
- package/src/tests/mui/constants.ts +4 -0
- package/src/theme/common/typography.ts +12 -1
- package/src/theme/theme.ts +2 -0
- package/src/utils/tests.ts +20 -0
- package/src/views/ExploreView/exploreView.tsx +8 -42
- package/tests/chart.test.tsx +170 -0
- package/tests/chartView.test.tsx +36 -0
- package/tests/entitiesView.test.tsx +36 -0
- package/tests/setup.ts +19 -0
- package/tests/stepIcon.test.tsx +42 -0
- package/types/data-explorer-ui.d.ts +39 -80
- package/src/components/Index/components/Cell/cell.tsx +0 -22
- package/src/components/Index/components/NTag/components/Tooltip/tooltip.styles.ts +0 -11
- package/src/components/Index/components/NTag/components/Tooltip/tooltip.tsx +0 -90
- package/src/components/Index/components/NTag/nTag.tsx +0 -25
- package/src/components/Index/components/NTagCell/nTagCell.stories.tsx +0 -22
- package/src/components/Index/components/NTagCell/nTagCell.tsx +0 -74
- package/src/components/Layout/components/BackPage/components/BackPageHero/backPageHero.stories.tsx +0 -16
- package/src/components/TableCreator/tableCreator.styles.ts +0 -5
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { Stepper } from "@mui/material";
|
|
2
|
+
import { Meta, StoryObj, composeStories } from "@storybook/react";
|
|
3
|
+
import React, { ComponentProps } from "react";
|
|
4
|
+
import { CONTROL_TYPE } from "../../../../../storybook/controls/types";
|
|
5
|
+
import { configureControls } from "../../../../../storybook/controls/utils";
|
|
6
|
+
import { LOREM_IPSUM } from "../../../../../storybook/loremIpsum";
|
|
7
|
+
import { STEPPER_PROPS } from "../../../../../styles/common/mui/stepper";
|
|
8
|
+
import { StepContent } from "../components/StepContent/stepContent";
|
|
9
|
+
import * as stories from "../components/StepLabel/stories/stepLabel.stories";
|
|
10
|
+
import { Step } from "../step";
|
|
11
|
+
import { BOOLEAN_CONTROLS, DISABLED_CONTROLS } from "./contants";
|
|
12
|
+
|
|
13
|
+
const {
|
|
14
|
+
Active: ActiveStepLabel,
|
|
15
|
+
Completed: CompletedStepLabel,
|
|
16
|
+
Default: StepLabel,
|
|
17
|
+
} = composeStories(stories);
|
|
18
|
+
|
|
19
|
+
const meta: Meta<typeof Step> = {
|
|
20
|
+
argTypes: {
|
|
21
|
+
...configureControls<ComponentProps<typeof Step>>(
|
|
22
|
+
DISABLED_CONTROLS,
|
|
23
|
+
CONTROL_TYPE.DISABLED
|
|
24
|
+
),
|
|
25
|
+
...configureControls<ComponentProps<typeof Step>>(
|
|
26
|
+
BOOLEAN_CONTROLS,
|
|
27
|
+
CONTROL_TYPE.BOOLEAN
|
|
28
|
+
),
|
|
29
|
+
index: { control: { type: "number" } },
|
|
30
|
+
},
|
|
31
|
+
component: Step,
|
|
32
|
+
decorators: [
|
|
33
|
+
(Story, context): JSX.Element => (
|
|
34
|
+
<Stepper
|
|
35
|
+
connector={null}
|
|
36
|
+
orientation={STEPPER_PROPS.ORIENTATION.VERTICAL}
|
|
37
|
+
sx={{
|
|
38
|
+
display: "grid",
|
|
39
|
+
gridTemplateColumns: "minmax(auto, 816px)",
|
|
40
|
+
height: "100vh",
|
|
41
|
+
placeContent: "center center",
|
|
42
|
+
}}
|
|
43
|
+
>
|
|
44
|
+
<Story {...context} />
|
|
45
|
+
</Stepper>
|
|
46
|
+
),
|
|
47
|
+
],
|
|
48
|
+
parameters: { layout: "fullscreen" },
|
|
49
|
+
title: "Components/Stepper/Step",
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
export default meta;
|
|
53
|
+
|
|
54
|
+
type Story = StoryObj<typeof meta>;
|
|
55
|
+
|
|
56
|
+
export const Active: Story = {
|
|
57
|
+
args: {
|
|
58
|
+
active: true,
|
|
59
|
+
children: [
|
|
60
|
+
<ActiveStepLabel key="label" />,
|
|
61
|
+
<StepContent key="step-content">{LOREM_IPSUM.LONG}</StepContent>,
|
|
62
|
+
],
|
|
63
|
+
completed: false,
|
|
64
|
+
},
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
export const Completed: Story = {
|
|
68
|
+
args: {
|
|
69
|
+
active: false,
|
|
70
|
+
children: [
|
|
71
|
+
<CompletedStepLabel key="label" />,
|
|
72
|
+
<StepContent key="step-content">{LOREM_IPSUM.LONG}</StepContent>,
|
|
73
|
+
],
|
|
74
|
+
completed: true,
|
|
75
|
+
},
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
export const Default: Story = {
|
|
79
|
+
args: {
|
|
80
|
+
active: false,
|
|
81
|
+
children: [
|
|
82
|
+
<StepLabel key="label" />,
|
|
83
|
+
<StepContent key="step-content">{LOREM_IPSUM.LONG}</StepContent>,
|
|
84
|
+
],
|
|
85
|
+
completed: false,
|
|
86
|
+
},
|
|
87
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { CloseRounded } from "@mui/icons-material";
|
|
2
2
|
import React, {
|
|
3
3
|
Dispatch,
|
|
4
4
|
MouseEvent,
|
|
@@ -32,7 +32,7 @@ export const FormDialog = ({
|
|
|
32
32
|
return (
|
|
33
33
|
<>
|
|
34
34
|
<Fab color="primary" onClick={toggleOpen} open={open} size="medium">
|
|
35
|
-
{open ? <
|
|
35
|
+
{open ? <CloseRounded /> : <FeedbackIcon fontSize="medium" />}
|
|
36
36
|
</Fab>
|
|
37
37
|
<Popover
|
|
38
38
|
anchorEl={anchorEl}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import WestRoundedIcon from "@mui/icons-material/WestRounded";
|
|
1
|
+
import { EastRounded, WestRounded } from "@mui/icons-material";
|
|
3
2
|
import { Typography } from "@mui/material";
|
|
4
3
|
import React from "react";
|
|
5
4
|
import { IconButton } from "../../../common/IconButton/iconButton";
|
|
@@ -35,13 +34,13 @@ export const Pagination = ({
|
|
|
35
34
|
<IconButton
|
|
36
35
|
color="secondary"
|
|
37
36
|
disabled={!canPreviousPage}
|
|
38
|
-
Icon={
|
|
37
|
+
Icon={WestRounded}
|
|
39
38
|
onClick={onPreviousPage}
|
|
40
39
|
/>
|
|
41
40
|
<IconButton
|
|
42
41
|
color="secondary"
|
|
43
42
|
disabled={!canNextPage}
|
|
44
|
-
Icon={
|
|
43
|
+
Icon={EastRounded}
|
|
45
44
|
onClick={onNextPage}
|
|
46
45
|
/>
|
|
47
46
|
</Stack>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { SouthRounded } from "@mui/icons-material";
|
|
2
2
|
import {
|
|
3
3
|
TableHead as MTableHead,
|
|
4
4
|
TableRow as MTableRow,
|
|
@@ -42,7 +42,7 @@ export const TableHead = <T extends RowData>({
|
|
|
42
42
|
>
|
|
43
43
|
{shouldSortColumn(tableInstance, column) ? (
|
|
44
44
|
<TableSortLabel
|
|
45
|
-
IconComponent={
|
|
45
|
+
IconComponent={SouthRounded}
|
|
46
46
|
active={Boolean(getIsSorted())}
|
|
47
47
|
direction={getIsSorted() || undefined}
|
|
48
48
|
disabled={isSortDisabled(tableInstance)}
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
Updater,
|
|
15
15
|
useReactTable,
|
|
16
16
|
} from "@tanstack/react-table";
|
|
17
|
-
import React, { useCallback, useEffect, useMemo } from "react";
|
|
17
|
+
import React, { Fragment, useCallback, useEffect, useMemo } from "react";
|
|
18
18
|
import { track } from "../../common/analytics/analytics";
|
|
19
19
|
import {
|
|
20
20
|
EVENT_NAME,
|
|
@@ -33,7 +33,7 @@ import { useScroll } from "../../hooks/useScroll";
|
|
|
33
33
|
import { ExploreActionKind } from "../../providers/exploreState";
|
|
34
34
|
import { DEFAULT_PAGINATION_STATE } from "../../providers/exploreState/initializer/constants";
|
|
35
35
|
import { TABLET } from "../../theme/common/breakpoints";
|
|
36
|
-
import {
|
|
36
|
+
import { Loading, LOADING_PANEL_STYLE } from "../Loading/loading";
|
|
37
37
|
import { NoResults } from "../NoResults/noResults";
|
|
38
38
|
import { getColumnTrackSizing } from "../TableCreator/options/columnTrackSizing/utils";
|
|
39
39
|
import { ROW_DIRECTION } from "./common/entities";
|
|
@@ -88,7 +88,7 @@ TableProps<T>): JSX.Element => {
|
|
|
88
88
|
entityPageState,
|
|
89
89
|
filterState,
|
|
90
90
|
listItems,
|
|
91
|
-
loading,
|
|
91
|
+
loading = false,
|
|
92
92
|
paginationState,
|
|
93
93
|
rowPreview,
|
|
94
94
|
tabValue,
|
|
@@ -285,43 +285,47 @@ TableProps<T>): JSX.Element => {
|
|
|
285
285
|
}
|
|
286
286
|
|
|
287
287
|
return noResults ? (
|
|
288
|
-
<NoResults Paper={
|
|
288
|
+
<NoResults Paper={null} title="No Results found" />
|
|
289
289
|
) : (
|
|
290
|
-
<
|
|
291
|
-
<
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
canNextPage={canNextPage()}
|
|
316
|
-
canPreviousPage={canPreviousPage()}
|
|
317
|
-
currentPage={currentPage}
|
|
318
|
-
onNextPage={handleTableNextPage}
|
|
319
|
-
onPreviousPage={handleTablePreviousPage}
|
|
320
|
-
totalPage={pages ?? 0}
|
|
290
|
+
<Fragment>
|
|
291
|
+
<TableToolbar
|
|
292
|
+
listView={listView}
|
|
293
|
+
rowDirection={rowDirection}
|
|
294
|
+
tableInstance={tableInstance}
|
|
295
|
+
/>
|
|
296
|
+
<Loading
|
|
297
|
+
appear={false}
|
|
298
|
+
autoPosition={false}
|
|
299
|
+
loading={loading}
|
|
300
|
+
panelStyle={LOADING_PANEL_STYLE.INHERIT}
|
|
301
|
+
/>
|
|
302
|
+
<TableContainer>
|
|
303
|
+
<GridTable
|
|
304
|
+
collapsable={true}
|
|
305
|
+
gridTemplateColumns={getColumnTrackSizing(getVisibleFlatColumns())}
|
|
306
|
+
>
|
|
307
|
+
<TableHead
|
|
308
|
+
rowDirection={rowDirection}
|
|
309
|
+
tableInstance={tableInstance}
|
|
310
|
+
/>
|
|
311
|
+
<TableBody
|
|
312
|
+
rows={rows}
|
|
313
|
+
rowDirection={rowDirection}
|
|
314
|
+
tableInstance={tableInstance}
|
|
321
315
|
/>
|
|
322
|
-
|
|
323
|
-
</
|
|
324
|
-
|
|
316
|
+
</GridTable>
|
|
317
|
+
</TableContainer>
|
|
318
|
+
{!disablePagination && (
|
|
319
|
+
<DXPagination
|
|
320
|
+
canNextPage={canNextPage()}
|
|
321
|
+
canPreviousPage={canPreviousPage()}
|
|
322
|
+
currentPage={currentPage}
|
|
323
|
+
onNextPage={handleTableNextPage}
|
|
324
|
+
onPreviousPage={handleTablePreviousPage}
|
|
325
|
+
totalPage={pages ?? 0}
|
|
326
|
+
/>
|
|
327
|
+
)}
|
|
328
|
+
</Fragment>
|
|
325
329
|
);
|
|
326
330
|
};
|
|
327
331
|
|
|
@@ -6,15 +6,12 @@ import {
|
|
|
6
6
|
} from "@tanstack/react-table";
|
|
7
7
|
import React, { useMemo } from "react";
|
|
8
8
|
import { ColumnConfig, ListViewConfig } from "../../config/entities";
|
|
9
|
-
import { PAPER_PANEL_STYLE } from "../common/Paper/paper";
|
|
10
9
|
import { ComponentCreator } from "../ComponentCreator/ComponentCreator";
|
|
11
|
-
import { Loading } from "../Loading/loading";
|
|
12
10
|
import { COLUMN_DEF } from "../Table/common/columnDef";
|
|
13
11
|
import { arrIncludesSome, sortingFn } from "../Table/common/utils";
|
|
14
12
|
import { Table } from "../Table/table";
|
|
15
13
|
import { buildBaseColumnDef } from "./common/utils";
|
|
16
14
|
import { useTableOptions } from "./options/hook";
|
|
17
|
-
import { TableCreator as TableCreatorContainer } from "./tableCreator.styles";
|
|
18
15
|
|
|
19
16
|
export interface TableCreatorProps<T> {
|
|
20
17
|
columns: ColumnConfig<T>[];
|
|
@@ -67,20 +64,13 @@ export const TableCreator = <T extends RowData>({
|
|
|
67
64
|
[columns]
|
|
68
65
|
);
|
|
69
66
|
return (
|
|
70
|
-
<
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
getRowId={getRowId}
|
|
79
|
-
items={items}
|
|
80
|
-
listView={listView}
|
|
81
|
-
loading={loading}
|
|
82
|
-
tableOptions={tableOptions}
|
|
83
|
-
/>
|
|
84
|
-
</TableCreatorContainer>
|
|
67
|
+
<Table<T>
|
|
68
|
+
columns={columnDefs}
|
|
69
|
+
getRowId={getRowId}
|
|
70
|
+
items={items}
|
|
71
|
+
listView={listView}
|
|
72
|
+
loading={loading}
|
|
73
|
+
tableOptions={tableOptions}
|
|
74
|
+
/>
|
|
85
75
|
);
|
|
86
76
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { LinkRounded } from "@mui/icons-material";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { AnchorLink as Link } from "./anchorLink.styles";
|
|
4
4
|
|
|
@@ -20,7 +20,7 @@ export const AnchorLink = ({
|
|
|
20
20
|
}: AnchorLinkProps): JSX.Element => {
|
|
21
21
|
return (
|
|
22
22
|
<Link aria-label={anchorLink} className={className} href={`#${anchorLink}`}>
|
|
23
|
-
<
|
|
23
|
+
<LinkRounded fontSize="xsmall" />
|
|
24
24
|
</Link>
|
|
25
25
|
);
|
|
26
26
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ChevronRightRounded } from "@mui/icons-material";
|
|
2
2
|
import { Link, Breadcrumbs as MBreadcrumbs, Typography } from "@mui/material";
|
|
3
3
|
import NLink from "next/link";
|
|
4
4
|
import React, { ReactNode } from "react";
|
|
@@ -18,7 +18,7 @@ export interface BreadcrumbsProps extends BaseComponentProps {
|
|
|
18
18
|
export const Breadcrumbs = ({
|
|
19
19
|
breadcrumbs,
|
|
20
20
|
className,
|
|
21
|
-
Separator = <
|
|
21
|
+
Separator = <ChevronRightRounded fontSize="xxsmall" />,
|
|
22
22
|
}: BreadcrumbsProps): JSX.Element => {
|
|
23
23
|
return (
|
|
24
24
|
<>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Breadcrumb } from "./breadcrumbs";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Checks if the given value is an array of breadcrumbs.
|
|
5
|
+
* @param value - Value.
|
|
6
|
+
* @returns True if the value is an array of breadcrumbs.
|
|
7
|
+
*/
|
|
8
|
+
export function isBreadcrumbArray(value: unknown): value is Breadcrumb[] {
|
|
9
|
+
return Array.isArray(value) && value.every(isBreadcrumb);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Checks if the given value is a breadcrumb.
|
|
14
|
+
* @param value - Value.
|
|
15
|
+
* @returns True if the value is a breadcrumb.
|
|
16
|
+
*/
|
|
17
|
+
export function isBreadcrumb(value: unknown): value is Breadcrumb {
|
|
18
|
+
if (value === null) return false;
|
|
19
|
+
if (typeof value !== "object") return false;
|
|
20
|
+
if ("path" in value && "text" in value) {
|
|
21
|
+
return typeof value.path === "string" && typeof value.text === "string";
|
|
22
|
+
}
|
|
23
|
+
return false;
|
|
24
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ArrowDropDownRounded } from "@mui/icons-material";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { ButtonProps } from "../../button";
|
|
4
4
|
import { DropdownButton as Button } from "./dropdownButton.styles";
|
|
@@ -16,7 +16,7 @@ export const DropdownButton = ({
|
|
|
16
16
|
return (
|
|
17
17
|
<Button
|
|
18
18
|
disabled={disabled}
|
|
19
|
-
EndIcon={
|
|
19
|
+
EndIcon={ArrowDropDownRounded}
|
|
20
20
|
open={open}
|
|
21
21
|
{...props}
|
|
22
22
|
>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ArrowDropDownRounded } from "@mui/icons-material";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { ButtonProps } from "../../button";
|
|
4
4
|
import { Button } from "./navigationButton.styles";
|
|
@@ -15,7 +15,7 @@ export const NavigationButton = ({
|
|
|
15
15
|
}: NavigationButtonProps): JSX.Element => {
|
|
16
16
|
return (
|
|
17
17
|
<Button
|
|
18
|
-
EndIcon={
|
|
18
|
+
EndIcon={ArrowDropDownRounded}
|
|
19
19
|
isActive={isActive}
|
|
20
20
|
variant="nav"
|
|
21
21
|
{...props}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ContentCopyRounded } from "@mui/icons-material";
|
|
2
2
|
import { IconButton, Tooltip } from "@mui/material";
|
|
3
3
|
import copy from "copy-to-clipboard";
|
|
4
4
|
import React, { useEffect } from "react";
|
|
@@ -43,7 +43,7 @@ export const CopyToClipboard = ({
|
|
|
43
43
|
onClick={(): void => onCopyToClipboard(copyStr)}
|
|
44
44
|
size="xxsmall"
|
|
45
45
|
>
|
|
46
|
-
<
|
|
46
|
+
<ContentCopyRounded color="primary" fontSize="small" />
|
|
47
47
|
</IconButton>
|
|
48
48
|
</Tooltip>
|
|
49
49
|
);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { CloseRounded } from "@mui/icons-material";
|
|
2
2
|
import { IconButton, DialogTitle as MDialogTitle } from "@mui/material";
|
|
3
3
|
import React, { ReactNode } from "react";
|
|
4
4
|
|
|
@@ -18,7 +18,7 @@ export const DialogTitle = ({
|
|
|
18
18
|
{title}
|
|
19
19
|
{onClose && (
|
|
20
20
|
<IconButton color="ink" edge="end" onClick={onClose} size="xsmall">
|
|
21
|
-
<
|
|
21
|
+
<CloseRounded />
|
|
22
22
|
</IconButton>
|
|
23
23
|
)}
|
|
24
24
|
</MDialogTitle>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { CloseRounded } from "@mui/icons-material";
|
|
2
2
|
import { IconButton } from "@mui/material";
|
|
3
3
|
import React, { ReactNode } from "react";
|
|
4
4
|
import { DrawerTitle as Title } from "./drawerTitle.styles";
|
|
@@ -19,7 +19,7 @@ export const DrawerTitle = ({
|
|
|
19
19
|
{title}
|
|
20
20
|
{onClose && (
|
|
21
21
|
<IconButton color="ink" edge="end" onClick={onClose} size="xsmall">
|
|
22
|
-
<
|
|
22
|
+
<CloseRounded color="inkLight" fontSize="small" />
|
|
23
23
|
</IconButton>
|
|
24
24
|
)}
|
|
25
25
|
</Title>
|
package/src/components/common/Form/components/Select/components/DropDownIcon/dropDownIcon.tsx
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ArrowDropDownRounded } from "@mui/icons-material";
|
|
2
|
+
import { SvgIconProps } from "@mui/material";
|
|
2
3
|
import React from "react";
|
|
3
4
|
|
|
4
5
|
export const DropDownIcon = ({
|
|
5
|
-
...props /*
|
|
6
|
-
}): JSX.Element => {
|
|
7
|
-
return
|
|
8
|
-
<ArrowDropDownRoundedIcon color="inkMain" fontSize="small" {...props} />
|
|
9
|
-
);
|
|
6
|
+
...props /* MuiSvgIconProps */
|
|
7
|
+
}: SvgIconProps): JSX.Element => {
|
|
8
|
+
return <ArrowDropDownRounded color="inkMain" fontSize="small" {...props} />;
|
|
10
9
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { CloseRounded } from "@mui/icons-material";
|
|
2
2
|
import { FormHelperText, Typography } from "@mui/material";
|
|
3
3
|
import React from "react";
|
|
4
4
|
import { DropzoneState } from "react-dropzone";
|
|
@@ -59,7 +59,7 @@ export const UploadFile = ({
|
|
|
59
59
|
</>
|
|
60
60
|
)}
|
|
61
61
|
</Typography>
|
|
62
|
-
{isAttached && <
|
|
62
|
+
{isAttached && <CloseRounded fontSize="small" />}
|
|
63
63
|
</Button>
|
|
64
64
|
{error && (
|
|
65
65
|
<FormHelperText>
|
|
@@ -1,20 +1,25 @@
|
|
|
1
|
-
import { Typography } from "@mui/material";
|
|
2
|
-
import React
|
|
1
|
+
import { Typography, TypographyProps } from "@mui/material";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { TYPOGRAPHY_PROPS } from "../../../../../styles/common/mui/typography";
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* Basic KeyValuePairs "key" wrapper component.
|
|
6
7
|
*/
|
|
7
8
|
|
|
8
|
-
export interface KeyElTypeProps {
|
|
9
|
-
children: ReactNode;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
9
|
export const KeyElType = ({
|
|
13
10
|
children,
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
color = TYPOGRAPHY_PROPS.COLOR.INK_LIGHT,
|
|
12
|
+
component = "div",
|
|
13
|
+
variant = TYPOGRAPHY_PROPS.VARIANT.TEXT_BODY_400_2_LINES,
|
|
14
|
+
...props /* MuiTypographyProps */
|
|
15
|
+
}: TypographyProps): JSX.Element => {
|
|
16
16
|
return (
|
|
17
|
-
<Typography
|
|
17
|
+
<Typography
|
|
18
|
+
color={color}
|
|
19
|
+
component={component}
|
|
20
|
+
variant={variant}
|
|
21
|
+
{...props}
|
|
22
|
+
>
|
|
18
23
|
{children}
|
|
19
24
|
</Typography>
|
|
20
25
|
);
|
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
import { Typography } from "@mui/material";
|
|
2
|
-
import React
|
|
1
|
+
import { Typography, TypographyProps } from "@mui/material";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { TYPOGRAPHY_PROPS } from "../../../../../styles/common/mui/typography";
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* Basic KeyValuePairs "value" wrapper component.
|
|
6
7
|
*/
|
|
7
8
|
|
|
8
|
-
export interface ValueElTypeProps {
|
|
9
|
-
children: ReactNode;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
9
|
export const ValueElType = ({
|
|
13
10
|
children,
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
component = "div",
|
|
12
|
+
variant = TYPOGRAPHY_PROPS.VARIANT.TEXT_BODY_400_2_LINES,
|
|
13
|
+
...props /* MuiTypographyProps */
|
|
14
|
+
}: TypographyProps): JSX.Element => {
|
|
16
15
|
return (
|
|
17
|
-
<Typography variant=
|
|
16
|
+
<Typography component={component} variant={variant} {...props}>
|
|
18
17
|
{children}
|
|
19
18
|
</Typography>
|
|
20
19
|
);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Paper as MPaper, PaperProps as MPaperProps } from "@mui/material";
|
|
2
2
|
import React, { forwardRef, ReactNode } from "react";
|
|
3
|
+
import { TestIdProps } from "../../types";
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* An extension of the basic Mui Paper component with custom variants e.g. "panel".
|
|
@@ -20,18 +21,23 @@ export enum PAPER_PANEL_STYLE {
|
|
|
20
21
|
ROUNDED = "ROUNDED",
|
|
21
22
|
}
|
|
22
23
|
|
|
23
|
-
export interface PaperProps {
|
|
24
|
+
export interface PaperProps extends TestIdProps {
|
|
24
25
|
children: ReactNode | ReactNode[];
|
|
25
26
|
className?: string;
|
|
26
27
|
variant?: MPaperProps["variant"];
|
|
27
28
|
}
|
|
28
29
|
|
|
29
30
|
export const Paper = forwardRef<HTMLDivElement, PaperProps>(function Paper(
|
|
30
|
-
{ children, className, variant = "panel" }: PaperProps,
|
|
31
|
+
{ children, className, testId, variant = "panel" }: PaperProps,
|
|
31
32
|
ref
|
|
32
33
|
): JSX.Element {
|
|
33
34
|
return (
|
|
34
|
-
<MPaper
|
|
35
|
+
<MPaper
|
|
36
|
+
className={className}
|
|
37
|
+
data-testid={testId}
|
|
38
|
+
ref={ref}
|
|
39
|
+
variant={variant}
|
|
40
|
+
>
|
|
35
41
|
{children}
|
|
36
42
|
</MPaper>
|
|
37
43
|
);
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import RemoveRoundedIcon from "@mui/icons-material/RemoveRounded";
|
|
1
|
+
import { AddRounded, RemoveRounded } from "@mui/icons-material";
|
|
3
2
|
import { Collapse, CollapseProps } from "@mui/material";
|
|
4
3
|
import React, { ReactNode, useEffect, useState } from "react";
|
|
5
4
|
import {
|
|
@@ -30,7 +29,7 @@ export const CollapsableSection = ({
|
|
|
30
29
|
const [transitionDuration, setTransitionDuration] =
|
|
31
30
|
useState<CollapseProps["timeout"]>(0);
|
|
32
31
|
const disabled = !mobile || !collapsable;
|
|
33
|
-
const ExpandIcon = expanded ?
|
|
32
|
+
const ExpandIcon = expanded ? RemoveRounded : AddRounded;
|
|
34
33
|
const SectionContent = (
|
|
35
34
|
<SectionText component="div" variant="text-body-400-2lines">
|
|
36
35
|
{children}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ToggleButtonGroupProps } from "@mui/material";
|
|
2
|
+
import { MouseEvent, useCallback, useState } from "react";
|
|
3
|
+
|
|
4
|
+
export const useToggleButtonGroup = <
|
|
5
|
+
TValue extends ToggleButtonGroupProps["value"]
|
|
6
|
+
>(
|
|
7
|
+
initialValue: TValue | null = null
|
|
8
|
+
): ToggleButtonGroupProps => {
|
|
9
|
+
const [value, setValue] = useState<TValue | null>(initialValue);
|
|
10
|
+
|
|
11
|
+
const onChange = useCallback((_: MouseEvent, value: TValue) => {
|
|
12
|
+
if (!value) return;
|
|
13
|
+
setValue(value);
|
|
14
|
+
}, []);
|
|
15
|
+
|
|
16
|
+
return { onChange, value };
|
|
17
|
+
};
|
package/src/components/types.ts
CHANGED
package/src/config/entities.ts
CHANGED
|
@@ -93,6 +93,7 @@ export interface CategoryGroup {
|
|
|
93
93
|
*/
|
|
94
94
|
export interface CategoryConfig {
|
|
95
95
|
annotation?: DataDictionaryAnnotation;
|
|
96
|
+
enableChartView?: boolean;
|
|
96
97
|
key: string;
|
|
97
98
|
label: string;
|
|
98
99
|
mapSelectCategoryValue?: (
|
|
@@ -376,6 +377,7 @@ export interface SiteConfig {
|
|
|
376
377
|
contentThemeOptionsFn?: ThemeOptionsFn;
|
|
377
378
|
dataDictionary?: DataDictionary;
|
|
378
379
|
dataSource: DataSourceConfig;
|
|
380
|
+
enableEntitiesView?: boolean; // Toggle entities view - list or filter summary
|
|
379
381
|
entities: EntityConfig[];
|
|
380
382
|
explorerTitle: HeroTitle;
|
|
381
383
|
export?: ExportConfig;
|
|
@@ -78,6 +78,7 @@ function buildCategoryView(
|
|
|
78
78
|
categoryConfig?.mapSelectCategoryValue || getSelectCategoryValue;
|
|
79
79
|
return {
|
|
80
80
|
annotation: categoryConfig?.annotation,
|
|
81
|
+
enableChartView: categoryConfig?.enableChartView,
|
|
81
82
|
isDisabled: false,
|
|
82
83
|
key: category.key,
|
|
83
84
|
label: getCategoryLabel(category.key, categoryConfig),
|