@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,12 +1,12 @@
|
|
|
1
1
|
import { css } from "@emotion/react";
|
|
2
2
|
import styled from "@emotion/styled";
|
|
3
3
|
import { Step } from "@mui/material";
|
|
4
|
-
import {
|
|
4
|
+
import { PALETTE } from "../../../../styles/common/constants/palette";
|
|
5
5
|
import { sectionPadding } from "../../../common/Section/section.styles";
|
|
6
6
|
export const StyledStep = styled(Step) `
|
|
7
7
|
&.MuiStep-root {
|
|
8
8
|
&.MuiStep-vertical {
|
|
9
|
-
background-color: ${
|
|
9
|
+
background-color: ${PALETTE.SMOKE_LIGHTEST};
|
|
10
10
|
|
|
11
11
|
.MuiStepLabel-root {
|
|
12
12
|
${sectionPadding};
|
|
@@ -19,12 +19,12 @@ export const StyledStep = styled(Step) `
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
&.Mui-completed {
|
|
22
|
-
background-color: ${
|
|
22
|
+
background-color: ${PALETTE.COMMON_WHITE};
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
${(
|
|
25
|
+
${({ active }) => active &&
|
|
26
26
|
css `
|
|
27
|
-
background-color: ${
|
|
27
|
+
background-color: ${PALETTE.COMMON_WHITE};
|
|
28
28
|
`};
|
|
29
29
|
}
|
|
30
30
|
}
|
package/lib/components/Support/components/SupportRequest/components/Dialog/dialog.styles.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ interface Props {
|
|
|
3
3
|
}
|
|
4
4
|
export declare const Fab: import("@emotion/styled").StyledComponent<import("@mui/material").FabOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
5
5
|
ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
6
|
-
}, "style" | "size" | "href" | "className" | "classes" | "
|
|
6
|
+
}, "style" | "size" | "href" | "className" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "color" | "disableFocusRipple" | "variant"> & {
|
|
7
7
|
theme?: import("@emotion/react").Theme;
|
|
8
8
|
} & Props, {}, {}>;
|
|
9
9
|
export declare const Popover: import("@emotion/styled").StyledComponent<import("@mui/material").PopoverProps & {
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import styled from "@emotion/styled";
|
|
2
2
|
import { Fab as MFab, Popover as MPopover } from "@mui/material";
|
|
3
3
|
import { COLOR_MIXES } from "../../../../../../styles/common/constants/colorMixes";
|
|
4
|
+
import { PALETTE } from "../../../../../../styles/common/constants/palette";
|
|
4
5
|
import { SHADOWS } from "../../../../../../styles/common/constants/shadows";
|
|
5
|
-
import {
|
|
6
|
-
import { smokeMain } from "../../../../../../styles/common/mixins/colors";
|
|
7
|
-
import { tabletUp } from "../../../../../../theme/common/breakpoints";
|
|
6
|
+
import { bpUpSm } from "../../../../../../styles/common/mixins/breakpoints";
|
|
8
7
|
export const Fab = styled(MFab) `
|
|
9
8
|
bottom: 16px;
|
|
10
9
|
box-shadow: ${SHADOWS["02"]};
|
|
@@ -12,7 +11,7 @@ export const Fab = styled(MFab) `
|
|
|
12
11
|
right: 16px;
|
|
13
12
|
z-index: ${({ open }) => (open ? 1350 : 1050)}; // Above backdrop component.
|
|
14
13
|
|
|
15
|
-
${
|
|
14
|
+
${bpUpSm} {
|
|
16
15
|
bottom: 72px;
|
|
17
16
|
}
|
|
18
17
|
`;
|
|
@@ -21,11 +20,11 @@ export const Popover = styled(MPopover) `
|
|
|
21
20
|
background-color: ${COLOR_MIXES.INK_MAIN_80};
|
|
22
21
|
|
|
23
22
|
> .MuiPaper-root {
|
|
24
|
-
border: 1px solid ${
|
|
23
|
+
border: 1px solid ${PALETTE.SMOKE_MAIN};
|
|
25
24
|
border-radius: 8px;
|
|
26
25
|
width: 100%;
|
|
27
26
|
|
|
28
|
-
${
|
|
27
|
+
${bpUpSm} {
|
|
29
28
|
max-width: 496px;
|
|
30
29
|
}
|
|
31
30
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MenuItem, Typography } from "@mui/material";
|
|
2
2
|
import React, { useState, } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { TYPOGRAPHY_PROPS } from "../../../../../../styles/common/mui/typography";
|
|
4
4
|
import { ButtonPrimary } from "../../../../../common/Button/components/ButtonPrimary/buttonPrimary";
|
|
5
5
|
import { Input } from "../../../../../common/Form/components/Input/input";
|
|
6
6
|
import { Select } from "../../../../../common/Form/components/Select/select";
|
|
@@ -133,7 +133,7 @@ export const SupportRequestForm = ({ setFormSubmitted, supportRequest, }) => {
|
|
|
133
133
|
React.createElement(Section, null,
|
|
134
134
|
React.createElement(SectionContent, null,
|
|
135
135
|
React.createElement(Title, null, "Contact Us"),
|
|
136
|
-
React.createElement(Typography, { color:
|
|
136
|
+
React.createElement(Typography, { color: TYPOGRAPHY_PROPS.COLOR.INK_LIGHT, variant: TYPOGRAPHY_PROPS.VARIANT.BODY_400 }, "We\u2019re here to help and answer any questions you might have. We look forward to hearing from you!"))),
|
|
137
137
|
React.createElement(Section, null,
|
|
138
138
|
React.createElement(Input, { error: isFieldError(formState, errorFields, FORM_CONTROL_NAME.NAME), isFilled: Boolean(formState[FORM_CONTROL_NAME.NAME]), label: FORM_CONTROL_LABEL.NAME, name: FORM_CONTROL_NAME.NAME, onBlur: onBlur, onChange: onInputChange }),
|
|
139
139
|
React.createElement(Input, { error: isFieldError(formState, errorFields, FORM_CONTROL_NAME.EMAIL), isFilled: Boolean(formState[FORM_CONTROL_NAME.EMAIL]), label: FORM_CONTROL_LABEL.EMAIL, name: FORM_CONTROL_NAME.EMAIL, onBlur: onBlur, onChange: onInputChange }),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styled from "@emotion/styled";
|
|
2
|
-
import {
|
|
2
|
+
import { FONT } from "../../../../../../styles/common/constants/font";
|
|
3
3
|
import { GridPaperSection } from "../../../../../common/Section/section.styles";
|
|
4
4
|
export const Title = styled.h3 `
|
|
5
|
-
${
|
|
5
|
+
font: ${FONT.HEADING_SMALL};
|
|
6
6
|
margin: 0;
|
|
7
7
|
`;
|
|
8
8
|
export const Section = styled(GridPaperSection) `
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Typography } from "@mui/material";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { TYPOGRAPHY_PROPS } from "../../../../../../styles/common/mui/typography";
|
|
4
4
|
import { EmailReadIcon } from "../../../../../common/CustomIcon/components/EmailReadIcon/emailReadIcon";
|
|
5
5
|
import { ICON_BADGE_COLOR, IconBadge, } from "../../../../../common/IconBadge/iconBadge";
|
|
6
6
|
import { Section, SectionContent, } from "../../../../../common/Section/section.styles";
|
|
@@ -8,6 +8,6 @@ export const SupportRequestSubmitted = ({ description = "Your request has been s
|
|
|
8
8
|
return (React.createElement(Section, null,
|
|
9
9
|
React.createElement(SectionContent, null,
|
|
10
10
|
React.createElement(IconBadge, { color: ICON_BADGE_COLOR.SUCCESS, Icon: EmailReadIcon }),
|
|
11
|
-
React.createElement(Typography, { variant:
|
|
12
|
-
React.createElement(Typography, { color:
|
|
11
|
+
React.createElement(Typography, { variant: TYPOGRAPHY_PROPS.VARIANT.HEADING_SMALL }, title),
|
|
12
|
+
React.createElement(Typography, { color: TYPOGRAPHY_PROPS.COLOR.INK_LIGHT, variant: TYPOGRAPHY_PROPS.VARIANT.BODY_400 }, description))));
|
|
13
13
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import styled from "@emotion/styled";
|
|
2
|
+
import { PALETTE } from "../../../../styles/common/constants/palette";
|
|
2
3
|
import { SHADOWS } from "../../../../styles/common/constants/shadows";
|
|
3
|
-
import {
|
|
4
|
-
import { primaryDark, primaryMain, white, } from "../../../../styles/common/mixins/colors";
|
|
4
|
+
import { bpUpSm } from "../../../../styles/common/mixins/breakpoints";
|
|
5
5
|
export const Fab = styled("a") `
|
|
6
6
|
align-items: center;
|
|
7
|
-
background-color: ${
|
|
7
|
+
background-color: ${PALETTE.PRIMARY_MAIN};
|
|
8
8
|
border: none;
|
|
9
9
|
border-radius: 50%;
|
|
10
10
|
bottom: 16px;
|
|
11
11
|
box-shadow: ${SHADOWS["02"]};
|
|
12
|
-
color: ${
|
|
12
|
+
color: ${PALETTE.COMMON_WHITE};
|
|
13
13
|
cursor: pointer;
|
|
14
14
|
display: flex;
|
|
15
15
|
font-size: 28px; // Determines the size of the support icon.
|
|
@@ -21,10 +21,10 @@ export const Fab = styled("a") `
|
|
|
21
21
|
z-index: 100; // Above loading component.
|
|
22
22
|
|
|
23
23
|
&:hover {
|
|
24
|
-
background-color: ${
|
|
24
|
+
background-color: ${PALETTE.PRIMARY_DARK};
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
${
|
|
27
|
+
${bpUpSm} {
|
|
28
28
|
bottom: 72px;
|
|
29
29
|
}
|
|
30
30
|
`;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import styled from "@emotion/styled";
|
|
2
2
|
import { Table as MTable } from "@mui/material";
|
|
3
3
|
import { PALETTE } from "../../../styles/common/constants/palette";
|
|
4
|
-
import { white } from "../../../styles/common/mixins/colors";
|
|
5
4
|
export const GridTable = styled(MTable, {
|
|
6
5
|
shouldForwardProp: (prop) => prop !== "gridTemplateColumns",
|
|
7
6
|
}) `
|
|
@@ -20,7 +19,7 @@ export const GridTable = styled(MTable, {
|
|
|
20
19
|
}
|
|
21
20
|
|
|
22
21
|
tr {
|
|
23
|
-
background-color: ${
|
|
22
|
+
background-color: ${PALETTE.COMMON_WHITE};
|
|
24
23
|
}
|
|
25
24
|
|
|
26
25
|
td {
|
package/lib/components/Table/components/DownloadEntityResults/downloadEntityResults.styles.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const StyledButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
2
2
|
ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
3
|
-
}, "style" | "size" | "href" | "className" | "classes" | "
|
|
3
|
+
}, "style" | "size" | "href" | "className" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "color" | "disableFocusRipple" | "loading" | "loadingIndicator" | "variant" | "disableElevation" | "endIcon" | "fullWidth" | "loadingPosition" | "startIcon"> & {
|
|
4
4
|
theme?: import("@emotion/react").Theme;
|
|
5
5
|
}, {}, {}>;
|
package/lib/components/Table/components/DownloadEntityResults/downloadEntityResults.styles.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styled from "@emotion/styled";
|
|
2
2
|
import { Button } from "@mui/material";
|
|
3
|
-
import {
|
|
3
|
+
import { bpDownSm } from "../../../../styles/common/mixins/breakpoints";
|
|
4
4
|
export const StyledButton = styled(Button) `
|
|
5
|
-
${
|
|
5
|
+
${bpDownSm} {
|
|
6
6
|
display: none;
|
|
7
7
|
}
|
|
8
8
|
`;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { Fade, Typography } from "@mui/material";
|
|
2
2
|
import React from "react";
|
|
3
|
+
import { TYPOGRAPHY_PROPS } from "../../../../styles/common/mui/typography";
|
|
3
4
|
import { TEST_IDS } from "../../../../tests/testIds";
|
|
4
5
|
export const PaginationSummary = ({ firstResult, lastResult, totalResult, }) => {
|
|
5
6
|
return (React.createElement(Fade, { in: totalResult > 0, unmountOnExit: true },
|
|
6
7
|
React.createElement("div", { "data-testid": TEST_IDS.TABLE_PAGINATION_RESULTS },
|
|
7
|
-
React.createElement(Typography, { variant:
|
|
8
|
-
React.createElement(Typography, { variant:
|
|
8
|
+
React.createElement(Typography, { variant: TYPOGRAPHY_PROPS.VARIANT.BODY_400 }, "Results"),
|
|
9
|
+
React.createElement(Typography, { variant: TYPOGRAPHY_PROPS.VARIANT.BODY_SMALL_500 },
|
|
9
10
|
firstResult,
|
|
10
11
|
" - ",
|
|
11
12
|
lastResult),
|
|
12
|
-
React.createElement(Typography, { variant:
|
|
13
|
-
React.createElement(Typography, { variant:
|
|
13
|
+
React.createElement(Typography, { variant: TYPOGRAPHY_PROPS.VARIANT.BODY_400 }, "of"),
|
|
14
|
+
React.createElement(Typography, { variant: TYPOGRAPHY_PROPS.VARIANT.BODY_SMALL_500 }, totalResult))));
|
|
14
15
|
};
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { Typography } from "@mui/material";
|
|
2
2
|
import React, { Fragment } from "react";
|
|
3
3
|
import { LABEL } from "../../../../../../apis/azul/common/entities";
|
|
4
|
+
import { TYPOGRAPHY_PROPS } from "../../../../../../styles/common/mui/typography";
|
|
4
5
|
export const BasicCell = ({ TypographyProps, value = LABEL.UNSPECIFIED, }) => {
|
|
5
6
|
if (isValueNumberOrString(value)) {
|
|
6
|
-
return (React.createElement(Typography, { variant:
|
|
7
|
+
return (React.createElement(Typography, { variant: TYPOGRAPHY_PROPS.VARIANT.INHERIT, ...TypographyProps }, value));
|
|
7
8
|
}
|
|
8
9
|
if (isValueArray(value)) {
|
|
9
|
-
return (React.createElement(Fragment, null, value.map((v) => (React.createElement(Typography, { key: v, variant:
|
|
10
|
+
return (React.createElement(Fragment, null, value.map((v) => (React.createElement(Typography, { key: v, variant: TYPOGRAPHY_PROPS.VARIANT.INHERIT, ...TypographyProps }, v)))));
|
|
10
11
|
}
|
|
11
12
|
return null;
|
|
12
13
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const StyledChip: import("@emotion/styled").StyledComponent<import("@mui/material").ChipOwnProps & import("@mui/material").ChipSlotsAndSlotProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2
2
|
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
3
|
-
}, "label" | "style" | "size" | "className" | "classes" | "children" | "
|
|
3
|
+
}, "label" | "style" | "size" | "className" | "classes" | "children" | "disabled" | "sx" | "tabIndex" | "color" | "variant" | "slots" | "slotProps" | "icon" | "avatar" | "clickable" | "deleteIcon" | "onDelete" | "skipFocusWhenDisabled"> & {
|
|
4
4
|
theme?: import("@emotion/react").Theme;
|
|
5
5
|
}, {}, {}>;
|
package/lib/components/Table/components/TableCell/components/CollapsableCell/collapsableCell.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Collapse, IconButton, Typography } from "@mui/material";
|
|
2
2
|
import { flexRender } from "@tanstack/react-table";
|
|
3
3
|
import React from "react";
|
|
4
|
-
import {
|
|
4
|
+
import { TYPOGRAPHY_PROPS } from "../../../../../../styles/common/mui/typography";
|
|
5
5
|
import { UnfoldMoreIcon } from "../../../../../common/CustomIcon/components/UnfoldMoreIcon/unfoldMoreIcon";
|
|
6
6
|
import { getPinnedCellIndex } from "../../../../common/utils";
|
|
7
7
|
import { CollapsedContents, Content, PinnedCell, TableCell, } from "./collapsableCell.styles";
|
|
@@ -20,7 +20,7 @@ export const CollapsableCell = ({ isDisabled = false, row, }) => {
|
|
|
20
20
|
return null; // Display of placeholder cells is currently not supported.
|
|
21
21
|
const header = cell.column.columnDef.meta?.header;
|
|
22
22
|
return (i !== pinnedIndex && (React.createElement(Content, { key: cell.id },
|
|
23
|
-
header && (React.createElement(Typography, {
|
|
23
|
+
header && (React.createElement(Typography, { color: TYPOGRAPHY_PROPS.COLOR.INK_LIGHT, component: "div", variant: TYPOGRAPHY_PROPS.VARIANT.BODY_400_2_LINES }, header)),
|
|
24
24
|
flexRender(cell.column.columnDef.cell, cell.getContext()))));
|
|
25
25
|
})))));
|
|
26
26
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { css } from "@emotion/react";
|
|
2
2
|
import styled from "@emotion/styled";
|
|
3
3
|
import { TableCell as MTableCell } from "@mui/material";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { FONT } from "../../../../../../styles/common/constants/font";
|
|
5
|
+
import { PALETTE } from "../../../../../../styles/common/constants/palette";
|
|
6
6
|
export const TableCell = styled(MTableCell, {
|
|
7
7
|
shouldForwardProp: (prop) => prop !== "isExpanded",
|
|
8
8
|
}) `
|
|
@@ -13,10 +13,10 @@ export const TableCell = styled(MTableCell, {
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
// Expanded.
|
|
16
|
-
${({ isExpanded
|
|
16
|
+
${({ isExpanded }) => isExpanded &&
|
|
17
17
|
css `
|
|
18
18
|
&& {
|
|
19
|
-
background-color: ${
|
|
19
|
+
background-color: ${PALETTE.SMOKE_LIGHTEST};
|
|
20
20
|
}
|
|
21
21
|
`};
|
|
22
22
|
}
|
|
@@ -34,8 +34,8 @@ export const PinnedCell = styled.div `
|
|
|
34
34
|
}
|
|
35
35
|
`;
|
|
36
36
|
export const CollapsedContents = styled.div `
|
|
37
|
-
${textBody4002Lines};
|
|
38
37
|
display: grid;
|
|
38
|
+
font: ${FONT.BODY_400_2_LINES};
|
|
39
39
|
gap: 12px;
|
|
40
40
|
justify-items: flex-start;
|
|
41
41
|
padding: 0 16px 12px;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Chip as MChip, Typography, } from "@mui/material";
|
|
2
2
|
import React, { forwardRef } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { TYPOGRAPHY_PROPS } from "../../../../../../styles/common/mui/typography";
|
|
4
4
|
import { NTag } from "./components/NTag/nTag";
|
|
5
5
|
// Template constants
|
|
6
6
|
const MAX_DISPLAYABLE_VALUES = 1;
|
|
@@ -22,5 +22,5 @@ const Tag = forwardRef(function Tag(props, ref) {
|
|
|
22
22
|
export const NTagCell = ({ label, TypographyProps, values, }) => {
|
|
23
23
|
const metadataCount = values.length;
|
|
24
24
|
const showNTag = metadataCount > MAX_DISPLAYABLE_VALUES;
|
|
25
|
-
return (React.createElement(React.Fragment, null, showNTag ? (React.createElement(NTag, { Tag: React.createElement(Tag, { label: `${metadataCount} ${label}`, variant: "ntag" }), TooltipTitle: React.createElement(Typography, { display: "block", variant:
|
|
25
|
+
return (React.createElement(React.Fragment, null, showNTag ? (React.createElement(NTag, { Tag: React.createElement(Tag, { label: `${metadataCount} ${label}`, variant: "ntag" }), TooltipTitle: React.createElement(Typography, { display: "block", variant: TYPOGRAPHY_PROPS.VARIANT.BODY_SMALL_400 }, stringifyMetadataValues(values)) })) : (values.map((value, v) => (React.createElement(Typography, { key: `${value}${v}`, variant: TYPOGRAPHY_PROPS.VARIANT.INHERIT, ...TypographyProps }, value))))));
|
|
26
26
|
};
|
|
@@ -49,5 +49,5 @@ export const ColumnFilter = ({ Button = StyledButton, className, column, ...prop
|
|
|
49
49
|
React.createElement(ListItemButton, { disabled: !column.getIsFiltered(), onClick: () => column.setFilterValue(undefined) },
|
|
50
50
|
React.createElement(Typography, { color: column.getIsFiltered()
|
|
51
51
|
? TYPOGRAPHY_PROPS.COLOR.PRIMARY
|
|
52
|
-
: TYPOGRAPHY_PROPS.COLOR.INHERIT, variant: TYPOGRAPHY_PROPS.VARIANT.
|
|
52
|
+
: TYPOGRAPHY_PROPS.COLOR.INHERIT, variant: TYPOGRAPHY_PROPS.VARIANT.BODY_500 }, "Clear All")))));
|
|
53
53
|
};
|
|
@@ -3,7 +3,7 @@ interface Props {
|
|
|
3
3
|
}
|
|
4
4
|
export declare const StyledButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
5
5
|
ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
6
|
-
}, "style" | "size" | "href" | "className" | "classes" | "
|
|
6
|
+
}, "style" | "size" | "href" | "className" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "color" | "disableFocusRipple" | "loading" | "loadingIndicator" | "variant" | "disableElevation" | "endIcon" | "fullWidth" | "loadingPosition" | "startIcon"> & {
|
|
7
7
|
theme?: import("@emotion/react").Theme;
|
|
8
8
|
} & Props, {}, {}>;
|
|
9
9
|
export declare const StyledMenu: import("@emotion/styled").StyledComponent<import("@mui/material").MenuProps & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const StyledChip: import("@emotion/styled").StyledComponent<import("@mui/material").ChipOwnProps & import("@mui/material").ChipSlotsAndSlotProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2
2
|
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
3
|
-
}, "label" | "style" | "size" | "className" | "classes" | "children" | "
|
|
3
|
+
}, "label" | "style" | "size" | "className" | "classes" | "children" | "disabled" | "sx" | "tabIndex" | "color" | "variant" | "slots" | "slotProps" | "icon" | "avatar" | "clickable" | "deleteIcon" | "onDelete" | "skipFocusWhenDisabled"> & {
|
|
4
4
|
theme?: import("@emotion/react").Theme;
|
|
5
5
|
}, {}, {}>;
|
|
@@ -10,7 +10,7 @@ export const TablePagination = ({ canNextPage = true, canPreviousPage = true, cu
|
|
|
10
10
|
return (React.createElement(StyledGrid, { className: tablePaginationClasses.root, container: true, "data-testid": TEST_IDS.TABLE_PAGINATION },
|
|
11
11
|
React.createElement(IconButton, { color: ICON_BUTTON_PROPS.COLOR.SECONDARY, disabled: !canPreviousPage, onClick: onPreviousPage },
|
|
12
12
|
React.createElement(WestRounded, { fontSize: SVG_ICON_PROPS.FONT_SIZE.SMALL })),
|
|
13
|
-
React.createElement(Typography, { "data-testid": TEST_IDS.TABLE_PAGINATION_PAGE, variant: TYPOGRAPHY_PROPS.VARIANT.
|
|
13
|
+
React.createElement(Typography, { "data-testid": TEST_IDS.TABLE_PAGINATION_PAGE, variant: TYPOGRAPHY_PROPS.VARIANT.BODY_500 },
|
|
14
14
|
"Page ",
|
|
15
15
|
currentPage,
|
|
16
16
|
" of ",
|
|
@@ -2,6 +2,6 @@ export declare const StyledGrid: import("@emotion/styled").StyledComponent<impor
|
|
|
2
2
|
sx?: import("@mui/material").SxProps<import("@mui/material").Theme>;
|
|
3
3
|
} & import("@mui/system").SystemProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
4
4
|
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
5
|
-
}, "sx" | ("p" | "order" | "bottom" | "height" | "left" | "right" | "top" | "width" | "color" | "
|
|
5
|
+
}, "sx" | ("p" | "order" | "bottom" | "height" | "left" | "right" | "top" | "width" | "color" | "border" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "visibility" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint") | keyof import("@mui/material").GridBaseProps> & {
|
|
6
6
|
theme?: import("@emotion/react").Theme;
|
|
7
7
|
}, {}, {}>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { css } from "@emotion/react";
|
|
2
2
|
import styled from "@emotion/styled";
|
|
3
3
|
import { TableRow as MTableRow } from "@mui/material";
|
|
4
|
+
import { FONT } from "../../../../styles/common/constants/font";
|
|
4
5
|
import { PALETTE } from "../../../../styles/common/constants/palette";
|
|
5
|
-
import { textBodySmall500 } from "../../../../styles/common/mixins/fonts";
|
|
6
6
|
export const StyledTableRow = styled(MTableRow, {
|
|
7
7
|
shouldForwardProp: (prop) => prop !== "canExpand" &&
|
|
8
8
|
prop !== "isExpanded" &&
|
|
@@ -17,8 +17,8 @@ export const StyledTableRow = styled(MTableRow, {
|
|
|
17
17
|
background-color: ${PALETTE.SMOKE_LIGHTEST};
|
|
18
18
|
|
|
19
19
|
td {
|
|
20
|
-
${textBodySmall500(props)};
|
|
21
20
|
background-color: inherit;
|
|
21
|
+
font: ${FONT.BODY_SMALL_500};
|
|
22
22
|
grid-column: 1 / -1;
|
|
23
23
|
}
|
|
24
24
|
`}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Divider, Typography as MTypography, } from "@mui/material";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { TYPOGRAPHY_PROPS } from "../../../../../../../../styles/common/mui/typography";
|
|
4
4
|
import { DrawerContent } from "../../../../../../../common/Drawer/components/drawer.styles";
|
|
5
5
|
import { DEFAULT_DRAWER_PROPS } from "./common/constants";
|
|
6
6
|
import { Drawer, DrawerTitle } from "./rowDrawer.styles";
|
|
7
7
|
export const RowDrawer = ({ children, className, tableInstance, title, ...props /* Spread props to allow for Mui Drawer specific prop overrides. */ }) => {
|
|
8
8
|
const { getIsRowPreview, resetRowPreview, toggleRowPreview } = tableInstance || {};
|
|
9
9
|
return (React.createElement(Drawer, { ...DEFAULT_DRAWER_PROPS, className: className, onTransitionExited: resetRowPreview, open: getIsRowPreview?.(), ...props },
|
|
10
|
-
React.createElement(DrawerTitle, { onClose: () => toggleRowPreview?.(), title: typeof title === "string" ? (React.createElement(MTypography, { component: "div", noWrap: true, variant:
|
|
10
|
+
React.createElement(DrawerTitle, { onClose: () => toggleRowPreview?.(), title: typeof title === "string" ? (React.createElement(MTypography, { component: "div", noWrap: true, variant: TYPOGRAPHY_PROPS.VARIANT.HEADING_SMALL }, title)) : (title) }),
|
|
11
11
|
React.createElement(Divider, null),
|
|
12
12
|
React.createElement(DrawerContent, null, children)));
|
|
13
13
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styled from "@emotion/styled";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { PALETTE } from "../../../../../../../../styles/common/constants/palette";
|
|
3
|
+
import { bpUpSm } from "../../../../../../../../styles/common/mixins/breakpoints";
|
|
4
4
|
import { DrawerTitle as DXDrawerTitle } from "../../../../../../../common/Drawer/components/DrawerTitle/drawerTitle";
|
|
5
5
|
import { Drawer as DXDrawer } from "../../../../../../../common/Drawer/drawer";
|
|
6
6
|
export const Drawer = styled(DXDrawer) `
|
|
@@ -8,14 +8,14 @@ export const Drawer = styled(DXDrawer) `
|
|
|
8
8
|
pointer-events: none;
|
|
9
9
|
|
|
10
10
|
.MuiDrawer-paper {
|
|
11
|
-
border-left: 1px solid ${
|
|
11
|
+
border-left: 1px solid ${PALETTE.SMOKE_MAIN};
|
|
12
12
|
box-shadow: -8px 0 8px -4px #10182808, 0 20px 24px -4px #10182814;
|
|
13
13
|
pointer-events: all;
|
|
14
14
|
max-width: min(506px, 84vw);
|
|
15
15
|
width: 100%;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
${
|
|
18
|
+
${bpUpSm} {
|
|
19
19
|
.MuiDrawer-paper {
|
|
20
20
|
max-width: min(506px, 50vw);
|
|
21
21
|
}
|
|
@@ -23,7 +23,7 @@ export const Drawer = styled(DXDrawer) `
|
|
|
23
23
|
}
|
|
24
24
|
`;
|
|
25
25
|
export const DrawerTitle = styled(DXDrawerTitle) `
|
|
26
|
-
.MuiTypography-
|
|
26
|
+
.MuiTypography-heading-small {
|
|
27
27
|
font-size: 20px;
|
|
28
28
|
}
|
|
29
29
|
`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Grid, Typography } from "@mui/material";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { TYPOGRAPHY_PROPS } from "../../../../../../../../../../styles/common/mui/typography";
|
|
4
4
|
import { ButtonTextPrimary } from "../../../../../../../../../common/Button/components/ButtonTextPrimary/buttonTextPrimary";
|
|
5
5
|
import { ComponentCreator } from "../../../../../../../../../ComponentCreator/ComponentCreator";
|
|
6
6
|
import { Section } from "./rowDetail.styles";
|
|
@@ -14,7 +14,7 @@ export const RowDetail = ({ className, columns, expanded = true, minColumns = MI
|
|
|
14
14
|
return null;
|
|
15
15
|
return (React.createElement(Section, { className: className },
|
|
16
16
|
visibleColumns.map(({ componentConfig, header }, i) => (React.createElement(Grid, { key: i },
|
|
17
|
-
React.createElement(Typography, { color:
|
|
17
|
+
React.createElement(Typography, { color: TYPOGRAPHY_PROPS.COLOR.INK_LIGHT, variant: TYPOGRAPHY_PROPS.VARIANT.BODY_400, ...componentConfig.props?.TypographyProps }, header),
|
|
18
18
|
React.createElement(ComponentCreator, { components: [componentConfig], response: rowData })))),
|
|
19
19
|
React.createElement(ButtonTextPrimary, { onClick: onToggleShowMore }, buttonText)));
|
|
20
20
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import styled from "@emotion/styled";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { FONT } from "../../../../../../../../../../styles/common/constants/font";
|
|
3
|
+
import { bpUpMd, bpUpSm, } from "../../../../../../../../../../styles/common/mixins/breakpoints";
|
|
4
4
|
export const Section = styled.div `
|
|
5
|
-
${textBody400};
|
|
6
5
|
display: grid;
|
|
6
|
+
font: ${FONT.BODY_400};
|
|
7
7
|
gap: 16px;
|
|
8
8
|
grid-auto-rows: minmax(40px, auto);
|
|
9
9
|
grid-template-columns: minmax(0, 1fr);
|
|
@@ -24,7 +24,7 @@ export const Section = styled.div `
|
|
|
24
24
|
text-transform: none;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
${
|
|
27
|
+
${bpUpSm} {
|
|
28
28
|
gap: 0 8px;
|
|
29
29
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
30
30
|
padding: 8px 24px;
|
|
@@ -38,7 +38,7 @@ export const Section = styled.div `
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
${
|
|
41
|
+
${bpUpMd} {
|
|
42
42
|
grid-template-columns: 194px minmax(0, 1fr);
|
|
43
43
|
}
|
|
44
44
|
`;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Typography } from "@mui/material";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { TYPOGRAPHY_PROPS } from "../../../../../../../../styles/common/mui/typography";
|
|
4
4
|
import { Section as PreviewSection } from "./section.styles";
|
|
5
5
|
export const Section = ({ children, className, title, }) => {
|
|
6
6
|
return (React.createElement(PreviewSection, { className: className },
|
|
7
|
-
React.createElement(Typography, { component: "div", variant:
|
|
7
|
+
React.createElement(Typography, { component: "div", variant: TYPOGRAPHY_PROPS.VARIANT.HEADING_SMALL }, title),
|
|
8
8
|
children));
|
|
9
9
|
};
|
package/lib/components/Table/components/TableToolbar/components/RowSelection/rowSelection.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Typography } from "@mui/material";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { TYPOGRAPHY_PROPS } from "../../../../../../styles/common/mui/typography";
|
|
4
4
|
import { ComponentCreator } from "../../../../../ComponentCreator/ComponentCreator";
|
|
5
5
|
import { RowSelection as RowSelectionActions } from "./rowSelection.styles";
|
|
6
6
|
export const RowSelection = ({ className, rows, rowSelectionView, }) => {
|
|
7
7
|
return (React.createElement(RowSelectionActions, { className: className },
|
|
8
|
-
React.createElement(Typography, { variant:
|
|
8
|
+
React.createElement(Typography, { variant: TYPOGRAPHY_PROPS.VARIANT.BODY_400 },
|
|
9
9
|
rows.length,
|
|
10
10
|
" items selected:"),
|
|
11
11
|
rowSelectionView ? (React.createElement(ComponentCreator, { components: rowSelectionView, response: rows })) : null));
|
|
@@ -6,7 +6,6 @@ import { BREAKPOINT_FN_NAME, useBreakpointHelper, } from "../../hooks/useBreakpo
|
|
|
6
6
|
import { useExploreMode } from "../../hooks/useExploreMode/useExploreMode";
|
|
7
7
|
import { useExploreState } from "../../hooks/useExploreState";
|
|
8
8
|
import { ExploreActionKind } from "../../providers/exploreState";
|
|
9
|
-
import { TABLET } from "../../theme/common/breakpoints";
|
|
10
9
|
import { Loading, LOADING_PANEL_STYLE } from "../Loading/loading";
|
|
11
10
|
import { NoResults } from "../NoResults/noResults";
|
|
12
11
|
import { getColumnTrackSizing } from "../TableCreator/options/columnTrackSizing/utils";
|
|
@@ -19,14 +18,14 @@ import { TableToolbar } from "./components/TableToolbar/tableToolbar";
|
|
|
19
18
|
import { useVirtualization } from "./hooks/UseVirtualization/hook";
|
|
20
19
|
import { GridTable } from "./table.styles";
|
|
21
20
|
export const Table = ({ listView, loading, table, }) => {
|
|
22
|
-
const
|
|
21
|
+
const bpDownSm = useBreakpointHelper(BREAKPOINT_FN_NAME.DOWN, "sm");
|
|
23
22
|
const exploreMode = useExploreMode();
|
|
24
23
|
const { exploreDispatch, exploreState } = useExploreState();
|
|
25
24
|
const { paginationState } = exploreState;
|
|
26
25
|
const { currentPage, pages } = paginationState;
|
|
27
26
|
const { disablePagination = false } = listView || {};
|
|
28
27
|
const clientFiltering = isClientFilteringEnabled(exploreMode);
|
|
29
|
-
const rowDirection =
|
|
28
|
+
const rowDirection = bpDownSm
|
|
30
29
|
? ROW_DIRECTION.VERTICAL
|
|
31
30
|
: ROW_DIRECTION.DEFAULT;
|
|
32
31
|
const { rows, scrollElementRef, virtualizer } = useVirtualization({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { css } from "@emotion/react";
|
|
2
2
|
import styled from "@emotion/styled";
|
|
3
3
|
import { PALETTE } from "../../styles/common/constants/palette";
|
|
4
|
-
import {
|
|
4
|
+
import { bpDownSm } from "../../styles/common/mixins/breakpoints";
|
|
5
5
|
import { GridTable as Table } from "./common/gridTable.styles";
|
|
6
6
|
/**
|
|
7
7
|
* Styles for a collapsible table with support for virtualization.
|
|
@@ -20,7 +20,7 @@ export const GridTable = styled(Table, {
|
|
|
20
20
|
shouldForwardProp: (prop) => prop !== "collapsable",
|
|
21
21
|
}) `
|
|
22
22
|
// Collapsable.
|
|
23
|
-
${
|
|
23
|
+
${bpDownSm} {
|
|
24
24
|
${({ collapsable }) => collapsable &&
|
|
25
25
|
css `
|
|
26
26
|
&& {
|