@backstage/plugin-catalog-react 0.0.0-nightly-20260227031022 → 0.0.0-nightly-20260305031015

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,30 +1,57 @@
1
1
  # @backstage/plugin-catalog-react
2
2
 
3
- ## 0.0.0-nightly-20260227031022
3
+ ## 0.0.0-nightly-20260305031015
4
4
 
5
5
  ### Minor Changes
6
6
 
7
7
  - 4d58894: Added `aliases` and `contentOrder` fields to `EntityContentGroupDefinition`, allowing groups to declare alias IDs and control the sort order of their content items.
8
+ - c6080eb: Added `EntityInfoCard` component to `@backstage/plugin-catalog-react` as a BUI-based card wrapper for entity page cards.
8
9
 
9
10
  ### Patch Changes
10
11
 
11
12
  - Updated dependencies
12
- - @backstage/ui@0.0.0-nightly-20260227031022
13
- - @backstage/catalog-client@0.0.0-nightly-20260227031022
14
- - @backstage/frontend-plugin-api@0.0.0-nightly-20260227031022
15
- - @backstage/frontend-test-utils@0.0.0-nightly-20260227031022
13
+ - @backstage/ui@0.0.0-nightly-20260305031015
14
+ - @backstage/catalog-client@0.0.0-nightly-20260305031015
15
+ - @backstage/frontend-plugin-api@0.0.0-nightly-20260305031015
16
+ - @backstage/frontend-test-utils@0.0.0-nightly-20260305031015
16
17
  - @backstage/catalog-model@1.7.6
17
- - @backstage/core-compat-api@0.0.0-nightly-20260227031022
18
- - @backstage/core-components@0.0.0-nightly-20260227031022
19
- - @backstage/core-plugin-api@0.0.0-nightly-20260227031022
18
+ - @backstage/core-compat-api@0.0.0-nightly-20260305031015
19
+ - @backstage/core-components@0.0.0-nightly-20260305031015
20
+ - @backstage/core-plugin-api@0.0.0-nightly-20260305031015
20
21
  - @backstage/errors@1.2.7
21
22
  - @backstage/filter-predicates@0.1.0
22
- - @backstage/integration-react@0.0.0-nightly-20260227031022
23
+ - @backstage/integration-react@0.0.0-nightly-20260305031015
23
24
  - @backstage/types@1.2.2
24
25
  - @backstage/version-bridge@1.0.12
25
26
  - @backstage/plugin-catalog-common@1.1.8
26
27
  - @backstage/plugin-permission-common@0.9.6
27
- - @backstage/plugin-permission-react@0.0.0-nightly-20260227031022
28
+ - @backstage/plugin-permission-react@0.0.0-nightly-20260305031015
29
+
30
+ ## 2.1.0-next.1
31
+
32
+ ### Minor Changes
33
+
34
+ - 4d58894: Added `aliases` and `contentOrder` fields to `EntityContentGroupDefinition`, allowing groups to declare alias IDs and control the sort order of their content items.
35
+
36
+ ### Patch Changes
37
+
38
+ - Updated dependencies
39
+ - @backstage/ui@0.13.0-next.1
40
+ - @backstage/catalog-client@1.14.0-next.1
41
+ - @backstage/frontend-test-utils@0.5.1-next.1
42
+ - @backstage/catalog-model@1.7.6
43
+ - @backstage/core-compat-api@0.5.9-next.1
44
+ - @backstage/core-components@0.18.8-next.0
45
+ - @backstage/core-plugin-api@1.12.4-next.0
46
+ - @backstage/errors@1.2.7
47
+ - @backstage/filter-predicates@0.1.0
48
+ - @backstage/frontend-plugin-api@0.14.2-next.0
49
+ - @backstage/integration-react@1.2.16-next.1
50
+ - @backstage/types@1.2.2
51
+ - @backstage/version-bridge@1.0.12
52
+ - @backstage/plugin-catalog-common@1.1.8
53
+ - @backstage/plugin-permission-common@0.9.6
54
+ - @backstage/plugin-permission-react@0.4.41-next.0
28
55
 
29
56
  ## 2.0.1-next.0
30
57
 
@@ -0,0 +1,25 @@
1
+ import { jsxs, jsx } from 'react/jsx-runtime';
2
+ import { Card, CardHeader, Flex, Text, CardBody, CardFooter } from '@backstage/ui';
3
+ import { makeStyles } from '@material-ui/core/styles';
4
+ import classNames from 'classnames';
5
+
6
+ const useStyles = makeStyles({
7
+ root: {
8
+ height: "100%"
9
+ }
10
+ });
11
+ function EntityInfoCard(props) {
12
+ const { title, headerActions, footerActions, children, className } = props;
13
+ const classes = useStyles();
14
+ return /* @__PURE__ */ jsxs(Card, { className: classNames(classes.root, className), children: [
15
+ title && /* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsxs(Flex, { justify: "between", align: "center", children: [
16
+ /* @__PURE__ */ jsx(Text, { as: "h3", variant: "title-x-small", weight: "bold", children: title }),
17
+ headerActions && /* @__PURE__ */ jsx(Flex, { align: "center", gap: "1", children: headerActions })
18
+ ] }) }),
19
+ /* @__PURE__ */ jsx(CardBody, { children }),
20
+ footerActions && /* @__PURE__ */ jsx(CardFooter, { children: footerActions })
21
+ ] });
22
+ }
23
+
24
+ export { EntityInfoCard };
25
+ //# sourceMappingURL=EntityInfoCard.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EntityInfoCard.esm.js","sources":["../../../src/components/EntityInfoCard/EntityInfoCard.tsx"],"sourcesContent":["/*\n * Copyright 2026 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { ReactNode } from 'react';\nimport {\n Card,\n CardHeader,\n CardBody,\n CardFooter,\n Text,\n Flex,\n} from '@backstage/ui';\nimport { makeStyles } from '@material-ui/core/styles';\nimport classNames from 'classnames';\n\nconst useStyles = makeStyles({\n root: {\n height: '100%',\n },\n});\n\n/** @public */\nexport interface EntityInfoCardProps {\n title?: ReactNode;\n headerActions?: ReactNode;\n footerActions?: ReactNode;\n children?: ReactNode;\n className?: string;\n}\n\n/** @public */\nexport function EntityInfoCard(props: EntityInfoCardProps) {\n const { title, headerActions, footerActions, children, className } = props;\n const classes = useStyles();\n\n return (\n <Card className={classNames(classes.root, className)}>\n {title && (\n <CardHeader>\n <Flex justify=\"between\" align=\"center\">\n <Text as=\"h3\" variant=\"title-x-small\" weight=\"bold\">\n {title}\n </Text>\n {headerActions && (\n <Flex align=\"center\" gap=\"1\">\n {headerActions}\n </Flex>\n )}\n </Flex>\n </CardHeader>\n )}\n <CardBody>{children}</CardBody>\n {footerActions && <CardFooter>{footerActions}</CardFooter>}\n </Card>\n );\n}\n"],"names":[],"mappings":";;;;;AA4BA,MAAM,YAAY,UAAA,CAAW;AAAA,EAC3B,IAAA,EAAM;AAAA,IACJ,MAAA,EAAQ;AAAA;AAEZ,CAAC,CAAA;AAYM,SAAS,eAAe,KAAA,EAA4B;AACzD,EAAA,MAAM,EAAE,KAAA,EAAO,aAAA,EAAe,aAAA,EAAe,QAAA,EAAU,WAAU,GAAI,KAAA;AACrE,EAAA,MAAM,UAAU,SAAA,EAAU;AAE1B,EAAA,4BACG,IAAA,EAAA,EAAK,SAAA,EAAW,WAAW,OAAA,CAAQ,IAAA,EAAM,SAAS,CAAA,EAChD,QAAA,EAAA;AAAA,IAAA,KAAA,wBACE,UAAA,EAAA,EACC,QAAA,kBAAA,IAAA,CAAC,QAAK,OAAA,EAAQ,SAAA,EAAU,OAAM,QAAA,EAC5B,QAAA,EAAA;AAAA,sBAAA,GAAA,CAAC,QAAK,EAAA,EAAG,IAAA,EAAK,SAAQ,eAAA,EAAgB,MAAA,EAAO,QAC1C,QAAA,EAAA,KAAA,EACH,CAAA;AAAA,MACC,iCACC,GAAA,CAAC,IAAA,EAAA,EAAK,OAAM,QAAA,EAAS,GAAA,EAAI,KACtB,QAAA,EAAA,aAAA,EACH;AAAA,KAAA,EAEJ,CAAA,EACF,CAAA;AAAA,oBAEF,GAAA,CAAC,YAAU,QAAA,EAAS,CAAA;AAAA,IACnB,aAAA,oBAAiB,GAAA,CAAC,UAAA,EAAA,EAAY,QAAA,EAAA,aAAA,EAAc;AAAA,GAAA,EAC/C,CAAA;AAEJ;;;;"}
package/dist/index.d.ts CHANGED
@@ -825,6 +825,17 @@ declare function MissingAnnotationEmptyState(props: {
825
825
  readMoreUrl?: string;
826
826
  }): react_jsx_runtime.JSX.Element;
827
827
 
828
+ /** @public */
829
+ interface EntityInfoCardProps {
830
+ title?: ReactNode;
831
+ headerActions?: ReactNode;
832
+ footerActions?: ReactNode;
833
+ children?: ReactNode;
834
+ className?: string;
835
+ }
836
+ /** @public */
837
+ declare function EntityInfoCard(props: EntityInfoCardProps): react_jsx_runtime.JSX.Element;
838
+
828
839
  /** @public */
829
840
  type EntityLoadingStatus<TEntity extends Entity = Entity> = {
830
841
  entity?: TEntity;
@@ -1023,5 +1034,5 @@ declare function MockEntityListContextProvider<T extends DefaultEntityFilters =
1023
1034
  */
1024
1035
  declare const EntityListContext: react.Context<EntityListContextProps<any> | undefined>;
1025
1036
 
1026
- export { AsyncEntityProvider, CatalogAutocomplete, CatalogFilterLayout, DefaultFilters, EntityAutocompletePicker, EntityDisplayName, EntityErrorFilter, EntityKindFilter, EntityKindPicker, EntityLifecycleFilter, EntityLifecyclePicker, EntityListContext, EntityListProvider, EntityNamespaceFilter, EntityNamespacePicker, EntityOrderFilter, EntityOrphanFilter, EntityOwnerFilter, EntityOwnerPicker, EntityPeekAheadPopover, EntityProcessingStatusPicker, EntityProvider, EntityRefLink, EntityRefLinks, EntitySearchBar, EntityTable, EntityTagFilter, EntityTagPicker, EntityTextFilter, EntityTypeFilter, EntityTypePicker, EntityUserFilter, FavoriteEntity, InspectEntityDialog, MissingAnnotationEmptyState, MockEntityListContextProvider, MockStarredEntitiesApi, UnregisterEntityDialog, UserListFilter, UserListPicker, catalogApiRef, columnFactories, defaultEntityPresentation, entityPresentationApiRef, entityRouteParams, entityRouteRef, getEntityRelations, getEntitySourceLocation, humanizeEntityRef, starredEntitiesApiRef, useAsyncEntity, useEntity, useEntityList, useEntityOwnership, useEntityPresentation, useEntityTypeFilter, useRelatedEntities, useStarredEntities, useStarredEntity };
1027
- export type { AllowedEntityFilters, AsyncEntityProviderProps, BackstageOverrides, CatalogAutocompleteProps, CatalogReactComponentsNameToClassKey, CatalogReactEntityAutocompletePickerClassKey, CatalogReactEntityDisplayNameClassKey, CatalogReactEntityLifecyclePickerClassKey, CatalogReactEntityNamespacePickerClassKey, CatalogReactEntityOwnerPickerClassKey, CatalogReactEntityProcessingStatusPickerClassKey, CatalogReactEntitySearchBarClassKey, CatalogReactEntityTagPickerClassKey, CatalogReactUserListPickerClassKey, DefaultEntityFilters, DefaultFiltersProps, EntityAutocompletePickerProps, EntityDisplayNameProps, EntityFilter, EntityKindPickerProps, EntityListContextProps, EntityListPagination, EntityListProviderProps, EntityLoadingStatus, EntityNamespacePickerProps, EntityOwnerPickerProps, EntityPeekAheadPopoverProps, EntityPresentationApi, EntityProviderProps, EntityRefLinkProps, EntityRefLinksProps, EntityRefPresentation, EntityRefPresentationSnapshot, EntityRouteParamsOptions, EntitySourceLocation, EntityTableProps, EntityTagPickerProps, EntityTypePickerProps, FavoriteEntityProps, FixedWidthFormControlLabelClassKey, MissingAnnotationEmptyStateClassKey, PaginationMode, StarredEntitiesApi, UnregisterEntityDialogProps, UserListFilterKind, UserListPickerProps };
1037
+ export { AsyncEntityProvider, CatalogAutocomplete, CatalogFilterLayout, DefaultFilters, EntityAutocompletePicker, EntityDisplayName, EntityErrorFilter, EntityInfoCard, EntityKindFilter, EntityKindPicker, EntityLifecycleFilter, EntityLifecyclePicker, EntityListContext, EntityListProvider, EntityNamespaceFilter, EntityNamespacePicker, EntityOrderFilter, EntityOrphanFilter, EntityOwnerFilter, EntityOwnerPicker, EntityPeekAheadPopover, EntityProcessingStatusPicker, EntityProvider, EntityRefLink, EntityRefLinks, EntitySearchBar, EntityTable, EntityTagFilter, EntityTagPicker, EntityTextFilter, EntityTypeFilter, EntityTypePicker, EntityUserFilter, FavoriteEntity, InspectEntityDialog, MissingAnnotationEmptyState, MockEntityListContextProvider, MockStarredEntitiesApi, UnregisterEntityDialog, UserListFilter, UserListPicker, catalogApiRef, columnFactories, defaultEntityPresentation, entityPresentationApiRef, entityRouteParams, entityRouteRef, getEntityRelations, getEntitySourceLocation, humanizeEntityRef, starredEntitiesApiRef, useAsyncEntity, useEntity, useEntityList, useEntityOwnership, useEntityPresentation, useEntityTypeFilter, useRelatedEntities, useStarredEntities, useStarredEntity };
1038
+ export type { AllowedEntityFilters, AsyncEntityProviderProps, BackstageOverrides, CatalogAutocompleteProps, CatalogReactComponentsNameToClassKey, CatalogReactEntityAutocompletePickerClassKey, CatalogReactEntityDisplayNameClassKey, CatalogReactEntityLifecyclePickerClassKey, CatalogReactEntityNamespacePickerClassKey, CatalogReactEntityOwnerPickerClassKey, CatalogReactEntityProcessingStatusPickerClassKey, CatalogReactEntitySearchBarClassKey, CatalogReactEntityTagPickerClassKey, CatalogReactUserListPickerClassKey, DefaultEntityFilters, DefaultFiltersProps, EntityAutocompletePickerProps, EntityDisplayNameProps, EntityFilter, EntityInfoCardProps, EntityKindPickerProps, EntityListContextProps, EntityListPagination, EntityListProviderProps, EntityLoadingStatus, EntityNamespacePickerProps, EntityOwnerPickerProps, EntityPeekAheadPopoverProps, EntityPresentationApi, EntityProviderProps, EntityRefLinkProps, EntityRefLinksProps, EntityRefPresentation, EntityRefPresentationSnapshot, EntityRouteParamsOptions, EntitySourceLocation, EntityTableProps, EntityTagPickerProps, EntityTypePickerProps, FavoriteEntityProps, FixedWidthFormControlLabelClassKey, MissingAnnotationEmptyStateClassKey, PaginationMode, StarredEntitiesApi, UnregisterEntityDialogProps, UserListFilterKind, UserListPickerProps };
package/dist/index.esm.js CHANGED
@@ -29,6 +29,7 @@ export { EntityProcessingStatusPicker } from './components/EntityProcessingStatu
29
29
  export { EntityNamespacePicker } from './components/EntityNamespacePicker/EntityNamespacePicker.esm.js';
30
30
  export { EntityAutocompletePicker } from './components/EntityAutocompletePicker/EntityAutocompletePicker.esm.js';
31
31
  export { MissingAnnotationEmptyState } from './components/MissingAnnotationEmptyState/MissingAnnotationEmptyState.esm.js';
32
+ export { EntityInfoCard } from './components/EntityInfoCard/EntityInfoCard.esm.js';
32
33
  export { AsyncEntityProvider, EntityProvider, useAsyncEntity, useEntity } from './hooks/useEntity.esm.js';
33
34
  export { EntityListProvider, useEntityList } from './hooks/useEntityListProvider.esm.js';
34
35
  export { useEntityTypeFilter } from './hooks/useEntityTypeFilter.esm.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-react",
3
- "version": "0.0.0-nightly-20260227031022",
3
+ "version": "0.0.0-nightly-20260305031015",
4
4
  "description": "A frontend library that helps other Backstage plugins interact with the catalog",
5
5
  "backstage": {
6
6
  "role": "web-library",
@@ -73,20 +73,20 @@
73
73
  "test": "backstage-cli package test"
74
74
  },
75
75
  "dependencies": {
76
- "@backstage/catalog-client": "0.0.0-nightly-20260227031022",
76
+ "@backstage/catalog-client": "0.0.0-nightly-20260305031015",
77
77
  "@backstage/catalog-model": "1.7.6",
78
- "@backstage/core-compat-api": "0.0.0-nightly-20260227031022",
79
- "@backstage/core-components": "0.0.0-nightly-20260227031022",
80
- "@backstage/core-plugin-api": "0.0.0-nightly-20260227031022",
78
+ "@backstage/core-compat-api": "0.0.0-nightly-20260305031015",
79
+ "@backstage/core-components": "0.0.0-nightly-20260305031015",
80
+ "@backstage/core-plugin-api": "0.0.0-nightly-20260305031015",
81
81
  "@backstage/errors": "1.2.7",
82
82
  "@backstage/filter-predicates": "0.1.0",
83
- "@backstage/frontend-plugin-api": "0.0.0-nightly-20260227031022",
84
- "@backstage/integration-react": "0.0.0-nightly-20260227031022",
83
+ "@backstage/frontend-plugin-api": "0.0.0-nightly-20260305031015",
84
+ "@backstage/integration-react": "0.0.0-nightly-20260305031015",
85
85
  "@backstage/plugin-catalog-common": "1.1.8",
86
86
  "@backstage/plugin-permission-common": "0.9.6",
87
- "@backstage/plugin-permission-react": "0.0.0-nightly-20260227031022",
87
+ "@backstage/plugin-permission-react": "0.0.0-nightly-20260305031015",
88
88
  "@backstage/types": "1.2.2",
89
- "@backstage/ui": "0.0.0-nightly-20260227031022",
89
+ "@backstage/ui": "0.0.0-nightly-20260305031015",
90
90
  "@backstage/version-bridge": "1.0.12",
91
91
  "@material-ui/core": "^4.12.2",
92
92
  "@material-ui/icons": "^4.9.1",
@@ -101,12 +101,12 @@
101
101
  "zen-observable": "^0.10.0"
102
102
  },
103
103
  "devDependencies": {
104
- "@backstage/cli": "0.0.0-nightly-20260227031022",
105
- "@backstage/core-app-api": "0.0.0-nightly-20260227031022",
106
- "@backstage/frontend-test-utils": "0.0.0-nightly-20260227031022",
104
+ "@backstage/cli": "0.0.0-nightly-20260305031015",
105
+ "@backstage/core-app-api": "0.0.0-nightly-20260305031015",
106
+ "@backstage/frontend-test-utils": "0.0.0-nightly-20260305031015",
107
107
  "@backstage/plugin-catalog-common": "1.1.8",
108
- "@backstage/plugin-scaffolder-common": "0.0.0-nightly-20260227031022",
109
- "@backstage/test-utils": "0.0.0-nightly-20260227031022",
108
+ "@backstage/plugin-scaffolder-common": "0.0.0-nightly-20260305031015",
109
+ "@backstage/test-utils": "0.0.0-nightly-20260305031015",
110
110
  "@testing-library/dom": "^10.0.0",
111
111
  "@testing-library/jest-dom": "^6.0.0",
112
112
  "@testing-library/react": "^16.0.0",
@@ -120,7 +120,7 @@
120
120
  "zod": "^3.25.76"
121
121
  },
122
122
  "peerDependencies": {
123
- "@backstage/frontend-test-utils": "0.0.0-nightly-20260227031022",
123
+ "@backstage/frontend-test-utils": "0.0.0-nightly-20260305031015",
124
124
  "@types/react": "^17.0.0 || ^18.0.0",
125
125
  "react": "^17.0.0 || ^18.0.0",
126
126
  "react-dom": "^17.0.0 || ^18.0.0",