@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
|
@@ -1,43 +1,37 @@
|
|
|
1
1
|
import { Typography } from "@mui/material";
|
|
2
|
-
import React, {
|
|
2
|
+
import React, { Fragment } from "react";
|
|
3
|
+
import { TYPOGRAPHY_PROPS } from "../../styles/common/mui/typography";
|
|
3
4
|
import { SearchOffIcon } from "../common/CustomIcon/components/SearchOffIcon/searchOffIcon";
|
|
4
|
-
import {
|
|
5
|
-
FlatPaper,
|
|
6
|
-
FluidPaper,
|
|
7
|
-
RoundedPaper,
|
|
8
|
-
} from "../common/Paper/paper.styles";
|
|
9
5
|
import { SectionTitle } from "../common/Section/components/SectionTitle/sectionTitle";
|
|
10
6
|
import { SectionActions } from "../common/Section/section.styles";
|
|
11
7
|
import { PRIORITY, StatusIcon } from "../common/StatusIcon/statusIcon";
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
export interface NoResultsProps {
|
|
15
|
-
actions?: ReactNode;
|
|
16
|
-
description?: string;
|
|
17
|
-
Paper?: typeof FlatPaper | typeof FluidPaper | typeof RoundedPaper;
|
|
18
|
-
title: string;
|
|
19
|
-
}
|
|
8
|
+
import { StyledSection, StyledSectionContent } from "./noResults.styles";
|
|
9
|
+
import { NoResultsProps } from "./types";
|
|
20
10
|
|
|
21
11
|
export const NoResults = ({
|
|
22
12
|
actions,
|
|
23
13
|
description,
|
|
24
|
-
Paper
|
|
14
|
+
Paper,
|
|
25
15
|
title,
|
|
26
16
|
}: NoResultsProps): JSX.Element => {
|
|
17
|
+
const StyledPaper = Paper ?? Fragment;
|
|
27
18
|
return (
|
|
28
|
-
<
|
|
29
|
-
<
|
|
19
|
+
<StyledPaper>
|
|
20
|
+
<StyledSection>
|
|
30
21
|
<StatusIcon priority={PRIORITY.LOW} StatusIcon={SearchOffIcon} />
|
|
31
|
-
<
|
|
22
|
+
<StyledSectionContent>
|
|
32
23
|
<SectionTitle title={title} />
|
|
33
24
|
{description && (
|
|
34
|
-
<Typography
|
|
25
|
+
<Typography
|
|
26
|
+
color={TYPOGRAPHY_PROPS.COLOR.INK_LIGHT}
|
|
27
|
+
variant={TYPOGRAPHY_PROPS.VARIANT.TEXT_BODY_400_2_LINES}
|
|
28
|
+
>
|
|
35
29
|
{description}
|
|
36
30
|
</Typography>
|
|
37
31
|
)}
|
|
38
|
-
</
|
|
32
|
+
</StyledSectionContent>
|
|
39
33
|
{actions && <SectionActions>{actions}</SectionActions>}
|
|
40
|
-
</
|
|
41
|
-
</
|
|
34
|
+
</StyledSection>
|
|
35
|
+
</StyledPaper>
|
|
42
36
|
);
|
|
43
37
|
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
import {
|
|
3
|
+
FlatPaper,
|
|
4
|
+
FluidPaper,
|
|
5
|
+
RoundedPaper,
|
|
6
|
+
} from "../common/Paper/paper.styles";
|
|
7
|
+
|
|
8
|
+
export interface NoResultsProps {
|
|
9
|
+
actions?: ReactNode;
|
|
10
|
+
description?: string;
|
|
11
|
+
Paper: typeof FlatPaper | typeof FluidPaper | typeof RoundedPaper | null;
|
|
12
|
+
title: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as Plot from "@observablehq/plot";
|
|
2
|
+
import React, { useEffect, useRef } from "react";
|
|
3
|
+
import { BarXProps } from "./types";
|
|
4
|
+
|
|
5
|
+
export const BarX = ({
|
|
6
|
+
className,
|
|
7
|
+
options,
|
|
8
|
+
testId,
|
|
9
|
+
}: BarXProps): JSX.Element => {
|
|
10
|
+
const chartRef = useRef<HTMLDivElement>(null);
|
|
11
|
+
|
|
12
|
+
useEffect(() => {
|
|
13
|
+
if (chartRef.current) chartRef.current.innerHTML = "";
|
|
14
|
+
const chart = Plot.plot(options);
|
|
15
|
+
chartRef.current?.appendChild(chart);
|
|
16
|
+
return (): void => chart.remove();
|
|
17
|
+
}, [options]);
|
|
18
|
+
|
|
19
|
+
return <div className={className} data-testid={testId} ref={chartRef} />;
|
|
20
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import styled from "@emotion/styled";
|
|
2
|
+
import { StepContent } from "@mui/material";
|
|
3
|
+
import { smokeMain } from "../../../../../../styles/common/mixins/colors";
|
|
4
|
+
import { sectionPadding } from "../../../../../common/Section/section.styles";
|
|
5
|
+
|
|
6
|
+
export const StyledStepContent = styled(StepContent)`
|
|
7
|
+
&.MuiStepContent-root {
|
|
8
|
+
.MuiCollapse-wrapperInner.MuiCollapse-vertical {
|
|
9
|
+
> .MuiGrid-root {
|
|
10
|
+
${sectionPadding};
|
|
11
|
+
border-top: 1px solid ${smokeMain};
|
|
12
|
+
display: grid;
|
|
13
|
+
gap: 24px;
|
|
14
|
+
justify-items: flex-start;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
`;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Grid, StepContentProps } from "@mui/material";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { BaseComponentProps } from "../../../../../types";
|
|
4
|
+
import { StyledStepContent } from "./stepContent.styles";
|
|
5
|
+
|
|
6
|
+
export const StepContent = ({
|
|
7
|
+
children,
|
|
8
|
+
className,
|
|
9
|
+
...props /* MuiStepContentProps */
|
|
10
|
+
}: BaseComponentProps & StepContentProps): JSX.Element => {
|
|
11
|
+
return (
|
|
12
|
+
<StyledStepContent className={className} {...props}>
|
|
13
|
+
<Grid>{children}</Grid>
|
|
14
|
+
</StyledStepContent>
|
|
15
|
+
);
|
|
16
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import styled from "@emotion/styled";
|
|
2
|
+
import { SvgIcon } from "@mui/material";
|
|
3
|
+
import {
|
|
4
|
+
inkLight,
|
|
5
|
+
smokeDark,
|
|
6
|
+
} from "../../../../../../../../styles/common/mixins/colors";
|
|
7
|
+
|
|
8
|
+
export const StyledSvgIcon = styled(SvgIcon)`
|
|
9
|
+
&.MuiSvgIcon-root {
|
|
10
|
+
border-radius: 50%;
|
|
11
|
+
box-sizing: content-box;
|
|
12
|
+
padding: 4px;
|
|
13
|
+
|
|
14
|
+
&.Mui-completed {
|
|
15
|
+
border: 2px solid ${smokeDark};
|
|
16
|
+
color: ${inkLight};
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
`;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { stepIconClasses } from "@mui/material";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { TestIdProps } from "../../../../../../../types";
|
|
4
|
+
import { StyledSvgIcon } from "./completedIcon.styles";
|
|
5
|
+
import { SVG_ICON_PROPS } from "./contants";
|
|
6
|
+
|
|
7
|
+
export const CompletedIcon = ({ testId }: TestIdProps): JSX.Element => {
|
|
8
|
+
return (
|
|
9
|
+
<StyledSvgIcon
|
|
10
|
+
{...SVG_ICON_PROPS}
|
|
11
|
+
className={stepIconClasses.completed}
|
|
12
|
+
data-testid={testId}
|
|
13
|
+
>
|
|
14
|
+
<path
|
|
15
|
+
d="M7.18129 13.1814C7.08109 13.1814 6.98419 13.1625 6.89059 13.1247C6.79699 13.0875 6.7064 13.0251 6.61879 12.9375L3.44989 9.7686C3.2999 9.61857 3.22819 9.42813 3.23479 9.1971C3.24079 8.96551 3.3188 8.77471 3.46879 8.6247C3.61879 8.47471 3.80629 8.3997 4.03129 8.3997C4.25629 8.3997 4.4438 8.47471 4.59379 8.6247L7.21909 11.25L13.4255 5.0436C13.5755 4.89361 13.7597 4.8186 13.9781 4.8186C14.1971 4.8186 14.3816 4.89361 14.5316 5.0436C14.6816 5.19361 14.7566 5.37811 14.7566 5.5971C14.7566 5.81551 14.6816 5.99971 14.5316 6.1497L7.74379 12.9375C7.65619 13.0251 7.56559 13.0875 7.47199 13.1247C7.37839 13.1625 7.2815 13.1814 7.18129 13.1814Z"
|
|
16
|
+
fill="currentColor"
|
|
17
|
+
/>
|
|
18
|
+
</StyledSvgIcon>
|
|
19
|
+
);
|
|
20
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const STEP_ICON_TEST_ID = "step-icon";
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import styled from "@emotion/styled";
|
|
2
|
+
import { StepIcon } from "@mui/material";
|
|
3
|
+
import {
|
|
4
|
+
inkLight,
|
|
5
|
+
primaryMain,
|
|
6
|
+
smokeDark,
|
|
7
|
+
} from "../../../../../../styles/common/mixins/colors";
|
|
8
|
+
|
|
9
|
+
export const StyledStepIcon = styled(StepIcon)`
|
|
10
|
+
&.MuiSvgIcon-root {
|
|
11
|
+
border: 2px solid ${smokeDark};
|
|
12
|
+
border-radius: 50%;
|
|
13
|
+
color: transparent;
|
|
14
|
+
height: 32px;
|
|
15
|
+
width: 32px;
|
|
16
|
+
|
|
17
|
+
.MuiStepIcon-text {
|
|
18
|
+
fill: ${inkLight};
|
|
19
|
+
font-size: 13px;
|
|
20
|
+
font-weight: 600;
|
|
21
|
+
line-height: 24px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.Mui-active {
|
|
25
|
+
border-color: ${primaryMain};
|
|
26
|
+
|
|
27
|
+
.MuiStepIcon-text {
|
|
28
|
+
fill: ${primaryMain};
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
`;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { StepIconProps } from "@mui/material";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { TestIdProps } from "../../../../../types";
|
|
4
|
+
import { CompletedIcon } from "./components/CompletedIcon/completedIcon";
|
|
5
|
+
import { StyledStepIcon } from "./stepIcon.styles";
|
|
6
|
+
|
|
7
|
+
export const StepIcon = ({
|
|
8
|
+
completed,
|
|
9
|
+
icon,
|
|
10
|
+
testId,
|
|
11
|
+
...props
|
|
12
|
+
}: StepIconProps & TestIdProps): JSX.Element => {
|
|
13
|
+
return (
|
|
14
|
+
<StyledStepIcon
|
|
15
|
+
completed={completed}
|
|
16
|
+
data-testid={testId}
|
|
17
|
+
icon={completed ? <CompletedIcon testId={testId} /> : icon}
|
|
18
|
+
{...props}
|
|
19
|
+
/>
|
|
20
|
+
);
|
|
21
|
+
};
|
package/src/components/Stepper/components/Step/components/StepIcon/stories/stepIcon.stories.tsx
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import React, { Fragment } from "react";
|
|
3
|
+
import { StepIcon } from "../stepIcon";
|
|
4
|
+
|
|
5
|
+
const meta: Meta<typeof StepIcon> = {
|
|
6
|
+
component: StepIcon,
|
|
7
|
+
decorators: [
|
|
8
|
+
(Story, context): JSX.Element => (
|
|
9
|
+
<div style={{ display: "grid", gap: 24 }}>
|
|
10
|
+
<Story {...context} />
|
|
11
|
+
</div>
|
|
12
|
+
),
|
|
13
|
+
],
|
|
14
|
+
title: "Components/Stepper/StepIcon",
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export default meta;
|
|
18
|
+
type Story = StoryObj<typeof meta>;
|
|
19
|
+
|
|
20
|
+
export const Active: Story = {
|
|
21
|
+
args: {
|
|
22
|
+
active: true,
|
|
23
|
+
completed: false,
|
|
24
|
+
icon: 1,
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export const Completed: Story = {
|
|
29
|
+
args: {
|
|
30
|
+
active: false,
|
|
31
|
+
completed: true,
|
|
32
|
+
icon: 1,
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
export const Default: Story = {
|
|
37
|
+
args: {
|
|
38
|
+
active: false,
|
|
39
|
+
completed: false,
|
|
40
|
+
icon: 1,
|
|
41
|
+
},
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
export const AllStates: Story = {
|
|
45
|
+
render: () => (
|
|
46
|
+
<Fragment>
|
|
47
|
+
<StepIcon active={false} completed={false} icon={1} />
|
|
48
|
+
<StepIcon active={true} completed={false} icon={2} />
|
|
49
|
+
<StepIcon active={false} completed={true} icon={3} />
|
|
50
|
+
</Fragment>
|
|
51
|
+
),
|
|
52
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Info } from "@mui/icons-material";
|
|
2
|
+
import { SvgIconProps, TooltipProps } from "@mui/material";
|
|
3
|
+
import { SVG_ICON_PROPS as MUI_SVG_ICON_PROPS } from "../../../../../../../../../../styles/common/mui/svgIcon";
|
|
4
|
+
|
|
5
|
+
export const SVG_ICON_PROPS: SvgIconProps = {
|
|
6
|
+
color: MUI_SVG_ICON_PROPS.COLOR.INK_LIGHT,
|
|
7
|
+
component: Info,
|
|
8
|
+
fontSize: MUI_SVG_ICON_PROPS.FONT_SIZE.XSMALL,
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export const TOOLTIP_PROPS: Omit<TooltipProps, "children" | "title"> = {
|
|
12
|
+
disableInteractive: true,
|
|
13
|
+
slotProps: { tooltip: { sx: { maxWidth: 196, textAlign: "center" } } },
|
|
14
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SvgIcon, Tooltip } from "@mui/material";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { SVG_ICON_PROPS, TOOLTIP_PROPS } from "./constants";
|
|
4
|
+
import { IconProps } from "./types";
|
|
5
|
+
|
|
6
|
+
export const Icon = ({ slotProps }: IconProps): JSX.Element | null => {
|
|
7
|
+
if (!slotProps?.tooltip?.title) return null;
|
|
8
|
+
return (
|
|
9
|
+
<Tooltip {...TOOLTIP_PROPS} {...slotProps?.tooltip}>
|
|
10
|
+
<SvgIcon {...SVG_ICON_PROPS} {...slotProps?.svgIcon} />
|
|
11
|
+
</Tooltip>
|
|
12
|
+
);
|
|
13
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { ComponentProps } from "react";
|
|
3
|
+
import { CONTROL_TYPE } from "../../../../../../../../../../../storybook/controls/types";
|
|
4
|
+
import { configureControls } from "../../../../../../../../../../../storybook/controls/utils";
|
|
5
|
+
import { LOREM_IPSUM } from "../../../../../../../../../../../storybook/loremIpsum";
|
|
6
|
+
import { Icon } from "../icon";
|
|
7
|
+
import { DISABLED_CONTROLS } from "./contants";
|
|
8
|
+
|
|
9
|
+
const meta: Meta<typeof Icon> = {
|
|
10
|
+
argTypes: configureControls<ComponentProps<typeof Icon>>(
|
|
11
|
+
DISABLED_CONTROLS,
|
|
12
|
+
CONTROL_TYPE.DISABLED
|
|
13
|
+
),
|
|
14
|
+
component: Icon,
|
|
15
|
+
title: "Components/Stepper/StepLabel/Icon",
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export default meta;
|
|
19
|
+
|
|
20
|
+
type Story = StoryObj<typeof meta>;
|
|
21
|
+
|
|
22
|
+
export const Default: Story = {
|
|
23
|
+
args: {
|
|
24
|
+
slotProps: {
|
|
25
|
+
tooltip: {
|
|
26
|
+
title: LOREM_IPSUM.SHORT,
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
};
|
package/src/components/Stepper/components/Step/components/StepLabel/components/Label/constants.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TypographyProps } from "@mui/material";
|
|
2
|
+
import { TYPOGRAPHY_PROPS as MUI_TYPOGRAPHY_PROPS } from "../../../../../../../../styles/common/mui/typography";
|
|
3
|
+
|
|
4
|
+
export const TYPOGRAPHY_PROPS: TypographyProps = {
|
|
5
|
+
color: MUI_TYPOGRAPHY_PROPS.COLOR.INK_MAIN,
|
|
6
|
+
component: "div",
|
|
7
|
+
variant: MUI_TYPOGRAPHY_PROPS.VARIANT.TEXT_HEADING_XSMALL,
|
|
8
|
+
};
|
package/src/components/Stepper/components/Step/components/StepLabel/components/Label/label.tsx
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TypographyProps } from "@mui/material";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { TYPOGRAPHY_PROPS } from "./constants";
|
|
4
|
+
import { StyledTypography } from "./label.styles";
|
|
5
|
+
|
|
6
|
+
export const Label = ({
|
|
7
|
+
...props /* MuiTypographyProps */
|
|
8
|
+
}: TypographyProps): JSX.Element => {
|
|
9
|
+
return <StyledTypography {...TYPOGRAPHY_PROPS} {...props} />;
|
|
10
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { composeStories, type Meta, type StoryObj } from "@storybook/react";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import * as stories from "../components/Icon/stories/icon.stories";
|
|
4
|
+
import { Label } from "../label";
|
|
5
|
+
|
|
6
|
+
const { Default: Icon } = composeStories(stories);
|
|
7
|
+
|
|
8
|
+
const meta: Meta<typeof Label> = {
|
|
9
|
+
component: Label,
|
|
10
|
+
parameters: { controls: { disable: true } },
|
|
11
|
+
title: "Components/Stepper/StepLabel/Label",
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export default meta;
|
|
15
|
+
|
|
16
|
+
type Story = StoryObj<typeof meta>;
|
|
17
|
+
|
|
18
|
+
export const Default: Story = {
|
|
19
|
+
args: { children: "Annotation Files" },
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export const WithIcon: Story = {
|
|
23
|
+
args: {
|
|
24
|
+
children: (
|
|
25
|
+
<>
|
|
26
|
+
Annotation Files
|
|
27
|
+
<Icon />
|
|
28
|
+
</>
|
|
29
|
+
),
|
|
30
|
+
},
|
|
31
|
+
};
|
package/src/components/Stepper/components/Step/components/StepLabel/components/Optional/constants.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TypographyProps } from "@mui/material";
|
|
2
|
+
import { TYPOGRAPHY_PROPS as MUI_TYPOGRAPHY_PROPS } from "../../../../../../../../styles/common/mui/typography";
|
|
3
|
+
|
|
4
|
+
export const TYPOGRAPHY_PROPS: TypographyProps = {
|
|
5
|
+
color: MUI_TYPOGRAPHY_PROPS.COLOR.INK_LIGHT,
|
|
6
|
+
variant: MUI_TYPOGRAPHY_PROPS.VARIANT.TEXT_BODY_400,
|
|
7
|
+
};
|
package/src/components/Stepper/components/Step/components/StepLabel/components/Optional/optional.tsx
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Typography, TypographyProps } from "@mui/material";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { TYPOGRAPHY_PROPS } from "./constants";
|
|
4
|
+
|
|
5
|
+
export const Optional = ({
|
|
6
|
+
...props /* MuiTypographyProps */
|
|
7
|
+
}: TypographyProps): JSX.Element => {
|
|
8
|
+
return <Typography {...TYPOGRAPHY_PROPS} {...props} />;
|
|
9
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { StepLabelProps } from "@mui/material";
|
|
2
|
+
import { StepIcon } from "../StepIcon/stepIcon";
|
|
3
|
+
import { Label } from "./components/Label/label";
|
|
4
|
+
|
|
5
|
+
export const STEP_LABEL_PROPS: StepLabelProps = {
|
|
6
|
+
slots: {
|
|
7
|
+
label: Label,
|
|
8
|
+
stepIcon: StepIcon,
|
|
9
|
+
},
|
|
10
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import styled from "@emotion/styled";
|
|
2
|
+
import { StepLabel } from "@mui/material";
|
|
3
|
+
|
|
4
|
+
export const StyledStepLabel = styled(StepLabel)`
|
|
5
|
+
.MuiStepLabel-iconContainer {
|
|
6
|
+
padding-right: 16px;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.MuiStepLabel-labelContainer {
|
|
10
|
+
display: grid;
|
|
11
|
+
gap: 4px;
|
|
12
|
+
}
|
|
13
|
+
`;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { StepLabelProps } from "@mui/material";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { STEP_LABEL_PROPS } from "./constants";
|
|
4
|
+
import { StyledStepLabel } from "./stepLabel.styles";
|
|
5
|
+
|
|
6
|
+
export const StepLabel = ({
|
|
7
|
+
...props /* MuiStepLabelProps */
|
|
8
|
+
}: StepLabelProps): JSX.Element => {
|
|
9
|
+
return <StyledStepLabel {...STEP_LABEL_PROPS} {...props} />;
|
|
10
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ComponentProps } from "react";
|
|
2
|
+
import { MUI_CONTROLS } from "../../../../../../../storybook/controls/constants";
|
|
3
|
+
import { StepLabel } from "../stepLabel";
|
|
4
|
+
|
|
5
|
+
export const DISABLED_CONTROLS: (keyof ComponentProps<typeof StepLabel>)[] = [
|
|
6
|
+
...MUI_CONTROLS,
|
|
7
|
+
"children",
|
|
8
|
+
"error",
|
|
9
|
+
"icon",
|
|
10
|
+
"optional",
|
|
11
|
+
"slotProps",
|
|
12
|
+
"slots",
|
|
13
|
+
];
|
|
14
|
+
|
|
15
|
+
export const EXCLUDED_CONTROLS: (keyof ComponentProps<typeof StepLabel>)[] = [
|
|
16
|
+
"componentsProps", // deprecated
|
|
17
|
+
"StepIconComponent", // deprecated
|
|
18
|
+
"StepIconProps", // deprecated
|
|
19
|
+
];
|
package/src/components/Stepper/components/Step/components/StepLabel/stories/stepLabel.stories.tsx
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { Meta, StoryObj, composeStories } from "@storybook/react";
|
|
2
|
+
import React, { ComponentProps } from "react";
|
|
3
|
+
import { CONTROL_TYPE } from "../../../../../../../storybook/controls/types";
|
|
4
|
+
import { configureControls } from "../../../../../../../storybook/controls/utils";
|
|
5
|
+
import * as stories from "../components/Label/stories/label.stories";
|
|
6
|
+
import { Optional } from "../components/Optional/optional";
|
|
7
|
+
import { StepLabel } from "../stepLabel";
|
|
8
|
+
import { DISABLED_CONTROLS, EXCLUDED_CONTROLS } from "./contants";
|
|
9
|
+
|
|
10
|
+
const { Default: Label, WithIcon: LabelWithIcon } = composeStories(stories);
|
|
11
|
+
|
|
12
|
+
const meta: Meta<typeof StepLabel> = {
|
|
13
|
+
argTypes: configureControls<ComponentProps<typeof StepLabel>>(
|
|
14
|
+
DISABLED_CONTROLS,
|
|
15
|
+
CONTROL_TYPE.DISABLED
|
|
16
|
+
),
|
|
17
|
+
component: StepLabel,
|
|
18
|
+
parameters: { controls: { exclude: EXCLUDED_CONTROLS } },
|
|
19
|
+
title: "Components/Stepper/StepLabel",
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export default meta;
|
|
23
|
+
|
|
24
|
+
type Story = StoryObj<typeof meta>;
|
|
25
|
+
|
|
26
|
+
export const Active: Story = {
|
|
27
|
+
args: {
|
|
28
|
+
children: <LabelWithIcon />,
|
|
29
|
+
icon: 1,
|
|
30
|
+
slotProps: { stepIcon: { active: true } },
|
|
31
|
+
},
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export const Completed: Story = {
|
|
35
|
+
args: {
|
|
36
|
+
children: <LabelWithIcon />,
|
|
37
|
+
icon: 1,
|
|
38
|
+
optional: <Optional>3 files selected</Optional>,
|
|
39
|
+
slotProps: { stepIcon: { completed: true } },
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
export const Default: Story = {
|
|
44
|
+
args: {
|
|
45
|
+
children: <Label />,
|
|
46
|
+
icon: 1,
|
|
47
|
+
},
|
|
48
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { css } from "@emotion/react";
|
|
2
|
+
import styled from "@emotion/styled";
|
|
3
|
+
import { Step } from "@mui/material";
|
|
4
|
+
import { smokeLightest, white } from "../../../../styles/common/mixins/colors";
|
|
5
|
+
import { sectionPadding } from "../../../common/Section/section.styles";
|
|
6
|
+
|
|
7
|
+
export const StyledStep = styled(Step)`
|
|
8
|
+
&.MuiStep-root {
|
|
9
|
+
&.MuiStep-vertical {
|
|
10
|
+
background-color: ${smokeLightest};
|
|
11
|
+
|
|
12
|
+
.MuiStepLabel-root {
|
|
13
|
+
${sectionPadding};
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.MuiStepContent-root {
|
|
17
|
+
border: none;
|
|
18
|
+
margin: 0;
|
|
19
|
+
padding: 0;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&.Mui-completed {
|
|
23
|
+
background-color: ${white};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
${(props) =>
|
|
27
|
+
props.active &&
|
|
28
|
+
css`
|
|
29
|
+
background-color: ${white(props)};
|
|
30
|
+
`};
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
`;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { StepProps } from "@mui/material";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { BaseComponentProps } from "../../../types";
|
|
4
|
+
import { STEP_PROPS } from "./constants";
|
|
5
|
+
import { StyledStep } from "./step.styles";
|
|
6
|
+
|
|
7
|
+
export const Step = ({
|
|
8
|
+
className,
|
|
9
|
+
...props /* MuiStepProps */
|
|
10
|
+
}: BaseComponentProps & StepProps): JSX.Element => {
|
|
11
|
+
return <StyledStep {...STEP_PROPS} className={className} {...props} />;
|
|
12
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ComponentProps } from "react";
|
|
2
|
+
import { MUI_CONTROLS } from "../../../../../storybook/controls/constants";
|
|
3
|
+
import { Step } from "../step";
|
|
4
|
+
|
|
5
|
+
export const BOOLEAN_CONTROLS: (keyof ComponentProps<typeof Step>)[] = [
|
|
6
|
+
"active",
|
|
7
|
+
"completed",
|
|
8
|
+
"disabled",
|
|
9
|
+
"expanded",
|
|
10
|
+
"last",
|
|
11
|
+
];
|
|
12
|
+
|
|
13
|
+
export const DISABLED_CONTROLS: (keyof ComponentProps<typeof Step>)[] = [
|
|
14
|
+
...MUI_CONTROLS,
|
|
15
|
+
"children",
|
|
16
|
+
"component",
|
|
17
|
+
"style",
|
|
18
|
+
];
|