diff --git a/packages/core-components/api-report.md b/packages/core-components/api-report.md index ccafa4cfa7..ee75877b1d 100644 --- a/packages/core-components/api-report.md +++ b/packages/core-components/api-report.md @@ -11,7 +11,7 @@ import { Breadcrumbs as Breadcrumbs_2 } from '@material-ui/core'; import { ButtonProps } from '@material-ui/core'; import { ButtonTypeMap } from '@material-ui/core'; import { CardHeaderProps } from '@material-ui/core'; -import { Column } from 'material-table'; +import { Column } from '@material-table/core'; import { CommonProps } from '@material-ui/core/OverridableComponent'; import { ComponentClass } from 'react'; import { ComponentProps } from 'react'; @@ -26,7 +26,7 @@ import { IconComponent } from '@backstage/core-plugin-api'; import { LinearProgressProps } from '@material-ui/core'; import { LinkProps as LinkProps_2 } from '@material-ui/core'; import { LinkProps as LinkProps_3 } from 'react-router-dom'; -import { MaterialTableProps } from 'material-table'; +import { MaterialTableProps } from '@material-table/core'; import { NavLinkProps } from 'react-router-dom'; import { ProfileInfoApi } from '@backstage/core-plugin-api'; import { PropsWithChildren } from 'react'; diff --git a/plugins/bitrise/src/components/BitriseBuildsTableComponent/BitriseBuildsTableComponent.tsx b/plugins/bitrise/src/components/BitriseBuildsTableComponent/BitriseBuildsTableComponent.tsx index d6c7ab166b..0966de3377 100644 --- a/plugins/bitrise/src/components/BitriseBuildsTableComponent/BitriseBuildsTableComponent.tsx +++ b/plugins/bitrise/src/components/BitriseBuildsTableComponent/BitriseBuildsTableComponent.tsx @@ -219,10 +219,10 @@ export const BitriseBuildsTable = ({ }} totalCount={builds.value?.paging?.total_item_count || 0} page={page} - onChangePage={pageIndex => { + onPageChange={pageIndex => { handleChangePage(pageIndex, builds.value?.paging?.next); }} - onChangeRowsPerPage={handleChangeRowsPerPage} + onRowsPerPageChange={handleChangeRowsPerPage} columns={columns} data={builds.value?.data || []} onSearchChange={(searchTerm: string) => diff --git a/plugins/circleci/src/components/BuildsPage/lib/CITable/CITable.tsx b/plugins/circleci/src/components/BuildsPage/lib/CITable/CITable.tsx index 40829e7e66..b33e1b40cc 100644 --- a/plugins/circleci/src/components/BuildsPage/lib/CITable/CITable.tsx +++ b/plugins/circleci/src/components/BuildsPage/lib/CITable/CITable.tsx @@ -260,8 +260,8 @@ export const CITable = ({ }, ]} data={builds} - onChangePage={onChangePage} - onChangeRowsPerPage={onChangePageSize} + onPageChange={onChangePage} + onRowsPerPageChange={onChangePageSize} title={ diff --git a/plugins/cloudbuild/src/components/WorkflowRunsTable/WorkflowRunsTable.tsx b/plugins/cloudbuild/src/components/WorkflowRunsTable/WorkflowRunsTable.tsx index acacc8bec5..8fbf89cdce 100644 --- a/plugins/cloudbuild/src/components/WorkflowRunsTable/WorkflowRunsTable.tsx +++ b/plugins/cloudbuild/src/components/WorkflowRunsTable/WorkflowRunsTable.tsx @@ -138,8 +138,8 @@ export const WorkflowRunsTableView = ({ }, ]} data={runs ?? []} - onChangePage={onChangePage} - onChangeRowsPerPage={onChangePageSize} + onPageChange={onChangePage} + onRowsPerPageChange={onChangePageSize} style={{ width: '100%' }} title={ diff --git a/plugins/github-actions/src/components/WorkflowRunsTable/WorkflowRunsTable.tsx b/plugins/github-actions/src/components/WorkflowRunsTable/WorkflowRunsTable.tsx index 34191bd307..8f1aff780d 100644 --- a/plugins/github-actions/src/components/WorkflowRunsTable/WorkflowRunsTable.tsx +++ b/plugins/github-actions/src/components/WorkflowRunsTable/WorkflowRunsTable.tsx @@ -130,8 +130,8 @@ export const WorkflowRunsTableView = ({ }, ]} data={runs ?? []} - onChangePage={onChangePage} - onChangeRowsPerPage={onChangePageSize} + onPageChange={onChangePage} + onRowsPerPageChange={onChangePageSize} style={{ width: '100%' }} title={ diff --git a/plugins/ilert/src/components/IncidentsPage/IncidentsTable.tsx b/plugins/ilert/src/components/IncidentsPage/IncidentsTable.tsx index de819c4cc2..9a938256e9 100644 --- a/plugins/ilert/src/components/IncidentsPage/IncidentsTable.tsx +++ b/plugins/ilert/src/components/IncidentsPage/IncidentsTable.tsx @@ -253,8 +253,8 @@ export const IncidentsTable = ({ } page={tableState.page} totalCount={incidentsCount} - onChangePage={onChangePage} - onChangeRowsPerPage={onChangeRowsPerPage} + onPageChange={onChangePage} + onRowsPerPageChange={onChangeRowsPerPage} // localization={{ header: { actions: undefined } }} columns={columns} data={incidents} diff --git a/plugins/ilert/src/components/UptimeMonitorsPage/UptimeMonitorsTable.tsx b/plugins/ilert/src/components/UptimeMonitorsPage/UptimeMonitorsTable.tsx index 6d93385eb2..3099018e91 100644 --- a/plugins/ilert/src/components/UptimeMonitorsPage/UptimeMonitorsTable.tsx +++ b/plugins/ilert/src/components/UptimeMonitorsPage/UptimeMonitorsTable.tsx @@ -165,8 +165,8 @@ export const UptimeMonitorsTable = ({ } page={tableState.page} - onChangePage={onChangePage} - onChangeRowsPerPage={onChangeRowsPerPage} + onPageChange={onChangePage} + onRowsPerPageChange={onChangeRowsPerPage} localization={{ header: { actions: undefined } }} isLoading={isLoading} columns={columns} diff --git a/plugins/jenkins/src/components/BuildsPage/lib/CITable/CITable.tsx b/plugins/jenkins/src/components/BuildsPage/lib/CITable/CITable.tsx index 3e5eeffdaa..0519ed3816 100644 --- a/plugins/jenkins/src/components/BuildsPage/lib/CITable/CITable.tsx +++ b/plugins/jenkins/src/components/BuildsPage/lib/CITable/CITable.tsx @@ -208,8 +208,8 @@ export const CITableView = ({ }, ]} data={projects ?? []} - onChangePage={onChangePage} - onChangeRowsPerPage={onChangePageSize} + onPageChange={onChangePage} + onRowsPerPageChange={onChangePageSize} title={ Jenkins logo