@backstage/plugin-catalog-react 1.0.1-next.2 → 1.1.0-next.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/CHANGELOG.md +54 -0
- package/alpha/package.json +1 -1
- package/dist/index.alpha.d.ts +2 -1
- package/dist/index.beta.d.ts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.esm.js +1 -2
- package/dist/index.esm.js.map +1 -1
- package/package.json +18 -18
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,59 @@
|
|
|
1
1
|
# @backstage/plugin-catalog-react
|
|
2
2
|
|
|
3
|
+
## 1.1.0-next.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 4274844a8c: Use InfoCardVariants on custom cards variant attribute
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
- @backstage/integration@1.2.0-next.0
|
|
13
|
+
|
|
14
|
+
## 1.0.1
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- 0ffd88a90e: Prevent permissions with types other than `ResourcePermission<'catalog-entity'>` from being used with the `useEntityPermission` hook.
|
|
19
|
+
- 7c7919777e: build(deps-dev): bump `@testing-library/react-hooks` from 7.0.2 to 8.0.0
|
|
20
|
+
- 24254fd433: build(deps): bump `@testing-library/user-event` from 13.5.0 to 14.0.0
|
|
21
|
+
- 4af82967f4: Decouple tags picker from backend entities
|
|
22
|
+
|
|
23
|
+
`EntityTagPicker` fetches all the tags independently and it doesn't require all the entities to be available client side.
|
|
24
|
+
|
|
25
|
+
- 4be0d1e777: Changed catalog filter components to only pay attention to query parameters relevant to the component.
|
|
26
|
+
- 5d5fdbe541: Columns in CatalogTable now change depending on the entity kind, ensuring only relevant columns are displayed.
|
|
27
|
+
- 863e7bcb7b: Updated the "unregister location" behavior in `UnregisterEntityDialog`. Removed unnecessary entity deletion requests that were sent after successfully deleting a location.
|
|
28
|
+
- 37b04b5a5e: Removed broken link from Labels section of entity inspector.
|
|
29
|
+
- a496cee4d1: Add support for string refs to the `EntityRefLinks` component
|
|
30
|
+
- d34900af81: Added a new `NextScaffolderRouter` which will eventually replace the exiting router
|
|
31
|
+
- 99063c39ae: Minor API report cleanup
|
|
32
|
+
- 4431873583: Update `usePermission` usage.
|
|
33
|
+
- Updated dependencies
|
|
34
|
+
- @backstage/integration@1.1.0
|
|
35
|
+
- @backstage/plugin-permission-react@0.4.0
|
|
36
|
+
- @backstage/plugin-permission-common@0.6.0
|
|
37
|
+
- @backstage/catalog-model@1.0.1
|
|
38
|
+
- @backstage/core-components@0.9.3
|
|
39
|
+
- @backstage/core-plugin-api@1.0.1
|
|
40
|
+
- @backstage/version-bridge@1.0.1
|
|
41
|
+
- @backstage/plugin-catalog-common@1.0.1
|
|
42
|
+
- @backstage/catalog-client@1.0.1
|
|
43
|
+
|
|
44
|
+
## 1.0.1-next.3
|
|
45
|
+
|
|
46
|
+
### Patch Changes
|
|
47
|
+
|
|
48
|
+
- 24254fd433: build(deps): bump `@testing-library/user-event` from 13.5.0 to 14.0.0
|
|
49
|
+
- 863e7bcb7b: Updated the "unregister location" behavior in `UnregisterEntityDialog`. Removed unnecessary entity deletion requests that were sent after successfully deleting a location.
|
|
50
|
+
- Updated dependencies
|
|
51
|
+
- @backstage/core-components@0.9.3-next.2
|
|
52
|
+
- @backstage/core-plugin-api@1.0.1-next.0
|
|
53
|
+
- @backstage/plugin-permission-common@0.6.0-next.1
|
|
54
|
+
- @backstage/plugin-permission-react@0.4.0-next.1
|
|
55
|
+
- @backstage/integration@1.1.0-next.2
|
|
56
|
+
|
|
3
57
|
## 1.0.1-next.2
|
|
4
58
|
|
|
5
59
|
### Patch Changes
|
package/alpha/package.json
CHANGED
package/dist/index.alpha.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ import { ComponentProps } from 'react';
|
|
|
14
14
|
import { CompoundEntityRef } from '@backstage/catalog-model';
|
|
15
15
|
import { Entity } from '@backstage/catalog-model';
|
|
16
16
|
import { IconButton } from '@material-ui/core';
|
|
17
|
+
import { InfoCardVariants } from '@backstage/core-components';
|
|
17
18
|
import { LinkProps } from '@backstage/core-components';
|
|
18
19
|
import { Observable } from '@backstage/types';
|
|
19
20
|
import { Overrides } from '@material-ui/core/styles/overrides';
|
|
@@ -383,7 +384,7 @@ export declare const EntityTable: {
|
|
|
383
384
|
*/
|
|
384
385
|
export declare interface EntityTableProps<T extends Entity> {
|
|
385
386
|
title: string;
|
|
386
|
-
variant?:
|
|
387
|
+
variant?: InfoCardVariants;
|
|
387
388
|
entities: T[];
|
|
388
389
|
emptyContent?: ReactNode;
|
|
389
390
|
columns: TableColumn<T>[];
|
package/dist/index.beta.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ import { ComponentProps } from 'react';
|
|
|
14
14
|
import { CompoundEntityRef } from '@backstage/catalog-model';
|
|
15
15
|
import { Entity } from '@backstage/catalog-model';
|
|
16
16
|
import { IconButton } from '@material-ui/core';
|
|
17
|
+
import { InfoCardVariants } from '@backstage/core-components';
|
|
17
18
|
import { LinkProps } from '@backstage/core-components';
|
|
18
19
|
import { Observable } from '@backstage/types';
|
|
19
20
|
import { Overrides } from '@material-ui/core/styles/overrides';
|
|
@@ -383,7 +384,7 @@ export declare const EntityTable: {
|
|
|
383
384
|
*/
|
|
384
385
|
export declare interface EntityTableProps<T extends Entity> {
|
|
385
386
|
title: string;
|
|
386
|
-
variant?:
|
|
387
|
+
variant?: InfoCardVariants;
|
|
387
388
|
entities: T[];
|
|
388
389
|
emptyContent?: ReactNode;
|
|
389
390
|
columns: TableColumn<T>[];
|
package/dist/index.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ import { ComponentProps } from 'react';
|
|
|
14
14
|
import { CompoundEntityRef } from '@backstage/catalog-model';
|
|
15
15
|
import { Entity } from '@backstage/catalog-model';
|
|
16
16
|
import { IconButton } from '@material-ui/core';
|
|
17
|
+
import { InfoCardVariants } from '@backstage/core-components';
|
|
17
18
|
import { LinkProps } from '@backstage/core-components';
|
|
18
19
|
import { Observable } from '@backstage/types';
|
|
19
20
|
import { Overrides } from '@material-ui/core/styles/overrides';
|
|
@@ -383,7 +384,7 @@ export declare const EntityTable: {
|
|
|
383
384
|
*/
|
|
384
385
|
export declare interface EntityTableProps<T extends Entity> {
|
|
385
386
|
title: string;
|
|
386
|
-
variant?:
|
|
387
|
+
variant?: InfoCardVariants;
|
|
387
388
|
entities: T[];
|
|
388
389
|
emptyContent?: ReactNode;
|
|
389
390
|
columns: TableColumn<T>[];
|
package/dist/index.esm.js
CHANGED
|
@@ -1753,9 +1753,8 @@ function useUnregisterEntityDialogState(entity) {
|
|
|
1753
1753
|
}));
|
|
1754
1754
|
}, [catalogApi, entity]);
|
|
1755
1755
|
const unregisterLocation = useCallback(async function unregisterLocationFn() {
|
|
1756
|
-
const { location: location2
|
|
1756
|
+
const { location: location2 } = prerequisites.value;
|
|
1757
1757
|
await catalogApi.removeLocationById(location2.id);
|
|
1758
|
-
await Promise.allSettled(colocatedEntities2.map((e) => catalogApi.removeEntityByUid(e.metadata.uid)));
|
|
1759
1758
|
}, [catalogApi, prerequisites]);
|
|
1760
1759
|
const deleteEntity = useCallback(async function deleteEntityFn() {
|
|
1761
1760
|
await catalogApi.removeEntityByUid(uid);
|