@backstage/plugin-catalog-react 0.0.0-nightly-20220330023352 → 0.0.0-nightly-20220402023243

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # @backstage/plugin-catalog-react
2
2
 
3
- ## 0.0.0-nightly-20220330023352
3
+ ## 0.0.0-nightly-20220402023243
4
4
 
5
5
  ### Patch Changes
6
6
 
@@ -9,18 +9,20 @@
9
9
 
10
10
  `EntityTagPicker` fetches all the tags independently and it doesn't require all the entities to be available client side.
11
11
 
12
+ - 5d5fdbe541: Columns in CatalogTable now change depending on the entity kind, ensuring only relevant columns are displayed.
12
13
  - 37b04b5a5e: Removed broken link from Labels section of entity inspector.
13
14
  - a496cee4d1: Add support for string refs to the `EntityRefLinks` component
14
15
  - d34900af81: Added a new `NextScaffolderRouter` which will eventually replace the exiting router
16
+ - 99063c39ae: Minor API report cleanup
15
17
  - 4431873583: Update `usePermission` usage.
16
18
  - Updated dependencies
17
- - @backstage/integration@0.0.0-nightly-20220330023352
18
- - @backstage/plugin-permission-react@0.0.0-nightly-20220330023352
19
- - @backstage/plugin-permission-common@0.0.0-nightly-20220330023352
20
- - @backstage/catalog-model@0.0.0-nightly-20220330023352
21
- - @backstage/plugin-catalog-common@0.0.0-nightly-20220330023352
22
- - @backstage/core-components@0.0.0-nightly-20220330023352
23
- - @backstage/catalog-client@0.0.0-nightly-20220330023352
19
+ - @backstage/integration@0.0.0-nightly-20220402023243
20
+ - @backstage/plugin-permission-react@0.0.0-nightly-20220402023243
21
+ - @backstage/plugin-permission-common@0.0.0-nightly-20220402023243
22
+ - @backstage/catalog-model@0.0.0-nightly-20220402023243
23
+ - @backstage/core-components@0.0.0-nightly-20220402023243
24
+ - @backstage/plugin-catalog-common@0.0.0-nightly-20220402023243
25
+ - @backstage/catalog-client@0.0.0-nightly-20220402023243
24
26
 
25
27
  ## 1.0.1-next.1
26
28
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-react",
3
- "version": "0.0.0-nightly-20220330023352",
3
+ "version": "0.0.0-nightly-20220402023243",
4
4
  "main": "../dist/index.esm.js",
5
5
  "types": "../dist/index.alpha.d.ts"
6
6
  }
@@ -259,7 +259,7 @@ export declare const EntityOwnerPicker: () => JSX.Element | null;
259
259
  *
260
260
  * @public
261
261
  */
262
- export declare const EntityProvider: ({ entity, children }: EntityProviderProps) => JSX.Element;
262
+ export declare const EntityProvider: (props: EntityProviderProps) => JSX.Element;
263
263
 
264
264
  /**
265
265
  * Properties for the EntityProvider component.
@@ -259,7 +259,7 @@ export declare const EntityOwnerPicker: () => JSX.Element | null;
259
259
  *
260
260
  * @public
261
261
  */
262
- export declare const EntityProvider: ({ entity, children }: EntityProviderProps) => JSX.Element;
262
+ export declare const EntityProvider: (props: EntityProviderProps) => JSX.Element;
263
263
 
264
264
  /**
265
265
  * Properties for the EntityProvider component.
package/dist/index.d.ts CHANGED
@@ -259,7 +259,7 @@ export declare const EntityOwnerPicker: () => JSX.Element | null;
259
259
  *
260
260
  * @public
261
261
  */
262
- export declare const EntityProvider: ({ entity, children }: EntityProviderProps) => JSX.Element;
262
+ export declare const EntityProvider: (props: EntityProviderProps) => JSX.Element;
263
263
 
264
264
  /**
265
265
  * Properties for the EntityProvider component.
package/dist/index.esm.js CHANGED
@@ -125,12 +125,12 @@ const AsyncEntityProvider = ({
125
125
  value: createVersionedValueMap({ 1: value })
126
126
  }, children);
127
127
  };
128
- const EntityProvider = ({ entity, children }) => /* @__PURE__ */ React.createElement(AsyncEntityProvider, {
129
- entity,
130
- loading: !Boolean(entity),
128
+ const EntityProvider = (props) => /* @__PURE__ */ React.createElement(AsyncEntityProvider, {
129
+ entity: props.entity,
130
+ loading: !Boolean(props.entity),
131
131
  error: void 0,
132
132
  refresh: void 0,
133
- children
133
+ children: props.children
134
134
  });
135
135
  function useEntity() {
136
136
  const versionedHolder = useVersionedContext("entity-context");