@backstage/plugin-catalog-react 0.0.0-nightly-20230710023405 → 0.0.0-nightly-20230711023345
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/CHANGELOG.md +15 -11
- package/alpha/package.json +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.esm.js +4 -2
- package/dist/index.esm.js.map +1 -1
- package/package.json +16 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,22 +1,26 @@
|
|
|
1
1
|
# @backstage/plugin-catalog-react
|
|
2
2
|
|
|
3
|
-
## 0.0.0-nightly-
|
|
3
|
+
## 0.0.0-nightly-20230711023345
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- eae0352d3864: Tables which use `EntityTableProps` now have an additional `tableOptions` prop which can be used to provide additional table options to these components.
|
|
4
8
|
|
|
5
9
|
### Patch Changes
|
|
6
10
|
|
|
7
11
|
- Updated dependencies
|
|
8
|
-
- @backstage/theme@0.0.0-nightly-
|
|
9
|
-
- @backstage/errors@0.0.0-nightly-
|
|
10
|
-
- @backstage/core-components@0.0.0-nightly-
|
|
11
|
-
- @backstage/core-plugin-api@0.0.0-nightly-
|
|
12
|
-
- @backstage/catalog-client@0.0.0-nightly-
|
|
13
|
-
- @backstage/catalog-model@0.0.0-nightly-
|
|
14
|
-
- @backstage/integration@0.0.0-nightly-
|
|
12
|
+
- @backstage/theme@0.0.0-nightly-20230711023345
|
|
13
|
+
- @backstage/errors@0.0.0-nightly-20230711023345
|
|
14
|
+
- @backstage/core-components@0.0.0-nightly-20230711023345
|
|
15
|
+
- @backstage/core-plugin-api@0.0.0-nightly-20230711023345
|
|
16
|
+
- @backstage/catalog-client@0.0.0-nightly-20230711023345
|
|
17
|
+
- @backstage/catalog-model@0.0.0-nightly-20230711023345
|
|
18
|
+
- @backstage/integration@0.0.0-nightly-20230711023345
|
|
15
19
|
- @backstage/types@1.1.0
|
|
16
20
|
- @backstage/version-bridge@1.0.4
|
|
17
|
-
- @backstage/plugin-catalog-common@0.0.0-nightly-
|
|
18
|
-
- @backstage/plugin-permission-common@0.0.0-nightly-
|
|
19
|
-
- @backstage/plugin-permission-react@0.0.0-nightly-
|
|
21
|
+
- @backstage/plugin-catalog-common@0.0.0-nightly-20230711023345
|
|
22
|
+
- @backstage/plugin-permission-common@0.0.0-nightly-20230711023345
|
|
23
|
+
- @backstage/plugin-permission-react@0.0.0-nightly-20230711023345
|
|
20
24
|
|
|
21
25
|
## 1.7.1-next.1
|
|
22
26
|
|
package/alpha/package.json
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { Observable } from '@backstage/types';
|
|
|
7
7
|
import React, { PropsWithChildren, ReactNode, ComponentProps } from 'react';
|
|
8
8
|
import * as _backstage_catalog_model from '@backstage/catalog-model';
|
|
9
9
|
import { Entity, CompoundEntityRef } from '@backstage/catalog-model';
|
|
10
|
-
import { LinkProps, InfoCardVariants, TableColumn } from '@backstage/core-components';
|
|
10
|
+
import { LinkProps, InfoCardVariants, TableColumn, TableOptions } from '@backstage/core-components';
|
|
11
11
|
import { IconButton } from '@material-ui/core';
|
|
12
12
|
import { Overrides } from '@material-ui/core/styles/overrides';
|
|
13
13
|
import { StyleRules } from '@material-ui/core/styles/withStyles';
|
|
@@ -191,6 +191,7 @@ interface EntityTableProps<T extends Entity> {
|
|
|
191
191
|
entities: T[];
|
|
192
192
|
emptyContent?: ReactNode;
|
|
193
193
|
columns: TableColumn<T>[];
|
|
194
|
+
tableOptions?: TableOptions;
|
|
194
195
|
}
|
|
195
196
|
/**
|
|
196
197
|
* A general entity table component, that can be used for composing more
|
package/dist/index.esm.js
CHANGED
|
@@ -1632,7 +1632,8 @@ const EntityTable = (props) => {
|
|
|
1632
1632
|
title,
|
|
1633
1633
|
emptyContent,
|
|
1634
1634
|
variant = "gridItem",
|
|
1635
|
-
columns
|
|
1635
|
+
columns,
|
|
1636
|
+
tableOptions = {}
|
|
1636
1637
|
} = props;
|
|
1637
1638
|
const classes = useStyles$a();
|
|
1638
1639
|
const tableStyle = {
|
|
@@ -1655,7 +1656,8 @@ const EntityTable = (props) => {
|
|
|
1655
1656
|
paging: false,
|
|
1656
1657
|
actionsColumnIndex: -1,
|
|
1657
1658
|
padding: "dense",
|
|
1658
|
-
draggable: false
|
|
1659
|
+
draggable: false,
|
|
1660
|
+
...tableOptions
|
|
1659
1661
|
},
|
|
1660
1662
|
data: entities
|
|
1661
1663
|
}
|