@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
|
@@ -1,46 +1,39 @@
|
|
|
1
1
|
import { DropDownIcon } from "../../components/common/Form/components/Select/components/DropDownIcon/dropDownIcon";
|
|
2
|
+
import { APP } from "../../styles/common/constants/app";
|
|
2
3
|
import { COLOR_MIXES } from "../../styles/common/constants/colorMixes";
|
|
4
|
+
import { FONT } from "../../styles/common/constants/font";
|
|
3
5
|
import { PALETTE } from "../../styles/common/constants/palette";
|
|
4
6
|
import { SHADOWS } from "../../styles/common/constants/shadows";
|
|
7
|
+
import { bpUpLg, bpUpSm, bpUpXs } from "../../styles/common/mixins/breakpoints";
|
|
5
8
|
import { BUTTON_PROPS } from "../../styles/common/mui/button";
|
|
6
9
|
import { CHIP_PROPS } from "../../styles/common/mui/chip";
|
|
7
10
|
import { OUTLINED_INPUT_PROPS } from "../../styles/common/mui/outlinedInput";
|
|
8
11
|
import { TOGGLE_BUTTON_PROPS } from "../../styles/common/mui/toggleButton";
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
12
|
+
import { TYPOGRAPHY_PROPS } from "../../styles/common/mui/typography";
|
|
13
|
+
import * as C from "../components";
|
|
11
14
|
// Constants
|
|
12
15
|
const FLEX_START = "flex-start";
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
boxShadow: `inset 0
|
|
29
|
-
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
30
|
-
"&:before": {
|
|
31
|
-
display: "none",
|
|
32
|
-
},
|
|
33
|
-
"&:nth-of-type(n+2)": {
|
|
34
|
-
boxShadow: `inset 0 -1px 0 0 ${theme.palette.smoke.main}`,
|
|
35
|
-
},
|
|
16
|
+
const MuiAccordion = {
|
|
17
|
+
defaultProps: {
|
|
18
|
+
disableGutters: true,
|
|
19
|
+
elevation: 0,
|
|
20
|
+
square: true,
|
|
21
|
+
},
|
|
22
|
+
styleOverrides: {
|
|
23
|
+
root: {
|
|
24
|
+
backgroundColor: "transparent",
|
|
25
|
+
boxShadow: `inset 0 1px 0 0 ${PALETTE.SMOKE_MAIN}, inset 0 -1px 0 0 ${PALETTE.SMOKE_MAIN}`,
|
|
26
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
27
|
+
"&:before": {
|
|
28
|
+
display: "none",
|
|
29
|
+
},
|
|
30
|
+
"&:nth-of-type(n+2)": {
|
|
31
|
+
boxShadow: `inset 0 -1px 0 0 ${PALETTE.SMOKE_MAIN}`,
|
|
36
32
|
},
|
|
37
33
|
},
|
|
38
|
-
}
|
|
34
|
+
},
|
|
39
35
|
};
|
|
40
|
-
|
|
41
|
-
* MuiAccordionDetails Component
|
|
42
|
-
*/
|
|
43
|
-
export const MuiAccordionDetails = {
|
|
36
|
+
const MuiAccordionDetails = {
|
|
44
37
|
styleOverrides: {
|
|
45
38
|
root: {
|
|
46
39
|
marginBottom: 16,
|
|
@@ -48,10 +41,7 @@ export const MuiAccordionDetails = {
|
|
|
48
41
|
},
|
|
49
42
|
},
|
|
50
43
|
};
|
|
51
|
-
|
|
52
|
-
* MuiAccordionSummary Component
|
|
53
|
-
*/
|
|
54
|
-
export const MuiAccordionSummary = {
|
|
44
|
+
const MuiAccordionSummary = {
|
|
55
45
|
styleOverrides: {
|
|
56
46
|
content: {
|
|
57
47
|
margin: "16px 0",
|
|
@@ -63,10 +53,7 @@ export const MuiAccordionSummary = {
|
|
|
63
53
|
},
|
|
64
54
|
},
|
|
65
55
|
};
|
|
66
|
-
|
|
67
|
-
* MuiAppBar Component
|
|
68
|
-
*/
|
|
69
|
-
export const MuiAppBar = {
|
|
56
|
+
const MuiAppBar = {
|
|
70
57
|
defaultProps: {
|
|
71
58
|
color: "default",
|
|
72
59
|
elevation: 0,
|
|
@@ -78,11 +65,7 @@ export const MuiAppBar = {
|
|
|
78
65
|
},
|
|
79
66
|
},
|
|
80
67
|
};
|
|
81
|
-
|
|
82
|
-
* MuiBackdrop Component
|
|
83
|
-
* @returns MuiBackdrop component theme styles.
|
|
84
|
-
*/
|
|
85
|
-
export const MuiBackdrop = {
|
|
68
|
+
const MuiBackdrop = {
|
|
86
69
|
styleOverrides: {
|
|
87
70
|
invisible: {
|
|
88
71
|
backgroundColor: "transparent",
|
|
@@ -92,507 +75,450 @@ export const MuiBackdrop = {
|
|
|
92
75
|
},
|
|
93
76
|
},
|
|
94
77
|
};
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
li: {
|
|
104
|
-
...theme.typography[TEXT_BODY_SMALL_400],
|
|
105
|
-
margin: 0,
|
|
106
|
-
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
107
|
-
"& .MuiLink-root": {
|
|
108
|
-
color: "inherit",
|
|
109
|
-
},
|
|
110
|
-
"& .MuiTypography-root": {
|
|
111
|
-
color: "inherit",
|
|
112
|
-
font: "inherit",
|
|
113
|
-
},
|
|
114
|
-
},
|
|
115
|
-
ol: {
|
|
116
|
-
gap: 2,
|
|
117
|
-
},
|
|
118
|
-
root: {
|
|
119
|
-
color: theme.palette.ink.light,
|
|
78
|
+
const MuiBreadcrumbs = {
|
|
79
|
+
styleOverrides: {
|
|
80
|
+
li: {
|
|
81
|
+
font: FONT.BODY_SMALL_400,
|
|
82
|
+
margin: 0,
|
|
83
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
84
|
+
"& .MuiLink-root": {
|
|
85
|
+
color: "inherit",
|
|
120
86
|
},
|
|
121
|
-
|
|
122
|
-
|
|
87
|
+
"& .MuiTypography-root": {
|
|
88
|
+
color: "inherit",
|
|
89
|
+
font: "inherit",
|
|
123
90
|
},
|
|
124
91
|
},
|
|
125
|
-
|
|
92
|
+
ol: {
|
|
93
|
+
gap: 2,
|
|
94
|
+
},
|
|
95
|
+
root: {
|
|
96
|
+
color: PALETTE.INK_LIGHT,
|
|
97
|
+
},
|
|
98
|
+
separator: {
|
|
99
|
+
margin: 0,
|
|
100
|
+
},
|
|
101
|
+
},
|
|
126
102
|
};
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
backgroundColor: PALETTE.PRIMARY_MAIN,
|
|
103
|
+
const MuiButton = {
|
|
104
|
+
defaultProps: {
|
|
105
|
+
disableRipple: true,
|
|
106
|
+
disableTouchRipple: true,
|
|
107
|
+
},
|
|
108
|
+
styleOverrides: {
|
|
109
|
+
containedPrimary: {
|
|
110
|
+
backgroundColor: PALETTE.PRIMARY_MAIN,
|
|
111
|
+
boxShadow: `0 1px 0 0 ${COLOR_MIXES.COMMON_BLACK_08}, inset 0 -1px 0 0 ${COLOR_MIXES.COMMON_BLACK_20}`,
|
|
112
|
+
color: PALETTE.COMMON_WHITE,
|
|
113
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
114
|
+
"&:hover": {
|
|
115
|
+
backgroundColor: PALETTE.PRIMARY_DARK,
|
|
141
116
|
boxShadow: `0 1px 0 0 ${COLOR_MIXES.COMMON_BLACK_08}, inset 0 -1px 0 0 ${COLOR_MIXES.COMMON_BLACK_20}`,
|
|
117
|
+
},
|
|
118
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
119
|
+
"&:active": {
|
|
120
|
+
backgroundColor: PALETTE.PRIMARY_DARK,
|
|
121
|
+
boxShadow: `0 1px 0 0 ${COLOR_MIXES.COMMON_BLACK_08}, inset 0 -1px 0 0 ${COLOR_MIXES.COMMON_BLACK_20}`,
|
|
122
|
+
},
|
|
123
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
124
|
+
"&.Mui-disabled": {
|
|
125
|
+
backgroundColor: PALETTE.PRIMARY_MAIN,
|
|
126
|
+
boxShadow: "none",
|
|
142
127
|
color: PALETTE.COMMON_WHITE,
|
|
143
|
-
|
|
144
|
-
"&:hover": {
|
|
145
|
-
backgroundColor: PALETTE.PRIMARY_DARK,
|
|
146
|
-
boxShadow: `0 1px 0 0 ${COLOR_MIXES.COMMON_BLACK_08}, inset 0 -1px 0 0 ${COLOR_MIXES.COMMON_BLACK_20}`,
|
|
147
|
-
},
|
|
148
|
-
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
149
|
-
"&:active": {
|
|
150
|
-
backgroundColor: PALETTE.PRIMARY_DARK,
|
|
151
|
-
boxShadow: `0 1px 0 0 ${COLOR_MIXES.COMMON_BLACK_08}, inset 0 -1px 0 0 ${COLOR_MIXES.COMMON_BLACK_20}`,
|
|
152
|
-
},
|
|
153
|
-
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
154
|
-
"&.Mui-disabled": {
|
|
155
|
-
backgroundColor: PALETTE.PRIMARY_MAIN,
|
|
156
|
-
boxShadow: "none",
|
|
157
|
-
color: PALETTE.COMMON_WHITE,
|
|
158
|
-
opacity: 0.5,
|
|
159
|
-
},
|
|
128
|
+
opacity: 0.5,
|
|
160
129
|
},
|
|
161
|
-
|
|
130
|
+
},
|
|
131
|
+
containedSecondary: {
|
|
132
|
+
backgroundColor: PALETTE.COMMON_WHITE,
|
|
133
|
+
boxShadow: `inset 0 0 0 1px ${PALETTE.SMOKE_DARK}, 0 1px 0 0 ${COLOR_MIXES.COMMON_BLACK_05}`,
|
|
134
|
+
color: PALETTE.INK_MAIN,
|
|
135
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
136
|
+
"&.Mui-focusVisible": {
|
|
162
137
|
backgroundColor: PALETTE.COMMON_WHITE,
|
|
163
138
|
boxShadow: `inset 0 0 0 1px ${PALETTE.SMOKE_DARK}, 0 1px 0 0 ${COLOR_MIXES.COMMON_BLACK_05}`,
|
|
139
|
+
},
|
|
140
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
141
|
+
"&:hover": {
|
|
142
|
+
backgroundColor: PALETTE.SMOKE_LIGHTEST,
|
|
143
|
+
boxShadow: `inset 0 0 0 1px ${PALETTE.SMOKE_DARK}, 0 1px 0 0 ${COLOR_MIXES.COMMON_BLACK_05}`,
|
|
144
|
+
},
|
|
145
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
146
|
+
"&:active": {
|
|
147
|
+
backgroundColor: PALETTE.SMOKE_LIGHTEST,
|
|
148
|
+
boxShadow: `inset 0 0 0 1px ${PALETTE.SMOKE_DARK}, 0 1px 0 0 ${COLOR_MIXES.COMMON_BLACK_05}`,
|
|
149
|
+
},
|
|
150
|
+
"&:disabled": {
|
|
151
|
+
backgroundColor: PALETTE.COMMON_WHITE,
|
|
152
|
+
boxShadow: `inset 0 0 0 1px ${PALETTE.SMOKE_DARK}`,
|
|
164
153
|
color: PALETTE.INK_MAIN,
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
},
|
|
175
|
-
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
176
|
-
"&:active": {
|
|
177
|
-
backgroundColor: PALETTE.SMOKE_LIGHTEST,
|
|
178
|
-
boxShadow: `inset 0 0 0 1px ${PALETTE.SMOKE_DARK}, 0 1px 0 0 ${COLOR_MIXES.COMMON_BLACK_05}`,
|
|
154
|
+
opacity: 0.5,
|
|
155
|
+
},
|
|
156
|
+
},
|
|
157
|
+
endIcon: {
|
|
158
|
+
margin: 0,
|
|
159
|
+
variants: [
|
|
160
|
+
{
|
|
161
|
+
props: { size: BUTTON_PROPS.SIZE.LARGE },
|
|
162
|
+
style: { marginRight: -4 },
|
|
179
163
|
},
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
color: PALETTE.INK_MAIN,
|
|
184
|
-
opacity: 0.5,
|
|
164
|
+
{
|
|
165
|
+
props: { size: BUTTON_PROPS.SIZE.MEDIUM },
|
|
166
|
+
style: { marginRight: -4 },
|
|
185
167
|
},
|
|
168
|
+
],
|
|
169
|
+
},
|
|
170
|
+
outlinedSecondary: {
|
|
171
|
+
backgroundColor: "transparent",
|
|
172
|
+
border: "none",
|
|
173
|
+
boxShadow: `inset 0 0 0 1px ${COLOR_MIXES.INK_MAIN_32}`,
|
|
174
|
+
color: PALETTE.INK_MAIN,
|
|
175
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
176
|
+
"&:hover": {
|
|
177
|
+
backgroundColor: "transparent",
|
|
178
|
+
border: "none",
|
|
179
|
+
boxShadow: `inset 0 0 0 1px ${COLOR_MIXES.INK_MAIN_64}`,
|
|
186
180
|
},
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
variants: [
|
|
190
|
-
{
|
|
191
|
-
props: { size: BUTTON_PROPS.SIZE.LARGE },
|
|
192
|
-
style: { marginRight: -4 },
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
props: { size: BUTTON_PROPS.SIZE.MEDIUM },
|
|
196
|
-
style: { marginRight: -4 },
|
|
197
|
-
},
|
|
198
|
-
],
|
|
199
|
-
},
|
|
200
|
-
outlinedSecondary: {
|
|
181
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
182
|
+
"&:disabled": {
|
|
201
183
|
backgroundColor: "transparent",
|
|
202
184
|
border: "none",
|
|
203
185
|
boxShadow: `inset 0 0 0 1px ${COLOR_MIXES.INK_MAIN_32}`,
|
|
204
|
-
color:
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
186
|
+
color: PALETTE.INK_MAIN,
|
|
187
|
+
opacity: 0.5,
|
|
188
|
+
},
|
|
189
|
+
},
|
|
190
|
+
root: {
|
|
191
|
+
font: FONT.BODY_500,
|
|
192
|
+
gap: 4,
|
|
193
|
+
letterSpacing: "normal",
|
|
194
|
+
padding: "10px 16px",
|
|
195
|
+
textTransform: "capitalize",
|
|
196
|
+
},
|
|
197
|
+
startIcon: {
|
|
198
|
+
margin: 0,
|
|
199
|
+
variants: [
|
|
200
|
+
{
|
|
201
|
+
props: { size: BUTTON_PROPS.SIZE.LARGE },
|
|
202
|
+
style: { marginLeft: -4 },
|
|
210
203
|
},
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
border: "none",
|
|
215
|
-
boxShadow: `inset 0 0 0 1px ${COLOR_MIXES.INK_MAIN_32}`,
|
|
216
|
-
color: theme.palette.ink.main,
|
|
217
|
-
opacity: 0.5,
|
|
204
|
+
{
|
|
205
|
+
props: { size: BUTTON_PROPS.SIZE.MEDIUM },
|
|
206
|
+
style: { marginLeft: -4 },
|
|
218
207
|
},
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
208
|
+
],
|
|
209
|
+
},
|
|
210
|
+
},
|
|
211
|
+
variants: [
|
|
212
|
+
{
|
|
213
|
+
props: { size: BUTTON_PROPS.SIZE.LARGE },
|
|
214
|
+
style: {
|
|
224
215
|
padding: "10px 16px",
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
{
|
|
231
|
-
props: { size: BUTTON_PROPS.SIZE.LARGE },
|
|
232
|
-
style: { marginLeft: -4 },
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
props: { size: BUTTON_PROPS.SIZE.MEDIUM },
|
|
236
|
-
style: { marginLeft: -4 },
|
|
216
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
217
|
+
".MuiButton-iconSizeLarge": {
|
|
218
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
219
|
+
".MuiSvgIcon-root": {
|
|
220
|
+
fontSize: "20px",
|
|
237
221
|
},
|
|
238
|
-
|
|
222
|
+
},
|
|
239
223
|
},
|
|
240
224
|
},
|
|
241
|
-
|
|
242
|
-
{
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
225
|
+
{
|
|
226
|
+
props: { size: BUTTON_PROPS.SIZE.MEDIUM },
|
|
227
|
+
style: { padding: "8px 16px" },
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
props: {
|
|
231
|
+
color: BUTTON_PROPS.COLOR.PRIMARY,
|
|
232
|
+
variant: BUTTON_PROPS.VARIANT.TEXT,
|
|
233
|
+
},
|
|
234
|
+
style: {
|
|
235
|
+
alignSelf: "center",
|
|
236
|
+
color: PALETTE.PRIMARY_MAIN,
|
|
237
|
+
minWidth: 0,
|
|
238
|
+
padding: 0,
|
|
239
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
240
|
+
"&:hover": {
|
|
241
|
+
backgroundColor: "transparent",
|
|
242
|
+
textDecoration: "underline",
|
|
243
|
+
textDecorationColor: "currentColor",
|
|
244
|
+
textDecorationSkipInk: "none",
|
|
245
|
+
textUnderlinePosition: "from-font",
|
|
253
246
|
},
|
|
254
247
|
},
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
props: {
|
|
251
|
+
variant: "activeNav", // associated with "nav" variant.
|
|
258
252
|
},
|
|
259
|
-
{
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
270
|
-
"&:hover": {
|
|
271
|
-
backgroundColor: "transparent",
|
|
272
|
-
textDecoration: "underline",
|
|
273
|
-
textDecorationColor: "currentColor",
|
|
274
|
-
textDecorationSkipInk: "none",
|
|
275
|
-
textUnderlinePosition: "from-font",
|
|
276
|
-
},
|
|
253
|
+
style: {
|
|
254
|
+
backgroundColor: PALETTE.SMOKE_LIGHT,
|
|
255
|
+
color: PALETTE.INK_MAIN,
|
|
256
|
+
font: FONT.BODY_500,
|
|
257
|
+
minWidth: 0,
|
|
258
|
+
textTransform: "capitalize",
|
|
259
|
+
whiteSpace: "nowrap",
|
|
260
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
261
|
+
"&:hover": {
|
|
262
|
+
backgroundColor: PALETTE.SMOKE_LIGHT,
|
|
277
263
|
},
|
|
278
264
|
},
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
style: {
|
|
284
|
-
...theme.typography[TEXT_BODY_500],
|
|
285
|
-
backgroundColor: theme.palette.smoke.light,
|
|
286
|
-
color: theme.palette.ink.main,
|
|
287
|
-
minWidth: 0,
|
|
288
|
-
textTransform: "capitalize",
|
|
289
|
-
whiteSpace: "nowrap",
|
|
290
|
-
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
291
|
-
"&:hover": {
|
|
292
|
-
backgroundColor: theme.palette.smoke.light,
|
|
293
|
-
},
|
|
294
|
-
},
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
props: {
|
|
268
|
+
variant: "backNav", // associated with "nav" variant.
|
|
295
269
|
},
|
|
296
|
-
{
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
whiteSpace: "nowrap",
|
|
306
|
-
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
307
|
-
"&:hover": {
|
|
308
|
-
backgroundColor: theme.palette.smoke.light,
|
|
309
|
-
},
|
|
270
|
+
style: {
|
|
271
|
+
color: PALETTE.INK_MAIN,
|
|
272
|
+
font: FONT.HEADING_SMALL,
|
|
273
|
+
minWidth: 0,
|
|
274
|
+
textTransform: "capitalize",
|
|
275
|
+
whiteSpace: "nowrap",
|
|
276
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
277
|
+
"&:hover": {
|
|
278
|
+
backgroundColor: PALETTE.SMOKE_LIGHT,
|
|
310
279
|
},
|
|
311
280
|
},
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
props: {
|
|
284
|
+
variant: "nav",
|
|
285
|
+
},
|
|
286
|
+
style: {
|
|
287
|
+
color: PALETTE.INK_MAIN,
|
|
288
|
+
font: FONT.BODY_500,
|
|
289
|
+
minWidth: 0,
|
|
290
|
+
textTransform: "capitalize",
|
|
291
|
+
whiteSpace: "nowrap",
|
|
292
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
293
|
+
"&:hover": {
|
|
294
|
+
backgroundColor: PALETTE.SMOKE_LIGHT,
|
|
326
295
|
},
|
|
327
296
|
},
|
|
328
|
-
|
|
329
|
-
|
|
297
|
+
},
|
|
298
|
+
],
|
|
330
299
|
};
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
styleOverrides: {
|
|
343
|
-
root: {
|
|
344
|
-
flex: "none",
|
|
345
|
-
fontFamily: theme.typography.fontFamily,
|
|
346
|
-
},
|
|
347
|
-
},
|
|
348
|
-
};
|
|
300
|
+
const MuiButtonBase = {
|
|
301
|
+
defaultProps: {
|
|
302
|
+
disableRipple: true,
|
|
303
|
+
disableTouchRipple: true,
|
|
304
|
+
},
|
|
305
|
+
styleOverrides: {
|
|
306
|
+
root: {
|
|
307
|
+
flex: "none",
|
|
308
|
+
fontFamily: APP.FONT_FAMILY,
|
|
309
|
+
},
|
|
310
|
+
},
|
|
349
311
|
};
|
|
350
|
-
|
|
351
|
-
* MuiCard Component
|
|
352
|
-
*/
|
|
353
|
-
export const MuiCard = {
|
|
312
|
+
const MuiCard = {
|
|
354
313
|
styleOverrides: {
|
|
355
314
|
root: {
|
|
356
315
|
borderRadius: 8,
|
|
357
316
|
},
|
|
358
317
|
},
|
|
359
318
|
};
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
root: {
|
|
372
|
-
color: theme.palette.smoke.dark,
|
|
373
|
-
padding: 0,
|
|
374
|
-
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
375
|
-
"&.Mui-disabled": {
|
|
376
|
-
color: theme.palette.smoke.dark,
|
|
377
|
-
},
|
|
319
|
+
const MuiCheckbox = {
|
|
320
|
+
defaultProps: {
|
|
321
|
+
size: "xsmall",
|
|
322
|
+
},
|
|
323
|
+
styleOverrides: {
|
|
324
|
+
root: {
|
|
325
|
+
color: PALETTE.SMOKE_DARK,
|
|
326
|
+
padding: 0,
|
|
327
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
328
|
+
"&.Mui-disabled": {
|
|
329
|
+
color: PALETTE.SMOKE_DARK,
|
|
378
330
|
},
|
|
379
331
|
},
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
style: {
|
|
386
|
-
fontSize: "18px",
|
|
387
|
-
},
|
|
332
|
+
},
|
|
333
|
+
variants: [
|
|
334
|
+
{
|
|
335
|
+
props: {
|
|
336
|
+
size: "xsmall",
|
|
388
337
|
},
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
};
|
|
392
|
-
/**
|
|
393
|
-
* MuiChip Component
|
|
394
|
-
* @param theme - Theme.
|
|
395
|
-
* @returns MuiChip component theme styles.
|
|
396
|
-
*/
|
|
397
|
-
export const MuiChip = (theme) => {
|
|
398
|
-
return {
|
|
399
|
-
defaultProps: {
|
|
400
|
-
size: "small",
|
|
401
|
-
},
|
|
402
|
-
styleOverrides: {
|
|
403
|
-
deleteIcon: {
|
|
404
|
-
color: "inherit",
|
|
405
|
-
margin: "0 -2px 0 0",
|
|
406
|
-
},
|
|
407
|
-
label: {
|
|
408
|
-
...theme.typography[TEXT_BODY_SMALL_400],
|
|
409
|
-
variants: [
|
|
410
|
-
{
|
|
411
|
-
props: { variant: "status" },
|
|
412
|
-
style: {
|
|
413
|
-
...theme.typography[TEXT_BODY_SMALL_500],
|
|
414
|
-
},
|
|
415
|
-
},
|
|
416
|
-
],
|
|
338
|
+
style: {
|
|
339
|
+
fontSize: "18px",
|
|
417
340
|
},
|
|
418
341
|
},
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
342
|
+
],
|
|
343
|
+
};
|
|
344
|
+
const MuiChip = {
|
|
345
|
+
defaultProps: {
|
|
346
|
+
size: "small",
|
|
347
|
+
},
|
|
348
|
+
styleOverrides: {
|
|
349
|
+
deleteIcon: {
|
|
350
|
+
color: "inherit",
|
|
351
|
+
margin: "0 -2px 0 0",
|
|
352
|
+
},
|
|
353
|
+
label: {
|
|
354
|
+
font: FONT.BODY_SMALL_400,
|
|
355
|
+
variants: [
|
|
356
|
+
{
|
|
357
|
+
props: { variant: "status" },
|
|
358
|
+
style: {
|
|
359
|
+
font: FONT.BODY_SMALL_500,
|
|
360
|
+
},
|
|
424
361
|
},
|
|
362
|
+
],
|
|
363
|
+
},
|
|
364
|
+
},
|
|
365
|
+
variants: [
|
|
366
|
+
{
|
|
367
|
+
props: { size: CHIP_PROPS.SIZE.SMALL },
|
|
368
|
+
style: {
|
|
369
|
+
height: 20,
|
|
425
370
|
},
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
props: { size: CHIP_PROPS.SIZE.MEDIUM },
|
|
374
|
+
style: {
|
|
375
|
+
height: 24,
|
|
431
376
|
},
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
props: { color: "default" },
|
|
380
|
+
style: {
|
|
381
|
+
backgroundColor: PALETTE.SMOKE_MAIN,
|
|
382
|
+
color: PALETTE.INK_MAIN,
|
|
438
383
|
},
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
props: { color: "error" },
|
|
387
|
+
style: {
|
|
388
|
+
backgroundColor: PALETTE.ALERT_LIGHT,
|
|
389
|
+
color: PALETTE.ALERT_MAIN,
|
|
445
390
|
},
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
props: { color: "info" },
|
|
394
|
+
style: {
|
|
395
|
+
backgroundColor: PALETTE.INFO_LIGHT,
|
|
396
|
+
color: PALETTE.INFO_MAIN,
|
|
452
397
|
},
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
style: {
|
|
459
|
-
backgroundColor: PALETTE.PRIMARY_MAIN,
|
|
460
|
-
color: PALETTE.COMMON_WHITE,
|
|
461
|
-
},
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
props: {
|
|
401
|
+
color: CHIP_PROPS.COLOR.PRIMARY,
|
|
402
|
+
variant: CHIP_PROPS.VARIANT.FILLED,
|
|
462
403
|
},
|
|
463
|
-
{
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
backgroundColor: theme.palette.success.light,
|
|
467
|
-
color: theme.palette.success.main,
|
|
468
|
-
},
|
|
404
|
+
style: {
|
|
405
|
+
backgroundColor: PALETTE.PRIMARY_MAIN,
|
|
406
|
+
color: PALETTE.COMMON_WHITE,
|
|
469
407
|
},
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
props: { color: "success" },
|
|
411
|
+
style: {
|
|
412
|
+
backgroundColor: PALETTE.SUCCESS_LIGHT,
|
|
413
|
+
color: PALETTE.SUCCESS_MAIN,
|
|
476
414
|
},
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
height: 24,
|
|
484
|
-
justifySelf: FLEX_START,
|
|
485
|
-
padding: "0 8px",
|
|
486
|
-
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
487
|
-
"& .MuiChip-label": {
|
|
488
|
-
padding: 0,
|
|
489
|
-
},
|
|
490
|
-
},
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
props: { color: "warning" },
|
|
418
|
+
style: {
|
|
419
|
+
backgroundColor: PALETTE.WARNING_LIGHT,
|
|
420
|
+
color: PALETTE.WARNING_MAIN,
|
|
491
421
|
},
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
props: { variant: "filterTag" },
|
|
425
|
+
style: {
|
|
426
|
+
cursor: "pointer", // "pointer" cursor required to restore "clickable" ui
|
|
427
|
+
font: FONT.BODY_SMALL_500,
|
|
428
|
+
gap: 2,
|
|
429
|
+
height: 24,
|
|
430
|
+
justifySelf: FLEX_START,
|
|
431
|
+
padding: "0 8px",
|
|
432
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
433
|
+
"& .MuiChip-label": {
|
|
434
|
+
padding: 0,
|
|
501
435
|
},
|
|
502
436
|
},
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
props: { variant: "ntag" },
|
|
440
|
+
style: {
|
|
441
|
+
backgroundColor: PALETTE.SMOKE_MAIN,
|
|
442
|
+
boxShadow: `0 0 0 2px ${PALETTE.COMMON_WHITE}`,
|
|
443
|
+
font: FONT.BODY_SMALL_400,
|
|
444
|
+
height: 24,
|
|
445
|
+
justifySelf: FLEX_START,
|
|
446
|
+
minWidth: 0,
|
|
511
447
|
},
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
}
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
props: { variant: "status" },
|
|
451
|
+
style: {
|
|
452
|
+
boxShadow: `0 0 0 2px ${PALETTE.COMMON_WHITE}`,
|
|
453
|
+
height: 20,
|
|
454
|
+
maxWidth: "fit-content",
|
|
455
|
+
minWidth: 0,
|
|
517
456
|
},
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
}
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
* @param theme - Theme.
|
|
524
|
-
* @returns MuiCircularProgress component theme styles.
|
|
525
|
-
*/
|
|
526
|
-
export const MuiCircularProgress = (theme) => {
|
|
527
|
-
return {
|
|
528
|
-
styleOverrides: {
|
|
529
|
-
circle: {
|
|
530
|
-
strokeLinecap: "round",
|
|
531
|
-
},
|
|
532
|
-
},
|
|
533
|
-
variants: [
|
|
534
|
-
{
|
|
535
|
-
props: {
|
|
536
|
-
color: "alert",
|
|
537
|
-
},
|
|
538
|
-
style: {
|
|
539
|
-
color: theme.palette.alert.main,
|
|
540
|
-
},
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
props: { color: "default", variant: "status" },
|
|
460
|
+
style: {
|
|
461
|
+
color: PALETTE.INK_LIGHT,
|
|
541
462
|
},
|
|
542
|
-
|
|
543
|
-
|
|
463
|
+
},
|
|
464
|
+
],
|
|
544
465
|
};
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
color:
|
|
555
|
-
textDecoration: "none",
|
|
556
|
-
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
557
|
-
"&:hover": {
|
|
558
|
-
textDecoration: "underline",
|
|
559
|
-
},
|
|
560
|
-
},
|
|
561
|
-
body: {
|
|
562
|
-
fontFamily: theme.typography.fontFamily,
|
|
563
|
-
},
|
|
564
|
-
code: {
|
|
565
|
-
...theme.typography[TEXT_BODY_400_2_LINES],
|
|
566
|
-
fontFamily: "Roboto Mono, monospace",
|
|
567
|
-
fontSize: 12,
|
|
466
|
+
const MuiCircularProgress = {
|
|
467
|
+
styleOverrides: {
|
|
468
|
+
circle: {
|
|
469
|
+
strokeLinecap: "round",
|
|
470
|
+
},
|
|
471
|
+
},
|
|
472
|
+
variants: [
|
|
473
|
+
{
|
|
474
|
+
props: {
|
|
475
|
+
color: "alert",
|
|
568
476
|
},
|
|
569
|
-
|
|
570
|
-
|
|
477
|
+
style: {
|
|
478
|
+
color: PALETTE.ALERT_MAIN,
|
|
571
479
|
},
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
480
|
+
},
|
|
481
|
+
],
|
|
482
|
+
};
|
|
483
|
+
const MuiCssBaseline = {
|
|
484
|
+
styleOverrides: {
|
|
485
|
+
a: {
|
|
486
|
+
color: PALETTE.PRIMARY_MAIN,
|
|
487
|
+
textDecoration: "none",
|
|
488
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
489
|
+
"&:hover": {
|
|
490
|
+
textDecoration: "underline",
|
|
578
491
|
},
|
|
579
|
-
|
|
492
|
+
},
|
|
493
|
+
body: {
|
|
494
|
+
fontFamily: APP.FONT_FAMILY,
|
|
495
|
+
},
|
|
496
|
+
code: {
|
|
497
|
+
font: FONT.BODY_400_2_LINES,
|
|
498
|
+
fontFamily: "Roboto Mono, monospace",
|
|
499
|
+
fontSize: 12,
|
|
500
|
+
},
|
|
501
|
+
img: {
|
|
502
|
+
display: "block",
|
|
503
|
+
},
|
|
504
|
+
p: {
|
|
505
|
+
margin: "0 0 8px",
|
|
506
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
507
|
+
"&:last-child": {
|
|
580
508
|
margin: 0,
|
|
581
|
-
whiteSpace: "pre-wrap",
|
|
582
|
-
wordBreak: "break-word",
|
|
583
|
-
},
|
|
584
|
-
strong: {
|
|
585
|
-
fontWeight: 500,
|
|
586
509
|
},
|
|
587
510
|
},
|
|
588
|
-
|
|
511
|
+
pre: {
|
|
512
|
+
margin: 0,
|
|
513
|
+
whiteSpace: "pre-wrap",
|
|
514
|
+
wordBreak: "break-word",
|
|
515
|
+
},
|
|
516
|
+
strong: {
|
|
517
|
+
fontWeight: 500,
|
|
518
|
+
},
|
|
519
|
+
},
|
|
589
520
|
};
|
|
590
|
-
|
|
591
|
-
* MuiDialog Component
|
|
592
|
-
* @param theme - Theme.
|
|
593
|
-
* @returns MuiDialog component theme styles.
|
|
594
|
-
*/
|
|
595
|
-
export const MuiDialog = {
|
|
521
|
+
const MuiDialog = {
|
|
596
522
|
styleOverrides: {
|
|
597
523
|
paper: {
|
|
598
524
|
boxShadow: SHADOWS["02"],
|
|
@@ -605,101 +531,64 @@ export const MuiDialog = {
|
|
|
605
531
|
},
|
|
606
532
|
},
|
|
607
533
|
};
|
|
608
|
-
|
|
609
|
-
* MuiDialogActions Component
|
|
610
|
-
*/
|
|
611
|
-
export const MuiDialogActions = {
|
|
534
|
+
const MuiDialogActions = {
|
|
612
535
|
styleOverrides: {
|
|
613
536
|
root: {
|
|
614
537
|
padding: 20,
|
|
615
538
|
},
|
|
616
539
|
},
|
|
617
540
|
};
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
styleOverrides: {
|
|
626
|
-
root: {
|
|
627
|
-
borderColor: theme.palette.smoke.main,
|
|
628
|
-
padding: 20,
|
|
629
|
-
},
|
|
630
|
-
},
|
|
631
|
-
};
|
|
541
|
+
const MuiDialogContent = {
|
|
542
|
+
styleOverrides: {
|
|
543
|
+
root: {
|
|
544
|
+
borderColor: PALETTE.SMOKE_MAIN,
|
|
545
|
+
padding: 20,
|
|
546
|
+
},
|
|
547
|
+
},
|
|
632
548
|
};
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
padding: 20,
|
|
647
|
-
[tabletUp]: {},
|
|
648
|
-
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
649
|
-
"& .MuiIconButton-edgeEnd": {
|
|
650
|
-
alignSelf: FLEX_START,
|
|
651
|
-
justifySelf: "flex-end",
|
|
652
|
-
},
|
|
549
|
+
const MuiDialogTitle = {
|
|
550
|
+
styleOverrides: {
|
|
551
|
+
root: ({ theme }) => ({
|
|
552
|
+
alignItems: "center",
|
|
553
|
+
display: "grid",
|
|
554
|
+
font: FONT.HEADING,
|
|
555
|
+
gridAutoFlow: "column",
|
|
556
|
+
padding: 20,
|
|
557
|
+
[bpUpSm({ theme })]: {},
|
|
558
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
559
|
+
"& .MuiIconButton-edgeEnd": {
|
|
560
|
+
alignSelf: FLEX_START,
|
|
561
|
+
justifySelf: "flex-end",
|
|
653
562
|
},
|
|
654
|
-
},
|
|
655
|
-
}
|
|
563
|
+
}),
|
|
564
|
+
},
|
|
656
565
|
};
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
return {
|
|
664
|
-
styleOverrides: {
|
|
665
|
-
root: {
|
|
666
|
-
borderColor: theme.palette.smoke.main,
|
|
667
|
-
},
|
|
668
|
-
},
|
|
669
|
-
};
|
|
566
|
+
const MuiDivider = {
|
|
567
|
+
styleOverrides: {
|
|
568
|
+
root: {
|
|
569
|
+
borderColor: PALETTE.SMOKE_MAIN,
|
|
570
|
+
},
|
|
571
|
+
},
|
|
670
572
|
};
|
|
671
|
-
|
|
672
|
-
* MuiDrawer Component
|
|
673
|
-
*/
|
|
674
|
-
export const MuiDrawer = {
|
|
573
|
+
const MuiDrawer = {
|
|
675
574
|
styleOverrides: {
|
|
676
575
|
paper: {
|
|
677
576
|
overflowY: "visible", // required; allows backdrop button to render outside of drawer container
|
|
678
577
|
},
|
|
679
578
|
},
|
|
680
579
|
};
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
*/
|
|
686
|
-
export const MuiFormControlLabel = (theme) => {
|
|
687
|
-
return {
|
|
688
|
-
styleOverrides: {
|
|
689
|
-
label: {
|
|
690
|
-
...theme.typography[TEXT_BODY_400],
|
|
691
|
-
},
|
|
692
|
-
root: {
|
|
693
|
-
gap: 8,
|
|
694
|
-
margin: 0,
|
|
695
|
-
},
|
|
580
|
+
const MuiFormControlLabel = {
|
|
581
|
+
styleOverrides: {
|
|
582
|
+
label: {
|
|
583
|
+
font: FONT.BODY_400,
|
|
696
584
|
},
|
|
697
|
-
|
|
585
|
+
root: {
|
|
586
|
+
gap: 8,
|
|
587
|
+
margin: 0,
|
|
588
|
+
},
|
|
589
|
+
},
|
|
698
590
|
};
|
|
699
|
-
|
|
700
|
-
* MuiFormGroup Component
|
|
701
|
-
*/
|
|
702
|
-
export const MuiFormGroup = {
|
|
591
|
+
const MuiFormGroup = {
|
|
703
592
|
styleOverrides: {
|
|
704
593
|
root: {
|
|
705
594
|
alignItems: FLEX_START,
|
|
@@ -707,197 +596,173 @@ export const MuiFormGroup = {
|
|
|
707
596
|
},
|
|
708
597
|
},
|
|
709
598
|
};
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
styleOverrides: {
|
|
718
|
-
root: {
|
|
719
|
-
...theme.typography[TEXT_BODY_SMALL_400],
|
|
720
|
-
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
721
|
-
"&.Mui-error": {
|
|
722
|
-
color: theme.palette.alert.main,
|
|
723
|
-
},
|
|
599
|
+
const MuiFormHelperText = {
|
|
600
|
+
styleOverrides: {
|
|
601
|
+
root: {
|
|
602
|
+
font: FONT.BODY_SMALL_400,
|
|
603
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
604
|
+
"&.Mui-error": {
|
|
605
|
+
color: PALETTE.ALERT_MAIN,
|
|
724
606
|
},
|
|
725
607
|
},
|
|
726
|
-
}
|
|
608
|
+
},
|
|
727
609
|
};
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
color: theme.palette.common.white,
|
|
743
|
-
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
744
|
-
"&.Mui-disabled": {
|
|
745
|
-
backgroundColor: theme.palette.primary.main,
|
|
746
|
-
color: theme.palette.common.white,
|
|
747
|
-
opacity: 0.5,
|
|
748
|
-
},
|
|
749
|
-
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
750
|
-
"&:hover": {
|
|
751
|
-
backgroundColor: theme.palette.primary.dark,
|
|
752
|
-
},
|
|
753
|
-
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
754
|
-
"&:active": {
|
|
755
|
-
backgroundColor: theme.palette.primary.dark,
|
|
756
|
-
boxShadow: "none",
|
|
757
|
-
},
|
|
610
|
+
const MuiIconButton = {
|
|
611
|
+
defaultProps: {
|
|
612
|
+
disableRipple: true,
|
|
613
|
+
},
|
|
614
|
+
styleOverrides: {
|
|
615
|
+
colorPrimary: {
|
|
616
|
+
backgroundColor: PALETTE.PRIMARY_MAIN,
|
|
617
|
+
boxShadow: `0 1px 0 0 ${PALETTE.PRIMARY_DARK}`,
|
|
618
|
+
color: PALETTE.COMMON_WHITE,
|
|
619
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
620
|
+
"&.Mui-disabled": {
|
|
621
|
+
backgroundColor: PALETTE.PRIMARY_MAIN,
|
|
622
|
+
color: PALETTE.COMMON_WHITE,
|
|
623
|
+
opacity: 0.5,
|
|
758
624
|
},
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
625
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
626
|
+
"&:hover": {
|
|
627
|
+
backgroundColor: PALETTE.PRIMARY_DARK,
|
|
628
|
+
},
|
|
629
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
630
|
+
"&:active": {
|
|
631
|
+
backgroundColor: PALETTE.PRIMARY_DARK,
|
|
632
|
+
boxShadow: "none",
|
|
633
|
+
},
|
|
634
|
+
},
|
|
635
|
+
colorSecondary: {
|
|
636
|
+
backgroundColor: PALETTE.COMMON_WHITE,
|
|
637
|
+
boxShadow: `inset 0 0 0 1px ${PALETTE.SMOKE_DARK}, 0 1px 0 0 ${COLOR_MIXES.COMMON_BLACK_05}`,
|
|
638
|
+
color: PALETTE.INK_MAIN,
|
|
639
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
640
|
+
"&.Mui-disabled": {
|
|
641
|
+
boxShadow: `inset 0 0 0 1px ${PALETTE.SMOKE_DARK}`,
|
|
642
|
+
color: PALETTE.INK_LIGHT,
|
|
643
|
+
opacity: 0.5,
|
|
644
|
+
},
|
|
645
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
646
|
+
"&:hover": {
|
|
647
|
+
backgroundColor: PALETTE.SMOKE_LIGHTEST,
|
|
648
|
+
},
|
|
649
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
650
|
+
"&:active": {
|
|
651
|
+
backgroundColor: PALETTE.SMOKE_LIGHTEST,
|
|
652
|
+
boxShadow: `inset 0 0 0 1px ${PALETTE.SMOKE_DARK}`,
|
|
653
|
+
},
|
|
654
|
+
},
|
|
655
|
+
root: {
|
|
656
|
+
borderRadius: 4,
|
|
657
|
+
},
|
|
658
|
+
sizeLarge: {
|
|
659
|
+
padding: 10,
|
|
660
|
+
},
|
|
661
|
+
sizeMedium: {
|
|
662
|
+
padding: 8,
|
|
663
|
+
},
|
|
664
|
+
sizeSmall: {
|
|
665
|
+
padding: 6,
|
|
666
|
+
},
|
|
667
|
+
},
|
|
668
|
+
variants: [
|
|
669
|
+
{
|
|
670
|
+
props: {
|
|
671
|
+
color: "ink",
|
|
672
|
+
},
|
|
673
|
+
style: {
|
|
762
674
|
color: PALETTE.INK_MAIN,
|
|
763
675
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
764
|
-
"&.Mui-disabled": {
|
|
765
|
-
boxShadow: `inset 0 0 0 1px ${PALETTE.SMOKE_DARK}`,
|
|
766
|
-
color: PALETTE.INK_LIGHT,
|
|
767
|
-
opacity: 0.5,
|
|
768
|
-
},
|
|
769
|
-
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
770
676
|
"&:hover": {
|
|
771
|
-
backgroundColor: PALETTE.
|
|
772
|
-
},
|
|
773
|
-
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
774
|
-
"&:active": {
|
|
775
|
-
backgroundColor: PALETTE.SMOKE_LIGHTEST,
|
|
776
|
-
boxShadow: `inset 0 0 0 1px ${PALETTE.SMOKE_DARK}`,
|
|
677
|
+
backgroundColor: PALETTE.SMOKE_LIGHT,
|
|
777
678
|
},
|
|
778
679
|
},
|
|
779
|
-
|
|
780
|
-
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
props: {
|
|
683
|
+
color: "inkLight",
|
|
781
684
|
},
|
|
782
|
-
|
|
783
|
-
|
|
685
|
+
style: {
|
|
686
|
+
color: PALETTE.INK_LIGHT,
|
|
687
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
688
|
+
"&:hover": {
|
|
689
|
+
backgroundColor: PALETTE.SMOKE_LIGHT,
|
|
690
|
+
},
|
|
784
691
|
},
|
|
785
|
-
|
|
786
|
-
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
props: {
|
|
695
|
+
edge: "end",
|
|
696
|
+
size: "small",
|
|
787
697
|
},
|
|
788
|
-
|
|
789
|
-
|
|
698
|
+
style: {
|
|
699
|
+
marginRight: -6,
|
|
790
700
|
},
|
|
791
701
|
},
|
|
792
|
-
|
|
793
|
-
{
|
|
794
|
-
|
|
795
|
-
color: "ink",
|
|
796
|
-
},
|
|
797
|
-
style: {
|
|
798
|
-
color: theme.palette.ink.main,
|
|
799
|
-
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
800
|
-
"&:hover": {
|
|
801
|
-
backgroundColor: theme.palette.smoke.light,
|
|
802
|
-
},
|
|
803
|
-
},
|
|
702
|
+
{
|
|
703
|
+
props: {
|
|
704
|
+
size: "xlarge",
|
|
804
705
|
},
|
|
805
|
-
{
|
|
806
|
-
|
|
807
|
-
color: "inkLight",
|
|
808
|
-
},
|
|
809
|
-
style: {
|
|
810
|
-
color: theme.palette.ink.light,
|
|
811
|
-
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
812
|
-
"&:hover": {
|
|
813
|
-
backgroundColor: theme.palette.smoke.light,
|
|
814
|
-
},
|
|
815
|
-
},
|
|
706
|
+
style: {
|
|
707
|
+
padding: 14,
|
|
816
708
|
},
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
},
|
|
822
|
-
style: {
|
|
823
|
-
marginRight: -6,
|
|
824
|
-
},
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
props: {
|
|
712
|
+
size: "xsmall",
|
|
825
713
|
},
|
|
826
|
-
{
|
|
827
|
-
|
|
828
|
-
size: "xlarge",
|
|
829
|
-
},
|
|
830
|
-
style: {
|
|
831
|
-
padding: 14,
|
|
832
|
-
},
|
|
714
|
+
style: {
|
|
715
|
+
padding: 4,
|
|
833
716
|
},
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
padding: 4,
|
|
840
|
-
},
|
|
717
|
+
},
|
|
718
|
+
{
|
|
719
|
+
props: {
|
|
720
|
+
edge: "end",
|
|
721
|
+
size: "xsmall",
|
|
841
722
|
},
|
|
842
|
-
{
|
|
843
|
-
|
|
844
|
-
edge: "end",
|
|
845
|
-
size: "xsmall",
|
|
846
|
-
},
|
|
847
|
-
style: {
|
|
848
|
-
marginRight: -4,
|
|
849
|
-
},
|
|
723
|
+
style: {
|
|
724
|
+
marginRight: -4,
|
|
850
725
|
},
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
style: {
|
|
856
|
-
padding: 0,
|
|
857
|
-
},
|
|
726
|
+
},
|
|
727
|
+
{
|
|
728
|
+
props: {
|
|
729
|
+
size: "xxsmall",
|
|
858
730
|
},
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
};
|
|
862
|
-
/**
|
|
863
|
-
* MuiInputBase Component
|
|
864
|
-
* @param theme - Theme.
|
|
865
|
-
* @returns MuiInputBase component theme styles.
|
|
866
|
-
*/
|
|
867
|
-
export const MuiInputBase = (theme) => {
|
|
868
|
-
return {
|
|
869
|
-
styleOverrides: {
|
|
870
|
-
multiline: {
|
|
871
|
-
height: "unset",
|
|
872
|
-
},
|
|
873
|
-
root: {
|
|
874
|
-
...theme.typography[TEXT_BODY_400],
|
|
875
|
-
fontSize: 16, // overrides default 14px to prevent IOS zoom on focus.
|
|
876
|
-
height: 40,
|
|
877
|
-
letterSpacing: "normal",
|
|
878
|
-
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
879
|
-
[tabletUp]: {
|
|
880
|
-
fontSize: theme.typography[TEXT_BODY_400].fontSize,
|
|
881
|
-
},
|
|
882
|
-
variants: [
|
|
883
|
-
/* PRIMARY */ /* TODO: remove `adornedStart` when all input components are refactored to color: secondary */
|
|
884
|
-
{
|
|
885
|
-
props: { color: "primary" },
|
|
886
|
-
style: {
|
|
887
|
-
adornedStart: {
|
|
888
|
-
gap: 8,
|
|
889
|
-
},
|
|
890
|
-
},
|
|
891
|
-
},
|
|
892
|
-
],
|
|
731
|
+
style: {
|
|
732
|
+
padding: 0,
|
|
893
733
|
},
|
|
894
734
|
},
|
|
895
|
-
|
|
735
|
+
],
|
|
736
|
+
};
|
|
737
|
+
const MuiInputBase = {
|
|
738
|
+
styleOverrides: {
|
|
739
|
+
multiline: {
|
|
740
|
+
height: "unset",
|
|
741
|
+
},
|
|
742
|
+
root: ({ theme }) => ({
|
|
743
|
+
font: FONT.BODY_400,
|
|
744
|
+
fontSize: 16, // overrides default 14px to prevent IOS zoom on focus.
|
|
745
|
+
height: 40,
|
|
746
|
+
letterSpacing: "normal",
|
|
747
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
748
|
+
[bpUpSm({ theme })]: {
|
|
749
|
+
fontSize: "14px",
|
|
750
|
+
},
|
|
751
|
+
variants: [
|
|
752
|
+
/* PRIMARY */ /* TODO: remove `adornedStart` when all input components are refactored to color: secondary */
|
|
753
|
+
{
|
|
754
|
+
props: { color: "primary" },
|
|
755
|
+
style: {
|
|
756
|
+
adornedStart: {
|
|
757
|
+
gap: 8,
|
|
758
|
+
},
|
|
759
|
+
},
|
|
760
|
+
},
|
|
761
|
+
],
|
|
762
|
+
}),
|
|
763
|
+
},
|
|
896
764
|
};
|
|
897
|
-
|
|
898
|
-
* MuiLink Component
|
|
899
|
-
*/
|
|
900
|
-
export const MuiLink = {
|
|
765
|
+
const MuiLink = {
|
|
901
766
|
defaultProps: {
|
|
902
767
|
underline: "always",
|
|
903
768
|
},
|
|
@@ -915,320 +780,272 @@ export const MuiLink = {
|
|
|
915
780
|
},
|
|
916
781
|
},
|
|
917
782
|
};
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
783
|
+
const MuiListItemButton = {
|
|
784
|
+
styleOverrides: {
|
|
785
|
+
root: {
|
|
786
|
+
font: FONT.BODY_400,
|
|
787
|
+
minHeight: "unset",
|
|
788
|
+
padding: "10px 16px",
|
|
789
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
790
|
+
"&:hover": {
|
|
791
|
+
backgroundColor: PALETTE.SMOKE_LIGHT,
|
|
792
|
+
},
|
|
793
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
794
|
+
"&.Mui-selected": {
|
|
795
|
+
backgroundColor: "unset",
|
|
930
796
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
931
797
|
"&:hover": {
|
|
932
|
-
backgroundColor:
|
|
933
|
-
},
|
|
934
|
-
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
935
|
-
"&.Mui-selected": {
|
|
936
|
-
backgroundColor: "unset",
|
|
937
|
-
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
938
|
-
"&:hover": {
|
|
939
|
-
backgroundColor: theme.palette.smoke.light,
|
|
940
|
-
},
|
|
798
|
+
backgroundColor: PALETTE.SMOKE_LIGHT,
|
|
941
799
|
},
|
|
942
800
|
},
|
|
943
801
|
},
|
|
944
|
-
}
|
|
802
|
+
},
|
|
945
803
|
};
|
|
946
|
-
|
|
947
|
-
* MuiListItemText Component
|
|
948
|
-
*/
|
|
949
|
-
export const MuiListItemText = {
|
|
804
|
+
const MuiListItemText = {
|
|
950
805
|
styleOverrides: {
|
|
951
806
|
root: {
|
|
952
807
|
margin: 0,
|
|
953
808
|
},
|
|
954
809
|
},
|
|
955
810
|
};
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
styleOverrides: {
|
|
965
|
-
root: {
|
|
966
|
-
...theme.typography[TEXT_BODY_500],
|
|
967
|
-
color: theme.palette.ink.main,
|
|
968
|
-
},
|
|
969
|
-
},
|
|
970
|
-
};
|
|
811
|
+
const MuiListSubheader = {
|
|
812
|
+
defaultProps: { disableSticky: true },
|
|
813
|
+
styleOverrides: {
|
|
814
|
+
root: {
|
|
815
|
+
color: PALETTE.INK_MAIN,
|
|
816
|
+
font: FONT.BODY_500,
|
|
817
|
+
},
|
|
818
|
+
},
|
|
971
819
|
};
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
defaultProps: { disableRipple: true },
|
|
980
|
-
styleOverrides: {
|
|
981
|
-
root: {
|
|
982
|
-
...theme.typography[TEXT_BODY_400],
|
|
983
|
-
minHeight: "unset",
|
|
984
|
-
padding: "10px 16px",
|
|
985
|
-
},
|
|
820
|
+
const MuiMenuItem = {
|
|
821
|
+
defaultProps: { disableRipple: true },
|
|
822
|
+
styleOverrides: {
|
|
823
|
+
root: {
|
|
824
|
+
font: FONT.BODY_400,
|
|
825
|
+
minHeight: "unset",
|
|
826
|
+
padding: "10px 16px",
|
|
986
827
|
},
|
|
987
|
-
}
|
|
828
|
+
},
|
|
988
829
|
};
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
color: theme.palette.ink.light,
|
|
999
|
-
height: 20,
|
|
1000
|
-
padding: "10px 14px 10px 0",
|
|
1001
|
-
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
1002
|
-
"&:focus": {
|
|
1003
|
-
color: theme.palette.ink.main,
|
|
1004
|
-
},
|
|
830
|
+
const MuiOutlinedInput = {
|
|
831
|
+
styleOverrides: {
|
|
832
|
+
input: {
|
|
833
|
+
color: PALETTE.INK_LIGHT,
|
|
834
|
+
height: 20,
|
|
835
|
+
padding: "10px 14px 10px 0",
|
|
836
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
837
|
+
"&:focus": {
|
|
838
|
+
color: PALETTE.INK_MAIN,
|
|
1005
839
|
},
|
|
1006
|
-
|
|
1007
|
-
|
|
840
|
+
},
|
|
841
|
+
notchedOutline: {
|
|
842
|
+
borderColor: PALETTE.SMOKE_DARK,
|
|
843
|
+
},
|
|
844
|
+
root: {
|
|
845
|
+
backgroundColor: PALETTE.COMMON_WHITE,
|
|
846
|
+
boxShadow: `inset 0 2px 0 0 ${COLOR_MIXES.COMMON_BLACK_04}`,
|
|
847
|
+
paddingLeft: 12, // TODO: remove when all input components are refactored to color: secondary.
|
|
848
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
849
|
+
"&:hover": {
|
|
850
|
+
"& .MuiOutlinedInput-notchedOutline": {
|
|
851
|
+
borderColor: PALETTE.SMOKE_DARK,
|
|
852
|
+
},
|
|
1008
853
|
},
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
"&:hover": {
|
|
1015
|
-
"& .MuiOutlinedInput-notchedOutline": {
|
|
1016
|
-
borderColor: theme.palette.smoke.dark,
|
|
1017
|
-
},
|
|
854
|
+
// eslint-disable-next-line sort-keys -- disabling key order for specificity
|
|
855
|
+
"&.Mui-focused": {
|
|
856
|
+
"& .MuiOutlinedInput-notchedOutline": {
|
|
857
|
+
borderColor: PALETTE.INK_MAIN,
|
|
858
|
+
borderWidth: 1,
|
|
1018
859
|
},
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
860
|
+
},
|
|
861
|
+
// eslint-disable-next-line sort-keys -- disabling key order for specificity
|
|
862
|
+
"&.Mui-disabled": {
|
|
863
|
+
"& .MuiOutlinedInput-notchedOutline": {
|
|
864
|
+
borderColor: PALETTE.SMOKE_DARK,
|
|
865
|
+
borderWidth: 1,
|
|
1025
866
|
},
|
|
867
|
+
},
|
|
868
|
+
"&.Mui-error": {
|
|
869
|
+
backgroundColor: PALETTE.ALERT_LIGHTEST,
|
|
1026
870
|
// eslint-disable-next-line sort-keys -- disabling key order for specificity
|
|
1027
|
-
"
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
borderWidth: 1,
|
|
1031
|
-
},
|
|
871
|
+
"& .MuiOutlinedInput-notchedOutline": {
|
|
872
|
+
borderColor: PALETTE.ALERT_MAIN,
|
|
873
|
+
borderWidth: 1,
|
|
1032
874
|
},
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
875
|
+
},
|
|
876
|
+
variants: [
|
|
877
|
+
/* PRIMARY */
|
|
878
|
+
{
|
|
879
|
+
props: { color: OUTLINED_INPUT_PROPS.COLOR.PRIMARY },
|
|
880
|
+
style: {
|
|
881
|
+
"& .MuiSvgIcon-root": {
|
|
882
|
+
color: PALETTE.INK_LIGHT, // Adornment e.g. "SearchIcon". TODO: remove when all input components are refactored to color: secondary.
|
|
883
|
+
},
|
|
884
|
+
// eslint-disable-next-line sort-keys -- disabling key order for specificity
|
|
885
|
+
"&.Mui-focused": {
|
|
886
|
+
"& .MuiSvgIcon-root": {
|
|
887
|
+
color: PALETTE.INK_MAIN, // Adornment e.g. "SearchIcon". TODO: remove when all input components are refactored to color: secondary.
|
|
888
|
+
},
|
|
889
|
+
},
|
|
890
|
+
// eslint-disable-next-line sort-keys -- disabling key order for specificity
|
|
891
|
+
"&.Mui-disabled": {
|
|
892
|
+
"& .MuiSvgIcon-root": {
|
|
893
|
+
color: PALETTE.INK_LIGHT, // TODO: remove when all input components are refactored to color: secondary.
|
|
894
|
+
},
|
|
895
|
+
},
|
|
1039
896
|
},
|
|
1040
897
|
},
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
{
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
898
|
+
/* SECONDARY */
|
|
899
|
+
{
|
|
900
|
+
props: { color: OUTLINED_INPUT_PROPS.COLOR.SECONDARY },
|
|
901
|
+
style: {
|
|
902
|
+
backgroundColor: PALETTE.COMMON_WHITE,
|
|
903
|
+
boxShadow: `inset 0 2px 0 0 ${COLOR_MIXES.COMMON_BLACK_04}`,
|
|
904
|
+
color: PALETTE.INK_LIGHT,
|
|
905
|
+
padding: "0 12px",
|
|
906
|
+
// eslint-disable-next-line sort-keys -- disabling key order for specificity
|
|
907
|
+
".MuiOutlinedInput-input": {
|
|
908
|
+
color: "inherit",
|
|
909
|
+
height: 20,
|
|
910
|
+
padding: "10px 0",
|
|
911
|
+
// eslint-disable-next-line sort-keys -- disabling key order for specificity
|
|
912
|
+
"&::placeholder": {
|
|
913
|
+
color: "inherit",
|
|
914
|
+
opacity: 0.8,
|
|
1048
915
|
},
|
|
916
|
+
},
|
|
917
|
+
".MuiOutlinedInput-notchedOutline": {
|
|
918
|
+
borderColor: PALETTE.SMOKE_DARK,
|
|
919
|
+
borderWidth: 1,
|
|
920
|
+
},
|
|
921
|
+
// eslint-disable-next-line sort-keys -- disabling key order for specificity
|
|
922
|
+
"&.Mui-focused": {
|
|
923
|
+
color: PALETTE.INK_MAIN,
|
|
1049
924
|
// eslint-disable-next-line sort-keys -- disabling key order for specificity
|
|
1050
|
-
"
|
|
1051
|
-
"
|
|
1052
|
-
|
|
925
|
+
".MuiOutlinedInput-input": {
|
|
926
|
+
"&::placeholder": {
|
|
927
|
+
opacity: 0,
|
|
1053
928
|
},
|
|
1054
929
|
},
|
|
1055
930
|
// eslint-disable-next-line sort-keys -- disabling key order for specificity
|
|
1056
|
-
"
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
},
|
|
931
|
+
".MuiOutlinedInput-notchedOutline": {
|
|
932
|
+
borderColor: PALETTE.INK_MAIN,
|
|
933
|
+
borderWidth: 1,
|
|
1060
934
|
},
|
|
1061
935
|
},
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
props: { color: OUTLINED_INPUT_PROPS.COLOR.SECONDARY },
|
|
1066
|
-
style: {
|
|
1067
|
-
backgroundColor: PALETTE.COMMON_WHITE,
|
|
1068
|
-
boxShadow: `inset 0 2px 0 0 ${COLOR_MIXES.COMMON_BLACK_04}`,
|
|
936
|
+
// eslint-disable-next-line sort-keys -- disabling key order for specificity
|
|
937
|
+
"&.Mui-disabled": {
|
|
938
|
+
backgroundColor: PALETTE.SMOKE_LIGHT,
|
|
1069
939
|
color: PALETTE.INK_LIGHT,
|
|
1070
|
-
padding: "0 12px",
|
|
1071
940
|
// eslint-disable-next-line sort-keys -- disabling key order for specificity
|
|
1072
941
|
".MuiOutlinedInput-input": {
|
|
1073
|
-
|
|
1074
|
-
height: 20,
|
|
1075
|
-
padding: "10px 0",
|
|
942
|
+
WebkitTextFillColor: "unset",
|
|
1076
943
|
// eslint-disable-next-line sort-keys -- disabling key order for specificity
|
|
1077
944
|
"&::placeholder": {
|
|
1078
945
|
color: "inherit",
|
|
1079
|
-
opacity:
|
|
946
|
+
opacity: 1,
|
|
1080
947
|
},
|
|
1081
948
|
},
|
|
949
|
+
// eslint-disable-next-line sort-keys -- disabling key order for specificity
|
|
1082
950
|
".MuiOutlinedInput-notchedOutline": {
|
|
1083
951
|
borderColor: PALETTE.SMOKE_DARK,
|
|
1084
952
|
borderWidth: 1,
|
|
1085
953
|
},
|
|
1086
|
-
// eslint-disable-next-line sort-keys -- disabling key order for specificity
|
|
1087
|
-
"&.Mui-focused": {
|
|
1088
|
-
color: PALETTE.INK_MAIN,
|
|
1089
|
-
// eslint-disable-next-line sort-keys -- disabling key order for specificity
|
|
1090
|
-
".MuiOutlinedInput-input": {
|
|
1091
|
-
"&::placeholder": {
|
|
1092
|
-
opacity: 0,
|
|
1093
|
-
},
|
|
1094
|
-
},
|
|
1095
|
-
// eslint-disable-next-line sort-keys -- disabling key order for specificity
|
|
1096
|
-
".MuiOutlinedInput-notchedOutline": {
|
|
1097
|
-
borderColor: PALETTE.INK_MAIN,
|
|
1098
|
-
borderWidth: 1,
|
|
1099
|
-
},
|
|
1100
|
-
},
|
|
1101
|
-
// eslint-disable-next-line sort-keys -- disabling key order for specificity
|
|
1102
|
-
"&.Mui-disabled": {
|
|
1103
|
-
backgroundColor: PALETTE.SMOKE_LIGHT,
|
|
1104
|
-
color: PALETTE.INK_LIGHT,
|
|
1105
|
-
// eslint-disable-next-line sort-keys -- disabling key order for specificity
|
|
1106
|
-
".MuiOutlinedInput-input": {
|
|
1107
|
-
WebkitTextFillColor: "unset",
|
|
1108
|
-
// eslint-disable-next-line sort-keys -- disabling key order for specificity
|
|
1109
|
-
"&::placeholder": {
|
|
1110
|
-
color: "inherit",
|
|
1111
|
-
opacity: 1,
|
|
1112
|
-
},
|
|
1113
|
-
},
|
|
1114
|
-
// eslint-disable-next-line sort-keys -- disabling key order for specificity
|
|
1115
|
-
".MuiOutlinedInput-notchedOutline": {
|
|
1116
|
-
borderColor: PALETTE.SMOKE_DARK,
|
|
1117
|
-
borderWidth: 1,
|
|
1118
|
-
},
|
|
1119
|
-
},
|
|
1120
954
|
},
|
|
1121
955
|
},
|
|
1122
|
-
|
|
1123
|
-
|
|
956
|
+
},
|
|
957
|
+
],
|
|
1124
958
|
},
|
|
1125
|
-
}
|
|
959
|
+
},
|
|
1126
960
|
};
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
return {
|
|
1134
|
-
variants: [
|
|
1135
|
-
{
|
|
1136
|
-
props: { elevation: 1 },
|
|
1137
|
-
style: {
|
|
1138
|
-
boxShadow: SHADOWS["01"],
|
|
1139
|
-
},
|
|
961
|
+
const MuiPaper = {
|
|
962
|
+
variants: [
|
|
963
|
+
{
|
|
964
|
+
props: { elevation: 1 },
|
|
965
|
+
style: {
|
|
966
|
+
boxShadow: SHADOWS["01"],
|
|
1140
967
|
},
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
968
|
+
},
|
|
969
|
+
{
|
|
970
|
+
props: { elevation: 2 },
|
|
971
|
+
style: {
|
|
972
|
+
boxShadow: SHADOWS["02"],
|
|
1146
973
|
},
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
},
|
|
974
|
+
},
|
|
975
|
+
{
|
|
976
|
+
props: { variant: "footer" },
|
|
977
|
+
style: {
|
|
978
|
+
backgroundColor: PALETTE.SMOKE_LIGHT,
|
|
979
|
+
boxShadow: `inset 0 1px 0 0 ${PALETTE.SMOKE_MAIN}, inset 0 -1px 0 0 ${PALETTE.SMOKE_MAIN}`,
|
|
1153
980
|
},
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
981
|
+
},
|
|
982
|
+
{
|
|
983
|
+
props: { variant: "menu" },
|
|
984
|
+
style: {
|
|
985
|
+
borderColor: PALETTE.SMOKE_DARK,
|
|
986
|
+
borderRadius: 8,
|
|
987
|
+
borderStyle: "solid",
|
|
988
|
+
borderWidth: 1,
|
|
989
|
+
boxShadow: SHADOWS["02"],
|
|
1163
990
|
},
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
props: { variant: "panel" },
|
|
994
|
+
style: {
|
|
995
|
+
borderColor: PALETTE.SMOKE_MAIN,
|
|
996
|
+
borderStyle: "solid",
|
|
997
|
+
borderWidth: 1,
|
|
998
|
+
boxShadow: SHADOWS["01"],
|
|
1172
999
|
},
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1000
|
+
},
|
|
1001
|
+
{
|
|
1002
|
+
props: { variant: "searchbar" },
|
|
1003
|
+
style: {
|
|
1004
|
+
alignSelf: FLEX_START,
|
|
1005
|
+
borderColor: PALETTE.SMOKE_MAIN,
|
|
1006
|
+
borderRadius: 0,
|
|
1007
|
+
borderStyle: "solid",
|
|
1008
|
+
borderWidth: "0 0 1px 0",
|
|
1009
|
+
boxShadow: SHADOWS["01"],
|
|
1010
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
1011
|
+
"&.MuiDialog-paper": {
|
|
1012
|
+
marginLeft: 0,
|
|
1013
|
+
marginRight: 0,
|
|
1014
|
+
maxWidth: "100%",
|
|
1015
|
+
width: "100%",
|
|
1189
1016
|
},
|
|
1190
1017
|
},
|
|
1191
|
-
|
|
1192
|
-
|
|
1018
|
+
},
|
|
1019
|
+
],
|
|
1193
1020
|
};
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1021
|
+
const MuiRadio = {
|
|
1022
|
+
defaultProps: {
|
|
1023
|
+
disableRipple: true,
|
|
1024
|
+
},
|
|
1025
|
+
styleOverrides: {
|
|
1026
|
+
root: {
|
|
1027
|
+
color: PALETTE.SMOKE_DARK,
|
|
1028
|
+
padding: 0,
|
|
1029
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
1030
|
+
"&.Mui-disabled": {
|
|
1031
|
+
color: PALETTE.SMOKE_DARK,
|
|
1032
|
+
opacity: "50%",
|
|
1033
|
+
},
|
|
1034
|
+
"&.MuiRadio-colorDefault": {
|
|
1035
|
+
color: PALETTE.INK_LIGHT,
|
|
1208
1036
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
1209
1037
|
"&.Mui-disabled": {
|
|
1210
|
-
color:
|
|
1211
|
-
opacity: "
|
|
1212
|
-
},
|
|
1213
|
-
"&.MuiRadio-colorDefault": {
|
|
1214
|
-
color: theme.palette.ink.light,
|
|
1215
|
-
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
1216
|
-
"&.Mui-disabled": {
|
|
1217
|
-
color: theme.palette.smoke.main,
|
|
1218
|
-
opacity: "100%",
|
|
1219
|
-
},
|
|
1220
|
-
},
|
|
1221
|
-
"&:hover": {
|
|
1222
|
-
backgroundColor: "transparent",
|
|
1038
|
+
color: PALETTE.SMOKE_MAIN,
|
|
1039
|
+
opacity: "100%",
|
|
1223
1040
|
},
|
|
1224
1041
|
},
|
|
1042
|
+
"&:hover": {
|
|
1043
|
+
backgroundColor: "transparent",
|
|
1044
|
+
},
|
|
1225
1045
|
},
|
|
1226
|
-
}
|
|
1046
|
+
},
|
|
1227
1047
|
};
|
|
1228
|
-
|
|
1229
|
-
* MuiSelect Component
|
|
1230
|
-
*/
|
|
1231
|
-
export const MuiSelect = {
|
|
1048
|
+
const MuiSelect = {
|
|
1232
1049
|
defaultProps: {
|
|
1233
1050
|
IconComponent: DropDownIcon,
|
|
1234
1051
|
},
|
|
@@ -1239,119 +1056,102 @@ export const MuiSelect = {
|
|
|
1239
1056
|
},
|
|
1240
1057
|
},
|
|
1241
1058
|
};
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
fontSize: "20px",
|
|
1255
|
-
},
|
|
1256
|
-
root: {
|
|
1257
|
-
"&.MuiSelect-icon": {
|
|
1258
|
-
color: theme.palette.ink.main,
|
|
1259
|
-
right: 8,
|
|
1260
|
-
},
|
|
1059
|
+
const MuiSvgIcon = {
|
|
1060
|
+
styleOverrides: {
|
|
1061
|
+
fontSizeLarge: {
|
|
1062
|
+
fontSize: "32px",
|
|
1063
|
+
},
|
|
1064
|
+
fontSizeSmall: {
|
|
1065
|
+
fontSize: "20px",
|
|
1066
|
+
},
|
|
1067
|
+
root: {
|
|
1068
|
+
"&.MuiSelect-icon": {
|
|
1069
|
+
color: PALETTE.INK_MAIN,
|
|
1070
|
+
right: 8,
|
|
1261
1071
|
},
|
|
1262
1072
|
},
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
style: {
|
|
1269
|
-
color: theme.palette.ink.light,
|
|
1270
|
-
},
|
|
1073
|
+
},
|
|
1074
|
+
variants: [
|
|
1075
|
+
{
|
|
1076
|
+
props: {
|
|
1077
|
+
color: "inkLight",
|
|
1271
1078
|
},
|
|
1272
|
-
{
|
|
1273
|
-
|
|
1274
|
-
color: "inkMain",
|
|
1275
|
-
},
|
|
1276
|
-
style: {
|
|
1277
|
-
color: theme.palette.ink.main,
|
|
1278
|
-
},
|
|
1079
|
+
style: {
|
|
1080
|
+
color: PALETTE.INK_LIGHT,
|
|
1279
1081
|
},
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
style: {
|
|
1285
|
-
fontSize: "24px",
|
|
1286
|
-
},
|
|
1082
|
+
},
|
|
1083
|
+
{
|
|
1084
|
+
props: {
|
|
1085
|
+
color: "inkMain",
|
|
1287
1086
|
},
|
|
1288
|
-
{
|
|
1289
|
-
|
|
1290
|
-
fontSize: "xsmall",
|
|
1291
|
-
},
|
|
1292
|
-
style: {
|
|
1293
|
-
fontSize: "18px",
|
|
1294
|
-
},
|
|
1087
|
+
style: {
|
|
1088
|
+
color: PALETTE.INK_MAIN,
|
|
1295
1089
|
},
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
style: {
|
|
1301
|
-
fontSize: "40px",
|
|
1302
|
-
},
|
|
1090
|
+
},
|
|
1091
|
+
{
|
|
1092
|
+
props: {
|
|
1093
|
+
fontSize: "medium",
|
|
1303
1094
|
},
|
|
1304
|
-
{
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1095
|
+
style: {
|
|
1096
|
+
fontSize: "24px",
|
|
1097
|
+
},
|
|
1098
|
+
},
|
|
1099
|
+
{
|
|
1100
|
+
props: {
|
|
1101
|
+
fontSize: "xsmall",
|
|
1102
|
+
},
|
|
1103
|
+
style: {
|
|
1104
|
+
fontSize: "18px",
|
|
1105
|
+
},
|
|
1106
|
+
},
|
|
1107
|
+
{
|
|
1108
|
+
props: {
|
|
1109
|
+
fontSize: "xxlarge",
|
|
1311
1110
|
},
|
|
1312
|
-
|
|
1313
|
-
|
|
1111
|
+
style: {
|
|
1112
|
+
fontSize: "40px",
|
|
1113
|
+
},
|
|
1114
|
+
},
|
|
1115
|
+
{
|
|
1116
|
+
props: {
|
|
1117
|
+
fontSize: "xxsmall",
|
|
1118
|
+
},
|
|
1119
|
+
style: {
|
|
1120
|
+
fontSize: "16px",
|
|
1121
|
+
},
|
|
1122
|
+
},
|
|
1123
|
+
],
|
|
1314
1124
|
};
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
styleOverrides: {
|
|
1323
|
-
labelIcon: {
|
|
1324
|
-
gap: 8,
|
|
1325
|
-
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
1326
|
-
"& > img": {
|
|
1327
|
-
maxHeight: 20, // Tab image max height.
|
|
1328
|
-
},
|
|
1125
|
+
const MuiTab = {
|
|
1126
|
+
styleOverrides: {
|
|
1127
|
+
labelIcon: {
|
|
1128
|
+
gap: 8,
|
|
1129
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
1130
|
+
"& > img": {
|
|
1131
|
+
maxHeight: 20, // Tab image max height.
|
|
1329
1132
|
},
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1133
|
+
},
|
|
1134
|
+
root: {
|
|
1135
|
+
color: PALETTE.INK_LIGHT,
|
|
1136
|
+
font: FONT.BODY_500,
|
|
1137
|
+
marginBottom: 3,
|
|
1138
|
+
minHeight: "unset",
|
|
1139
|
+
minWidth: "unset",
|
|
1140
|
+
opacity: 1,
|
|
1141
|
+
padding: 12,
|
|
1142
|
+
textTransform: "capitalize",
|
|
1143
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
1144
|
+
"&.Mui-selected": {
|
|
1145
|
+
color: PALETTE.INK_MAIN,
|
|
1146
|
+
},
|
|
1147
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
1148
|
+
"& > .MuiTab-iconWrapper": {
|
|
1149
|
+
marginRight: 0,
|
|
1347
1150
|
},
|
|
1348
1151
|
},
|
|
1349
|
-
}
|
|
1152
|
+
},
|
|
1350
1153
|
};
|
|
1351
|
-
|
|
1352
|
-
* MuiTableSortLabel Component
|
|
1353
|
-
*/
|
|
1354
|
-
export const MuiTableSortLabel = {
|
|
1154
|
+
const MuiTableSortLabel = {
|
|
1355
1155
|
styleOverrides: {
|
|
1356
1156
|
icon: {
|
|
1357
1157
|
fontSize: 20,
|
|
@@ -1375,189 +1175,155 @@ export const MuiTableSortLabel = {
|
|
|
1375
1175
|
},
|
|
1376
1176
|
},
|
|
1377
1177
|
};
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
},
|
|
1389
|
-
styleOverrides: {
|
|
1390
|
-
flexContainer: {
|
|
1391
|
-
gap: 8,
|
|
1178
|
+
const MuiTabs = {
|
|
1179
|
+
defaultProps: {
|
|
1180
|
+
textColor: "inherit",
|
|
1181
|
+
variant: "scrollable",
|
|
1182
|
+
},
|
|
1183
|
+
styleOverrides: {
|
|
1184
|
+
flexContainer: {
|
|
1185
|
+
gap: 8,
|
|
1186
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
1187
|
+
"&:not(.MuiTabs-flexContainerVertical)": {
|
|
1392
1188
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
1393
|
-
"
|
|
1189
|
+
".MuiTab-root": {
|
|
1394
1190
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
1395
|
-
"
|
|
1191
|
+
"&:hover": {
|
|
1192
|
+
color: PALETTE.INK_MAIN,
|
|
1193
|
+
overflow: "visible",
|
|
1396
1194
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
1397
|
-
"&:
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
"
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
height: 3,
|
|
1407
|
-
left: 0,
|
|
1408
|
-
position: "absolute",
|
|
1409
|
-
width: "100%",
|
|
1410
|
-
},
|
|
1195
|
+
"&:after": {
|
|
1196
|
+
backgroundColor: PALETTE.SMOKE_DARK,
|
|
1197
|
+
borderRadius: "12px 12px 0 0",
|
|
1198
|
+
bottom: -3,
|
|
1199
|
+
content: '""',
|
|
1200
|
+
height: 3,
|
|
1201
|
+
left: 0,
|
|
1202
|
+
position: "absolute",
|
|
1203
|
+
width: "100%",
|
|
1411
1204
|
},
|
|
1205
|
+
},
|
|
1206
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
1207
|
+
"&.Mui-selected": {
|
|
1412
1208
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
1413
|
-
"
|
|
1209
|
+
"&:hover": {
|
|
1210
|
+
overflow: "unset",
|
|
1414
1211
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
1415
|
-
"&:
|
|
1416
|
-
|
|
1417
|
-
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
1418
|
-
"&:after": {
|
|
1419
|
-
content: "none",
|
|
1420
|
-
},
|
|
1212
|
+
"&:after": {
|
|
1213
|
+
content: "none",
|
|
1421
1214
|
},
|
|
1422
1215
|
},
|
|
1423
1216
|
},
|
|
1424
1217
|
},
|
|
1425
1218
|
},
|
|
1426
|
-
indicator: {
|
|
1427
|
-
borderTopLeftRadius: 12,
|
|
1428
|
-
borderTopRightRadius: 12,
|
|
1429
|
-
height: 3,
|
|
1430
|
-
},
|
|
1431
|
-
root: {
|
|
1432
|
-
boxShadow: `inset 0 -1px 0 0 ${theme.palette.smoke.main}`,
|
|
1433
|
-
minHeight: "unset",
|
|
1434
|
-
position: "relative", // Positions scroll fuzz.
|
|
1435
|
-
},
|
|
1436
|
-
scroller: {
|
|
1437
|
-
margin: 0,
|
|
1438
|
-
padding: "0 8px",
|
|
1439
|
-
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
1440
|
-
[tabletUp]: {
|
|
1441
|
-
padding: 0,
|
|
1442
|
-
},
|
|
1443
|
-
},
|
|
1444
1219
|
},
|
|
1445
|
-
|
|
1220
|
+
indicator: {
|
|
1221
|
+
borderTopLeftRadius: 12,
|
|
1222
|
+
borderTopRightRadius: 12,
|
|
1223
|
+
height: 3,
|
|
1224
|
+
},
|
|
1225
|
+
root: {
|
|
1226
|
+
boxShadow: `inset 0 -1px 0 0 ${PALETTE.SMOKE_MAIN}`,
|
|
1227
|
+
minHeight: "unset",
|
|
1228
|
+
position: "relative", // Positions scroll fuzz.
|
|
1229
|
+
},
|
|
1230
|
+
scroller: ({ theme }) => ({
|
|
1231
|
+
margin: 0,
|
|
1232
|
+
padding: "0 8px",
|
|
1233
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
1234
|
+
[bpUpSm({ theme })]: {
|
|
1235
|
+
padding: 0,
|
|
1236
|
+
},
|
|
1237
|
+
}),
|
|
1238
|
+
},
|
|
1446
1239
|
};
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1240
|
+
const MuiToggleButton = {
|
|
1241
|
+
styleOverrides: {
|
|
1242
|
+
root: {
|
|
1243
|
+
backgroundColor: PALETTE.SMOKE_MAIN,
|
|
1244
|
+
border: "none",
|
|
1245
|
+
borderRadius: 4,
|
|
1246
|
+
color: PALETTE.INK_MAIN,
|
|
1247
|
+
flex: 1,
|
|
1248
|
+
font: FONT.BODY_500,
|
|
1249
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
1250
|
+
"&:hover": {
|
|
1251
|
+
backgroundColor: PALETTE.SMOKE_LIGHTEST,
|
|
1252
|
+
},
|
|
1253
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
1254
|
+
"&.Mui-selected": {
|
|
1255
|
+
backgroundColor: PALETTE.COMMON_WHITE,
|
|
1462
1256
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
1463
1257
|
"&:hover": {
|
|
1464
|
-
backgroundColor: theme.palette.smoke.lightest,
|
|
1465
|
-
},
|
|
1466
|
-
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
1467
|
-
"&.Mui-selected": {
|
|
1468
1258
|
backgroundColor: PALETTE.COMMON_WHITE,
|
|
1469
|
-
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
1470
|
-
"&:hover": {
|
|
1471
|
-
backgroundColor: PALETTE.COMMON_WHITE,
|
|
1472
|
-
},
|
|
1473
1259
|
},
|
|
1474
|
-
variants: [
|
|
1475
|
-
{
|
|
1476
|
-
props: { size: TOGGLE_BUTTON_PROPS.SIZE.MEDIUM },
|
|
1477
|
-
style: { padding: "8px 16px" },
|
|
1478
|
-
},
|
|
1479
|
-
],
|
|
1480
1260
|
},
|
|
1261
|
+
variants: [
|
|
1262
|
+
{
|
|
1263
|
+
props: { size: TOGGLE_BUTTON_PROPS.SIZE.MEDIUM },
|
|
1264
|
+
style: { padding: "8px 16px" },
|
|
1265
|
+
},
|
|
1266
|
+
],
|
|
1481
1267
|
},
|
|
1482
|
-
}
|
|
1483
|
-
};
|
|
1484
|
-
/**
|
|
1485
|
-
* MuiToggleButtonGroup Component
|
|
1486
|
-
* @param theme - Theme.
|
|
1487
|
-
* @returns MuiToggleButtonGroup component theme styles.
|
|
1488
|
-
*/
|
|
1489
|
-
export const MuiToggleButtonGroup = (theme) => {
|
|
1490
|
-
return {
|
|
1491
|
-
styleOverrides: {
|
|
1492
|
-
grouped: {
|
|
1493
|
-
border: "none !important", // Overrides "grouped" css selector specificity.
|
|
1494
|
-
borderRadius: "4px !important", // Overrides "grouped" css selector specificity.
|
|
1495
|
-
margin: "0 !important", // Overrides "grouped" css selector specificity.
|
|
1496
|
-
},
|
|
1497
|
-
root: {
|
|
1498
|
-
backgroundColor: theme.palette.smoke.main,
|
|
1499
|
-
borderRadius: 6,
|
|
1500
|
-
color: theme.palette.ink.main,
|
|
1501
|
-
display: "grid",
|
|
1502
|
-
gridAutoColumns: "1fr",
|
|
1503
|
-
gridAutoFlow: "column",
|
|
1504
|
-
padding: 2,
|
|
1505
|
-
},
|
|
1506
|
-
},
|
|
1507
|
-
};
|
|
1268
|
+
},
|
|
1508
1269
|
};
|
|
1509
|
-
|
|
1510
|
-
* MuiToolbar Component
|
|
1511
|
-
*/
|
|
1512
|
-
export const MuiToolbar = {
|
|
1270
|
+
const MuiToggleButtonGroup = {
|
|
1513
1271
|
styleOverrides: {
|
|
1272
|
+
grouped: {
|
|
1273
|
+
border: "none !important", // Overrides "grouped" css selector specificity.
|
|
1274
|
+
borderRadius: "4px !important", // Overrides "grouped" css selector specificity.
|
|
1275
|
+
margin: "0 !important", // Overrides "grouped" css selector specificity.
|
|
1276
|
+
},
|
|
1514
1277
|
root: {
|
|
1515
|
-
|
|
1278
|
+
backgroundColor: PALETTE.SMOKE_MAIN,
|
|
1279
|
+
borderRadius: 6,
|
|
1280
|
+
color: PALETTE.INK_MAIN,
|
|
1281
|
+
display: "grid",
|
|
1282
|
+
gridAutoColumns: "1fr",
|
|
1283
|
+
gridAutoFlow: "column",
|
|
1284
|
+
padding: 2,
|
|
1285
|
+
},
|
|
1286
|
+
},
|
|
1287
|
+
};
|
|
1288
|
+
const MuiToolbar = {
|
|
1289
|
+
styleOverrides: {
|
|
1290
|
+
root: ({ theme }) => ({
|
|
1291
|
+
[bpUpXs({ theme })]: {
|
|
1516
1292
|
paddingLeft: 12,
|
|
1517
1293
|
paddingRight: 12,
|
|
1518
1294
|
},
|
|
1519
1295
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
1520
|
-
[
|
|
1296
|
+
[bpUpLg({ theme })]: {
|
|
1521
1297
|
paddingLeft: 16,
|
|
1522
1298
|
paddingRight: 16,
|
|
1523
1299
|
},
|
|
1524
|
-
},
|
|
1300
|
+
}),
|
|
1525
1301
|
},
|
|
1526
1302
|
};
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
styleOverrides: {
|
|
1540
|
-
arrow: {
|
|
1541
|
-
color: theme.palette.ink.main,
|
|
1542
|
-
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
1543
|
-
"&:before": {
|
|
1544
|
-
borderRadius: 1,
|
|
1545
|
-
},
|
|
1546
|
-
},
|
|
1547
|
-
tooltip: {
|
|
1548
|
-
...theme.typography[TEXT_BODY_SMALL_400],
|
|
1549
|
-
backgroundColor: theme.palette.ink.main,
|
|
1550
|
-
boxShadow: SHADOWS["02"],
|
|
1551
|
-
boxSizing: "content-box",
|
|
1552
|
-
padding: "8px 12px",
|
|
1303
|
+
const MuiTooltip = {
|
|
1304
|
+
defaultProps: {
|
|
1305
|
+
enterTouchDelay: 0,
|
|
1306
|
+
leaveTouchDelay: 4000,
|
|
1307
|
+
placement: "top",
|
|
1308
|
+
},
|
|
1309
|
+
styleOverrides: {
|
|
1310
|
+
arrow: {
|
|
1311
|
+
color: PALETTE.INK_MAIN,
|
|
1312
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
1313
|
+
"&:before": {
|
|
1314
|
+
borderRadius: 1,
|
|
1553
1315
|
},
|
|
1554
1316
|
},
|
|
1555
|
-
|
|
1317
|
+
tooltip: {
|
|
1318
|
+
backgroundColor: PALETTE.INK_MAIN,
|
|
1319
|
+
boxShadow: SHADOWS["02"],
|
|
1320
|
+
boxSizing: "content-box",
|
|
1321
|
+
font: FONT.BODY_SMALL_400,
|
|
1322
|
+
padding: "8px 12px",
|
|
1323
|
+
},
|
|
1324
|
+
},
|
|
1556
1325
|
};
|
|
1557
|
-
|
|
1558
|
-
* MuiTypography Component
|
|
1559
|
-
*/
|
|
1560
|
-
export const MuiTypography = {
|
|
1326
|
+
const MuiTypography = {
|
|
1561
1327
|
defaultProps: {
|
|
1562
1328
|
variant: "inherit",
|
|
1563
1329
|
},
|
|
@@ -1565,5 +1331,61 @@ export const MuiTypography = {
|
|
|
1565
1331
|
gutterBottom: {
|
|
1566
1332
|
marginBottom: 8,
|
|
1567
1333
|
},
|
|
1334
|
+
root: {
|
|
1335
|
+
variants: [
|
|
1336
|
+
{
|
|
1337
|
+
props: { variant: TYPOGRAPHY_PROPS.VARIANT.UPPERCASE_500 },
|
|
1338
|
+
style: { textTransform: "uppercase" },
|
|
1339
|
+
},
|
|
1340
|
+
],
|
|
1341
|
+
},
|
|
1568
1342
|
},
|
|
1569
1343
|
};
|
|
1344
|
+
export const components = {
|
|
1345
|
+
MuiAccordion,
|
|
1346
|
+
MuiAccordionDetails,
|
|
1347
|
+
MuiAccordionSummary,
|
|
1348
|
+
MuiAlert: C.MuiAlert,
|
|
1349
|
+
MuiAlertTitle: C.MuiAlertTitle,
|
|
1350
|
+
MuiAppBar,
|
|
1351
|
+
MuiBackdrop,
|
|
1352
|
+
MuiBreadcrumbs,
|
|
1353
|
+
MuiButton,
|
|
1354
|
+
MuiButtonBase,
|
|
1355
|
+
MuiButtonGroup: C.MuiButtonGroup,
|
|
1356
|
+
MuiCard,
|
|
1357
|
+
MuiCheckbox,
|
|
1358
|
+
MuiChip,
|
|
1359
|
+
MuiCircularProgress,
|
|
1360
|
+
MuiCssBaseline,
|
|
1361
|
+
MuiDialog,
|
|
1362
|
+
MuiDialogActions,
|
|
1363
|
+
MuiDialogContent,
|
|
1364
|
+
MuiDialogTitle,
|
|
1365
|
+
MuiDivider,
|
|
1366
|
+
MuiDrawer,
|
|
1367
|
+
MuiFormControlLabel,
|
|
1368
|
+
MuiFormGroup,
|
|
1369
|
+
MuiFormHelperText,
|
|
1370
|
+
MuiIconButton,
|
|
1371
|
+
MuiInputBase,
|
|
1372
|
+
MuiLink,
|
|
1373
|
+
MuiListItemButton,
|
|
1374
|
+
MuiListItemText,
|
|
1375
|
+
MuiListSubheader,
|
|
1376
|
+
MuiMenuItem,
|
|
1377
|
+
MuiOutlinedInput,
|
|
1378
|
+
MuiPaper,
|
|
1379
|
+
MuiRadio,
|
|
1380
|
+
MuiSelect,
|
|
1381
|
+
MuiSvgIcon,
|
|
1382
|
+
MuiTab,
|
|
1383
|
+
MuiTableCell: C.MuiTableCell,
|
|
1384
|
+
MuiTableSortLabel,
|
|
1385
|
+
MuiTabs,
|
|
1386
|
+
MuiToggleButton,
|
|
1387
|
+
MuiToggleButtonGroup,
|
|
1388
|
+
MuiToolbar,
|
|
1389
|
+
MuiTooltip,
|
|
1390
|
+
MuiTypography,
|
|
1391
|
+
};
|