@databiosphere/findable-ui 37.0.0 → 38.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 +18 -0
- package/lib/components/DataDictionary/components/Entities/types.d.ts +1 -1
- package/lib/components/DataDictionary/components/Entity/types.d.ts +1 -1
- package/lib/components/DataDictionary/components/Filters/components/ColumnFilterTags/columnFilterTags.styles.d.ts +1 -1
- package/lib/components/DataDictionary/components/Filters/components/ColumnFilters/columnFilters.d.ts +1 -1
- package/lib/components/DataDictionary/components/Filters/components/ColumnFilters/columnFilters.js +3 -0
- package/lib/components/DataDictionary/components/Filters/filters.styles.d.ts +1 -1
- package/lib/components/DataDictionary/components/Filters/stories/filters.stories.js +1 -0
- package/lib/components/DataDictionary/components/Layout/components/EntitiesLayout/entitiesLayout.styles.d.ts +1 -1
- package/lib/components/DataDictionary/components/Layout/components/EntitiesLayout/types.d.ts +1 -1
- package/lib/components/DataDictionary/components/Layout/components/FiltersLayout/filtersLayout.styles.d.ts +1 -1
- package/lib/components/DataDictionary/components/Layout/components/FiltersLayout/types.d.ts +1 -1
- package/lib/components/DataDictionary/components/Layout/components/OutlineLayout/outlineLayout.styles.d.ts +1 -1
- package/lib/components/DataDictionary/components/Layout/components/OutlineLayout/types.d.ts +1 -1
- package/lib/components/DataDictionary/components/Layout/components/TitleLayout/titleLayout.styles.d.ts +1 -1
- package/lib/components/DataDictionary/components/Layout/components/TitleLayout/types.d.ts +1 -1
- package/lib/components/DataDictionary/components/Table/table.js +3 -3
- package/lib/components/DataDictionary/components/Title/title.d.ts +2 -2
- package/lib/components/DataDictionary/components/Title/title.js +1 -1
- package/lib/components/DataDictionary/components/Title/title.styles.d.ts +5 -1
- package/lib/components/DataDictionary/dataDictionary.js +2 -2
- package/lib/components/Detail/components/DetailViewTable/detailViewTable.js +3 -3
- package/lib/components/Detail/components/Table/components/TableRows/components/CollapsableRows/collapsableRows.js +2 -2
- package/lib/components/Detail/components/Table/components/TableRows/tableRows.js +2 -2
- package/lib/components/Detail/components/Table/table.js +1 -1
- package/lib/components/Export/components/ExportForm/exportForm.styles.d.ts +2 -2
- package/lib/components/Filter/components/ClearAllFilters/clearAllFilters.js +3 -2
- package/lib/components/Filter/components/ClearAllFilters/clearAllFilters.styles.d.ts +5 -0
- package/lib/components/Filter/components/ClearAllFilters/clearAllFilters.styles.js +5 -0
- package/lib/components/Filter/components/FilterCountChip/filterCountChip.js +1 -1
- package/lib/components/Filter/components/FilterCountChip/filterCountChip.styles.d.ts +2 -2
- package/lib/components/Filter/components/FilterLabel/filterLabel.styles.d.ts +1 -1
- package/lib/components/Filter/components/FilterMenu/filterMenu.styles.d.ts +1 -1
- package/lib/components/Filter/components/FilterTag/filterTag.styles.d.ts +2 -2
- package/lib/components/Filter/components/Filters/filters.d.ts +1 -2
- package/lib/components/Filter/components/Filters/filters.js +4 -2
- package/lib/components/Filter/components/SearchAllFilters/searchAllFilters.d.ts +1 -2
- package/lib/components/Filter/components/SearchAllFilters/searchAllFilters.js +5 -3
- package/lib/components/Index/components/EntityView/components/controls/ActionButton/actionButton.d.ts +1 -0
- package/lib/components/Index/components/EntityView/components/controls/ActionButton/actionButton.js +10 -0
- package/lib/components/Index/components/EntityView/components/controls/ExportButton/exportButton.d.ts +2 -0
- package/lib/components/Index/components/EntityView/components/controls/ExportButton/exportButton.js +20 -0
- package/lib/components/Index/components/EntityView/components/controls/ExportButton/exportButton.styles.d.ts +5 -0
- package/lib/components/Index/components/EntityView/components/controls/ExportButton/exportButton.styles.js +8 -0
- package/lib/components/Index/components/EntityView/components/controls/FilterButton/filterButton.d.ts +3 -0
- package/lib/components/Index/components/EntityView/components/controls/FilterButton/filterButton.js +18 -0
- package/lib/components/Index/components/EntityView/components/controls/FilterButton/filterButton.styles.d.ts +5 -0
- package/lib/components/Index/components/EntityView/components/controls/FilterButton/filterButton.styles.js +8 -0
- package/lib/components/Index/components/EntityView/components/controls/ViewToggle/hooks/UseViewToggle/hook.d.ts +2 -0
- package/lib/components/Index/components/{EntitiesView/hooks/UseEntitiesView → EntityView/components/controls/ViewToggle/hooks/UseViewToggle}/hook.js +3 -3
- package/lib/components/Index/components/{EntitiesView/hooks/UseEntitiesView → EntityView/components/controls/ViewToggle/hooks/UseViewToggle}/types.d.ts +1 -1
- package/lib/components/Index/{stories/index.stories.d.ts → components/EntityView/components/controls/ViewToggle/stories/viewToggle.stories.d.ts} +2 -2
- package/lib/components/Index/components/EntityView/components/controls/ViewToggle/stories/viewToggle.stories.js +6 -0
- package/lib/components/Index/components/EntityView/components/controls/ViewToggle/viewToggle.d.ts +2 -0
- package/lib/components/Index/components/EntityView/components/controls/ViewToggle/viewToggle.js +13 -0
- package/lib/components/Index/components/EntityView/components/controls/ViewToggle/viewToggle.styles.d.ts +3 -0
- package/lib/components/Index/components/EntityView/components/controls/ViewToggle/viewToggle.styles.js +8 -0
- package/lib/components/Index/components/EntityView/components/layout/Summary/constants.d.ts +2 -0
- package/lib/components/Index/components/EntityView/components/layout/Summary/constants.js +5 -0
- package/lib/components/Index/components/EntityView/components/layout/Summary/summary.d.ts +2 -0
- package/lib/components/Index/components/EntityView/components/layout/Summary/summary.js +15 -0
- package/lib/components/Index/components/EntityView/components/layout/Summary/summary.styles.d.ts +10 -0
- package/lib/components/Index/components/EntityView/components/layout/Summary/summary.styles.js +17 -0
- package/lib/components/Index/components/EntityView/components/layout/Title/title.d.ts +2 -0
- package/lib/components/Index/components/EntityView/components/layout/Title/title.js +11 -0
- package/lib/components/Index/components/{Tabs → EntityView/components/navigation/Tabs}/common/utils.d.ts +2 -2
- package/lib/components/Index/components/EntityView/components/navigation/Tabs/common/utils.js +14 -0
- package/lib/components/Index/components/EntityView/components/navigation/Tabs/tabs.js +23 -0
- package/lib/components/Index/components/EntityView/components/navigation/Tabs/tabs.styles.d.ts +3 -0
- package/lib/components/Index/components/EntityView/components/navigation/Tabs/tabs.styles.js +19 -0
- package/lib/components/Index/components/EntityView/components/slots/EntityListSlot/entityListSlot.d.ts +1 -0
- package/lib/components/Index/components/EntityView/components/slots/EntityListSlot/entityListSlot.js +12 -0
- package/lib/components/Index/components/EntityView/components/slots/EntityViewSlot/entityViewSlot.d.ts +1 -0
- package/lib/components/Index/components/EntityView/components/slots/EntityViewSlot/entityViewSlot.js +14 -0
- package/lib/components/Index/components/EntityView/components/slots/EntityViewSlot/entityViewSlot.styles.d.ts +7 -0
- package/lib/components/Index/components/EntityView/components/slots/EntityViewSlot/entityViewSlot.styles.js +16 -0
- package/lib/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/chartView.js +6 -2
- package/lib/components/Index/components/EntityView/components/views/ChartView/chartView.styles.d.ts +13 -0
- package/lib/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/chartView.styles.js +2 -1
- package/lib/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/components/Chart/barX/plot.d.ts +1 -1
- package/lib/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/components/Chart/barX/plot.js +2 -2
- package/lib/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/components/Chart/barX/utils.d.ts +1 -1
- package/lib/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/components/Chart/barX/utils.js +1 -1
- package/lib/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/components/Chart/chart.styles.d.ts +1 -1
- package/lib/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/components/Chart/chart.styles.js +3 -3
- package/lib/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/components/Chart/stories/chart.stories.js +1 -1
- package/lib/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/components/Chart/types.d.ts +2 -2
- package/lib/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/hooks/UseChartView/types.d.ts +1 -1
- package/lib/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/hooks/UseChartView/useChartView.d.ts +1 -1
- package/lib/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/hooks/UseChartView/useChartView.js +1 -1
- package/lib/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/stories/chartView.stories.js +1 -1
- package/lib/components/Index/components/EntityView/components/views/ChartView/types.d.ts +8 -0
- package/lib/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/utils.d.ts +2 -2
- package/lib/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/utils.js +1 -1
- package/lib/components/Index/components/EntityView/components/views/TableView/tableView.d.ts +3 -0
- package/lib/components/Index/components/{EntitiesView/components/EntityList/entityList.js → EntityView/components/views/TableView/tableView.js} +4 -4
- package/lib/components/Index/components/EntityView/context/context.d.ts +2 -0
- package/lib/components/Index/components/EntityView/context/context.js +7 -0
- package/lib/components/Index/components/EntityView/context/hook.d.ts +6 -0
- package/lib/components/Index/components/EntityView/context/hook.js +9 -0
- package/lib/components/Index/components/EntityView/context/types.d.ts +7 -0
- package/lib/components/Index/index.d.ts +1 -1
- package/lib/components/Index/index.js +34 -17
- package/lib/components/Index/index.styles.d.ts +29 -8
- package/lib/components/Index/index.styles.js +55 -7
- package/lib/components/Index/types.d.ts +0 -7
- package/lib/components/Layout/components/BackPage/components/BackPageHero/backPageHero.js +1 -1
- package/lib/components/Layout/components/Footer/components/VersionInfo/versionInfo.styles.d.ts +2 -2
- 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/Button/button.styles.d.ts +1 -1
- 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/Navigation/components/NavigationMenu/navigationMenu.styles.d.ts +1 -1
- package/lib/components/Layout/components/Header/components/Content/components/Slogan/slogan.styles.d.ts +1 -1
- package/lib/components/Layout/components/Outline/components/ContentsTab/contentsTab.styles.d.ts +1 -1
- package/lib/components/Layout/components/Outline/outline.styles.d.ts +2 -2
- package/lib/components/Layout/components/Sidebar/components/SidebarDrawer/sidebarDrawer.d.ts +3 -3
- package/lib/components/Layout/components/Sidebar/components/SidebarDrawer/sidebarDrawer.js +3 -3
- package/lib/components/Layout/components/Sidebar/sidebar.d.ts +2 -7
- package/lib/components/Layout/components/Sidebar/sidebar.js +8 -7
- package/lib/components/Layout/components/Sidebar/sidebar.stories.js +0 -4
- package/lib/components/Login/components/Button/button.styles.d.ts +1 -1
- package/lib/components/Login/components/Section/components/Consent/consent.styles.d.ts +1 -1
- package/lib/components/Stepper/components/Step/components/StepIcon/components/CompletedIcon/completedIcon.styles.d.ts +1 -1
- package/lib/components/Stepper/components/Step/components/StepLabel/components/Label/label.styles.d.ts +1 -1
- package/lib/components/Support/components/SupportRequest/components/Dialog/dialog.styles.d.ts +1 -1
- package/lib/components/Table/common/gridTable.styles.d.ts +1 -1
- package/lib/components/Table/common/gridTable.styles.js +10 -0
- package/lib/components/Table/components/DownloadEntityResults/downloadEntityResults.js +3 -2
- package/lib/components/Table/components/DownloadEntityResults/downloadEntityResults.styles.d.ts +5 -0
- package/lib/components/Table/components/DownloadEntityResults/downloadEntityResults.styles.js +8 -0
- package/lib/components/Table/components/PaginationSummary/paginationSummary.js +1 -1
- package/lib/components/Table/components/TableBody/tableBody.d.ts +3 -1
- package/lib/components/Table/components/TableBody/tableBody.js +9 -3
- package/lib/components/Table/components/TableCell/components/CodeCell/codeCell.styles.d.ts +2 -2
- package/lib/components/Table/components/TableCell/components/CollapsableCell/collapsableCell.d.ts +1 -3
- package/lib/components/Table/components/TableCell/components/CollapsableCell/collapsableCell.js +2 -2
- 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 +2 -2
- package/lib/components/Table/components/TableFeatures/GlobalFilter/globalFilter.d.ts +1 -1
- package/lib/components/Table/components/TableFeatures/GlobalFilter/globalFilter.js +4 -1
- package/lib/components/Table/components/TableHead/tableHead.d.ts +1 -1
- package/lib/components/Table/components/TableHead/tableHead.js +8 -10
- package/lib/components/Table/components/TableHead/types.d.ts +0 -2
- package/lib/components/Table/components/TablePagination/stories/args.d.ts +3 -0
- package/lib/components/Table/components/TablePagination/stories/args.js +9 -0
- package/lib/components/{Index/components/Hero/components/Summaries/stories/summaries.stories.d.ts → Table/components/TablePagination/stories/tablePagination.stories.d.ts} +2 -2
- package/lib/components/Table/components/TablePagination/stories/tablePagination.stories.js +9 -0
- package/lib/components/Table/components/TablePagination/tablePagination.d.ts +2 -0
- package/lib/components/Table/components/TablePagination/tablePagination.js +20 -0
- package/lib/components/Table/components/TablePagination/tablePagination.styles.d.ts +7 -0
- package/lib/components/Table/components/TablePagination/tablePagination.styles.js +10 -0
- package/lib/components/Table/components/TablePagination/types.d.ts +8 -0
- package/lib/components/Table/components/TableRow/tableRow.styles.d.ts +3 -4
- package/lib/components/Table/components/TableRow/tableRow.styles.js +1 -1
- package/lib/components/Table/components/TableRows/components/CollapsableRows/collapsableRows.d.ts +1 -1
- package/lib/components/Table/components/TableRows/components/CollapsableRows/collapsableRows.js +6 -6
- package/lib/components/Table/components/TableRows/components/CollapsableRows/collapsableRows.styles.d.ts +5 -0
- package/lib/components/Table/components/TableRows/components/CollapsableRows/collapsableRows.styles.js +5 -0
- package/lib/components/Table/components/TableRows/components/VirtualizedRow/virtualizedRow.d.ts +1 -1
- package/lib/components/Table/components/TableRows/tableRows.d.ts +1 -1
- package/lib/components/Table/components/TableRows/tableRows.js +2 -2
- package/lib/components/Table/components/TableToolbar/constants.d.ts +2 -0
- package/lib/components/Table/components/TableToolbar/constants.js +6 -0
- package/lib/components/Table/components/TableToolbar/tableToolbar.d.ts +1 -3
- package/lib/components/Table/components/TableToolbar/tableToolbar.js +12 -11
- package/lib/components/Table/components/TableToolbar/tableToolbar.styles.d.ts +3 -3
- package/lib/components/Table/components/TableToolbar/tableToolbar.styles.js +14 -13
- package/lib/components/Table/table.d.ts +1 -2
- package/lib/components/Table/table.js +10 -11
- package/lib/components/Table/table.styles.d.ts +14 -1
- package/lib/components/Table/table.styles.js +34 -1
- package/lib/components/common/Button/components/DropdownButton/dropdownButton.d.ts +2 -5
- package/lib/components/common/Button/components/DropdownButton/dropdownButton.js +4 -3
- package/lib/components/common/Button/components/DropdownButton/dropdownButton.styles.d.ts +6 -3
- package/lib/components/common/Button/components/DropdownButton/dropdownButton.styles.js +8 -8
- package/lib/components/common/Button/components/DropdownButton/types.d.ts +4 -0
- package/lib/components/common/Button/constants.d.ts +2 -2
- package/lib/components/common/Button/constants.js +10 -0
- package/lib/components/common/Card/components/CardSecondaryTitle/cardSecondaryTitle.styles.d.ts +1 -1
- package/lib/components/common/Dot/dot.d.ts +2 -4
- package/lib/components/common/Drawer/provider/context.d.ts +2 -0
- package/lib/components/common/Drawer/provider/context.js +6 -0
- package/lib/components/common/Drawer/provider/hook.d.ts +6 -0
- package/lib/components/common/Drawer/provider/hook.js +9 -0
- package/lib/components/common/Drawer/provider/provider.d.ts +4 -0
- package/lib/components/common/Drawer/provider/provider.js +8 -0
- package/lib/components/common/Drawer/provider/types.d.ts +6 -0
- package/lib/components/common/Drawer/provider/types.js +1 -0
- package/lib/components/common/Form/components/Input/input.styles.d.ts +1 -1
- package/lib/components/common/Form/components/Select/select.styles.d.ts +1 -1
- package/lib/components/common/Form/components/UploadFile/uploadFile.styles.d.ts +1 -1
- package/lib/components/common/IconButton/iconButton.styles.d.ts +1 -1
- package/lib/components/common/Input/input.styles.d.ts +1 -1
- package/lib/components/common/OutlinedInput/components/InputAdornment/components/ClearInputAdornment/clearInputAdornment.styles.d.ts +1 -1
- package/lib/components/common/OutlinedInput/components/InputAdornment/inputAdornment.styles.d.ts +1 -1
- package/lib/components/common/Paper/components/FlatPaper/flatPaper.d.ts +3 -0
- package/lib/components/common/Paper/components/FlatPaper/flatPaper.js +5 -0
- package/lib/components/common/Paper/components/FlatPaper/flatPaper.styles.d.ts +5 -0
- package/lib/components/common/Paper/components/FlatPaper/flatPaper.styles.js +8 -0
- package/lib/components/common/Paper/components/FluidPaper/fluidPaper.d.ts +3 -0
- package/lib/components/common/Paper/components/FluidPaper/fluidPaper.js +5 -0
- package/lib/components/common/Paper/components/FluidPaper/fluidPaper.styles.d.ts +7 -0
- package/lib/components/common/Paper/components/FluidPaper/fluidPaper.styles.js +10 -0
- package/lib/components/common/Paper/components/RoundedPaper/roundedPaper.d.ts +3 -0
- package/lib/components/common/Paper/components/RoundedPaper/roundedPaper.js +5 -0
- package/lib/components/common/Paper/components/RoundedPaper/roundedPaper.styles.d.ts +5 -0
- package/lib/components/common/Paper/components/RoundedPaper/roundedPaper.styles.js +9 -0
- package/lib/components/common/Section/components/CollapsableSection/collapsableSection.styles.d.ts +1 -1
- package/lib/components/common/Tabs/tabs.js +1 -1
- package/lib/components/common/Tabs/tabs.styles.d.ts +1 -1
- package/lib/components/common/Title/title.d.ts +2 -7
- package/lib/components/common/Title/title.js +9 -5
- package/lib/components/common/Title/title.styles.d.ts +1 -1
- package/lib/components/common/Title/title.styles.js +3 -1
- package/lib/config/entities.d.ts +14 -7
- package/lib/config/utils.js +0 -1
- package/lib/{components/DataDictionary/hooks → hooks}/UseLayoutSpacing/hook.js +1 -1
- package/lib/hooks/UseLayoutSpacing/types.js +1 -0
- package/lib/hooks/useSummary.d.ts +2 -8
- package/lib/hooks/useSummary.js +19 -20
- package/lib/routes/constants.d.ts +1 -0
- package/lib/routes/constants.js +1 -0
- package/lib/styles/common/constants/colorMixes.d.ts +2 -0
- package/lib/styles/common/constants/colorMixes.js +2 -0
- package/lib/styles/common/mui/paper.js +0 -1
- package/lib/styles/common/mui/toggleButton.d.ts +9 -0
- package/lib/styles/common/mui/toggleButton.js +18 -0
- package/lib/styles/common/mui/typography.js +1 -0
- package/lib/tests/testIds.d.ts +1 -1
- package/lib/tests/testIds.js +1 -1
- package/lib/theme/common/components.js +64 -59
- package/lib/views/ExploreView/exploreView.js +10 -59
- package/package.json +2 -2
- package/src/components/DataDictionary/components/Entities/types.ts +1 -1
- package/src/components/DataDictionary/components/Entity/entity.styles.ts +1 -1
- package/src/components/DataDictionary/components/Entity/types.ts +1 -1
- package/src/components/DataDictionary/components/Filters/components/ColumnFilters/columnFilters.tsx +5 -1
- package/src/components/DataDictionary/components/Filters/stories/filters.stories.tsx +1 -0
- package/src/components/DataDictionary/components/Layout/components/EntitiesLayout/entitiesLayout.styles.ts +1 -1
- package/src/components/DataDictionary/components/Layout/components/EntitiesLayout/types.ts +1 -1
- package/src/components/DataDictionary/components/Layout/components/FiltersLayout/filtersLayout.styles.ts +1 -1
- package/src/components/DataDictionary/components/Layout/components/FiltersLayout/types.ts +1 -1
- package/src/components/DataDictionary/components/Layout/components/OutlineLayout/outlineLayout.styles.ts +1 -1
- package/src/components/DataDictionary/components/Layout/components/OutlineLayout/types.ts +1 -1
- package/src/components/DataDictionary/components/Layout/components/TitleLayout/titleLayout.styles.ts +1 -1
- package/src/components/DataDictionary/components/Layout/components/TitleLayout/types.ts +1 -1
- package/src/components/DataDictionary/components/Table/table.tsx +4 -7
- package/src/components/DataDictionary/components/Title/title.tsx +5 -3
- package/src/components/DataDictionary/dataDictionary.tsx +2 -2
- package/src/components/Detail/components/DetailViewTable/detailViewTable.tsx +3 -3
- package/src/components/Detail/components/Table/components/TableRows/components/CollapsableRows/collapsableRows.tsx +3 -3
- package/src/components/Detail/components/Table/components/TableRows/tableRows.tsx +3 -3
- package/src/components/Detail/components/Table/table.tsx +1 -1
- package/src/components/Filter/components/ClearAllFilters/clearAllFilters.styles.ts +6 -0
- package/src/components/Filter/components/ClearAllFilters/clearAllFilters.tsx +6 -3
- package/src/components/Filter/components/FilterCountChip/filterCountChip.tsx +1 -0
- package/src/components/Filter/components/Filters/filters.tsx +3 -3
- package/src/components/Filter/components/SearchAllFilters/searchAllFilters.tsx +4 -4
- package/src/components/Index/components/EntityView/components/controls/ActionButton/actionButton.tsx +12 -0
- package/src/components/Index/components/EntityView/components/controls/ExportButton/exportButton.styles.ts +9 -0
- package/src/components/Index/components/EntityView/components/controls/ExportButton/exportButton.tsx +39 -0
- package/src/components/Index/components/EntityView/components/controls/FilterButton/filterButton.styles.ts +9 -0
- package/src/components/Index/components/EntityView/components/controls/FilterButton/filterButton.tsx +39 -0
- package/src/components/Index/components/EntityView/components/controls/ViewToggle/hooks/UseViewToggle/hook.ts +15 -0
- package/src/components/Index/components/{EntitiesView/hooks/UseEntitiesView → EntityView/components/controls/ViewToggle/hooks/UseViewToggle}/types.ts +1 -1
- package/src/components/Index/components/EntityView/components/controls/ViewToggle/stories/viewToggle.stories.tsx +12 -0
- package/src/components/Index/components/EntityView/components/controls/ViewToggle/viewToggle.styles.ts +9 -0
- package/src/components/Index/components/EntityView/components/controls/ViewToggle/viewToggle.tsx +24 -0
- package/src/components/Index/components/EntityView/components/layout/Summary/constants.ts +7 -0
- package/src/components/Index/components/EntityView/components/layout/Summary/summary.styles.ts +19 -0
- package/src/components/Index/components/EntityView/components/layout/Summary/summary.tsx +34 -0
- package/src/components/Index/components/EntityView/components/layout/Title/title.tsx +16 -0
- package/src/components/Index/components/EntityView/components/navigation/Tabs/common/utils.ts +25 -0
- package/src/components/Index/components/EntityView/components/navigation/Tabs/tabs.styles.ts +20 -0
- package/src/components/Index/components/EntityView/components/navigation/Tabs/tabs.tsx +28 -0
- package/src/components/Index/components/EntityView/components/slots/EntityListSlot/entityListSlot.tsx +14 -0
- package/src/components/Index/components/EntityView/components/slots/EntityViewSlot/entityViewSlot.styles.ts +17 -0
- package/src/components/Index/components/EntityView/components/slots/EntityViewSlot/entityViewSlot.tsx +19 -0
- package/src/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/chartView.styles.ts +2 -1
- package/src/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/chartView.tsx +10 -2
- package/src/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/components/Chart/barX/plot.ts +3 -3
- package/src/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/components/Chart/barX/utils.ts +2 -2
- package/src/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/components/Chart/chart.styles.ts +3 -3
- package/src/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/components/Chart/stories/chart.stories.tsx +1 -1
- package/src/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/components/Chart/types.ts +2 -2
- package/src/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/hooks/UseChartView/types.ts +1 -1
- package/src/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/hooks/UseChartView/useChartView.ts +2 -2
- package/src/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/stories/chartView.stories.tsx +1 -1
- package/src/components/Index/components/EntityView/components/views/ChartView/types.ts +9 -0
- package/src/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/utils.ts +3 -3
- package/src/components/Index/components/{EntitiesView/components/EntityList/entityList.tsx → EntityView/components/views/TableView/tableView.tsx} +4 -4
- package/src/components/Index/components/EntityView/context/context.ts +9 -0
- package/src/components/Index/components/EntityView/context/hook.ts +11 -0
- package/src/components/Index/components/EntityView/context/types.ts +11 -0
- package/src/components/Index/index.styles.ts +59 -11
- package/src/components/Index/index.tsx +63 -41
- package/src/components/Index/types.ts +0 -7
- package/src/components/Layout/components/BackPage/components/BackPageHero/backPageHero.tsx +1 -1
- package/src/components/Layout/components/Sidebar/components/SidebarDrawer/sidebarDrawer.tsx +8 -8
- package/src/components/Layout/components/Sidebar/sidebar.stories.tsx +0 -4
- package/src/components/Layout/components/Sidebar/sidebar.tsx +10 -18
- package/src/components/Table/common/gridTable.styles.ts +10 -0
- package/src/components/Table/components/DownloadEntityResults/downloadEntityResults.styles.ts +9 -0
- package/src/components/Table/components/DownloadEntityResults/downloadEntityResults.tsx +6 -4
- package/src/components/Table/components/PaginationSummary/paginationSummary.tsx +1 -1
- package/src/components/Table/components/TableBody/tableBody.tsx +11 -3
- package/src/components/Table/components/TableCell/components/CollapsableCell/collapsableCell.tsx +1 -10
- package/src/components/Table/components/TableFeatures/GlobalFilter/globalFilter.tsx +6 -2
- package/src/components/Table/components/TableHead/tableHead.tsx +37 -44
- package/src/components/Table/components/TableHead/types.ts +0 -2
- package/src/components/Table/components/TablePagination/stories/args.ts +12 -0
- package/src/components/Table/components/TablePagination/stories/tablePagination.stories.tsx +15 -0
- package/src/components/Table/components/TablePagination/tablePagination.styles.ts +11 -0
- package/src/components/Table/components/TablePagination/tablePagination.tsx +47 -0
- package/src/components/Table/components/TablePagination/types.ts +8 -0
- package/src/components/Table/components/TableRow/tableRow.styles.ts +3 -3
- package/src/components/Table/components/TableRows/components/CollapsableRows/collapsableRows.styles.ts +6 -0
- package/src/components/Table/components/TableRows/components/CollapsableRows/collapsableRows.tsx +9 -10
- package/src/components/Table/components/TableRows/components/VirtualizedRow/virtualizedRow.tsx +1 -1
- package/src/components/Table/components/TableRows/tableRows.tsx +4 -4
- package/src/components/Table/components/TableToolbar/constants.ts +8 -0
- package/src/components/Table/components/TableToolbar/tableToolbar.styles.ts +14 -14
- package/src/components/Table/components/TableToolbar/tableToolbar.tsx +21 -27
- package/src/components/Table/table.styles.ts +35 -1
- package/src/components/Table/table.tsx +10 -14
- package/src/components/common/Button/components/DropdownButton/dropdownButton.styles.ts +10 -10
- package/src/components/common/Button/components/DropdownButton/dropdownButton.tsx +8 -12
- package/src/components/common/Button/components/DropdownButton/types.ts +5 -0
- package/src/components/common/Button/constants.ts +12 -2
- package/src/components/common/Dot/dot.tsx +2 -5
- package/src/components/common/Drawer/provider/context.ts +8 -0
- package/src/components/common/Drawer/provider/hook.ts +11 -0
- package/src/components/common/Drawer/provider/provider.tsx +20 -0
- package/src/components/common/Drawer/provider/types.ts +10 -0
- package/src/components/common/Paper/components/FlatPaper/flatPaper.styles.ts +9 -0
- package/src/components/common/Paper/components/FlatPaper/flatPaper.tsx +10 -0
- package/src/components/common/Paper/components/FluidPaper/fluidPaper.styles.ts +11 -0
- package/src/components/common/Paper/components/FluidPaper/fluidPaper.tsx +10 -0
- package/src/components/common/Paper/components/RoundedPaper/roundedPaper.styles.ts +10 -0
- package/src/components/common/Paper/components/RoundedPaper/roundedPaper.tsx +10 -0
- package/src/components/common/Tabs/tabs.tsx +1 -1
- package/src/components/common/Title/title.styles.ts +3 -1
- package/src/components/common/Title/title.tsx +20 -28
- package/src/config/entities.ts +15 -7
- package/src/config/utils.ts +0 -1
- package/src/{components/DataDictionary/hooks → hooks}/UseLayoutSpacing/hook.ts +1 -1
- package/src/hooks/useSummary.ts +20 -27
- package/src/routes/constants.ts +1 -0
- package/src/styles/common/constants/colorMixes.ts +2 -0
- package/src/styles/common/mui/paper.ts +0 -1
- package/src/styles/common/mui/toggleButton.ts +27 -0
- package/src/styles/common/mui/typography.ts +1 -0
- package/src/tests/testIds.ts +1 -1
- package/src/theme/common/components.ts +64 -59
- package/src/views/ExploreView/exploreView.tsx +10 -100
- package/tests/chart.test.tsx +3 -3
- package/tests/chartView.test.tsx +2 -2
- package/tests/viewToggle.test.tsx +56 -0
- package/types/data-explorer-ui.d.ts +0 -7
- package/lib/components/DataDictionary/components/Table/table.styles.d.ts +0 -3
- package/lib/components/DataDictionary/components/Table/table.styles.js +0 -5
- package/lib/components/Index/components/EntitiesView/components/ChartView/chartView.styles.d.ts +0 -13
- package/lib/components/Index/components/EntitiesView/components/ChartView/types.d.ts +0 -8
- package/lib/components/Index/components/EntitiesView/components/EntityList/entityList.d.ts +0 -3
- package/lib/components/Index/components/EntitiesView/entitiesView.d.ts +0 -2
- package/lib/components/Index/components/EntitiesView/entitiesView.js +0 -15
- package/lib/components/Index/components/EntitiesView/entitiesView.styles.d.ts +0 -3
- package/lib/components/Index/components/EntitiesView/entitiesView.styles.js +0 -20
- package/lib/components/Index/components/EntitiesView/hooks/UseEntitiesView/hook.d.ts +0 -2
- package/lib/components/Index/components/EntitiesView/stories/entitiesView.stories.d.ts +0 -8
- package/lib/components/Index/components/EntitiesView/stories/entitiesView.stories.js +0 -50
- package/lib/components/Index/components/EntitiesView/types.d.ts +0 -8
- package/lib/components/Index/components/Hero/components/ExportButton/exportButton.d.ts +0 -1
- package/lib/components/Index/components/Hero/components/ExportButton/exportButton.js +0 -13
- package/lib/components/Index/components/Hero/components/ExportButton/exportButton.styles.d.ts +0 -3
- package/lib/components/Index/components/Hero/components/ExportButton/exportButton.styles.js +0 -13
- package/lib/components/Index/components/Hero/components/Summaries/stories/summaries.stories.js +0 -14
- package/lib/components/Index/components/Hero/components/Summaries/summaries.d.ts +0 -9
- package/lib/components/Index/components/Hero/components/Summaries/summaries.js +0 -12
- package/lib/components/Index/components/Hero/components/Summaries/summaries.styles.d.ts +0 -7
- package/lib/components/Index/components/Hero/components/Summaries/summaries.styles.js +0 -26
- package/lib/components/Index/components/Hero/hero.d.ts +0 -11
- package/lib/components/Index/components/Hero/hero.js +0 -12
- package/lib/components/Index/components/Hero/hero.styles.d.ts +0 -16
- package/lib/components/Index/components/Hero/hero.styles.js +0 -44
- package/lib/components/Index/components/Hero/stories/hero.stories.d.ts +0 -6
- package/lib/components/Index/components/Hero/stories/hero.stories.js +0 -16
- package/lib/components/Index/components/Tabs/common/utils.js +0 -19
- package/lib/components/Index/components/Tabs/tabs.js +0 -20
- package/lib/components/Index/stories/index.stories.js +0 -17
- package/lib/components/Table/components/Pagination/pagination.d.ts +0 -9
- package/lib/components/Table/components/Pagination/pagination.js +0 -19
- package/lib/components/Table/components/Pagination/pagination.stories.d.ts +0 -28
- package/lib/components/Table/components/Pagination/pagination.stories.js +0 -24
- package/lib/components/Table/components/Pagination/pagination.styles.d.ts +0 -4
- package/lib/components/Table/components/Pagination/pagination.styles.js +0 -15
- package/lib/components/Table/components/TableBody/hooks/virtualizer/constants.d.ts +0 -3
- package/lib/components/Table/components/TableBody/hooks/virtualizer/constants.js +0 -3
- package/lib/components/Table/components/TableBody/hooks/virtualizer/hook.d.ts +0 -8
- package/lib/components/Table/components/TableBody/hooks/virtualizer/hook.js +0 -18
- package/lib/components/Table/components/TableBody/hooks/virtualizer/types.d.ts +0 -4
- package/src/components/DataDictionary/components/Table/table.styles.ts +0 -6
- package/src/components/Index/components/EntitiesView/components/ChartView/types.ts +0 -9
- package/src/components/Index/components/EntitiesView/entitiesView.styles.ts +0 -21
- package/src/components/Index/components/EntitiesView/entitiesView.tsx +0 -30
- package/src/components/Index/components/EntitiesView/hooks/UseEntitiesView/hook.ts +0 -15
- package/src/components/Index/components/EntitiesView/stories/entitiesView.stories.tsx +0 -76
- package/src/components/Index/components/EntitiesView/types.ts +0 -9
- package/src/components/Index/components/Hero/components/ExportButton/exportButton.styles.ts +0 -14
- package/src/components/Index/components/Hero/components/ExportButton/exportButton.tsx +0 -26
- package/src/components/Index/components/Hero/components/Summaries/stories/summaries.stories.tsx +0 -20
- package/src/components/Index/components/Hero/components/Summaries/summaries.styles.ts +0 -31
- package/src/components/Index/components/Hero/components/Summaries/summaries.tsx +0 -35
- package/src/components/Index/components/Hero/hero.styles.ts +0 -55
- package/src/components/Index/components/Hero/hero.tsx +0 -40
- package/src/components/Index/components/Hero/stories/hero.stories.tsx +0 -22
- package/src/components/Index/components/Tabs/common/utils.ts +0 -35
- package/src/components/Index/components/Tabs/tabs.tsx +0 -23
- package/src/components/Index/stories/index.stories.tsx +0 -23
- package/src/components/Table/components/Pagination/pagination.stories.tsx +0 -30
- package/src/components/Table/components/Pagination/pagination.styles.ts +0 -16
- package/src/components/Table/components/Pagination/pagination.tsx +0 -50
- package/src/components/Table/components/TableBody/hooks/virtualizer/constants.ts +0 -3
- package/src/components/Table/components/TableBody/hooks/virtualizer/hook.ts +0 -23
- package/src/components/Table/components/TableBody/hooks/virtualizer/types.ts +0 -5
- package/tests/entitiesView.test.tsx +0 -32
- /package/lib/components/Index/components/{EntitiesView/hooks/UseEntitiesView → EntityView/components/controls/ViewToggle/hooks/UseViewToggle}/types.js +0 -0
- /package/lib/components/Index/components/{Tabs → EntityView/components/navigation/Tabs}/tabs.d.ts +0 -0
- /package/lib/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/chartView.d.ts +0 -0
- /package/lib/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/components/Chart/barX/constants.d.ts +0 -0
- /package/lib/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/components/Chart/barX/constants.js +0 -0
- /package/lib/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/components/Chart/chart.d.ts +0 -0
- /package/lib/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/components/Chart/chart.js +0 -0
- /package/lib/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/components/Chart/constants.d.ts +0 -0
- /package/lib/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/components/Chart/constants.js +0 -0
- /package/lib/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/components/Chart/stories/args.d.ts +0 -0
- /package/lib/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/components/Chart/stories/args.js +0 -0
- /package/lib/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/components/Chart/stories/chart.stories.d.ts +0 -0
- /package/lib/components/{DataDictionary/hooks/UseLayoutSpacing → Index/components/EntityView/components/views/ChartView/components/Chart}/types.js +0 -0
- /package/lib/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/constants.d.ts +0 -0
- /package/lib/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/constants.js +0 -0
- /package/lib/components/Index/components/{EntitiesView/components/ChartView/components/Chart → EntityView/components/views/ChartView/hooks/UseChartView}/types.js +0 -0
- /package/lib/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/stories/args.d.ts +0 -0
- /package/lib/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/stories/args.js +0 -0
- /package/lib/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/stories/chartView.stories.d.ts +0 -0
- /package/lib/components/Index/components/{EntitiesView/components/ChartView/hooks/UseChartView → EntityView/components/views/ChartView}/types.js +0 -0
- /package/lib/components/Index/components/{EntitiesView/components/EntityList → EntityView/components/views/TableView}/types.d.ts +0 -0
- /package/lib/components/Index/components/{EntitiesView/components/ChartView → EntityView/components/views/TableView}/types.js +0 -0
- /package/lib/components/Index/components/{EntitiesView/components/EntityList → EntityView/context}/types.js +0 -0
- /package/lib/components/{Index/components/EntitiesView → Table/components/TablePagination}/types.js +0 -0
- /package/lib/components/{Table/components/TableBody/hooks/virtualizer → common/Button/components/DropdownButton}/types.js +0 -0
- /package/lib/{components/DataDictionary/hooks → hooks}/UseLayoutSpacing/hook.d.ts +0 -0
- /package/lib/{components/DataDictionary/hooks → hooks}/UseLayoutSpacing/types.d.ts +0 -0
- /package/src/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/components/Chart/barX/constants.ts +0 -0
- /package/src/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/components/Chart/chart.tsx +0 -0
- /package/src/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/components/Chart/constants.ts +0 -0
- /package/src/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/components/Chart/stories/args.ts +0 -0
- /package/src/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/constants.ts +0 -0
- /package/src/components/Index/components/{EntitiesView/components → EntityView/components/views}/ChartView/stories/args.ts +0 -0
- /package/src/components/Index/components/{EntitiesView/components/EntityList → EntityView/components/views/TableView}/types.ts +0 -0
- /package/src/{components/DataDictionary/hooks → hooks}/UseLayoutSpacing/types.ts +0 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ToggleButtonGroupProps } from "@mui/material";
|
|
2
|
+
import { VIEW_MODE, ViewStatus } from "../components/controls/ViewToggle/hooks/UseViewToggle/types";
|
|
3
|
+
export interface EntityViewContextProps {
|
|
4
|
+
onChange: ToggleButtonGroupProps["onChange"];
|
|
5
|
+
viewMode: VIEW_MODE;
|
|
6
|
+
viewStatus: ViewStatus;
|
|
7
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { IndexProps } from "./types";
|
|
2
|
-
export declare const Index: ({ categoryFilters, className, entityListType, entityName,
|
|
2
|
+
export declare const Index: ({ categoryFilters, className, entityListType, entityName, loading, }: IndexProps) => JSX.Element;
|
|
@@ -1,21 +1,38 @@
|
|
|
1
|
+
import { Grid } from "@mui/material";
|
|
1
2
|
import React from "react";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { VIEW_MODE } from "./components/
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
3
|
+
import { useLayoutSpacing } from "../../hooks/UseLayoutSpacing/hook";
|
|
4
|
+
import { ActionButton } from "./components/EntityView/components/controls/ActionButton/actionButton";
|
|
5
|
+
import { ExportButton } from "./components/EntityView/components/controls/ExportButton/exportButton";
|
|
6
|
+
import { FilterButton } from "./components/EntityView/components/controls/FilterButton/filterButton";
|
|
7
|
+
import { useViewToggle } from "./components/EntityView/components/controls/ViewToggle/hooks/UseViewToggle/hook";
|
|
8
|
+
import { VIEW_MODE } from "./components/EntityView/components/controls/ViewToggle/hooks/UseViewToggle/types";
|
|
9
|
+
import { Summary } from "./components/EntityView/components/layout/Summary/summary";
|
|
10
|
+
import { Title } from "./components/EntityView/components/layout/Title/title";
|
|
11
|
+
import { Tabs } from "./components/EntityView/components/navigation/Tabs/tabs";
|
|
12
|
+
import { EntityListSlot } from "./components/EntityView/components/slots/EntityListSlot/entityListSlot";
|
|
13
|
+
import { EntityViewSlot } from "./components/EntityView/components/slots/EntityViewSlot/entityViewSlot";
|
|
14
|
+
import { ChartView } from "./components/EntityView/components/views/ChartView/chartView";
|
|
15
|
+
import { TableView } from "./components/EntityView/components/views/TableView/tableView";
|
|
16
|
+
import { EntityViewContext } from "./components/EntityView/context/context";
|
|
17
|
+
import { StyledFluidPaper, StyledGridEntityLayout, StyledGridEntityList, StyledGridEntityView, } from "./index.styles";
|
|
10
18
|
import { useTable } from "./table/hook";
|
|
11
|
-
export const Index = ({ categoryFilters, className, entityListType, entityName,
|
|
12
|
-
const { onChange, viewMode, viewStatus } =
|
|
13
|
-
const {
|
|
19
|
+
export const Index = ({ categoryFilters, className, entityListType, entityName, loading, }) => {
|
|
20
|
+
const { onChange, viewMode, viewStatus } = useViewToggle();
|
|
21
|
+
const { spacing } = useLayoutSpacing();
|
|
14
22
|
const { table } = useTable({ entityListType });
|
|
15
|
-
return (React.createElement(
|
|
16
|
-
React.createElement(
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
23
|
+
return (React.createElement(StyledGridEntityView, { className: className, ...spacing },
|
|
24
|
+
React.createElement(EntityViewSlot, null),
|
|
25
|
+
React.createElement(StyledGridEntityLayout, { container: true },
|
|
26
|
+
React.createElement(Title, null),
|
|
27
|
+
React.createElement(Tabs, null),
|
|
28
|
+
React.createElement(Grid, { container: true, offset: "auto" },
|
|
29
|
+
React.createElement(Summary, null),
|
|
30
|
+
React.createElement(Grid, { container: true, gap: 2 },
|
|
31
|
+
React.createElement(ActionButton, null),
|
|
32
|
+
React.createElement(ExportButton, null),
|
|
33
|
+
React.createElement(FilterButton, null)))),
|
|
34
|
+
React.createElement(EntityViewContext.Provider, { value: { onChange, viewMode, viewStatus } },
|
|
35
|
+
React.createElement(StyledGridEntityList, { container: true },
|
|
36
|
+
React.createElement(EntityListSlot, null),
|
|
37
|
+
React.createElement(StyledFluidPaper, { elevation: 0 }, viewMode === VIEW_MODE.TABLE ? (React.createElement(TableView, { entityListType: entityListType, loading: loading, table: table })) : (React.createElement(ChartView, { categoryFilters: categoryFilters, entityName: entityName, loading: loading })))))));
|
|
21
38
|
};
|
|
@@ -1,8 +1,29 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { LayoutSpacing } from "../../hooks/UseLayoutSpacing/types";
|
|
2
|
+
export declare const StyledGridEntityView: import("@emotion/styled").StyledComponent<import("@mui/material").GridBaseProps & {
|
|
3
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme>;
|
|
4
|
+
} & import("@mui/system").SystemProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
5
|
+
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;
|
|
6
|
+
}, "sx" | ("p" | "order" | "bottom" | "height" | "left" | "right" | "top" | "width" | "color" | "fontSize" | "display" | "fontFamily" | "fontStyle" | "fontWeight" | "letterSpacing" | "overflow" | "visibility" | "bgcolor" | "border" | "boxShadow" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "columnGap" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "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" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "padding" | "paddingBlock" | "paddingInline" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint") | keyof import("@mui/material").GridBaseProps> & {
|
|
7
|
+
theme?: import("@emotion/react").Theme;
|
|
8
|
+
} & LayoutSpacing, {}, {}>;
|
|
9
|
+
export declare const StyledGridEntityLayout: import("@emotion/styled").StyledComponent<import("@mui/material").GridBaseProps & {
|
|
10
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme>;
|
|
11
|
+
} & import("@mui/system").SystemProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
12
|
+
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;
|
|
13
|
+
}, "sx" | ("p" | "order" | "bottom" | "height" | "left" | "right" | "top" | "width" | "color" | "fontSize" | "display" | "fontFamily" | "fontStyle" | "fontWeight" | "letterSpacing" | "overflow" | "visibility" | "bgcolor" | "border" | "boxShadow" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "columnGap" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "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" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "padding" | "paddingBlock" | "paddingInline" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint") | keyof import("@mui/material").GridBaseProps> & {
|
|
14
|
+
theme?: import("@emotion/react").Theme;
|
|
15
|
+
}, {}, {}>;
|
|
16
|
+
export declare const StyledFluidPaper: import("@emotion/styled").StyledComponent<import("../types").BaseComponentProps & import("@mui/material").PaperOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
17
|
+
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;
|
|
18
|
+
}, "style" | "className" | "classes" | "children" | "sx" | "elevation" | "square" | "variant"> & {
|
|
19
|
+
component?: React.ElementType;
|
|
20
|
+
} & {
|
|
21
|
+
theme?: import("@emotion/react").Theme;
|
|
22
|
+
}, {}, {}>;
|
|
23
|
+
export declare const StyledGridEntityList: import("@emotion/styled").StyledComponent<import("@mui/material").GridBaseProps & {
|
|
24
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme>;
|
|
25
|
+
} & import("@mui/system").SystemProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
26
|
+
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;
|
|
27
|
+
}, "sx" | ("p" | "order" | "bottom" | "height" | "left" | "right" | "top" | "width" | "color" | "fontSize" | "display" | "fontFamily" | "fontStyle" | "fontWeight" | "letterSpacing" | "overflow" | "visibility" | "bgcolor" | "border" | "boxShadow" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "columnGap" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "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" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "padding" | "paddingBlock" | "paddingInline" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint") | keyof import("@mui/material").GridBaseProps> & {
|
|
28
|
+
theme?: import("@emotion/react").Theme;
|
|
29
|
+
}, {}, {}>;
|
|
@@ -1,14 +1,62 @@
|
|
|
1
1
|
import styled from "@emotion/styled";
|
|
2
|
-
import {
|
|
3
|
-
|
|
2
|
+
import { Grid } from "@mui/material";
|
|
3
|
+
import { PALETTE } from "../../styles/common/constants/palette";
|
|
4
|
+
import { mediaTabletDown } from "../../styles/common/mixins/breakpoints";
|
|
5
|
+
import { FluidPaper } from "../common/Paper/components/FluidPaper/fluidPaper";
|
|
6
|
+
export const StyledGridEntityView = styled(Grid) `
|
|
7
|
+
align-content: flex-start;
|
|
4
8
|
display: grid;
|
|
5
9
|
flex: 1;
|
|
10
|
+
gap: 0;
|
|
11
|
+
height: 100%;
|
|
12
|
+
max-height: 100vh;
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
padding-top: ${({ top }) => top}px;
|
|
15
|
+
`;
|
|
16
|
+
export const StyledGridEntityLayout = styled(Grid) `
|
|
17
|
+
align-items: center;
|
|
18
|
+
gap: 16px;
|
|
19
|
+
min-height: 56px;
|
|
20
|
+
padding: 0 16px;
|
|
21
|
+
position: relative; /* required; positions box-shadow */
|
|
22
|
+
|
|
23
|
+
&:after {
|
|
24
|
+
content: "";
|
|
25
|
+
bottom: 0;
|
|
26
|
+
box-shadow: inset 0 -1px 0 0 ${PALETTE.SMOKE_MAIN};
|
|
27
|
+
height: 1px;
|
|
28
|
+
left: 0;
|
|
29
|
+
position: absolute;
|
|
30
|
+
width: 100%;
|
|
31
|
+
z-index: 2;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&:empty {
|
|
35
|
+
display: none;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.MuiGrid-root {
|
|
39
|
+
align-items: center;
|
|
40
|
+
|
|
41
|
+
&:empty {
|
|
42
|
+
display: none;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
`;
|
|
46
|
+
export const StyledFluidPaper = styled(FluidPaper) `
|
|
47
|
+
background-color: ${PALETTE.SMOKE_MAIN};
|
|
48
|
+
display: grid;
|
|
49
|
+
gap: 1px;
|
|
50
|
+
overflow: hidden;
|
|
51
|
+
position: relative; /* required; positions table loading indicator */
|
|
52
|
+
`;
|
|
53
|
+
export const StyledGridEntityList = styled(Grid) `
|
|
54
|
+
display: grid;
|
|
6
55
|
gap: 16px;
|
|
7
|
-
margin
|
|
8
|
-
|
|
9
|
-
place-content: flex-start stretch;
|
|
56
|
+
margin: 16px;
|
|
57
|
+
overflow: hidden;
|
|
10
58
|
|
|
11
|
-
${
|
|
12
|
-
|
|
59
|
+
${mediaTabletDown} {
|
|
60
|
+
margin: 16px 0;
|
|
13
61
|
}
|
|
14
62
|
`;
|
|
@@ -1,16 +1,9 @@
|
|
|
1
1
|
import { BaseComponentProps } from "components/types";
|
|
2
2
|
import { EntityConfig } from "config/entities";
|
|
3
|
-
import { ReactNode } from "react";
|
|
4
3
|
import { CategoryFilter } from "../../components/Filter/components/Filters/filters";
|
|
5
4
|
export interface IndexProps extends BaseComponentProps {
|
|
6
5
|
categoryFilters: CategoryFilter[];
|
|
7
6
|
entityListType: string;
|
|
8
7
|
entityName: EntityConfig["label"];
|
|
9
|
-
ListHero?: ReactNode | ReactNode[];
|
|
10
8
|
loading: boolean;
|
|
11
|
-
SideBarButton?: ReactNode;
|
|
12
|
-
SubTitleHero?: ReactNode | ReactNode[];
|
|
13
|
-
Summaries?: ReactNode;
|
|
14
|
-
Tabs?: ReactNode;
|
|
15
|
-
title: ReactNode;
|
|
16
9
|
}
|
|
@@ -10,7 +10,7 @@ export const BackPageHero = ({ actions, breadcrumbs, callToAction, children, sub
|
|
|
10
10
|
React.createElement(HeroHeadline, null,
|
|
11
11
|
React.createElement(HeroHeader, { gap: 1 },
|
|
12
12
|
breadcrumbs ? (isBreadcrumbArray(breadcrumbs) ? (React.createElement(Breadcrumbs, { breadcrumbs: breadcrumbs })) : (breadcrumbs)) : null,
|
|
13
|
-
|
|
13
|
+
React.createElement(Title, null, title),
|
|
14
14
|
React.createElement(SubTitle, { subTitle: subTitle })),
|
|
15
15
|
actions,
|
|
16
16
|
callToAction && React.createElement(CallToActionButton, { callToAction: callToAction })),
|
package/lib/components/Layout/components/Footer/components/VersionInfo/versionInfo.styles.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const StyledChip: import("@emotion/styled").StyledComponent<import("@mui/material").ChipOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
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" | "
|
|
3
|
+
}, "label" | "style" | "size" | "className" | "classes" | "children" | "color" | "sx" | "tabIndex" | "disabled" | "variant" | "avatar" | "clickable" | "deleteIcon" | "icon" | "onDelete" | "skipFocusWhenDisabled" | "slots" | "slotProps"> & {
|
|
4
4
|
theme?: import("@emotion/react").Theme;
|
|
5
5
|
}, {}, {}>;
|
|
@@ -3,21 +3,21 @@ export declare const AuthenticationMenu: import("@emotion/styled").StyledCompone
|
|
|
3
3
|
}, {}, {}>;
|
|
4
4
|
export declare const UserIcon: import("@emotion/styled").StyledComponent<import("@mui/material").IconButtonOwnProps & 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" | "className" | "classes" | "
|
|
6
|
+
}, "style" | "size" | "className" | "classes" | "children" | "color" | "sx" | "tabIndex" | "disabled" | "action" | "loading" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "loadingIndicator" | "edge"> & {
|
|
7
7
|
theme?: import("@emotion/react").Theme;
|
|
8
8
|
}, {}, {}>;
|
|
9
9
|
export declare const UserSummary: import("@emotion/styled").StyledComponent<import("@mui/material").MenuItemOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
10
10
|
ref?: ((instance: HTMLLIElement | 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<HTMLLIElement> | null | undefined;
|
|
11
|
-
}, "style" | "className" | "classes" | "
|
|
11
|
+
}, "style" | "className" | "classes" | "children" | "sx" | "tabIndex" | "autoFocus" | "disabled" | "action" | "selected" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "dense" | "disableGutters" | "divider"> & {
|
|
12
12
|
theme?: import("@emotion/react").Theme;
|
|
13
13
|
}, {}, {}>;
|
|
14
14
|
export declare const UserNames: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
15
15
|
ref?: ((instance: HTMLSpanElement | 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<HTMLSpanElement> | null | undefined;
|
|
16
|
-
}, "p" | "style" | "
|
|
16
|
+
}, "p" | "style" | "order" | "bottom" | "height" | "left" | "right" | "top" | "width" | "className" | "classes" | "children" | "color" | "fontSize" | "sx" | "display" | "fontFamily" | "fontStyle" | "fontWeight" | "letterSpacing" | "overflow" | "visibility" | "align" | "bgcolor" | "border" | "boxShadow" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "columnGap" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "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" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "padding" | "paddingBlock" | "paddingInline" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "variant" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
|
|
17
17
|
theme?: import("@emotion/react").Theme;
|
|
18
18
|
}, {}, {}>;
|
|
19
19
|
export declare const StyledAvatar: import("@emotion/styled").StyledComponent<import("@mui/material").AvatarOwnProps & import("@mui/material").AvatarSlotsAndSlotProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
20
20
|
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;
|
|
21
|
-
}, "style" | "className" | "classes" | "children" | "sx" | "
|
|
21
|
+
}, "style" | "className" | "classes" | "children" | "sx" | "alt" | "src" | "sizes" | "srcSet" | "variant" | "slots" | "slotProps" | "imgProps"> & {
|
|
22
22
|
theme?: import("@emotion/react").Theme;
|
|
23
23
|
}, {}, {}>;
|
|
@@ -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" | "
|
|
3
|
+
}, "style" | "size" | "href" | "className" | "classes" | "children" | "color" | "sx" | "tabIndex" | "disabled" | "action" | "loading" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "loadingIndicator" | "loadingPosition" | "startIcon" | "variant"> & {
|
|
4
4
|
theme?: import("@emotion/react").Theme;
|
|
5
5
|
}, {}, {}>;
|
|
@@ -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" | "
|
|
3
|
+
}, "style" | "size" | "href" | "className" | "classes" | "children" | "color" | "sx" | "tabIndex" | "disabled" | "action" | "loading" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "loadingIndicator" | "loadingPosition" | "startIcon" | "variant"> & {
|
|
4
4
|
theme?: import("@emotion/react").Theme;
|
|
5
5
|
}, {}, {}>;
|
|
@@ -9,7 +9,7 @@ export declare const Button: import("@emotion/styled").StyledComponent<Omit<impo
|
|
|
9
9
|
} & Props, {}, {}>;
|
|
10
10
|
export declare const StyledMenuItem: import("@emotion/styled").StyledComponent<import("@mui/material").MenuItemOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
11
11
|
ref?: ((instance: HTMLLIElement | 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<HTMLLIElement> | null | undefined;
|
|
12
|
-
}, "style" | "className" | "classes" | "
|
|
12
|
+
}, "style" | "className" | "classes" | "children" | "sx" | "tabIndex" | "autoFocus" | "disabled" | "action" | "selected" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "dense" | "disableGutters" | "divider"> & {
|
|
13
13
|
theme?: import("@emotion/react").Theme;
|
|
14
14
|
}, {}, {}>;
|
|
15
15
|
export {};
|
|
@@ -4,6 +4,6 @@ export declare const Slogan: import("@emotion/styled").StyledComponent<{
|
|
|
4
4
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
5
5
|
export declare const Divider: import("@emotion/styled").StyledComponent<import("@mui/material").DividerOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHRElement>, HTMLHRElement>, "ref"> & {
|
|
6
6
|
ref?: ((instance: HTMLHRElement | 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<HTMLHRElement> | null | undefined;
|
|
7
|
-
}, "style" | "className" | "classes" | "children" | "
|
|
7
|
+
}, "style" | "className" | "classes" | "children" | "sx" | "orientation" | "textAlign" | "variant" | "absolute" | "light" | "flexItem"> & {
|
|
8
8
|
theme?: import("@emotion/react").Theme;
|
|
9
9
|
}, {}, {}>;
|
package/lib/components/Layout/components/Outline/components/ContentsTab/contentsTab.styles.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const StyledTab: import("@emotion/styled").StyledComponent<import("@mui/material").TabOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & 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" | "
|
|
3
|
+
}, "label" | "style" | "value" | "className" | "classes" | "children" | "sx" | "tabIndex" | "disabled" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "icon" | "wrapped" | "iconPosition"> & {
|
|
4
4
|
theme?: import("@emotion/react").Theme;
|
|
5
5
|
}, {}, {}>;
|
|
@@ -5,12 +5,12 @@ interface Props extends TabProps {
|
|
|
5
5
|
export declare const tab: import("@emotion/react").SerializedStyles;
|
|
6
6
|
export declare const StyledTabs: import("@emotion/styled").StyledComponent<import("@mui/material").TabsOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
7
7
|
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;
|
|
8
|
-
}, "style" | "
|
|
8
|
+
}, "style" | "value" | "className" | "classes" | "children" | "sx" | "orientation" | "aria-label" | "aria-labelledby" | "onChange" | "action" | "variant" | "slots" | "slotProps" | "allowScrollButtonsMobile" | "centered" | "indicatorColor" | "ScrollButtonComponent" | "scrollButtons" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "textColor" | "visibleScrollbar"> & {
|
|
9
9
|
theme?: import("@emotion/react").Theme;
|
|
10
10
|
}, {}, {}>;
|
|
11
11
|
export declare const StyledTab: import("@emotion/styled").StyledComponent<import("@mui/material").TabOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
12
12
|
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;
|
|
13
|
-
}, "label" | "style" | "
|
|
13
|
+
}, "label" | "style" | "value" | "className" | "classes" | "children" | "sx" | "tabIndex" | "disabled" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "icon" | "wrapped" | "iconPosition"> & {
|
|
14
14
|
theme?: import("@emotion/react").Theme;
|
|
15
15
|
} & Props, {}, {}>;
|
|
16
16
|
export {};
|
package/lib/components/Layout/components/Sidebar/components/SidebarDrawer/sidebarDrawer.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
export interface SidebarDrawerProps {
|
|
3
3
|
children: ReactNode | ReactNode[];
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
onClose?: () => void;
|
|
5
|
+
open?: boolean;
|
|
6
6
|
}
|
|
7
|
-
export declare const SidebarDrawer: ({ children,
|
|
7
|
+
export declare const SidebarDrawer: ({ children, onClose, open, }: SidebarDrawerProps) => JSX.Element;
|
|
@@ -8,8 +8,8 @@ const DRAWER_SLOT_PROPS = {
|
|
|
8
8
|
paper: { square: true },
|
|
9
9
|
root: { slotProps: { backdrop: { invisible: false } } },
|
|
10
10
|
};
|
|
11
|
-
export const SidebarDrawer = ({ children,
|
|
12
|
-
return (React.createElement(TemporarySidebar, { anchorPosition: DEFAULT_POSITION, anchorReference: "anchorPosition", "data-testid": TEST_IDS.SIDEBAR_DRAWER, hideBackdrop: false, marginThreshold: 0, onClose:
|
|
13
|
-
React.createElement(IconButton, { Icon: CloseRounded, onClick:
|
|
11
|
+
export const SidebarDrawer = ({ children, onClose, open = false, }) => {
|
|
12
|
+
return (React.createElement(TemporarySidebar, { anchorPosition: DEFAULT_POSITION, anchorReference: "anchorPosition", "data-testid": TEST_IDS.SIDEBAR_DRAWER, hideBackdrop: false, marginThreshold: 0, onClose: onClose, open: open, slotProps: DRAWER_SLOT_PROPS, TransitionComponent: DrawerTransition, transitionDuration: open ? 250 : 300 },
|
|
13
|
+
React.createElement(IconButton, { Icon: CloseRounded, onClick: onClose, size: "medium" }),
|
|
14
14
|
children));
|
|
15
15
|
};
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export
|
|
3
|
-
children: ReactNode | ReactNode[];
|
|
4
|
-
drawerOpen?: boolean;
|
|
5
|
-
onDrawerClose?: () => void;
|
|
6
|
-
}
|
|
7
|
-
export declare const Sidebar: ({ children, drawerOpen, onDrawerClose, }: SidebarProps) => JSX.Element;
|
|
1
|
+
import { ChildrenProps } from "components/types";
|
|
2
|
+
export declare const Sidebar: ({ children }: ChildrenProps) => JSX.Element;
|
|
@@ -2,23 +2,24 @@ import React, { useEffect } from "react";
|
|
|
2
2
|
import { BREAKPOINT_FN_NAME, useBreakpointHelper, } from "../../../../hooks/useBreakpointHelper";
|
|
3
3
|
import { TEST_IDS } from "../../../../tests/testIds";
|
|
4
4
|
import { DESKTOP_SM } from "../../../../theme/common/breakpoints";
|
|
5
|
+
import { useDrawer } from "../../../common/Drawer/provider/hook";
|
|
5
6
|
import { SidebarDrawer } from "./components/SidebarDrawer/sidebarDrawer";
|
|
6
7
|
import { SidebarPositioner } from "./components/SidebarPositioner/sidebarPositioner";
|
|
7
8
|
import { Sidebar as PermanentSidebar } from "./sidebar.styles";
|
|
8
|
-
export const Sidebar = ({ children
|
|
9
|
+
export const Sidebar = ({ children }) => {
|
|
10
|
+
const { onClose, open } = useDrawer();
|
|
9
11
|
const desktopSmDown = useBreakpointHelper(BREAKPOINT_FN_NAME.DOWN, DESKTOP_SM);
|
|
10
|
-
const
|
|
11
|
-
const drawerSidebar = controlledSidebar && desktopSmDown; // Sidebar is "temporary" drawer when drawerOpen is defined and breakpoint is smaller than the breakpoint.
|
|
12
|
+
const drawerSidebar = desktopSmDown;
|
|
12
13
|
const Bar = drawerSidebar ? SidebarDrawer : PermanentSidebar;
|
|
13
14
|
const barProps = drawerSidebar
|
|
14
|
-
? {
|
|
15
|
+
? { onClose, open }
|
|
15
16
|
: { "data-testid": TEST_IDS.SIDEBAR };
|
|
16
17
|
// Closes an open, controlled drawer sidebar with a change of breakpoint.
|
|
17
18
|
useEffect(() => {
|
|
18
|
-
if (
|
|
19
|
-
|
|
19
|
+
if (open && !desktopSmDown) {
|
|
20
|
+
onClose();
|
|
20
21
|
}
|
|
21
|
-
}, [
|
|
22
|
+
}, [desktopSmDown, onClose, open]);
|
|
22
23
|
return (React.createElement(Bar, { ...barProps },
|
|
23
24
|
React.createElement(SidebarPositioner, null, children)));
|
|
24
25
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { fn } from "@storybook/test";
|
|
2
1
|
import React from "react";
|
|
3
2
|
import { Sidebar } from "./sidebar";
|
|
4
3
|
export default {
|
|
@@ -28,13 +27,10 @@ export const PermanentSidebarStory = {
|
|
|
28
27
|
export const TemporaryClosedSidebarStory = {
|
|
29
28
|
args: {
|
|
30
29
|
children: React.createElement("div", null),
|
|
31
|
-
drawerOpen: false,
|
|
32
30
|
},
|
|
33
31
|
};
|
|
34
32
|
export const TemporaryOpenSidebarStory = {
|
|
35
33
|
args: {
|
|
36
34
|
children: React.createElement("div", null),
|
|
37
|
-
drawerOpen: true,
|
|
38
|
-
onDrawerClose: fn(),
|
|
39
35
|
},
|
|
40
36
|
};
|
|
@@ -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" | "
|
|
3
|
+
}, "style" | "size" | "href" | "className" | "classes" | "children" | "color" | "sx" | "tabIndex" | "disabled" | "action" | "loading" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "loadingIndicator" | "loadingPosition" | "startIcon" | "variant"> & {
|
|
4
4
|
theme?: import("@emotion/react").Theme;
|
|
5
5
|
}, {}, {}>;
|
|
@@ -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
|
-
}, ("p" | "
|
|
5
|
+
}, "sx" | ("p" | "order" | "bottom" | "height" | "left" | "right" | "top" | "width" | "color" | "fontSize" | "display" | "fontFamily" | "fontStyle" | "fontWeight" | "letterSpacing" | "overflow" | "visibility" | "bgcolor" | "border" | "boxShadow" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "columnGap" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "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" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "padding" | "paddingBlock" | "paddingInline" | "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,5 +1,5 @@
|
|
|
1
1
|
export declare const StyledSvgIcon: import("@emotion/styled").StyledComponent<import("@mui/material").SvgIconOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").SVGProps<SVGSVGElement>, "ref"> & {
|
|
2
2
|
ref?: ((instance: SVGSVGElement | 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<SVGSVGElement> | null | undefined;
|
|
3
|
-
}, "style" | "
|
|
3
|
+
}, "style" | "className" | "classes" | "children" | "color" | "fontSize" | "htmlColor" | "inheritViewBox" | "shapeRendering" | "sx" | "titleAccess" | "viewBox"> & {
|
|
4
4
|
theme?: import("@emotion/react").Theme;
|
|
5
5
|
}, {}, {}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const StyledTypography: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
2
2
|
ref?: ((instance: HTMLSpanElement | 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<HTMLSpanElement> | null | undefined;
|
|
3
|
-
}, "p" | "style" | "
|
|
3
|
+
}, "p" | "style" | "order" | "bottom" | "height" | "left" | "right" | "top" | "width" | "className" | "classes" | "children" | "color" | "fontSize" | "sx" | "display" | "fontFamily" | "fontStyle" | "fontWeight" | "letterSpacing" | "overflow" | "visibility" | "align" | "bgcolor" | "border" | "boxShadow" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "columnGap" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "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" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "padding" | "paddingBlock" | "paddingInline" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "variant" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
|
|
4
4
|
theme?: import("@emotion/react").Theme;
|
|
5
5
|
}, {}, {}>;
|
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" | "
|
|
6
|
+
}, "style" | "size" | "href" | "className" | "classes" | "children" | "color" | "sx" | "tabIndex" | "disabled" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "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 & {
|
|
@@ -3,6 +3,6 @@ export interface GridTableProps {
|
|
|
3
3
|
}
|
|
4
4
|
export declare const GridTable: import("@emotion/styled").StyledComponent<import("@mui/material").TableOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, "ref"> & {
|
|
5
5
|
ref?: ((instance: HTMLTableElement | 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<HTMLTableElement> | null | undefined;
|
|
6
|
-
}, "style" | "
|
|
6
|
+
}, "style" | "size" | "className" | "classes" | "children" | "sx" | "padding" | "stickyHeader"> & {
|
|
7
7
|
theme?: import("@emotion/react").Theme;
|
|
8
8
|
} & GridTableProps, {}, {}>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import styled from "@emotion/styled";
|
|
2
2
|
import { Table as MTable } from "@mui/material";
|
|
3
|
+
import { PALETTE } from "../../../styles/common/constants/palette";
|
|
3
4
|
import { white } from "../../../styles/common/mixins/colors";
|
|
4
5
|
export const GridTable = styled(MTable, {
|
|
5
6
|
shouldForwardProp: (prop) => prop !== "gridTemplateColumns",
|
|
@@ -37,4 +38,13 @@ export const GridTable = styled(MTable, {
|
|
|
37
38
|
min-width: 0; /* required; flexbox child min-width property is "auto" by default making overflow-wrap ineffectual */
|
|
38
39
|
}
|
|
39
40
|
}
|
|
41
|
+
|
|
42
|
+
&.MuiTable-stickyHeader {
|
|
43
|
+
.MuiTableHead-root {
|
|
44
|
+
box-shadow: 0px 1px ${PALETTE.SMOKE_MAIN};
|
|
45
|
+
position: sticky;
|
|
46
|
+
top: 0;
|
|
47
|
+
z-index: 2;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
40
50
|
`;
|