@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
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ThemeOptions, TypographyVariantsOptions } from "@mui/material";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Extracts fontFamily from theme options for base theme creation.
|
|
5
|
+
* Ensures custom fontFamily is properly configured for CSS variables and theme typography.
|
|
6
|
+
* @param themeOptions - Theme Options.
|
|
7
|
+
* @returns Object containing fontFamily (custom or default "Inter").
|
|
8
|
+
*/
|
|
9
|
+
export const fontStyles = (
|
|
10
|
+
themeOptions: ThemeOptions
|
|
11
|
+
): Pick<TypographyVariantsOptions, "fontFamily"> => {
|
|
12
|
+
const typography = themeOptions.typography || {};
|
|
13
|
+
|
|
14
|
+
if ("fontFamily" in typography) return { fontFamily: typography.fontFamily };
|
|
15
|
+
|
|
16
|
+
return { fontFamily: "Inter" };
|
|
17
|
+
};
|
|
@@ -1,25 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import {
|
|
2
|
+
CommonColors,
|
|
3
|
+
PaletteColorOptions,
|
|
4
|
+
PaletteOptions,
|
|
5
|
+
TypeBackground,
|
|
6
|
+
TypeText,
|
|
7
|
+
} from "@mui/material";
|
|
3
8
|
|
|
4
|
-
/**
|
|
5
|
-
* Palette "Alert"
|
|
6
|
-
*/
|
|
7
9
|
const ALERT = {
|
|
8
10
|
LIGHT: "#FED3D1",
|
|
9
11
|
LIGHTEST: "#FFF4F4",
|
|
10
12
|
MAIN: "#B42318",
|
|
11
13
|
};
|
|
12
14
|
|
|
13
|
-
/**
|
|
14
|
-
* Palette "Background"
|
|
15
|
-
*/
|
|
16
15
|
const BACKGROUND = {
|
|
17
16
|
DEFAULT: "#F6F6F7",
|
|
18
17
|
};
|
|
19
18
|
|
|
20
|
-
/**
|
|
21
|
-
* Palette "Info"
|
|
22
|
-
*/
|
|
23
19
|
const INFO = {
|
|
24
20
|
CONTRAST_TEXT: "#00729C",
|
|
25
21
|
LIGHT: "#97D6EA",
|
|
@@ -27,26 +23,17 @@ const INFO = {
|
|
|
27
23
|
MAIN: "#00729C",
|
|
28
24
|
};
|
|
29
25
|
|
|
30
|
-
/**
|
|
31
|
-
* Palette "Ink"
|
|
32
|
-
*/
|
|
33
26
|
const INK = {
|
|
34
27
|
LIGHT: "#637381",
|
|
35
28
|
MAIN: "#212B36",
|
|
36
29
|
};
|
|
37
30
|
|
|
38
|
-
/**
|
|
39
|
-
* Palette "Primary"
|
|
40
|
-
*/
|
|
41
31
|
const PRIMARY = {
|
|
42
32
|
DARK: "#005EA9",
|
|
43
33
|
LIGHTEST: "#E6EFF6",
|
|
44
34
|
MAIN: "#1C7CC7",
|
|
45
35
|
};
|
|
46
36
|
|
|
47
|
-
/**
|
|
48
|
-
* Palette "Smoke"
|
|
49
|
-
*/
|
|
50
37
|
const SMOKE = {
|
|
51
38
|
DARK: "#C4CDD5",
|
|
52
39
|
LIGHT: "#F6F6F7",
|
|
@@ -54,25 +41,16 @@ const SMOKE = {
|
|
|
54
41
|
MAIN: "#E1E3E5",
|
|
55
42
|
};
|
|
56
43
|
|
|
57
|
-
/**
|
|
58
|
-
* Palette "Success"
|
|
59
|
-
*/
|
|
60
44
|
const SUCCESS = {
|
|
61
45
|
LIGHT: "#AEE9D1",
|
|
62
46
|
LIGHTEST: "#F1F8F5",
|
|
63
47
|
MAIN: "#287555",
|
|
64
48
|
};
|
|
65
49
|
|
|
66
|
-
/**
|
|
67
|
-
* Palette "Text"
|
|
68
|
-
*/
|
|
69
50
|
const TEXT = {
|
|
70
51
|
PRIMARY: "#212B36",
|
|
71
52
|
};
|
|
72
53
|
|
|
73
|
-
/**
|
|
74
|
-
* Palette "Warning"
|
|
75
|
-
*/
|
|
76
54
|
const WARNING = {
|
|
77
55
|
CONTRAST_TEXT: "#B54708",
|
|
78
56
|
LIGHT: "#FFD79D",
|
|
@@ -80,103 +58,80 @@ const WARNING = {
|
|
|
80
58
|
MAIN: "#B54708",
|
|
81
59
|
};
|
|
82
60
|
|
|
83
|
-
/**
|
|
84
|
-
* Default "Black"
|
|
85
|
-
*/
|
|
86
61
|
const BLACK = {
|
|
87
62
|
DEFAULT: "#000000",
|
|
88
63
|
};
|
|
89
64
|
|
|
90
|
-
/**
|
|
91
|
-
* Default "White"
|
|
92
|
-
*/
|
|
93
65
|
const WHITE = {
|
|
94
66
|
DEFAULT: "#ffffff",
|
|
95
67
|
};
|
|
96
68
|
|
|
97
|
-
|
|
98
|
-
* Palette Option "Alert"
|
|
99
|
-
*/
|
|
100
|
-
export const alert: PaletteColorOptions = {
|
|
69
|
+
const alert: PaletteColorOptions = {
|
|
101
70
|
light: ALERT.LIGHT,
|
|
102
71
|
lightest: ALERT.LIGHTEST,
|
|
103
72
|
main: ALERT.MAIN,
|
|
104
73
|
};
|
|
105
74
|
|
|
106
|
-
|
|
107
|
-
* Palette Option "Background"
|
|
108
|
-
*/
|
|
109
|
-
export const background: Pick<TypeBackground, "default"> = {
|
|
75
|
+
const background: Pick<TypeBackground, "default"> = {
|
|
110
76
|
default: BACKGROUND.DEFAULT,
|
|
111
77
|
};
|
|
112
78
|
|
|
113
|
-
|
|
114
|
-
* Palette Option "Common"
|
|
115
|
-
*/
|
|
116
|
-
export const common: CommonColors = {
|
|
79
|
+
const common: CommonColors = {
|
|
117
80
|
black: BLACK.DEFAULT,
|
|
118
81
|
white: WHITE.DEFAULT,
|
|
119
82
|
};
|
|
120
83
|
|
|
121
|
-
|
|
122
|
-
* Palette Option "Info"
|
|
123
|
-
*/
|
|
124
|
-
export const info: PaletteColorOptions = {
|
|
84
|
+
const info: PaletteColorOptions = {
|
|
125
85
|
contrastText: INFO.CONTRAST_TEXT,
|
|
126
86
|
light: INFO.LIGHT,
|
|
127
87
|
lightest: INFO.LIGHTEST,
|
|
128
88
|
main: INFO.MAIN,
|
|
129
89
|
};
|
|
130
90
|
|
|
131
|
-
|
|
132
|
-
* Palette Option "Ink"
|
|
133
|
-
*/
|
|
134
|
-
export const ink: PaletteColorOptions = {
|
|
91
|
+
const ink: PaletteColorOptions = {
|
|
135
92
|
light: INK.LIGHT,
|
|
136
93
|
main: INK.MAIN,
|
|
137
94
|
};
|
|
138
95
|
|
|
139
|
-
|
|
140
|
-
* Palette Option "Primary"
|
|
141
|
-
*/
|
|
142
|
-
export const primary: PaletteColorOptions = {
|
|
96
|
+
const primary: PaletteColorOptions = {
|
|
143
97
|
dark: PRIMARY.DARK,
|
|
144
98
|
lightest: PRIMARY.LIGHTEST,
|
|
145
99
|
main: PRIMARY.MAIN,
|
|
146
100
|
};
|
|
147
101
|
|
|
148
|
-
|
|
149
|
-
* Palette Option "Smoke"
|
|
150
|
-
*/
|
|
151
|
-
export const smoke: PaletteColorOptions = {
|
|
102
|
+
const smoke: PaletteColorOptions = {
|
|
152
103
|
dark: SMOKE.DARK,
|
|
153
104
|
light: SMOKE.LIGHT,
|
|
154
105
|
lightest: SMOKE.LIGHTEST,
|
|
155
106
|
main: SMOKE.MAIN,
|
|
156
107
|
};
|
|
157
108
|
|
|
158
|
-
|
|
159
|
-
* Palette Option "Success"
|
|
160
|
-
*/
|
|
161
|
-
export const success: PaletteColorOptions = {
|
|
109
|
+
const success: PaletteColorOptions = {
|
|
162
110
|
light: SUCCESS.LIGHT,
|
|
163
111
|
lightest: SUCCESS.LIGHTEST,
|
|
164
112
|
main: SUCCESS.MAIN,
|
|
165
113
|
};
|
|
166
114
|
|
|
167
|
-
|
|
168
|
-
* Palette Option "Text"
|
|
169
|
-
*/
|
|
170
|
-
export const text: Pick<TypeText, "primary"> = {
|
|
115
|
+
const text: Pick<TypeText, "primary"> = {
|
|
171
116
|
primary: TEXT.PRIMARY,
|
|
172
117
|
};
|
|
173
118
|
|
|
174
|
-
|
|
175
|
-
* Palette Option "Warning"
|
|
176
|
-
*/
|
|
177
|
-
export const warning: PaletteColorOptions = {
|
|
119
|
+
const warning: PaletteColorOptions = {
|
|
178
120
|
contrastText: WARNING.CONTRAST_TEXT,
|
|
179
121
|
light: WARNING.LIGHT,
|
|
180
122
|
lightest: WARNING.LIGHTEST,
|
|
181
123
|
main: WARNING.MAIN,
|
|
182
124
|
};
|
|
125
|
+
|
|
126
|
+
export const palette: PaletteOptions = {
|
|
127
|
+
alert,
|
|
128
|
+
background,
|
|
129
|
+
common,
|
|
130
|
+
info,
|
|
131
|
+
ink,
|
|
132
|
+
primary,
|
|
133
|
+
smoke,
|
|
134
|
+
success,
|
|
135
|
+
text,
|
|
136
|
+
warning,
|
|
137
|
+
};
|
|
@@ -1,211 +1,149 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
TEXT_BODY_500: "text-body-500",
|
|
12
|
-
TEXT_BODY_500_2_LINES: "text-body-500-2lines",
|
|
13
|
-
TEXT_BODY_LARGE_400: "text-body-large-400",
|
|
14
|
-
TEXT_BODY_LARGE_400_2_LINES: "text-body-large-400-2lines",
|
|
15
|
-
TEXT_BODY_LARGE_500: "text-body-large-500",
|
|
16
|
-
TEXT_BODY_SMALL_400: "text-body-small-400",
|
|
17
|
-
TEXT_BODY_SMALL_400_2_LINES: "text-body-small-400-2lines",
|
|
18
|
-
TEXT_BODY_SMALL_500: "text-body-small-500",
|
|
19
|
-
TEXT_HEADING: "text-heading",
|
|
20
|
-
TEXT_HEADING_LARGE: "text-heading-large",
|
|
21
|
-
TEXT_HEADING_SMALL: "text-heading-small",
|
|
22
|
-
TEXT_HEADING_XLARGE: "text-heading-xlarge",
|
|
23
|
-
TEXT_HEADING_XSMALL: "text-heading-xsmall",
|
|
24
|
-
TEXT_UPPERCASE_500: "text-uppercase-500",
|
|
25
|
-
} as const;
|
|
26
|
-
export const {
|
|
27
|
-
TEXT_BODY_400,
|
|
28
|
-
TEXT_BODY_400_2_LINES,
|
|
29
|
-
TEXT_BODY_500,
|
|
30
|
-
TEXT_BODY_500_2_LINES,
|
|
31
|
-
TEXT_BODY_LARGE_400,
|
|
32
|
-
TEXT_BODY_LARGE_400_2_LINES,
|
|
33
|
-
TEXT_BODY_LARGE_500,
|
|
34
|
-
TEXT_BODY_SMALL_400,
|
|
35
|
-
TEXT_BODY_SMALL_400_2_LINES,
|
|
36
|
-
TEXT_BODY_SMALL_500,
|
|
37
|
-
TEXT_HEADING,
|
|
38
|
-
TEXT_HEADING_LARGE,
|
|
39
|
-
TEXT_HEADING_SMALL,
|
|
40
|
-
TEXT_HEADING_XLARGE,
|
|
41
|
-
TEXT_HEADING_XSMALL,
|
|
42
|
-
TEXT_UPPERCASE_500,
|
|
43
|
-
} = TYPOGRAPHY;
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* Typography Option "text-body-400"
|
|
47
|
-
*/
|
|
48
|
-
export const textBody400: CSSProperties = {
|
|
49
|
-
fontSize: 14,
|
|
1
|
+
import {
|
|
2
|
+
Theme,
|
|
3
|
+
TypographyStyle,
|
|
4
|
+
TypographyVariantsOptions,
|
|
5
|
+
} from "@mui/material";
|
|
6
|
+
import { bpUpSm } from "../../styles/common/mixins/breakpoints";
|
|
7
|
+
|
|
8
|
+
const body400: TypographyStyle = {
|
|
9
|
+
fontFamily: "Inter",
|
|
10
|
+
fontSize: "14px",
|
|
50
11
|
fontWeight: 400,
|
|
51
12
|
lineHeight: "20px",
|
|
52
13
|
};
|
|
53
14
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
export const textBody4002Lines: CSSProperties = {
|
|
58
|
-
fontSize: 14,
|
|
15
|
+
const body4002Lines: TypographyStyle = {
|
|
16
|
+
fontFamily: "Inter",
|
|
17
|
+
fontSize: "14px",
|
|
59
18
|
fontWeight: 400,
|
|
60
19
|
lineHeight: "24px",
|
|
61
20
|
};
|
|
62
21
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
export const textBody500: CSSProperties = {
|
|
67
|
-
fontSize: 14,
|
|
22
|
+
const body500: TypographyStyle = {
|
|
23
|
+
fontFamily: "Inter",
|
|
24
|
+
fontSize: "14px",
|
|
68
25
|
fontWeight: 500,
|
|
69
26
|
lineHeight: "20px",
|
|
70
27
|
};
|
|
71
28
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
export const textBody5002Lines: CSSProperties = {
|
|
76
|
-
fontSize: 14,
|
|
77
|
-
fontWeight: 500,
|
|
78
|
-
lineHeight: "24px",
|
|
79
|
-
};
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* Typography Option "text-body-large-400"
|
|
83
|
-
*/
|
|
84
|
-
export const textBodyLarge400: CSSProperties = {
|
|
85
|
-
fontSize: 16,
|
|
29
|
+
const bodyLarge400: TypographyStyle = {
|
|
30
|
+
fontFamily: "Inter",
|
|
31
|
+
fontSize: "16px",
|
|
86
32
|
fontWeight: 400,
|
|
87
33
|
lineHeight: "24px",
|
|
88
34
|
};
|
|
89
35
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
export const textBodyLarge4002Lines: CSSProperties = {
|
|
94
|
-
fontSize: 16,
|
|
36
|
+
const bodyLarge4002Lines: TypographyStyle = {
|
|
37
|
+
fontFamily: "Inter",
|
|
38
|
+
fontSize: "16px",
|
|
95
39
|
fontWeight: 400,
|
|
96
40
|
lineHeight: "28px",
|
|
97
41
|
};
|
|
98
42
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
export const textBodyLarge500: CSSProperties = {
|
|
103
|
-
fontSize: 16,
|
|
43
|
+
const bodyLarge500: TypographyStyle = {
|
|
44
|
+
fontFamily: "Inter",
|
|
45
|
+
fontSize: "16px",
|
|
104
46
|
fontWeight: 500,
|
|
105
47
|
lineHeight: "24px",
|
|
106
48
|
};
|
|
107
49
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
export const textBodySmall400: CSSProperties = {
|
|
112
|
-
fontSize: 13,
|
|
50
|
+
const bodySmall400: TypographyStyle = {
|
|
51
|
+
fontFamily: "Inter",
|
|
52
|
+
fontSize: "13px",
|
|
113
53
|
fontWeight: 400,
|
|
114
54
|
lineHeight: "16px",
|
|
115
55
|
};
|
|
116
56
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
export const textBodySmall4002Lines: CSSProperties = {
|
|
121
|
-
fontSize: 13,
|
|
57
|
+
const bodySmall4002Lines: TypographyStyle = {
|
|
58
|
+
fontFamily: "Inter",
|
|
59
|
+
fontSize: "13px",
|
|
122
60
|
fontWeight: 400,
|
|
123
61
|
lineHeight: "20px",
|
|
124
62
|
};
|
|
125
63
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
export const textBodySmall500: CSSProperties = {
|
|
130
|
-
fontSize: 13,
|
|
64
|
+
const bodySmall500: TypographyStyle = {
|
|
65
|
+
fontFamily: "Inter",
|
|
66
|
+
fontSize: "13px",
|
|
131
67
|
fontWeight: 500,
|
|
132
68
|
lineHeight: "16px",
|
|
133
69
|
};
|
|
134
70
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
export const textHeading: CSSProperties = {
|
|
139
|
-
fontSize: 20,
|
|
71
|
+
const heading = (theme: Theme): TypographyStyle => ({
|
|
72
|
+
fontFamily: "Inter",
|
|
73
|
+
fontSize: "20px",
|
|
140
74
|
fontWeight: 500,
|
|
141
|
-
letterSpacing: "-0.2px",
|
|
142
75
|
lineHeight: "28px",
|
|
143
|
-
[
|
|
144
|
-
fontSize:
|
|
145
|
-
letterSpacing: "-0.4px",
|
|
76
|
+
[bpUpSm({ theme })]: {
|
|
77
|
+
fontSize: "24px",
|
|
146
78
|
lineHeight: "32px",
|
|
147
79
|
},
|
|
148
|
-
};
|
|
80
|
+
});
|
|
149
81
|
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
export const textHeadingLarge: CSSProperties = {
|
|
154
|
-
fontSize: 24,
|
|
82
|
+
const headingLarge = (theme: Theme): TypographyStyle => ({
|
|
83
|
+
fontFamily: "Inter",
|
|
84
|
+
fontSize: "24px",
|
|
155
85
|
fontWeight: 500,
|
|
156
|
-
letterSpacing: "-0.4px",
|
|
157
86
|
lineHeight: "32px",
|
|
158
|
-
[
|
|
159
|
-
fontSize:
|
|
160
|
-
letterSpacing: "-0.8px",
|
|
87
|
+
[bpUpSm({ theme })]: {
|
|
88
|
+
fontSize: "32px",
|
|
161
89
|
lineHeight: "40px",
|
|
162
90
|
},
|
|
163
|
-
};
|
|
91
|
+
});
|
|
164
92
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
export const textHeadingSmall: CSSProperties = {
|
|
169
|
-
fontSize: 18,
|
|
93
|
+
const headingSmall = (theme: Theme): TypographyStyle => ({
|
|
94
|
+
fontFamily: "Inter",
|
|
95
|
+
fontSize: "18px",
|
|
170
96
|
fontWeight: 500,
|
|
171
97
|
lineHeight: "26px",
|
|
172
|
-
[
|
|
173
|
-
fontSize:
|
|
174
|
-
letterSpacing: "-0.2px",
|
|
98
|
+
[bpUpSm({ theme })]: {
|
|
99
|
+
fontSize: "20px",
|
|
175
100
|
lineHeight: "28px",
|
|
176
101
|
},
|
|
177
|
-
};
|
|
102
|
+
});
|
|
178
103
|
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
export const textHeadingXLarge: CSSProperties = {
|
|
183
|
-
fontSize: 30,
|
|
104
|
+
const headingXLarge = (theme: Theme): TypographyStyle => ({
|
|
105
|
+
fontFamily: "Inter",
|
|
106
|
+
fontSize: "30px",
|
|
184
107
|
fontWeight: 500,
|
|
185
108
|
letterSpacing: "-0.8px",
|
|
186
109
|
lineHeight: "40px",
|
|
187
|
-
[
|
|
188
|
-
fontSize:
|
|
189
|
-
letterSpacing: "-
|
|
190
|
-
lineHeight: "
|
|
110
|
+
[bpUpSm({ theme })]: {
|
|
111
|
+
fontSize: "40px",
|
|
112
|
+
letterSpacing: "-0.4px",
|
|
113
|
+
lineHeight: "48px",
|
|
191
114
|
},
|
|
192
|
-
};
|
|
115
|
+
});
|
|
193
116
|
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
export const textHeadingXSmall: CSSProperties = {
|
|
198
|
-
fontSize: 16,
|
|
117
|
+
const headingXSmall: TypographyStyle = {
|
|
118
|
+
fontFamily: "Inter",
|
|
119
|
+
fontSize: "16px",
|
|
199
120
|
fontWeight: 500,
|
|
200
121
|
lineHeight: "24px",
|
|
201
122
|
};
|
|
202
123
|
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
export const textUppercase500: CSSProperties = {
|
|
207
|
-
fontSize: 12,
|
|
124
|
+
const uppercase500: TypographyStyle = {
|
|
125
|
+
fontFamily: "Inter",
|
|
126
|
+
fontSize: "12px",
|
|
208
127
|
fontWeight: 500,
|
|
209
128
|
lineHeight: "16px",
|
|
210
129
|
textTransform: "uppercase",
|
|
211
130
|
};
|
|
131
|
+
|
|
132
|
+
export const typography = (theme: Theme): TypographyVariantsOptions => ({
|
|
133
|
+
"body-400": body400,
|
|
134
|
+
"body-400-2lines": body4002Lines,
|
|
135
|
+
"body-500": body500,
|
|
136
|
+
"body-large-400": bodyLarge400,
|
|
137
|
+
"body-large-400-2lines": bodyLarge4002Lines,
|
|
138
|
+
"body-large-500": bodyLarge500,
|
|
139
|
+
"body-small-400": bodySmall400,
|
|
140
|
+
"body-small-400-2lines": bodySmall4002Lines,
|
|
141
|
+
"body-small-500": bodySmall500,
|
|
142
|
+
fontFamily: theme.typography.fontFamily,
|
|
143
|
+
heading: heading(theme),
|
|
144
|
+
"heading-large": headingLarge(theme),
|
|
145
|
+
"heading-small": headingSmall(theme),
|
|
146
|
+
"heading-xlarge": headingXLarge(theme),
|
|
147
|
+
"heading-xsmall": headingXSmall,
|
|
148
|
+
"uppercase-500": uppercase500,
|
|
149
|
+
});
|