@databiosphere/findable-ui 41.2.0 → 42.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/CHANGELOG.md +25 -0
- package/lib/components/DataDictionary/components/Description/description.styles.d.ts +1 -1
- package/lib/components/DataDictionary/components/Description/description.styles.js +5 -5
- package/lib/components/DataDictionary/components/Entity/entity.js +2 -2
- package/lib/components/DataDictionary/components/Entity/entity.styles.js +2 -2
- package/lib/components/DataDictionary/components/Filters/components/ColumnFilterTags/columnFilterTags.styles.d.ts +1 -1
- package/lib/components/DataDictionary/components/Filters/filters.styles.d.ts +1 -1
- package/lib/components/DataDictionary/components/Layout/components/FiltersLayout/filtersLayout.styles.js +2 -2
- package/lib/components/DataDictionary/components/Layout/components/TitleLayout/titleLayout.styles.js +2 -2
- package/lib/components/DataDictionary/components/Outline/outline.styles.js +4 -4
- package/lib/components/DataDictionary/components/Table/table.styles.d.ts +1 -1
- package/lib/components/DataDictionary/components/Title/title.styles.d.ts +1 -1
- package/lib/components/DataDictionary/components/Tooltip/components/Title/constants.d.ts +1 -2
- package/lib/components/DataDictionary/components/Tooltip/components/Title/constants.js +0 -4
- package/lib/components/DataDictionary/components/Tooltip/components/Title/title.js +4 -4
- package/lib/components/DataDictionary/components/Tooltip/constants.js +8 -7
- package/lib/components/DataDictionary/dataDictionary.styles.js +2 -2
- package/lib/components/Detail/components/Table/table.js +2 -3
- package/lib/components/Error/error.js +4 -3
- package/lib/components/Error/error.styles.js +4 -4
- package/lib/components/Export/components/ExportForm/exportForm.styles.d.ts +3 -3
- package/lib/components/Export/components/ExportForm/exportForm.styles.js +11 -11
- package/lib/components/Export/components/ExportMethod/exportMethod.js +4 -3
- package/lib/components/Export/components/ExportMethod/exportMethod.styles.d.ts +0 -4
- package/lib/components/Export/components/ExportMethod/exportMethod.styles.js +0 -6
- package/lib/components/Export/components/ExportSummary/exportSummary.styles.js +6 -5
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/formStep.js +5 -3
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/formStep.styles.js +1 -1
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/terraSetUpForm.js +2 -2
- package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/terraSetUpForm.styles.js +10 -10
- package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/manifestDownloadEntity.styles.js +7 -7
- package/lib/components/Export/export.styles.d.ts +1 -1
- package/lib/components/Export/export.styles.js +6 -6
- package/lib/components/Filter/components/ClearAllFilters/clearAllFilters.styles.d.ts +1 -1
- package/lib/components/Filter/components/FilterCountChip/filterCountChip.styles.d.ts +1 -1
- package/lib/components/Filter/components/FilterLabel/filterLabel.styles.d.ts +1 -1
- package/lib/components/Filter/components/FilterLabel/filterLabel.styles.js +2 -3
- package/lib/components/Filter/components/FilterList/filterList.styles.d.ts +1 -1
- package/lib/components/Filter/components/FilterMenuSearch/filterMenuSearch.styles.js +2 -2
- package/lib/components/Filter/components/FilterNoResultsFound/filterNoResultsFound.js +3 -2
- package/lib/components/Filter/components/FilterRange/filterRange.styles.js +2 -2
- package/lib/components/Filter/components/FilterTag/filterTag.styles.d.ts +1 -1
- package/lib/components/Filter/components/FilterTag/filterTag.styles.js +2 -1
- package/lib/components/Filter/components/Filters/filters.js +1 -1
- package/lib/components/Filter/components/Filters/filters.styles.d.ts +1 -1
- package/lib/components/Filter/components/Filters/filters.styles.js +4 -4
- package/lib/components/Filter/components/HighlightedLabel/highlightedLabel.styles.js +2 -1
- package/lib/components/Filter/components/SearchAllFilters/components/AutocompletePopper/autocompletePopper.styles.js +4 -4
- package/lib/components/Filter/components/SearchAllFilters/components/VariableSizeList/VariableSizeList.js +7 -8
- package/lib/components/Filter/components/SearchAllFilters/components/VariableSizeListItem/variableSizeListItem.js +2 -2
- package/lib/components/Filter/components/SearchAllFilters/searchAllFilters.js +5 -6
- package/lib/components/Filter/components/SearchAllFilters/searchAllFilters.styles.js +2 -2
- package/lib/components/Filter/components/SearchAllFiltersSearch/components/SearchCloseButton/searchCloseButton.js +3 -4
- package/lib/components/Filter/components/SearchAllFiltersSearch/searchAllFiltersSearch.styles.js +3 -3
- package/lib/components/Filter/components/VariableSizeListItem/variableSizeListItem.js +2 -2
- package/lib/components/Filter/components/controls/Controls/controls.js +1 -1
- package/lib/components/Filter/components/controls/Controls/controls.styles.d.ts +1 -1
- package/lib/components/Filter/components/surfaces/drawer/components/ButtonBase/buttonBase.styles.d.ts +1 -1
- package/lib/components/Filter/components/surfaces/drawer/components/ButtonBase/buttonBase.styles.js +2 -2
- package/lib/components/Filter/components/surfaces/drawer/components/IconButton/iconButton.styles.d.ts +1 -1
- package/lib/components/Filter/components/views/select/components/ListItemButton/listItemButton.d.ts +1 -1
- package/lib/components/Filter/components/views/select/components/ListItemButton/listItemButton.styles.d.ts +1 -1
- package/lib/components/Filter/components/views/select/components/ListItemText/components/Count/count.js +1 -1
- package/lib/components/Filter/components/views/select/components/ListItemText/components/Term/term.js +1 -1
- package/lib/components/Index/components/EntityView/components/controls/ExportButton/exportButton.styles.js +2 -2
- package/lib/components/Index/components/EntityView/components/controls/FilterButton/filterButton.styles.d.ts +1 -1
- package/lib/components/Index/components/EntityView/components/controls/FilterButton/filterButton.styles.js +2 -2
- package/lib/components/Index/components/EntityView/components/layout/Summary/summary.js +2 -2
- package/lib/components/Index/components/EntityView/components/layout/Summary/summary.styles.d.ts +1 -1
- package/lib/components/Index/components/EntityView/components/layout/Summary/summary.styles.js +2 -1
- package/lib/components/Index/components/EntityView/components/slots/EntityViewSlot/entityViewSlot.styles.d.ts +1 -1
- package/lib/components/Index/components/EntityView/components/slots/EntityViewSlot/entityViewSlot.styles.js +2 -2
- package/lib/components/Index/components/EntityView/components/views/ChartView/chartView.js +1 -1
- package/lib/components/Index/components/EntityView/components/views/ChartView/chartView.styles.d.ts +1 -1
- package/lib/components/Index/components/EntityView/components/views/ChartView/components/Chart/chart.styles.d.ts +1 -1
- package/lib/components/Index/components/EntityView/components/views/ChartView/components/Chart/chart.styles.js +4 -4
- package/lib/components/Index/index.styles.d.ts +4 -4
- package/lib/components/Index/index.styles.js +2 -2
- package/lib/components/Layout/components/BackPage/backPageView.styles.js +11 -10
- package/lib/components/Layout/components/BackPage/components/BackPageHero/backPageHero.styles.js +3 -3
- package/lib/components/Layout/components/BackPage/components/BackPageHero/components/Actions/actions.styles.js +2 -2
- package/lib/components/Layout/components/BackPage/components/BackPageHero/components/SubTitle/subTitle.js +2 -2
- package/lib/components/Layout/components/ContentLayout/contentLayout.styles.js +18 -19
- package/lib/components/Layout/components/Footer/components/VersionInfo/components/Tooltip/components/Title/title.js +2 -2
- package/lib/components/Layout/components/Footer/components/VersionInfo/versionInfo.styles.d.ts +1 -1
- package/lib/components/Layout/components/Footer/components/VersionInfo/versionInfo.styles.js +2 -2
- package/lib/components/Layout/components/Footer/footer.styles.js +8 -8
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.styles.d.ts +4 -4
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.styles.js +2 -1
- 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/Menu/components/Content/components/Navigation/navigation.styles.js +3 -3
- 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.styles.js +4 -4
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationDrawer/navigationDrawer.styles.js +6 -5
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenu/navigationMenu.styles.d.ts +1 -1
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenu/navigationMenu.styles.js +7 -7
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenuItems/navigationMenuItems.js +5 -5
- package/lib/components/Layout/components/Header/components/Content/components/Navigation/navigation.styles.js +2 -2
- package/lib/components/Layout/components/Header/components/Content/components/Slogan/slogan.js +2 -2
- package/lib/components/Layout/components/Header/components/Content/components/Slogan/slogan.styles.d.ts +1 -1
- package/lib/components/Layout/components/Header/components/Content/components/Slogan/slogan.styles.js +4 -4
- package/lib/components/Layout/components/Header/header.styles.js +2 -2
- package/lib/components/Layout/components/Nav/components/NavBarHero/navBarHero.styles.js +2 -1
- package/lib/components/Layout/components/Nav/nav.styles.d.ts +1 -1
- package/lib/components/Layout/components/Nav/nav.styles.js +8 -6
- package/lib/components/Layout/components/Outline/components/ContentsTab/contentsTab.styles.d.ts +1 -1
- package/lib/components/Layout/components/Outline/components/ContentsTab/contentsTab.styles.js +5 -4
- package/lib/components/Layout/components/Outline/outline.styles.d.ts +2 -2
- package/lib/components/Layout/components/Outline/outline.styles.js +8 -8
- package/lib/components/Layout/components/Sidebar/components/SidebarButton/sidebarButton.styles.js +6 -6
- package/lib/components/Layout/components/Sidebar/components/SidebarDrawer/sidebarDrawer.styles.js +5 -5
- package/lib/components/Layout/components/Sidebar/components/SidebarLabel/sidebarLabel.js +2 -2
- package/lib/components/Layout/components/Sidebar/components/SidebarPositioner/sidebarPositioner.styles.js +2 -2
- package/lib/components/Layout/components/Sidebar/components/SidebarTools/sidebarTools.styles.js +2 -2
- package/lib/components/Layout/components/Sidebar/sidebar.js +4 -5
- package/lib/components/Layout/components/Sidebar/sidebar.styles.js +2 -2
- package/lib/components/Links/components/Link/link.js +2 -1
- package/lib/components/Loading/loading.js +2 -1
- package/lib/components/Loading/loading.styles.js +2 -2
- package/lib/components/Login/components/Button/button.styles.d.ts +1 -1
- package/lib/components/Login/components/Section/components/Consent/consent.js +2 -2
- 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 +1 -1
- package/lib/components/Login/components/Section/components/Warning/warning.js +1 -1
- package/lib/components/Login/login.js +6 -5
- package/lib/components/Login/login.styles.d.ts +2 -12
- package/lib/components/Login/login.styles.js +4 -13
- package/lib/components/MarkdownRenderer/components/Table/table.styles.js +2 -2
- package/lib/components/MarkdownRenderer/markdownRenderer.js +1 -1
- package/lib/components/NoResults/noResults.js +1 -1
- package/lib/components/NoResults/noResults.styles.js +2 -2
- package/lib/components/Project/components/Contacts/contacts.js +2 -1
- package/lib/components/Project/components/Details/details.js +3 -2
- package/lib/components/Project/components/SupplementaryLinks/supplementaryLinks.styles.js +2 -1
- package/lib/components/Stepper/components/Step/components/StepContent/stepContent.styles.js +2 -2
- package/lib/components/Stepper/components/Step/components/StepIcon/components/CompletedIcon/completedIcon.styles.d.ts +1 -1
- package/lib/components/Stepper/components/Step/components/StepIcon/components/CompletedIcon/completedIcon.styles.js +3 -3
- package/lib/components/Stepper/components/Step/components/StepIcon/stepIcon.styles.js +5 -5
- package/lib/components/Stepper/components/Step/components/StepLabel/components/Label/constants.js +1 -1
- package/lib/components/Stepper/components/Step/components/StepLabel/components/Label/label.styles.d.ts +1 -1
- package/lib/components/Stepper/components/Step/components/StepLabel/components/Optional/constants.js +1 -1
- package/lib/components/Stepper/components/Step/step.styles.d.ts +1 -1
- package/lib/components/Stepper/components/Step/step.styles.js +5 -5
- package/lib/components/Support/components/SupportRequest/components/Dialog/dialog.styles.d.ts +1 -1
- package/lib/components/Support/components/SupportRequest/components/Dialog/dialog.styles.js +5 -6
- package/lib/components/Support/components/SupportRequest/components/SupportRequestForm/supportRequestForm.js +2 -2
- package/lib/components/Support/components/SupportRequest/components/SupportRequestForm/supportRequestForm.styles.js +2 -2
- package/lib/components/Support/components/SupportRequest/components/SupportRequestSubmitted/supportRequestSubmitted.js +3 -3
- package/lib/components/Support/components/ViewSupport/viewSupport.styles.js +6 -6
- package/lib/components/Table/common/gridTable.styles.js +1 -2
- package/lib/components/Table/components/DownloadEntityResults/downloadEntityResults.styles.d.ts +1 -1
- package/lib/components/Table/components/DownloadEntityResults/downloadEntityResults.styles.js +2 -2
- package/lib/components/Table/components/PaginationSummary/paginationSummary.js +5 -4
- package/lib/components/Table/components/TableCell/components/BasicCell/basicCell.js +3 -2
- package/lib/components/Table/components/TableCell/components/CodeCell/codeCell.styles.d.ts +1 -1
- package/lib/components/Table/components/TableCell/components/CollapsableCell/collapsableCell.js +2 -2
- package/lib/components/Table/components/TableCell/components/CollapsableCell/collapsableCell.styles.js +5 -5
- package/lib/components/Table/components/TableCell/components/LinkCell/stories/args.js +1 -1
- package/lib/components/Table/components/TableCell/components/NTagCell/nTagCell.js +2 -2
- package/lib/components/Table/components/TableFeatures/ColumnFilter/columnFilter.js +1 -1
- package/lib/components/Table/components/TableFeatures/ColumnFilter/columnFilter.styles.d.ts +1 -1
- package/lib/components/Table/components/TableFeatures/ColumnFilter/components/ColumnFilterTag/columnFilterTag.styles.d.ts +1 -1
- package/lib/components/Table/components/TablePagination/tablePagination.js +1 -1
- package/lib/components/Table/components/TablePagination/tablePagination.styles.d.ts +1 -1
- package/lib/components/Table/components/TableRow/tableRow.styles.js +2 -2
- package/lib/components/Table/components/TableToolbar/components/RowPreview/components/RowDrawer/rowDrawer.js +2 -2
- package/lib/components/Table/components/TableToolbar/components/RowPreview/components/RowDrawer/rowDrawer.styles.js +5 -5
- package/lib/components/Table/components/TableToolbar/components/RowPreview/components/Section/components/RowDetail/rowDetail.js +2 -2
- package/lib/components/Table/components/TableToolbar/components/RowPreview/components/Section/components/RowDetail/rowDetail.styles.js +5 -5
- package/lib/components/Table/components/TableToolbar/components/RowPreview/components/Section/section.js +2 -2
- package/lib/components/Table/components/TableToolbar/components/RowPreview/components/Section/section.styles.js +1 -1
- package/lib/components/Table/components/TableToolbar/components/RowSelection/rowSelection.js +2 -2
- package/lib/components/Table/table.js +2 -3
- package/lib/components/Table/table.styles.js +2 -2
- package/lib/components/common/Accordion/accordion.js +2 -2
- package/lib/components/common/Alert/alert.styles.js +3 -3
- package/lib/components/common/Banner/banner.styles.js +4 -4
- package/lib/components/common/Banner/components/CookieBanner/cookieBanner.styles.js +4 -4
- package/lib/components/common/Button/components/DropdownButton/dropdownButton.styles.d.ts +1 -1
- package/lib/components/common/Button/components/HelpIconButton/helpIconButton.styles.js +2 -1
- package/lib/components/common/Button/components/NavigationButton/navigationButton.styles.js +5 -4
- package/lib/components/common/Card/card.styles.js +2 -2
- package/lib/components/common/Card/components/CardActions/cardActions.styles.js +2 -2
- package/lib/components/common/Card/components/CardSecondaryText/cardSecondaryText.d.ts +2 -5
- package/lib/components/common/Card/components/CardSecondaryText/cardSecondaryText.js +3 -3
- package/lib/components/common/Card/components/CardSecondaryTitle/cardSecondaryTitle.d.ts +2 -5
- package/lib/components/common/Card/components/CardSecondaryTitle/cardSecondaryTitle.js +4 -4
- package/lib/components/common/Card/components/CardSecondaryTitle/cardSecondaryTitle.styles.d.ts +2 -2
- package/lib/components/common/Card/components/CardSecondaryTitle/cardSecondaryTitle.styles.js +1 -1
- package/lib/components/common/Card/components/CardText/cardText.d.ts +2 -5
- package/lib/components/common/Card/components/CardText/cardText.js +3 -3
- package/lib/components/common/Card/components/CardTitle/cardTitle.d.ts +2 -5
- package/lib/components/common/Card/components/CardTitle/cardTitle.js +3 -3
- package/lib/components/common/Code/code.styles.js +10 -9
- package/lib/components/common/Dot/dot.styles.js +2 -1
- package/lib/components/common/Form/components/Input/input.js +2 -2
- package/lib/components/common/Form/components/Input/input.styles.d.ts +1 -1
- package/lib/components/common/Form/components/Input/input.styles.js +4 -4
- package/lib/components/common/Form/components/Select/select.js +2 -2
- package/lib/components/common/Form/components/Select/select.styles.d.ts +1 -1
- package/lib/components/common/Form/components/Select/select.styles.js +3 -3
- package/lib/components/common/Form/components/UploadFile/uploadFile.js +3 -3
- package/lib/components/common/Form/components/UploadFile/uploadFile.styles.d.ts +1 -1
- package/lib/components/common/Form/components/UploadFile/uploadFile.styles.js +10 -10
- package/lib/components/common/IconBadge/iconBadge.styles.js +13 -13
- package/lib/components/common/IconButton/iconButton.styles.d.ts +1 -1
- package/lib/components/common/IconButton/iconButton.styles.js +3 -3
- package/lib/components/common/Input/input.js +2 -2
- package/lib/components/common/Input/input.styles.d.ts +1 -1
- package/lib/components/common/Input/input.styles.js +3 -2
- package/lib/components/common/KeyValuePairs/components/KeyElType/keyElType.js +1 -1
- package/lib/components/common/KeyValuePairs/components/ValueElType/valueElType.js +1 -1
- package/lib/components/common/LoginDialog/constants.js +2 -2
- package/lib/components/common/MDXMarkdown/components/Section/mdxSection.styles.js +4 -4
- package/lib/components/common/Paper/components/FlatPaper/flatPaper.styles.d.ts +1 -1
- package/lib/components/common/Paper/components/FluidPaper/fluidPaper.styles.d.ts +1 -1
- package/lib/components/common/Paper/components/FluidPaper/fluidPaper.styles.js +2 -2
- package/lib/components/common/Paper/components/RoundedPaper/roundedPaper.styles.d.ts +1 -1
- package/lib/components/common/Paper/paper.styles.js +24 -24
- package/lib/components/common/Progress/components/CircularProgress/components/CircularProgressTrack/circularProgressTrack.styles.js +6 -6
- package/lib/components/common/Section/components/CollapsableSection/collapsableSection.js +8 -8
- package/lib/components/common/Section/components/CollapsableSection/collapsableSection.styles.d.ts +1 -1
- package/lib/components/common/Section/components/CollapsableSection/collapsableSection.styles.js +6 -5
- package/lib/components/common/Section/components/SectionTitle/sectionTitle.js +2 -1
- package/lib/components/common/Section/section.styles.d.ts +1 -1
- package/lib/components/common/Section/section.styles.js +4 -4
- package/lib/components/common/Socials/socials.styles.js +3 -3
- package/lib/components/common/StatusIcon/statusIcon.styles.js +13 -12
- package/lib/components/common/Tabs/tabs.styles.d.ts +1 -1
- package/lib/components/common/Tag/tag.d.ts +3 -6
- package/lib/components/common/Tag/tag.js +3 -2
- package/lib/components/common/Tag/tag.stories.d.ts +1 -1
- package/lib/components/common/Tag/tag.styles.d.ts +10 -2
- package/lib/components/common/Tag/tag.styles.js +4 -3
- package/lib/components/common/Title/title.js +1 -1
- package/lib/components/common/Typography/TypographyWordBreak/TypographyWordBreak.js +2 -1
- package/lib/styles/common/constants/app.d.ts +3 -0
- package/lib/styles/common/constants/app.js +3 -0
- package/lib/styles/common/constants/colorMixes.d.ts +1 -0
- package/lib/styles/common/constants/colorMixes.js +1 -0
- package/lib/styles/common/constants/font.d.ts +18 -0
- package/lib/styles/common/constants/font.js +18 -0
- package/lib/styles/common/constants/palette.d.ts +45 -45
- package/lib/styles/common/constants/palette.js +45 -45
- package/lib/styles/common/constants/shadows.js +3 -3
- package/lib/styles/common/mixins/breakpoints.d.ts +9 -7
- package/lib/styles/common/mixins/breakpoints.js +8 -7
- package/lib/styles/common/mui/typography.d.ts +32 -3
- package/lib/styles/common/mui/typography.js +22 -10
- package/lib/theme/common/breakpoints.d.ts +6 -27
- package/lib/theme/common/breakpoints.js +14 -36
- package/lib/theme/common/components.d.ts +2 -226
- package/lib/theme/common/components.js +1045 -1223
- package/lib/theme/common/fontStyles.d.ts +8 -0
- package/lib/theme/common/fontStyles.js +12 -0
- package/lib/theme/common/palette.d.ts +2 -42
- package/lib/theme/common/palette.js +22 -73
- package/lib/theme/common/typography.d.ts +2 -70
- package/lib/theme/common/typography.js +78 -126
- package/lib/theme/components/muiAlert.d.ts +2 -2
- package/lib/theme/components/muiAlert.js +95 -96
- package/lib/theme/components/muiAlertTitle.js +2 -2
- package/lib/theme/components/muiTableCell.d.ts +2 -2
- package/lib/theme/components/muiTableCell.js +43 -46
- package/lib/theme/theme.d.ts +0 -7
- package/lib/theme/theme.js +22 -100
- package/lib/theme/types.d.ts +4 -0
- package/lib/theme/types.js +1 -0
- package/package.json +1 -1
- package/src/components/DataDictionary/components/Description/description.styles.ts +5 -8
- package/src/components/DataDictionary/components/Entity/entity.styles.ts +2 -2
- package/src/components/DataDictionary/components/Entity/entity.tsx +2 -2
- package/src/components/DataDictionary/components/Layout/components/FiltersLayout/filtersLayout.styles.ts +2 -2
- package/src/components/DataDictionary/components/Layout/components/TitleLayout/titleLayout.styles.ts +2 -2
- package/src/components/DataDictionary/components/Outline/outline.styles.ts +4 -8
- package/src/components/DataDictionary/components/Tooltip/components/Title/constants.ts +1 -6
- package/src/components/DataDictionary/components/Tooltip/components/Title/title.tsx +8 -4
- package/src/components/DataDictionary/components/Tooltip/constants.ts +8 -7
- package/src/components/DataDictionary/dataDictionary.styles.ts +2 -5
- package/src/components/Detail/components/Table/table.tsx +2 -3
- package/src/components/Error/error.styles.ts +4 -4
- package/src/components/Error/error.tsx +10 -3
- package/src/components/Export/components/ExportForm/exportForm.styles.ts +12 -12
- package/src/components/Export/components/ExportMethod/exportMethod.styles.ts +0 -7
- package/src/components/Export/components/ExportMethod/exportMethod.tsx +14 -3
- package/src/components/Export/components/ExportSummary/exportSummary.styles.ts +6 -5
- package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/formStep.styles.ts +1 -1
- package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/formStep.tsx +9 -8
- package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/terraSetUpForm.styles.ts +10 -15
- package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/terraSetUpForm.tsx +5 -2
- package/src/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/manifestDownloadEntity.styles.ts +7 -7
- package/src/components/Export/export.styles.ts +7 -7
- package/src/components/Filter/components/FilterLabel/filterLabel.styles.ts +2 -3
- package/src/components/Filter/components/FilterMenuSearch/filterMenuSearch.styles.ts +2 -2
- package/src/components/Filter/components/FilterNoResultsFound/filterNoResultsFound.tsx +4 -3
- package/src/components/Filter/components/FilterRange/filterRange.styles.ts +2 -2
- package/src/components/Filter/components/FilterTag/filterTag.styles.ts +2 -1
- package/src/components/Filter/components/Filters/filters.styles.ts +4 -4
- package/src/components/Filter/components/Filters/filters.tsx +1 -1
- package/src/components/Filter/components/HighlightedLabel/highlightedLabel.styles.ts +2 -1
- package/src/components/Filter/components/SearchAllFilters/components/AutocompletePopper/autocompletePopper.styles.ts +4 -4
- package/src/components/Filter/components/SearchAllFilters/components/VariableSizeList/VariableSizeList.tsx +7 -11
- package/src/components/Filter/components/SearchAllFilters/components/VariableSizeListItem/variableSizeListItem.tsx +3 -3
- package/src/components/Filter/components/SearchAllFilters/searchAllFilters.styles.ts +2 -2
- package/src/components/Filter/components/SearchAllFilters/searchAllFilters.tsx +7 -8
- package/src/components/Filter/components/SearchAllFiltersSearch/components/SearchCloseButton/searchCloseButton.tsx +3 -7
- package/src/components/Filter/components/SearchAllFiltersSearch/searchAllFiltersSearch.styles.ts +3 -3
- package/src/components/Filter/components/VariableSizeListItem/variableSizeListItem.tsx +3 -3
- package/src/components/Filter/components/controls/Controls/controls.tsx +1 -1
- package/src/components/Filter/components/surfaces/drawer/components/ButtonBase/buttonBase.styles.ts +2 -2
- package/src/components/Filter/components/views/select/components/ListItemText/components/Count/count.tsx +1 -1
- package/src/components/Filter/components/views/select/components/ListItemText/components/Term/term.tsx +1 -1
- package/src/components/Index/components/EntityView/components/controls/ExportButton/exportButton.styles.ts +2 -2
- package/src/components/Index/components/EntityView/components/controls/FilterButton/filterButton.styles.ts +2 -2
- package/src/components/Index/components/EntityView/components/layout/Summary/summary.styles.ts +2 -1
- package/src/components/Index/components/EntityView/components/layout/Summary/summary.tsx +2 -2
- package/src/components/Index/components/EntityView/components/slots/EntityViewSlot/entityViewSlot.styles.ts +2 -2
- package/src/components/Index/components/EntityView/components/views/ChartView/chartView.tsx +1 -1
- package/src/components/Index/components/EntityView/components/views/ChartView/components/Chart/chart.styles.ts +4 -4
- package/src/components/Index/index.styles.ts +2 -2
- package/src/components/Layout/components/BackPage/backPageView.styles.ts +11 -10
- package/src/components/Layout/components/BackPage/components/BackPageHero/backPageHero.styles.ts +3 -3
- package/src/components/Layout/components/BackPage/components/BackPageHero/components/Actions/actions.styles.ts +2 -2
- package/src/components/Layout/components/BackPage/components/BackPageHero/components/SubTitle/subTitle.tsx +6 -2
- package/src/components/Layout/components/ContentLayout/contentLayout.styles.ts +20 -36
- package/src/components/Layout/components/Footer/components/VersionInfo/components/Tooltip/components/Title/title.tsx +5 -2
- package/src/components/Layout/components/Footer/components/VersionInfo/versionInfo.styles.ts +2 -2
- package/src/components/Layout/components/Footer/footer.styles.ts +8 -8
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.styles.ts +2 -1
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Menu/components/Content/components/Navigation/navigation.styles.ts +3 -6
- package/src/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchBar/searchBar.styles.ts +4 -7
- package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationDrawer/navigationDrawer.styles.ts +6 -8
- package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenu/navigationMenu.styles.ts +8 -12
- package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenuItems/navigationMenuItems.tsx +5 -10
- package/src/components/Layout/components/Header/components/Content/components/Navigation/navigation.styles.ts +2 -2
- package/src/components/Layout/components/Header/components/Content/components/Slogan/slogan.styles.ts +4 -4
- package/src/components/Layout/components/Header/components/Content/components/Slogan/slogan.tsx +5 -2
- package/src/components/Layout/components/Header/header.styles.ts +2 -2
- package/src/components/Layout/components/Nav/components/NavBarHero/navBarHero.styles.ts +2 -1
- package/src/components/Layout/components/Nav/nav.styles.ts +8 -10
- package/src/components/Layout/components/Outline/components/ContentsTab/contentsTab.styles.ts +5 -4
- package/src/components/Layout/components/Outline/outline.styles.ts +10 -13
- package/src/components/Layout/components/Sidebar/components/SidebarButton/sidebarButton.styles.ts +7 -10
- package/src/components/Layout/components/Sidebar/components/SidebarDrawer/sidebarDrawer.styles.ts +5 -8
- package/src/components/Layout/components/Sidebar/components/SidebarLabel/sidebarLabel.tsx +5 -2
- package/src/components/Layout/components/Sidebar/components/SidebarPositioner/sidebarPositioner.styles.ts +2 -2
- package/src/components/Layout/components/Sidebar/components/SidebarTools/sidebarTools.styles.ts +2 -2
- package/src/components/Layout/components/Sidebar/sidebar.styles.ts +2 -2
- package/src/components/Layout/components/Sidebar/sidebar.tsx +4 -8
- package/src/components/Links/components/Link/link.tsx +2 -1
- package/src/components/Loading/loading.styles.ts +2 -2
- package/src/components/Loading/loading.tsx +6 -1
- package/src/components/Login/components/Section/components/Consent/consent.styles.ts +1 -1
- package/src/components/Login/components/Section/components/Consent/consent.tsx +4 -2
- package/src/components/Login/components/Section/components/Warning/warning.tsx +1 -1
- package/src/components/Login/login.styles.ts +5 -19
- package/src/components/Login/login.tsx +30 -7
- package/src/components/MarkdownRenderer/components/Table/table.styles.ts +2 -2
- package/src/components/MarkdownRenderer/markdownRenderer.tsx +1 -1
- package/src/components/NoResults/noResults.styles.ts +2 -2
- package/src/components/NoResults/noResults.tsx +1 -1
- package/src/components/Project/components/Contacts/contacts.tsx +7 -1
- package/src/components/Project/components/Details/details.tsx +7 -2
- package/src/components/Project/components/SupplementaryLinks/supplementaryLinks.styles.ts +2 -1
- package/src/components/Stepper/components/Step/components/StepContent/stepContent.styles.ts +2 -2
- package/src/components/Stepper/components/Step/components/StepIcon/components/CompletedIcon/completedIcon.styles.ts +3 -6
- package/src/components/Stepper/components/Step/components/StepIcon/stepIcon.styles.ts +5 -9
- package/src/components/Stepper/components/Step/components/StepLabel/components/Label/constants.ts +1 -1
- package/src/components/Stepper/components/Step/components/StepLabel/components/Optional/constants.ts +1 -1
- package/src/components/Stepper/components/Step/step.styles.ts +6 -6
- package/src/components/Support/components/SupportRequest/components/Dialog/dialog.styles.ts +5 -6
- package/src/components/Support/components/SupportRequest/components/SupportRequestForm/supportRequestForm.styles.ts +2 -2
- package/src/components/Support/components/SupportRequest/components/SupportRequestForm/supportRequestForm.tsx +5 -2
- package/src/components/Support/components/SupportRequest/components/SupportRequestSubmitted/supportRequestSubmitted.tsx +8 -6
- package/src/components/Support/components/ViewSupport/viewSupport.styles.ts +6 -10
- package/src/components/Table/common/gridTable.styles.ts +1 -2
- package/src/components/Table/components/DownloadEntityResults/downloadEntityResults.styles.ts +2 -2
- package/src/components/Table/components/PaginationSummary/paginationSummary.tsx +9 -4
- package/src/components/Table/components/TableCell/components/BasicCell/basicCell.tsx +10 -2
- package/src/components/Table/components/TableCell/components/CollapsableCell/collapsableCell.styles.ts +5 -5
- package/src/components/Table/components/TableCell/components/CollapsableCell/collapsableCell.tsx +3 -3
- package/src/components/Table/components/TableCell/components/LinkCell/stories/args.ts +1 -1
- package/src/components/Table/components/TableCell/components/NTagCell/nTagCell.tsx +6 -3
- package/src/components/Table/components/TableFeatures/ColumnFilter/columnFilter.tsx +1 -1
- package/src/components/Table/components/TablePagination/tablePagination.tsx +1 -1
- package/src/components/Table/components/TableRow/tableRow.styles.ts +2 -2
- package/src/components/Table/components/TableToolbar/components/RowPreview/components/RowDrawer/rowDrawer.styles.ts +5 -5
- package/src/components/Table/components/TableToolbar/components/RowPreview/components/RowDrawer/rowDrawer.tsx +6 -2
- package/src/components/Table/components/TableToolbar/components/RowPreview/components/Section/components/RowDetail/rowDetail.styles.ts +6 -6
- package/src/components/Table/components/TableToolbar/components/RowPreview/components/Section/components/RowDetail/rowDetail.tsx +3 -3
- package/src/components/Table/components/TableToolbar/components/RowPreview/components/Section/section.styles.ts +1 -1
- package/src/components/Table/components/TableToolbar/components/RowPreview/components/Section/section.tsx +5 -2
- package/src/components/Table/components/TableToolbar/components/RowSelection/rowSelection.tsx +2 -2
- package/src/components/Table/table.styles.ts +2 -2
- package/src/components/Table/table.tsx +2 -3
- package/src/components/common/Accordion/accordion.tsx +4 -2
- package/src/components/common/Alert/alert.styles.ts +3 -6
- package/src/components/common/Banner/banner.styles.ts +4 -4
- package/src/components/common/Banner/components/CookieBanner/cookieBanner.styles.ts +4 -4
- package/src/components/common/Button/components/HelpIconButton/helpIconButton.styles.ts +2 -1
- package/src/components/common/Button/components/NavigationButton/navigationButton.styles.ts +5 -4
- package/src/components/common/Card/card.styles.ts +2 -2
- package/src/components/common/Card/components/CardActions/cardActions.styles.ts +2 -2
- package/src/components/common/Card/components/CardSecondaryText/cardSecondaryText.tsx +7 -16
- package/src/components/common/Card/components/CardSecondaryTitle/cardSecondaryTitle.styles.ts +1 -1
- package/src/components/common/Card/components/CardSecondaryTitle/cardSecondaryTitle.tsx +9 -17
- package/src/components/common/Card/components/CardText/cardText.tsx +8 -14
- package/src/components/common/Card/components/CardTitle/cardTitle.tsx +9 -14
- package/src/components/common/Code/code.styles.ts +11 -10
- package/src/components/common/Dot/dot.styles.ts +2 -1
- package/src/components/common/Form/components/Input/input.styles.ts +4 -4
- package/src/components/common/Form/components/Input/input.tsx +6 -2
- package/src/components/common/Form/components/Select/select.styles.ts +3 -3
- package/src/components/common/Form/components/Select/select.tsx +6 -2
- package/src/components/common/Form/components/UploadFile/uploadFile.styles.ts +10 -17
- package/src/components/common/Form/components/UploadFile/uploadFile.tsx +7 -3
- package/src/components/common/IconBadge/iconBadge.styles.ts +13 -22
- package/src/components/common/IconButton/iconButton.styles.ts +3 -3
- package/src/components/common/Input/input.styles.ts +3 -2
- package/src/components/common/Input/input.tsx +6 -2
- package/src/components/common/KeyValuePairs/components/KeyElType/keyElType.tsx +1 -1
- package/src/components/common/KeyValuePairs/components/ValueElType/valueElType.tsx +1 -1
- package/src/components/common/LoginDialog/constants.ts +2 -2
- package/src/components/common/MDXMarkdown/components/Section/mdxSection.styles.ts +4 -8
- package/src/components/common/Paper/components/FluidPaper/fluidPaper.styles.ts +2 -2
- package/src/components/common/Paper/paper.styles.ts +24 -24
- package/src/components/common/Progress/components/CircularProgress/components/CircularProgressTrack/circularProgressTrack.styles.ts +6 -12
- package/src/components/common/Section/components/CollapsableSection/collapsableSection.styles.ts +6 -5
- package/src/components/common/Section/components/CollapsableSection/collapsableSection.tsx +11 -8
- package/src/components/common/Section/components/SectionTitle/sectionTitle.tsx +3 -2
- package/src/components/common/Section/section.styles.ts +5 -5
- package/src/components/common/Socials/socials.styles.ts +3 -3
- package/src/components/common/StatusIcon/statusIcon.styles.ts +13 -12
- package/src/components/common/Tag/tag.styles.ts +4 -3
- package/src/components/common/Tag/tag.tsx +14 -11
- package/src/components/common/Title/title.tsx +1 -1
- package/src/components/common/Typography/TypographyWordBreak/TypographyWordBreak.tsx +2 -1
- package/src/styles/common/constants/app.ts +3 -0
- package/src/styles/common/constants/colorMixes.ts +1 -0
- package/src/styles/common/constants/font.ts +18 -0
- package/src/styles/common/constants/palette.ts +45 -45
- package/src/styles/common/constants/shadows.ts +3 -3
- package/src/styles/common/mixins/breakpoints.ts +19 -14
- package/src/styles/common/mui/typography.ts +26 -14
- package/src/theme/common/breakpoints.ts +16 -38
- package/src/theme/common/components.ts +1046 -1249
- package/src/theme/common/fontStyles.ts +17 -0
- package/src/theme/common/palette.ts +30 -75
- package/src/theme/common/typography.ts +85 -147
- package/src/theme/components/muiAlert.ts +96 -97
- package/src/theme/components/muiAlertTitle.ts +2 -2
- package/src/theme/components/muiTableCell.ts +44 -47
- package/src/theme/theme.ts +25 -107
- package/src/theme/types.ts +5 -0
- package/tests/theme.test.ts +465 -0
- package/tests/tsconfig.json +1 -1
- package/types/data-explorer-ui.d.ts +73 -48
- package/lib/styles/common/mixins/colors.d.ts +0 -25
- package/lib/styles/common/mixins/colors.js +0 -32
- package/lib/styles/common/mixins/fonts.d.ts +0 -16
- package/lib/styles/common/mixins/fonts.js +0 -30
- package/src/styles/common/mixins/colors.ts +0 -71
- package/src/styles/common/mixins/fonts.ts +0 -52
package/src/components/Layout/components/Sidebar/components/SidebarButton/sidebarButton.styles.ts
CHANGED
|
@@ -1,33 +1,30 @@
|
|
|
1
1
|
import styled from "@emotion/styled";
|
|
2
|
+
import { PALETTE } from "../../../../../../styles/common/constants/palette";
|
|
2
3
|
import {
|
|
3
|
-
|
|
4
|
-
|
|
4
|
+
bpUpMd,
|
|
5
|
+
bpUpSm,
|
|
5
6
|
} from "../../../../../../styles/common/mixins/breakpoints";
|
|
6
|
-
import {
|
|
7
|
-
primaryMain,
|
|
8
|
-
white,
|
|
9
|
-
} from "../../../../../../styles/common/mixins/colors";
|
|
10
7
|
import { ButtonSecondary } from "../../../../../common/Button/components/ButtonSecondary/buttonSecondary";
|
|
11
8
|
|
|
12
9
|
export const SidebarButton = styled(ButtonSecondary)`
|
|
13
10
|
grid-column: 1 / -1;
|
|
14
11
|
padding: 10px;
|
|
15
12
|
|
|
16
|
-
${
|
|
13
|
+
${bpUpSm} {
|
|
17
14
|
grid-column: 2;
|
|
18
15
|
justify-self: flex-end;
|
|
19
16
|
}
|
|
20
17
|
|
|
21
|
-
${
|
|
18
|
+
${bpUpMd} {
|
|
22
19
|
display: none;
|
|
23
20
|
}
|
|
24
21
|
`;
|
|
25
22
|
|
|
26
23
|
export const Badge = styled.div`
|
|
27
24
|
align-items: center;
|
|
28
|
-
background-color: ${
|
|
25
|
+
background-color: ${PALETTE.PRIMARY_MAIN};
|
|
29
26
|
border-radius: 10px;
|
|
30
|
-
color: ${
|
|
27
|
+
color: ${PALETTE.COMMON_WHITE};
|
|
31
28
|
display: flex;
|
|
32
29
|
flex: none;
|
|
33
30
|
font-size: 12px;
|
package/src/components/Layout/components/Sidebar/components/SidebarDrawer/sidebarDrawer.styles.ts
CHANGED
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
import styled from "@emotion/styled";
|
|
2
2
|
import { Popover as MPopover } from "@mui/material";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
smokeLight,
|
|
6
|
-
white,
|
|
7
|
-
} from "../../../../../../styles/common/mixins/colors";
|
|
3
|
+
import { PALETTE } from "../../../../../../styles/common/constants/palette";
|
|
4
|
+
import { bpDownMd } from "../../../../../../styles/common/mixins/breakpoints";
|
|
8
5
|
import { IconButton as DXIconButton } from "../../../../../common/IconButton/iconButton";
|
|
9
6
|
|
|
10
7
|
export const TemporarySidebar = styled(MPopover)`
|
|
11
8
|
&.MuiPopover-root {
|
|
12
|
-
${
|
|
9
|
+
${bpDownMd} {
|
|
13
10
|
& .MuiPaper-root {
|
|
14
|
-
background-color: ${
|
|
11
|
+
background-color: ${PALETTE.SMOKE_LIGHT};
|
|
15
12
|
box-shadow: 0 1px 4px 0 transparent; // required; possible bug - box shadow "none" affects rendering of main content.
|
|
16
13
|
height: 100%;
|
|
17
14
|
max-height: 100%;
|
|
@@ -23,7 +20,7 @@ export const TemporarySidebar = styled(MPopover)`
|
|
|
23
20
|
`;
|
|
24
21
|
|
|
25
22
|
export const IconButton = styled(DXIconButton)`
|
|
26
|
-
color: ${
|
|
23
|
+
color: ${PALETTE.COMMON_WHITE};
|
|
27
24
|
left: calc(100% + 4px);
|
|
28
25
|
position: absolute;
|
|
29
26
|
top: 4px;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Typography } from "@mui/material";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { TYPOGRAPHY_PROPS } from "../../../../../../styles/common/mui/typography";
|
|
4
4
|
|
|
5
5
|
export interface SidebarLabelProps {
|
|
6
6
|
label: string;
|
|
@@ -8,7 +8,10 @@ export interface SidebarLabelProps {
|
|
|
8
8
|
|
|
9
9
|
export const SidebarLabel = ({ label }: SidebarLabelProps): JSX.Element => {
|
|
10
10
|
return (
|
|
11
|
-
<Typography
|
|
11
|
+
<Typography
|
|
12
|
+
component="div"
|
|
13
|
+
variant={TYPOGRAPHY_PROPS.VARIANT.BODY_LARGE_500}
|
|
14
|
+
>
|
|
12
15
|
{label}
|
|
13
16
|
</Typography>
|
|
14
17
|
);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import styled from "@emotion/styled";
|
|
2
|
-
import {
|
|
2
|
+
import { bpUpMd } from "../../../../../../styles/common/mixins/breakpoints";
|
|
3
3
|
|
|
4
4
|
interface Props {
|
|
5
5
|
headerHeight: number;
|
|
@@ -11,7 +11,7 @@ export const SidebarPositioner = styled("div")<Props>`
|
|
|
11
11
|
overflow: visible;
|
|
12
12
|
padding: 16px 0;
|
|
13
13
|
|
|
14
|
-
${
|
|
14
|
+
${bpUpMd} {
|
|
15
15
|
max-height: 100vh;
|
|
16
16
|
overflow: auto;
|
|
17
17
|
padding: ${({ headerHeight }) => headerHeight}px 0 0;
|
package/src/components/Layout/components/Sidebar/components/SidebarTools/sidebarTools.styles.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import styled from "@emotion/styled";
|
|
2
|
-
import {
|
|
2
|
+
import { bpUpMd } from "../../../../../../styles/common/mixins/breakpoints";
|
|
3
3
|
|
|
4
4
|
export const SidebarTools = styled.div`
|
|
5
5
|
display: grid;
|
|
@@ -12,7 +12,7 @@ export const SidebarTools = styled.div`
|
|
|
12
12
|
grid-column: 1 / -1; // SearchAllFilters component to utilize full width of the grid.
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
${
|
|
15
|
+
${bpUpMd} {
|
|
16
16
|
padding: 8px 16px;
|
|
17
17
|
}
|
|
18
18
|
`;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import styled from "@emotion/styled";
|
|
2
|
-
import {
|
|
2
|
+
import { PALETTE } from "../../../../styles/common/constants/palette";
|
|
3
3
|
|
|
4
4
|
export const Sidebar = styled.div`
|
|
5
5
|
align-self: stretch;
|
|
6
|
-
border-right: 1px solid ${
|
|
6
|
+
border-right: 1px solid ${PALETTE.SMOKE_MAIN};
|
|
7
7
|
box-sizing: content-box;
|
|
8
8
|
width: 264px;
|
|
9
9
|
`;
|
|
@@ -5,7 +5,6 @@ import {
|
|
|
5
5
|
useBreakpointHelper,
|
|
6
6
|
} from "../../../../hooks/useBreakpointHelper";
|
|
7
7
|
import { TEST_IDS } from "../../../../tests/testIds";
|
|
8
|
-
import { DESKTOP_SM } from "../../../../theme/common/breakpoints";
|
|
9
8
|
import { useDrawer } from "../../../common/Drawer/provider/hook";
|
|
10
9
|
import { SidebarDrawer } from "./components/SidebarDrawer/sidebarDrawer";
|
|
11
10
|
import { SidebarPositioner } from "./components/SidebarPositioner/sidebarPositioner";
|
|
@@ -13,11 +12,8 @@ import { Sidebar as PermanentSidebar } from "./sidebar.styles";
|
|
|
13
12
|
|
|
14
13
|
export const Sidebar = ({ children }: ChildrenProps): JSX.Element => {
|
|
15
14
|
const { onClose, open } = useDrawer();
|
|
16
|
-
const
|
|
17
|
-
|
|
18
|
-
DESKTOP_SM
|
|
19
|
-
);
|
|
20
|
-
const drawerSidebar = desktopSmDown;
|
|
15
|
+
const bpDownMd = useBreakpointHelper(BREAKPOINT_FN_NAME.DOWN, "md");
|
|
16
|
+
const drawerSidebar = bpDownMd;
|
|
21
17
|
const Bar = drawerSidebar ? SidebarDrawer : PermanentSidebar;
|
|
22
18
|
const barProps = drawerSidebar
|
|
23
19
|
? { onClose, open }
|
|
@@ -25,10 +21,10 @@ export const Sidebar = ({ children }: ChildrenProps): JSX.Element => {
|
|
|
25
21
|
|
|
26
22
|
// Closes an open, controlled drawer sidebar with a change of breakpoint.
|
|
27
23
|
useEffect(() => {
|
|
28
|
-
if (open && !
|
|
24
|
+
if (open && !bpDownMd) {
|
|
29
25
|
onClose();
|
|
30
26
|
}
|
|
31
|
-
}, [
|
|
27
|
+
}, [bpDownMd, onClose, open]);
|
|
32
28
|
|
|
33
29
|
return (
|
|
34
30
|
<Bar {...barProps}>
|
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
import NLink from "next/link";
|
|
7
7
|
import React, { ReactNode } from "react";
|
|
8
8
|
import { isValidUrl } from "../../../../common/utils";
|
|
9
|
+
import { TYPOGRAPHY_PROPS } from "../../../../styles/common/mui/typography";
|
|
9
10
|
import { CopyToClipboard } from "../../../common/CopyToClipboard/copyToClipboard";
|
|
10
11
|
import { TypographyProps } from "../../../common/Typography/common/entities";
|
|
11
12
|
import { BaseComponentProps } from "../../../types";
|
|
@@ -97,7 +98,7 @@ export const Link = ({
|
|
|
97
98
|
return (
|
|
98
99
|
<MTypography
|
|
99
100
|
component="span"
|
|
100
|
-
variant=
|
|
101
|
+
variant={TYPOGRAPHY_PROPS.VARIANT.INHERIT}
|
|
101
102
|
{...TypographyProps}
|
|
102
103
|
{...props}
|
|
103
104
|
>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { css } from "@emotion/react";
|
|
2
2
|
import styled from "@emotion/styled";
|
|
3
3
|
import { COLOR_MIXES } from "../../styles/common/constants/colorMixes";
|
|
4
|
-
import {
|
|
4
|
+
import { bpDownSm } from "../../styles/common/mixins/breakpoints";
|
|
5
5
|
import { Paper, PAPER_PANEL_STYLE } from "../common/Paper/paper";
|
|
6
6
|
import { LOADING_PANEL_STYLE, LoadingPanelStyle } from "./loading";
|
|
7
7
|
|
|
@@ -49,7 +49,7 @@ export const LoadingPaper = styled(Paper)<Props>`
|
|
|
49
49
|
css`
|
|
50
50
|
border-radius: 8px;
|
|
51
51
|
|
|
52
|
-
${theme
|
|
52
|
+
${bpDownSm({ theme })} {
|
|
53
53
|
border-left: none;
|
|
54
54
|
border-radius: 0;
|
|
55
55
|
border-right: none;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Fade, SvgIconProps, Typography } from "@mui/material";
|
|
2
2
|
import React from "react";
|
|
3
|
+
import { TYPOGRAPHY_PROPS } from "../../styles/common/mui/typography";
|
|
3
4
|
import { LoadingIcon } from "../common/CustomIcon/components/LoadingIcon/loadingIcon";
|
|
4
5
|
import { PAPER_PANEL_STYLE, PaperPanelStyle } from "../common/Paper/paper";
|
|
5
6
|
import { LoadingPaper, LoadingPositioner } from "./loading.styles";
|
|
@@ -56,7 +57,11 @@ export const Loading = ({
|
|
|
56
57
|
<LoadingPositioner panelStyle={panelStyle}>
|
|
57
58
|
<LoadingPaper panelStyle={panelStyle}>
|
|
58
59
|
<LoadingIcon color="primary" fontSize={iconSize} />
|
|
59
|
-
{text &&
|
|
60
|
+
{text && (
|
|
61
|
+
<Typography variant={TYPOGRAPHY_PROPS.VARIANT.BODY_400}>
|
|
62
|
+
{text}
|
|
63
|
+
</Typography>
|
|
64
|
+
)}
|
|
60
65
|
</LoadingPaper>
|
|
61
66
|
</LoadingPositioner>
|
|
62
67
|
</Fade>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Checkbox, Typography } from "@mui/material";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { TYPOGRAPHY_PROPS } from "../../../../../../styles/common/mui/typography";
|
|
4
4
|
import { CheckedIcon } from "../../../../../common/CustomIcon/components/CheckedIcon/checkedIcon";
|
|
5
5
|
import { UncheckedErrorIcon } from "../../../../../common/CustomIcon/components/UncheckedErrorIcon/uncheckedErrorIcon";
|
|
6
6
|
import { UncheckedIcon } from "../../../../../common/CustomIcon/components/UncheckedIcon/uncheckedIcon";
|
|
@@ -24,7 +24,9 @@ export const Consent = ({
|
|
|
24
24
|
icon={isError ? <UncheckedErrorIcon /> : <UncheckedIcon />}
|
|
25
25
|
onChange={handleConsent}
|
|
26
26
|
/>
|
|
27
|
-
<Typography variant={
|
|
27
|
+
<Typography variant={TYPOGRAPHY_PROPS.VARIANT.BODY_400}>
|
|
28
|
+
{children}
|
|
29
|
+
</Typography>
|
|
28
30
|
</StyledGrid>
|
|
29
31
|
);
|
|
30
32
|
};
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import styled from "@emotion/styled";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
textBodySmall400,
|
|
5
|
-
} from "../../styles/common/mixins/fonts";
|
|
6
|
-
import { TABLET } from "../../theme/common/breakpoints";
|
|
2
|
+
import { Typography } from "@mui/material";
|
|
3
|
+
import { bpUpSm } from "../../styles/common/mixins/breakpoints";
|
|
7
4
|
import { Section, SectionActions } from "../common/Section/section.styles";
|
|
8
5
|
|
|
9
6
|
export const LoginWrapper = styled.div`
|
|
@@ -20,7 +17,7 @@ export const LoginSection = styled(Section)`
|
|
|
20
17
|
gap: 24px 0;
|
|
21
18
|
padding: 32px;
|
|
22
19
|
|
|
23
|
-
${
|
|
20
|
+
${bpUpSm} {
|
|
24
21
|
padding: 32px;
|
|
25
22
|
}
|
|
26
23
|
`;
|
|
@@ -37,20 +34,9 @@ export const LoginSectionActions = styled(SectionActions)`
|
|
|
37
34
|
gap: 16px 0;
|
|
38
35
|
`;
|
|
39
36
|
|
|
40
|
-
export const
|
|
41
|
-
${textBody400};
|
|
42
|
-
`;
|
|
43
|
-
|
|
44
|
-
export const TermsOfService = styled.div`
|
|
45
|
-
${textBody400};
|
|
46
|
-
|
|
37
|
+
export const StyledTypography = styled(Typography)`
|
|
47
38
|
a {
|
|
48
39
|
color: inherit;
|
|
49
40
|
text-decoration: underline;
|
|
50
41
|
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
export const LoginWarning = styled.div`
|
|
54
|
-
${textBodySmall400};
|
|
55
|
-
color: ${({ theme }) => theme.palette.ink.light};
|
|
56
|
-
`;
|
|
42
|
+
` as typeof Typography;
|
|
@@ -2,6 +2,7 @@ import { Checkbox, Typography } from "@mui/material";
|
|
|
2
2
|
import React, { ChangeEvent, useCallback, useState } from "react";
|
|
3
3
|
import { useAuth } from "../../providers/authentication/auth/hook";
|
|
4
4
|
import { ProviderId } from "../../providers/authentication/common/types";
|
|
5
|
+
import { TYPOGRAPHY_PROPS } from "../../styles/common/mui/typography";
|
|
5
6
|
import { CheckedIcon } from "../common/CustomIcon/components/CheckedIcon/checkedIcon";
|
|
6
7
|
import { UncheckedErrorIcon } from "../common/CustomIcon/components/UncheckedErrorIcon/uncheckedErrorIcon";
|
|
7
8
|
import { UncheckedIcon } from "../common/CustomIcon/components/UncheckedIcon/uncheckedIcon";
|
|
@@ -12,10 +13,8 @@ import {
|
|
|
12
13
|
LoginAgreement,
|
|
13
14
|
LoginSection,
|
|
14
15
|
LoginSectionActions,
|
|
15
|
-
LoginText,
|
|
16
|
-
LoginWarning,
|
|
17
16
|
LoginWrapper,
|
|
18
|
-
|
|
17
|
+
StyledTypography,
|
|
19
18
|
} from "./login.styles";
|
|
20
19
|
import { Props } from "./types";
|
|
21
20
|
|
|
@@ -55,10 +54,21 @@ export const Login = <P,>({
|
|
|
55
54
|
<RoundedPaper>
|
|
56
55
|
<LoginSection>
|
|
57
56
|
<SectionContent>
|
|
58
|
-
<Typography
|
|
57
|
+
<Typography
|
|
58
|
+
color={TYPOGRAPHY_PROPS.COLOR.INK_MAIN}
|
|
59
|
+
component="h3"
|
|
60
|
+
variant={TYPOGRAPHY_PROPS.VARIANT.HEADING}
|
|
61
|
+
>
|
|
59
62
|
{title}
|
|
60
63
|
</Typography>
|
|
61
|
-
{text &&
|
|
64
|
+
{text && (
|
|
65
|
+
<Typography
|
|
66
|
+
component="div"
|
|
67
|
+
variant={TYPOGRAPHY_PROPS.VARIANT.BODY_400}
|
|
68
|
+
>
|
|
69
|
+
{text}
|
|
70
|
+
</Typography>
|
|
71
|
+
)}
|
|
62
72
|
</SectionContent>
|
|
63
73
|
<LoginSectionActions>
|
|
64
74
|
{termsOfService && (
|
|
@@ -68,7 +78,12 @@ export const Login = <P,>({
|
|
|
68
78
|
icon={isError ? <UncheckedErrorIcon /> : <UncheckedIcon />}
|
|
69
79
|
onChange={handleChange}
|
|
70
80
|
/>
|
|
71
|
-
<
|
|
81
|
+
<StyledTypography
|
|
82
|
+
component="div"
|
|
83
|
+
variant={TYPOGRAPHY_PROPS.VARIANT.BODY_400}
|
|
84
|
+
>
|
|
85
|
+
{termsOfService}
|
|
86
|
+
</StyledTypography>
|
|
72
87
|
</LoginAgreement>
|
|
73
88
|
)}
|
|
74
89
|
{providers?.map((provider) => (
|
|
@@ -83,7 +98,15 @@ export const Login = <P,>({
|
|
|
83
98
|
</LoginSectionActions>
|
|
84
99
|
</LoginSection>
|
|
85
100
|
</RoundedPaper>
|
|
86
|
-
{warning &&
|
|
101
|
+
{warning && (
|
|
102
|
+
<Typography
|
|
103
|
+
color={TYPOGRAPHY_PROPS.COLOR.INK_LIGHT}
|
|
104
|
+
component="div"
|
|
105
|
+
variant={TYPOGRAPHY_PROPS.VARIANT.BODY_SMALL_400}
|
|
106
|
+
>
|
|
107
|
+
{warning}
|
|
108
|
+
</Typography>
|
|
109
|
+
)}
|
|
87
110
|
</LoginWrapper>
|
|
88
111
|
);
|
|
89
112
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styled from "@emotion/styled";
|
|
2
|
+
import { FONT } from "../../../../styles/common/constants/font";
|
|
2
3
|
import { PALETTE } from "../../../../styles/common/constants/palette";
|
|
3
|
-
import { textBody500 } from "../../../../styles/common/mixins/fonts";
|
|
4
4
|
|
|
5
5
|
export const StyledTable = styled("table")`
|
|
6
6
|
border-collapse: collapse;
|
|
@@ -30,8 +30,8 @@ export const StyledTable = styled("table")`
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
th {
|
|
33
|
-
${textBody500}
|
|
34
33
|
border-bottom: 1px solid ${PALETTE.SMOKE_MAIN};
|
|
34
|
+
font: ${FONT.BODY_500};
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
td {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import styled from "@emotion/styled";
|
|
2
|
-
import {
|
|
2
|
+
import { PALETTE } from "../../styles/common/constants/palette";
|
|
3
3
|
import { Section, SectionContent } from "../common/Section/section.styles";
|
|
4
4
|
|
|
5
5
|
export const StyledSection = styled(Section)`
|
|
6
6
|
align-items: center;
|
|
7
|
-
background-color: ${
|
|
7
|
+
background-color: ${PALETTE.COMMON_WHITE};
|
|
8
8
|
padding: 40px !important; /* Overrides section padding. */
|
|
9
9
|
`;
|
|
10
10
|
|
|
@@ -24,7 +24,7 @@ export const NoResults = ({
|
|
|
24
24
|
{description && (
|
|
25
25
|
<Typography
|
|
26
26
|
color={TYPOGRAPHY_PROPS.COLOR.INK_LIGHT}
|
|
27
|
-
variant={TYPOGRAPHY_PROPS.VARIANT.
|
|
27
|
+
variant={TYPOGRAPHY_PROPS.VARIANT.BODY_400_2_LINES}
|
|
28
28
|
>
|
|
29
29
|
{description}
|
|
30
30
|
</Typography>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Link as EmailLink, Typography } from "@mui/material";
|
|
2
2
|
import Link from "next/link";
|
|
3
3
|
import React from "react";
|
|
4
|
+
import { TYPOGRAPHY_PROPS } from "../../../../styles/common/mui/typography";
|
|
4
5
|
import { CollapsableSection } from "../../../common/Section/components/CollapsableSection/collapsableSection";
|
|
5
6
|
import { SectionDetailsEmpty } from "../../../common/Section/components/SectionDetailsEmpty/sectionDetailsEmpty";
|
|
6
7
|
import { SectionContentListItem } from "../../../common/Section/section.styles";
|
|
@@ -16,7 +17,12 @@ export const Contacts = ({ contacts }: ContactsProps): JSX.Element => {
|
|
|
16
17
|
{contacts ? (
|
|
17
18
|
contacts.map(({ email, institution, name }, c) => (
|
|
18
19
|
<SectionContentListItem key={`${name}${c}`}>
|
|
19
|
-
<Typography
|
|
20
|
+
<Typography
|
|
21
|
+
fontWeight={500}
|
|
22
|
+
variant={TYPOGRAPHY_PROPS.VARIANT.BODY_400_2_LINES}
|
|
23
|
+
>
|
|
24
|
+
{name}
|
|
25
|
+
</Typography>
|
|
20
26
|
{institution && <span>{institution}</span>}
|
|
21
27
|
{email && (
|
|
22
28
|
<Link href={`mailto:${email}`} legacyBehavior passHref>
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Typography } from "@mui/material";
|
|
2
2
|
import React, { Fragment } from "react";
|
|
3
|
+
import { TYPOGRAPHY_PROPS } from "../../../../styles/common/mui/typography";
|
|
3
4
|
import {
|
|
4
5
|
Key,
|
|
5
6
|
KeyValuePairs,
|
|
@@ -18,10 +19,14 @@ export interface DetailsProps {
|
|
|
18
19
|
* Wrapper element around the key.
|
|
19
20
|
* @param props - Set of values accepted by this component as props.
|
|
20
21
|
* @param props.children - Key component children.
|
|
21
|
-
* @returns typography component
|
|
22
|
+
* @returns typography component.
|
|
22
23
|
*/
|
|
23
24
|
function renderKey(props: { children: Key }): JSX.Element {
|
|
24
|
-
return
|
|
25
|
+
return (
|
|
26
|
+
<Typography color={TYPOGRAPHY_PROPS.COLOR.INK_LIGHT}>
|
|
27
|
+
{props.children}
|
|
28
|
+
</Typography>
|
|
29
|
+
);
|
|
25
30
|
}
|
|
26
31
|
|
|
27
32
|
export const Details = ({
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import styled from "@emotion/styled";
|
|
2
|
+
import { PALETTE } from "../../../../styles/common/constants/palette";
|
|
2
3
|
|
|
3
4
|
export const SupplementaryList = styled.div`
|
|
4
5
|
display: grid;
|
|
@@ -7,7 +8,7 @@ export const SupplementaryList = styled.div`
|
|
|
7
8
|
`;
|
|
8
9
|
|
|
9
10
|
export const Marker = styled.span`
|
|
10
|
-
color: ${
|
|
11
|
+
color: ${PALETTE.PRIMARY_MAIN};
|
|
11
12
|
text-align: right;
|
|
12
13
|
`;
|
|
13
14
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styled from "@emotion/styled";
|
|
2
2
|
import { StepContent } from "@mui/material";
|
|
3
|
-
import {
|
|
3
|
+
import { PALETTE } from "../../../../../../styles/common/constants/palette";
|
|
4
4
|
import { sectionPadding } from "../../../../../common/Section/section.styles";
|
|
5
5
|
|
|
6
6
|
export const StyledStepContent = styled(StepContent)`
|
|
@@ -8,7 +8,7 @@ export const StyledStepContent = styled(StepContent)`
|
|
|
8
8
|
.MuiCollapse-wrapperInner.MuiCollapse-vertical {
|
|
9
9
|
> .MuiGrid-root {
|
|
10
10
|
${sectionPadding};
|
|
11
|
-
border-top: 1px solid ${
|
|
11
|
+
border-top: 1px solid ${PALETTE.SMOKE_MAIN};
|
|
12
12
|
display: grid;
|
|
13
13
|
gap: 24px;
|
|
14
14
|
justify-items: flex-start;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import styled from "@emotion/styled";
|
|
2
2
|
import { SvgIcon } from "@mui/material";
|
|
3
|
-
import {
|
|
4
|
-
inkLight,
|
|
5
|
-
smokeDark,
|
|
6
|
-
} from "../../../../../../../../styles/common/mixins/colors";
|
|
3
|
+
import { PALETTE } from "../../../../../../../../styles/common/constants/palette";
|
|
7
4
|
|
|
8
5
|
export const StyledSvgIcon = styled(SvgIcon)`
|
|
9
6
|
&.MuiSvgIcon-root {
|
|
@@ -12,8 +9,8 @@ export const StyledSvgIcon = styled(SvgIcon)`
|
|
|
12
9
|
padding: 4px;
|
|
13
10
|
|
|
14
11
|
&.Mui-completed {
|
|
15
|
-
border: 2px solid ${
|
|
16
|
-
color: ${
|
|
12
|
+
border: 2px solid ${PALETTE.SMOKE_DARK};
|
|
13
|
+
color: ${PALETTE.INK_LIGHT};
|
|
17
14
|
}
|
|
18
15
|
}
|
|
19
16
|
`;
|
|
@@ -1,31 +1,27 @@
|
|
|
1
1
|
import styled from "@emotion/styled";
|
|
2
2
|
import { StepIcon } from "@mui/material";
|
|
3
|
-
import {
|
|
4
|
-
inkLight,
|
|
5
|
-
primaryMain,
|
|
6
|
-
smokeDark,
|
|
7
|
-
} from "../../../../../../styles/common/mixins/colors";
|
|
3
|
+
import { PALETTE } from "../../../../../../styles/common/constants/palette";
|
|
8
4
|
|
|
9
5
|
export const StyledStepIcon = styled(StepIcon)`
|
|
10
6
|
&.MuiSvgIcon-root {
|
|
11
|
-
border: 2px solid ${
|
|
7
|
+
border: 2px solid ${PALETTE.SMOKE_DARK};
|
|
12
8
|
border-radius: 50%;
|
|
13
9
|
color: transparent;
|
|
14
10
|
height: 32px;
|
|
15
11
|
width: 32px;
|
|
16
12
|
|
|
17
13
|
.MuiStepIcon-text {
|
|
18
|
-
fill: ${
|
|
14
|
+
fill: ${PALETTE.INK_LIGHT};
|
|
19
15
|
font-size: 13px;
|
|
20
16
|
font-weight: 600;
|
|
21
17
|
line-height: 24px;
|
|
22
18
|
}
|
|
23
19
|
|
|
24
20
|
&.Mui-active {
|
|
25
|
-
border-color: ${
|
|
21
|
+
border-color: ${PALETTE.PRIMARY_MAIN};
|
|
26
22
|
|
|
27
23
|
.MuiStepIcon-text {
|
|
28
|
-
fill: ${
|
|
24
|
+
fill: ${PALETTE.PRIMARY_MAIN};
|
|
29
25
|
}
|
|
30
26
|
}
|
|
31
27
|
}
|
package/src/components/Stepper/components/Step/components/StepLabel/components/Label/constants.ts
CHANGED
|
@@ -4,5 +4,5 @@ import { TYPOGRAPHY_PROPS as MUI_TYPOGRAPHY_PROPS } from "../../../../../../../.
|
|
|
4
4
|
export const TYPOGRAPHY_PROPS: TypographyProps = {
|
|
5
5
|
color: MUI_TYPOGRAPHY_PROPS.COLOR.INK_MAIN,
|
|
6
6
|
component: "div",
|
|
7
|
-
variant: MUI_TYPOGRAPHY_PROPS.VARIANT.
|
|
7
|
+
variant: MUI_TYPOGRAPHY_PROPS.VARIANT.HEADING_XSMALL,
|
|
8
8
|
};
|
package/src/components/Stepper/components/Step/components/StepLabel/components/Optional/constants.ts
CHANGED
|
@@ -3,5 +3,5 @@ import { TYPOGRAPHY_PROPS as MUI_TYPOGRAPHY_PROPS } from "../../../../../../../.
|
|
|
3
3
|
|
|
4
4
|
export const TYPOGRAPHY_PROPS: TypographyProps = {
|
|
5
5
|
color: MUI_TYPOGRAPHY_PROPS.COLOR.INK_LIGHT,
|
|
6
|
-
variant: MUI_TYPOGRAPHY_PROPS.VARIANT.
|
|
6
|
+
variant: MUI_TYPOGRAPHY_PROPS.VARIANT.BODY_400,
|
|
7
7
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { css } from "@emotion/react";
|
|
2
2
|
import styled from "@emotion/styled";
|
|
3
3
|
import { Step } from "@mui/material";
|
|
4
|
-
import {
|
|
4
|
+
import { PALETTE } from "../../../../styles/common/constants/palette";
|
|
5
5
|
import { sectionPadding } from "../../../common/Section/section.styles";
|
|
6
6
|
|
|
7
7
|
export const StyledStep = styled(Step)`
|
|
8
8
|
&.MuiStep-root {
|
|
9
9
|
&.MuiStep-vertical {
|
|
10
|
-
background-color: ${
|
|
10
|
+
background-color: ${PALETTE.SMOKE_LIGHTEST};
|
|
11
11
|
|
|
12
12
|
.MuiStepLabel-root {
|
|
13
13
|
${sectionPadding};
|
|
@@ -20,13 +20,13 @@ export const StyledStep = styled(Step)`
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
&.Mui-completed {
|
|
23
|
-
background-color: ${
|
|
23
|
+
background-color: ${PALETTE.COMMON_WHITE};
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
${(
|
|
27
|
-
|
|
26
|
+
${({ active }) =>
|
|
27
|
+
active &&
|
|
28
28
|
css`
|
|
29
|
-
background-color: ${
|
|
29
|
+
background-color: ${PALETTE.COMMON_WHITE};
|
|
30
30
|
`};
|
|
31
31
|
}
|
|
32
32
|
}
|