@backstage/plugin-catalog-react 1.8.3-next.0 → 1.8.3

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,22 +1,40 @@
1
1
  # @backstage/plugin-catalog-react
2
2
 
3
- ## 1.8.3-next.0
3
+ ## 1.8.3
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Updated dependencies
8
- - @backstage/integration@1.7.0-next.0
9
- - @backstage/core-plugin-api@1.6.0-next.0
10
- - @backstage/core-components@0.13.5-next.0
8
+ - @backstage/integration@1.6.2
11
9
  - @backstage/catalog-client@1.4.3
12
10
  - @backstage/catalog-model@1.4.1
11
+ - @backstage/core-components@0.13.4
12
+ - @backstage/core-plugin-api@1.5.3
13
13
  - @backstage/errors@1.2.1
14
14
  - @backstage/theme@0.4.1
15
15
  - @backstage/types@1.1.0
16
16
  - @backstage/version-bridge@1.0.4
17
17
  - @backstage/plugin-catalog-common@1.0.15
18
18
  - @backstage/plugin-permission-common@0.7.7
19
- - @backstage/plugin-permission-react@0.4.15-next.0
19
+ - @backstage/plugin-permission-react@0.4.14
20
+
21
+ ## 1.8.2
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies
26
+ - @backstage/integration@1.6.1
27
+ - @backstage/catalog-client@1.4.3
28
+ - @backstage/catalog-model@1.4.1
29
+ - @backstage/core-components@0.13.4
30
+ - @backstage/core-plugin-api@1.5.3
31
+ - @backstage/errors@1.2.1
32
+ - @backstage/theme@0.4.1
33
+ - @backstage/types@1.1.0
34
+ - @backstage/version-bridge@1.0.4
35
+ - @backstage/plugin-catalog-common@1.0.15
36
+ - @backstage/plugin-permission-common@0.7.7
37
+ - @backstage/plugin-permission-react@0.4.14
20
38
 
21
39
  ## 1.8.1
22
40
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-react",
3
- "version": "1.8.3-next.0",
3
+ "version": "1.8.3",
4
4
  "main": "../dist/alpha.esm.js",
5
5
  "module": "../dist/alpha.esm.js",
6
6
  "types": "../dist/alpha.d.ts"
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { CatalogApi } from '@backstage/catalog-client';
2
3
  export { CATALOG_FILTER_EXISTS, CatalogApi } from '@backstage/catalog-client';
3
4
  import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
@@ -59,17 +60,17 @@ declare class MockStarredEntitiesApi implements StarredEntitiesApi {
59
60
  declare const CatalogFilterLayout: {
60
61
  (props: {
61
62
  children: React.ReactNode;
62
- }): React.JSX.Element;
63
+ }): JSX.Element;
63
64
  Filters: (props: {
64
65
  children: React.ReactNode;
65
66
  options?: {
66
67
  drawerBreakpoint?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | number;
67
68
  drawerAnchor?: 'left' | 'right' | 'top' | 'bottom';
68
69
  };
69
- }) => React.JSX.Element;
70
+ }) => JSX.Element;
70
71
  Content: (props: {
71
72
  children: React.ReactNode;
72
- }) => React.JSX.Element;
73
+ }) => JSX.Element;
73
74
  };
74
75
 
75
76
  /**
@@ -87,14 +88,14 @@ interface EntityKindPickerProps {
87
88
  hidden?: boolean;
88
89
  }
89
90
  /** @public */
90
- declare const EntityKindPicker: (props: EntityKindPickerProps) => React.JSX.Element | null;
91
+ declare const EntityKindPicker: (props: EntityKindPickerProps) => JSX.Element | null;
91
92
 
92
93
  /** @public */
93
94
  type CatalogReactEntityLifecyclePickerClassKey = 'input';
94
95
  /** @public */
95
96
  declare const EntityLifecyclePicker: (props: {
96
97
  initialFilter?: string[];
97
- }) => React.JSX.Element;
98
+ }) => JSX.Element;
98
99
 
99
100
  /** @public */
100
101
  type CatalogReactEntityOwnerPickerClassKey = 'input';
@@ -105,7 +106,7 @@ type EntityOwnerPickerProps = {
105
106
  mode?: 'owners-only' | 'all';
106
107
  };
107
108
  /** @public */
108
- declare const EntityOwnerPicker: (props?: EntityOwnerPickerProps) => React.JSX.Element | null;
109
+ declare const EntityOwnerPicker: (props?: EntityOwnerPickerProps) => JSX.Element | null;
109
110
 
110
111
  /**
111
112
  * Props for {@link EntityRefLink}.
@@ -146,7 +147,7 @@ type EntityRefLinksProps<TRef extends string | CompoundEntityRef | Entity> = ({
146
147
  *
147
148
  * @public
148
149
  */
149
- declare function EntityRefLinks<TRef extends string | CompoundEntityRef | Entity>(props: EntityRefLinksProps<TRef>): React.JSX.Element;
150
+ declare function EntityRefLinks<TRef extends string | CompoundEntityRef | Entity>(props: EntityRefLinksProps<TRef>): JSX.Element;
150
151
 
151
152
  /**
152
153
  * @param defaultNamespace - if set to false then namespace is never omitted,
@@ -173,7 +174,7 @@ type EntityPeekAheadPopoverProps = PropsWithChildren<{
173
174
  *
174
175
  * @public
175
176
  */
176
- declare const EntityPeekAheadPopover: (props: EntityPeekAheadPopoverProps) => React.JSX.Element;
177
+ declare const EntityPeekAheadPopover: (props: EntityPeekAheadPopoverProps) => JSX.Element;
177
178
 
178
179
  /** @public */
179
180
  type CatalogReactEntitySearchBarClassKey = 'searchToolbar' | 'input';
@@ -181,7 +182,7 @@ type CatalogReactEntitySearchBarClassKey = 'searchToolbar' | 'input';
181
182
  * Renders search bar for filtering the entity list.
182
183
  * @public
183
184
  */
184
- declare const EntitySearchBar: () => React.JSX.Element;
185
+ declare const EntitySearchBar: () => JSX.Element;
185
186
 
186
187
  /**
187
188
  * Props for {@link EntityTable}.
@@ -203,7 +204,7 @@ interface EntityTableProps<T extends Entity> {
203
204
  * @public
204
205
  */
205
206
  declare const EntityTable: {
206
- <T extends Entity>(props: EntityTableProps<T>): React.JSX.Element;
207
+ <T extends Entity>(props: EntityTableProps<T>): JSX.Element;
207
208
  columns: Readonly<{
208
209
  createEntityRefColumn<T_1 extends Entity>(options: {
209
210
  defaultKind?: string | undefined;
@@ -255,7 +256,7 @@ type EntityTagPickerProps = {
255
256
  showCounts?: boolean;
256
257
  };
257
258
  /** @public */
258
- declare const EntityTagPicker: (props: EntityTagPickerProps) => React.JSX.Element;
259
+ declare const EntityTagPicker: (props: EntityTagPickerProps) => JSX.Element;
259
260
 
260
261
  /**
261
262
  * Props for {@link EntityTypePicker}.
@@ -267,7 +268,7 @@ interface EntityTypePickerProps {
267
268
  hidden?: boolean;
268
269
  }
269
270
  /** @public */
270
- declare const EntityTypePicker: (props: EntityTypePickerProps) => React.JSX.Element | null;
271
+ declare const EntityTypePicker: (props: EntityTypePickerProps) => JSX.Element | null;
271
272
 
272
273
  /** @public */
273
274
  type FavoriteEntityProps = ComponentProps<typeof IconButton> & {
@@ -278,7 +279,7 @@ type FavoriteEntityProps = ComponentProps<typeof IconButton> & {
278
279
  * @param props - MaterialUI IconButton props extended by required `entity` prop
279
280
  * @public
280
281
  */
281
- declare const FavoriteEntity: (props: FavoriteEntityProps) => React.JSX.Element;
282
+ declare const FavoriteEntity: (props: FavoriteEntityProps) => JSX.Element;
282
283
 
283
284
  /**
284
285
  * A dialog that lets users inspect the low level details of their entities.
@@ -289,7 +290,7 @@ declare function InspectEntityDialog(props: {
289
290
  open: boolean;
290
291
  entity: Entity;
291
292
  onClose: () => void;
292
- }): React.JSX.Element | null;
293
+ }): JSX.Element | null;
293
294
 
294
295
  /** @public */
295
296
  type UnregisterEntityDialogProps = {
@@ -299,7 +300,7 @@ type UnregisterEntityDialogProps = {
299
300
  entity: Entity;
300
301
  };
301
302
  /** @public */
302
- declare const UnregisterEntityDialog: (props: UnregisterEntityDialogProps) => React.JSX.Element;
303
+ declare const UnregisterEntityDialog: (props: UnregisterEntityDialogProps) => JSX.Element;
303
304
 
304
305
  /** @public */
305
306
  type EntityFilter = {
@@ -334,17 +335,17 @@ type UserListPickerProps = {
334
335
  availableFilters?: UserListFilterKind[];
335
336
  };
336
337
  /** @public */
337
- declare const UserListPicker: (props: UserListPickerProps) => React.JSX.Element;
338
+ declare const UserListPicker: (props: UserListPickerProps) => JSX.Element;
338
339
 
339
340
  /** @public */
340
341
  type CatalogReactEntityProcessingStatusPickerClassKey = 'input';
341
342
  /** @public */
342
- declare const EntityProcessingStatusPicker: () => React.JSX.Element;
343
+ declare const EntityProcessingStatusPicker: () => JSX.Element;
343
344
 
344
345
  /** @public */
345
346
  type CatalogReactEntityNamespacePickerClassKey = 'input';
346
347
  /** @public */
347
- declare const EntityNamespacePicker: () => React.JSX.Element;
348
+ declare const EntityNamespacePicker: () => JSX.Element;
348
349
 
349
350
  /** @public */
350
351
  type EntityLoadingStatus<TEntity extends Entity = Entity> = {
@@ -370,7 +371,7 @@ interface AsyncEntityProviderProps {
370
371
  *
371
372
  * @public
372
373
  */
373
- declare const AsyncEntityProvider: (props: AsyncEntityProviderProps) => React.JSX.Element;
374
+ declare const AsyncEntityProvider: (props: AsyncEntityProviderProps) => JSX.Element;
374
375
  /**
375
376
  * Properties for the EntityProvider component.
376
377
  *
@@ -385,7 +386,7 @@ interface EntityProviderProps {
385
386
  *
386
387
  * @public
387
388
  */
388
- declare const EntityProvider: (props: EntityProviderProps) => React.JSX.Element;
389
+ declare const EntityProvider: (props: EntityProviderProps) => JSX.Element;
389
390
  /**
390
391
  * Grab the current entity from the context, throws if the entity has not yet been loaded
391
392
  * or is not available.
@@ -559,7 +560,7 @@ declare const EntityListContext: React.Context<EntityListContextProps<any> | und
559
560
  * Provides entities and filters for a catalog listing.
560
561
  * @public
561
562
  */
562
- declare const EntityListProvider: <EntityFilters extends DefaultEntityFilters>(props: PropsWithChildren<{}>) => React.JSX.Element;
563
+ declare const EntityListProvider: <EntityFilters extends DefaultEntityFilters>(props: PropsWithChildren<{}>) => JSX.Element;
563
564
  /**
564
565
  * Hook for interacting with the entity list context provided by the {@link EntityListProvider}.
565
566
  * @public
@@ -650,7 +651,7 @@ declare function entityRouteParams(entity: Entity): {
650
651
  /** @public */
651
652
  declare function MockEntityListContextProvider<T extends DefaultEntityFilters = DefaultEntityFilters>(props: PropsWithChildren<{
652
653
  value?: Partial<EntityListContextProps<T>>;
653
- }>): React.JSX.Element;
654
+ }>): JSX.Element;
654
655
 
655
656
  /** @public */
656
657
  type CatalogReactComponentsNameToClassKey = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-react",
3
3
  "description": "A frontend library that helps other Backstage plugins interact with the catalog",
4
- "version": "1.8.3-next.0",
4
+ "version": "1.8.3",
5
5
  "main": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -45,13 +45,13 @@
45
45
  "dependencies": {
46
46
  "@backstage/catalog-client": "^1.4.3",
47
47
  "@backstage/catalog-model": "^1.4.1",
48
- "@backstage/core-components": "^0.13.5-next.0",
49
- "@backstage/core-plugin-api": "^1.6.0-next.0",
48
+ "@backstage/core-components": "^0.13.4",
49
+ "@backstage/core-plugin-api": "^1.5.3",
50
50
  "@backstage/errors": "^1.2.1",
51
- "@backstage/integration": "^1.7.0-next.0",
51
+ "@backstage/integration": "^1.6.2",
52
52
  "@backstage/plugin-catalog-common": "^1.0.15",
53
53
  "@backstage/plugin-permission-common": "^0.7.7",
54
- "@backstage/plugin-permission-react": "^0.4.15-next.0",
54
+ "@backstage/plugin-permission-react": "^0.4.14",
55
55
  "@backstage/theme": "^0.4.1",
56
56
  "@backstage/types": "^1.1.0",
57
57
  "@backstage/version-bridge": "^1.0.4",
@@ -75,11 +75,11 @@
75
75
  "react-router-dom": "6.0.0-beta.0 || ^6.3.0"
76
76
  },
77
77
  "devDependencies": {
78
- "@backstage/cli": "^0.22.12-next.0",
79
- "@backstage/core-app-api": "^1.10.0-next.0",
78
+ "@backstage/cli": "^0.22.12",
79
+ "@backstage/core-app-api": "^1.9.1",
80
80
  "@backstage/plugin-catalog-common": "^1.0.15",
81
81
  "@backstage/plugin-scaffolder-common": "^1.4.0",
82
- "@backstage/test-utils": "^1.4.3-next.0",
82
+ "@backstage/test-utils": "^1.4.2",
83
83
  "@testing-library/dom": "^8.0.0",
84
84
  "@testing-library/jest-dom": "^5.10.1",
85
85
  "@testing-library/react": "^12.1.3",