@backstage/plugin-catalog 1.25.0 → 1.25.1

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,5 +1,26 @@
1
1
  # @backstage/plugin-catalog
2
2
 
3
+ ## 1.25.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/frontend-plugin-api@0.9.2
9
+ - @backstage/catalog-client@1.8.0
10
+ - @backstage/catalog-model@1.7.1
11
+ - @backstage/core-compat-api@0.3.3
12
+ - @backstage/core-components@0.16.1
13
+ - @backstage/core-plugin-api@1.10.1
14
+ - @backstage/errors@1.2.5
15
+ - @backstage/integration-react@1.2.1
16
+ - @backstage/types@1.2.0
17
+ - @backstage/plugin-catalog-common@1.1.1
18
+ - @backstage/plugin-catalog-react@1.14.2
19
+ - @backstage/plugin-permission-react@0.4.28
20
+ - @backstage/plugin-scaffolder-common@1.5.7
21
+ - @backstage/plugin-search-common@1.2.15
22
+ - @backstage/plugin-search-react@1.8.3
23
+
3
24
  ## 1.25.0
4
25
 
5
26
  ### Minor Changes
@@ -1,4 +1,4 @@
1
- import { createApiFactory, fetchApiRef, discoveryApiRef, storageApiRef } from '@backstage/core-plugin-api';
1
+ import { createApiFactory, discoveryApiRef, fetchApiRef, storageApiRef } from '@backstage/core-plugin-api';
2
2
  import { CatalogClient } from '@backstage/catalog-client';
3
3
  import { ApiBlueprint } from '@backstage/frontend-plugin-api';
4
4
  import { catalogApiRef, starredEntitiesApiRef, entityPresentationApiRef } from '@backstage/plugin-catalog-react';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { coreExtensionData, createExtensionInput } from '@backstage/frontend-plugin-api';
2
+ import { createExtensionInput, coreExtensionData } from '@backstage/frontend-plugin-api';
3
3
  import { EntityContentBlueprint } from '@backstage/plugin-catalog-react/alpha';
4
4
 
5
5
  const catalogOverviewEntityContent = EntityContentBlueprint.makeWithOverrides({
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { compatWrapper, convertLegacyRouteRef } from '@backstage/core-compat-api';
3
- import { PageBlueprint, coreExtensionData, createExtensionInput } from '@backstage/frontend-plugin-api';
4
- import { AsyncEntityProvider, entityRouteRef } from '@backstage/plugin-catalog-react';
2
+ import { convertLegacyRouteRef, compatWrapper } from '@backstage/core-compat-api';
3
+ import { PageBlueprint, createExtensionInput, coreExtensionData } from '@backstage/frontend-plugin-api';
4
+ import { entityRouteRef, AsyncEntityProvider } from '@backstage/plugin-catalog-react';
5
5
  import { EntityContentBlueprint } from '@backstage/plugin-catalog-react/alpha';
6
6
  import { rootRouteRef } from '../routes.esm.js';
7
7
  import { useEntityFromUrl } from '../components/CatalogEntityPage/useEntityFromUrl.esm.js';
@@ -1,7 +1,7 @@
1
1
  import { convertLegacyRouteRefs } from '@backstage/core-compat-api';
2
2
  import { createFrontendPlugin } from '@backstage/frontend-plugin-api';
3
3
  import { entityRouteRef } from '@backstage/plugin-catalog-react';
4
- import { unregisterRedirectRouteRef, createFromTemplateRouteRef, createComponentRouteRef, viewTechDocRouteRef, rootRouteRef } from '../routes.esm.js';
4
+ import { rootRouteRef, viewTechDocRouteRef, createComponentRouteRef, createFromTemplateRouteRef, unregisterRedirectRouteRef } from '../routes.esm.js';
5
5
  import apis from './apis.esm.js';
6
6
  import pages from './pages.esm.js';
7
7
  import filters from './filters.esm.js';
@@ -5,7 +5,7 @@ import CardHeader from '@material-ui/core/CardHeader';
5
5
  import Divider from '@material-ui/core/Divider';
6
6
  import IconButton from '@material-ui/core/IconButton';
7
7
  import { makeStyles } from '@material-ui/core/styles';
8
- import { HeaderIconLinkRow, Link, AppIcon } from '@backstage/core-components';
8
+ import { Link, AppIcon, HeaderIconLinkRow } from '@backstage/core-components';
9
9
  import React, { useCallback } from 'react';
10
10
  import { scmIntegrationsApiRef, ScmIntegrationIcon } from '@backstage/integration-react';
11
11
  import { useApp, useApi, alertApiRef, errorApiRef, useRouteRef } from '@backstage/core-plugin-api';
@@ -1,5 +1,5 @@
1
1
  import { RELATION_PART_OF, RELATION_OWNED_BY, stringifyEntityRef, ANNOTATION_VIEW_URL, ANNOTATION_EDIT_URL } from '@backstage/catalog-model';
2
- import { WarningPanel, CodeSnippet, FavoriteToggleIcon, Table } from '@backstage/core-components';
2
+ import { WarningPanel, CodeSnippet, Table, FavoriteToggleIcon } from '@backstage/core-components';
3
3
  import { useStarredEntities, useEntityList, getEntityRelations, humanizeEntityRef } from '@backstage/plugin-catalog-react';
4
4
  import Typography from '@material-ui/core/Typography';
5
5
  import { visuallyHidden } from '@mui/utils';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { EntityRefLinks, EntityRefLink, humanizeEntityRef } from '@backstage/plugin-catalog-react';
2
+ import { EntityRefLink, EntityRefLinks, humanizeEntityRef } from '@backstage/plugin-catalog-react';
3
3
  import Chip from '@material-ui/core/Chip';
4
4
  import { OverflowTooltip } from '@backstage/core-components';
5
5
 
@@ -1,7 +1,7 @@
1
1
  import { RELATION_DEPENDENCY_OF } from '@backstage/catalog-model';
2
2
  import React from 'react';
3
3
  import { RelatedEntitiesCard } from '../RelatedEntitiesCard/RelatedEntitiesCard.esm.js';
4
- import { componentEntityColumns, asComponentEntities, componentEntityHelpLink } from '../RelatedEntitiesCard/presets.esm.js';
4
+ import { componentEntityColumns, componentEntityHelpLink, asComponentEntities } from '../RelatedEntitiesCard/presets.esm.js';
5
5
  import { catalogTranslationRef } from '../../alpha/translation.esm.js';
6
6
  import { useTranslationRef } from '@backstage/core-plugin-api/alpha';
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { RELATION_DEPENDS_ON } from '@backstage/catalog-model';
2
2
  import React from 'react';
3
3
  import { RelatedEntitiesCard } from '../RelatedEntitiesCard/RelatedEntitiesCard.esm.js';
4
- import { componentEntityColumns, asComponentEntities, componentEntityHelpLink } from '../RelatedEntitiesCard/presets.esm.js';
4
+ import { componentEntityColumns, componentEntityHelpLink, asComponentEntities } from '../RelatedEntitiesCard/presets.esm.js';
5
5
  import { catalogTranslationRef } from '../../alpha/translation.esm.js';
6
6
  import { useTranslationRef } from '@backstage/core-plugin-api/alpha';
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { RELATION_DEPENDS_ON } from '@backstage/catalog-model';
2
2
  import React from 'react';
3
3
  import { RelatedEntitiesCard } from '../RelatedEntitiesCard/RelatedEntitiesCard.esm.js';
4
- import { resourceEntityColumns, asResourceEntities, componentEntityHelpLink } from '../RelatedEntitiesCard/presets.esm.js';
4
+ import { resourceEntityColumns, componentEntityHelpLink, asResourceEntities } from '../RelatedEntitiesCard/presets.esm.js';
5
5
  import { catalogTranslationRef } from '../../alpha/translation.esm.js';
6
6
  import { useTranslationRef } from '@backstage/core-plugin-api/alpha';
7
7
 
@@ -1,8 +1,8 @@
1
1
  import { DEFAULT_NAMESPACE, RELATION_OWNED_BY } from '@backstage/catalog-model';
2
- import { Page, Header, Breadcrumbs, HeaderLabel, Progress, RoutedTabs, Content, WarningPanel, Link } from '@backstage/core-components';
2
+ import { Page, Header, Breadcrumbs, Progress, RoutedTabs, Content, WarningPanel, Link, HeaderLabel } from '@backstage/core-components';
3
3
  import { attachComponentData, useRouteRefParams, useElementFilter, useRouteRef, useApi } from '@backstage/core-plugin-api';
4
4
  import { useTranslationRef } from '@backstage/core-plugin-api/alpha';
5
- import { entityRouteRef, useAsyncEntity, catalogApiRef, EntityRefLink, EntityDisplayName, FavoriteEntity, getEntityRelations, EntityRefLinks, UnregisterEntityDialog, InspectEntityDialog } from '@backstage/plugin-catalog-react';
5
+ import { entityRouteRef, useAsyncEntity, catalogApiRef, EntityRefLink, UnregisterEntityDialog, InspectEntityDialog, EntityDisplayName, FavoriteEntity, getEntityRelations, EntityRefLinks } from '@backstage/plugin-catalog-react';
6
6
  import Box from '@material-ui/core/Box';
7
7
  import { makeStyles } from '@material-ui/core/styles';
8
8
  import Alert from '@material-ui/lab/Alert';
@@ -1,7 +1,7 @@
1
1
  import { RELATION_HAS_PART } from '@backstage/catalog-model';
2
2
  import React from 'react';
3
3
  import { RelatedEntitiesCard } from '../RelatedEntitiesCard/RelatedEntitiesCard.esm.js';
4
- import { componentEntityColumns, asComponentEntities, componentEntityHelpLink } from '../RelatedEntitiesCard/presets.esm.js';
4
+ import { componentEntityColumns, componentEntityHelpLink, asComponentEntities } from '../RelatedEntitiesCard/presets.esm.js';
5
5
  import { catalogTranslationRef } from '../../alpha/translation.esm.js';
6
6
  import { useTranslationRef } from '@backstage/core-plugin-api/alpha';
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { RELATION_HAS_PART } from '@backstage/catalog-model';
2
2
  import React from 'react';
3
3
  import { RelatedEntitiesCard } from '../RelatedEntitiesCard/RelatedEntitiesCard.esm.js';
4
- import { resourceEntityColumns, resourceEntityHelpLink, asResourceEntities } from '../RelatedEntitiesCard/presets.esm.js';
4
+ import { resourceEntityColumns, asResourceEntities, resourceEntityHelpLink } from '../RelatedEntitiesCard/presets.esm.js';
5
5
  import { catalogTranslationRef } from '../../alpha/translation.esm.js';
6
6
  import { useTranslationRef } from '@backstage/core-plugin-api/alpha';
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { RELATION_HAS_PART } from '@backstage/catalog-model';
2
2
  import React from 'react';
3
3
  import { RelatedEntitiesCard } from '../RelatedEntitiesCard/RelatedEntitiesCard.esm.js';
4
- import { asComponentEntities, componentEntityColumns } from '../RelatedEntitiesCard/presets.esm.js';
4
+ import { componentEntityColumns, asComponentEntities } from '../RelatedEntitiesCard/presets.esm.js';
5
5
  import { catalogTranslationRef } from '../../alpha/translation.esm.js';
6
6
  import { useTranslationRef } from '@backstage/core-plugin-api/alpha';
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { RELATION_HAS_PART } from '@backstage/catalog-model';
2
2
  import React from 'react';
3
3
  import { RelatedEntitiesCard } from '../RelatedEntitiesCard/RelatedEntitiesCard.esm.js';
4
- import { systemEntityColumns, systemEntityHelpLink, asSystemEntities } from '../RelatedEntitiesCard/presets.esm.js';
4
+ import { systemEntityColumns, asSystemEntities, systemEntityHelpLink } from '../RelatedEntitiesCard/presets.esm.js';
5
5
  import { catalogTranslationRef } from '../../alpha/translation.esm.js';
6
6
  import { useTranslationRef } from '@backstage/core-plugin-api/alpha';
7
7
 
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  import { Entity, CompoundEntityRef, ComponentEntity, ResourceEntity, SystemEntity } from '@backstage/catalog-model';
3
3
  import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
4
4
  import { IconComponent, StorageApi, ApiHolder } from '@backstage/core-plugin-api';
5
- import { EntityPresentationApi, CatalogApi, EntityRefPresentationSnapshot, EntityRefPresentation, StarredEntitiesApi, EntityListContextProps, UserListFilterKind, EntityOwnerPickerProps, EntityListPagination } from '@backstage/plugin-catalog-react';
5
+ import { EntityRefPresentationSnapshot, CatalogApi, EntityPresentationApi, EntityRefPresentation, StarredEntitiesApi, EntityListContextProps, UserListFilterKind, EntityOwnerPickerProps, EntityListPagination } from '@backstage/plugin-catalog-react';
6
6
  import { HumanDuration, Observable } from '@backstage/types';
7
7
  import { InfoCardVariants, TableColumn, TableProps, TableOptions } from '@backstage/core-components';
8
8
  import * as React$1 from 'react';
@@ -1,7 +1,7 @@
1
1
  import { CatalogClient } from '@backstage/catalog-client';
2
- import { entityRouteRef, catalogApiRef, starredEntitiesApiRef, entityPresentationApiRef } from '@backstage/plugin-catalog-react';
3
- import { unregisterRedirectRouteRef, createFromTemplateRouteRef, viewTechDocRouteRef, createComponentRouteRef, rootRouteRef } from './routes.esm.js';
4
- import { createPlugin, createApiFactory, fetchApiRef, discoveryApiRef, storageApiRef, createRoutableExtension, createComponentExtension } from '@backstage/core-plugin-api';
2
+ import { catalogApiRef, starredEntitiesApiRef, entityPresentationApiRef, entityRouteRef } from '@backstage/plugin-catalog-react';
3
+ import { rootRouteRef, createComponentRouteRef, viewTechDocRouteRef, createFromTemplateRouteRef, unregisterRedirectRouteRef } from './routes.esm.js';
4
+ import { createPlugin, createApiFactory, discoveryApiRef, fetchApiRef, storageApiRef, createRoutableExtension, createComponentExtension } from '@backstage/core-plugin-api';
5
5
  import { createSearchResultListItemExtension } from '@backstage/plugin-search-react';
6
6
  import { DefaultEntityPresentationApi } from './apis/EntityPresentationApi/DefaultEntityPresentationApi.esm.js';
7
7
  import { DefaultStarredEntitiesApi } from './apis/StarredEntitiesApi/DefaultStarredEntitiesApi.esm.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog",
3
- "version": "1.25.0",
3
+ "version": "1.25.1",
4
4
  "description": "The Backstage plugin for browsing the Backstage catalog",
5
5
  "backstage": {
6
6
  "role": "frontend-plugin",
@@ -69,18 +69,18 @@
69
69
  "dependencies": {
70
70
  "@backstage/catalog-client": "^1.8.0",
71
71
  "@backstage/catalog-model": "^1.7.1",
72
- "@backstage/core-compat-api": "^0.3.2",
73
- "@backstage/core-components": "^0.16.0",
72
+ "@backstage/core-compat-api": "^0.3.3",
73
+ "@backstage/core-components": "^0.16.1",
74
74
  "@backstage/core-plugin-api": "^1.10.1",
75
75
  "@backstage/errors": "^1.2.5",
76
- "@backstage/frontend-plugin-api": "^0.9.1",
76
+ "@backstage/frontend-plugin-api": "^0.9.2",
77
77
  "@backstage/integration-react": "^1.2.1",
78
78
  "@backstage/plugin-catalog-common": "^1.1.1",
79
- "@backstage/plugin-catalog-react": "^1.14.1",
79
+ "@backstage/plugin-catalog-react": "^1.14.2",
80
80
  "@backstage/plugin-permission-react": "^0.4.28",
81
81
  "@backstage/plugin-scaffolder-common": "^1.5.7",
82
82
  "@backstage/plugin-search-common": "^1.2.15",
83
- "@backstage/plugin-search-react": "^1.8.2",
83
+ "@backstage/plugin-search-react": "^1.8.3",
84
84
  "@backstage/types": "^1.2.0",
85
85
  "@material-ui/core": "^4.12.2",
86
86
  "@material-ui/icons": "^4.9.1",
@@ -95,12 +95,12 @@
95
95
  "zen-observable": "^0.10.0"
96
96
  },
97
97
  "devDependencies": {
98
- "@backstage/cli": "^0.29.0",
98
+ "@backstage/cli": "^0.29.2",
99
99
  "@backstage/core-app-api": "^1.15.2",
100
- "@backstage/dev-utils": "^1.1.3",
101
- "@backstage/frontend-test-utils": "^0.2.2",
100
+ "@backstage/dev-utils": "^1.1.4",
101
+ "@backstage/frontend-test-utils": "^0.2.3",
102
102
  "@backstage/plugin-permission-common": "^0.8.2",
103
- "@backstage/test-utils": "^1.7.1",
103
+ "@backstage/test-utils": "^1.7.2",
104
104
  "@testing-library/dom": "^10.0.0",
105
105
  "@testing-library/jest-dom": "^6.0.0",
106
106
  "@testing-library/react": "^16.0.0",