@backstage/plugin-catalog 0.7.3 → 0.7.7

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.
Files changed (34) hide show
  1. package/CHANGELOG.md +67 -0
  2. package/dist/esm/{index-8f587acc.esm.js → index-09f72bec.esm.js} +3 -3
  3. package/dist/esm/{index-8f587acc.esm.js.map → index-09f72bec.esm.js.map} +1 -1
  4. package/dist/esm/{index-55d1a69b.esm.js → index-0d1fd1c3.esm.js} +3 -3
  5. package/dist/esm/{index-55d1a69b.esm.js.map → index-0d1fd1c3.esm.js.map} +1 -1
  6. package/dist/esm/{index-66b84bce.esm.js → index-36778da3.esm.js} +3 -3
  7. package/dist/esm/index-36778da3.esm.js.map +1 -0
  8. package/dist/esm/{index-e3a14e6d.esm.js → index-45f1acd4.esm.js} +3 -3
  9. package/dist/esm/{index-e3a14e6d.esm.js.map → index-45f1acd4.esm.js.map} +1 -1
  10. package/dist/esm/{index-99e3a23f.esm.js → index-6cad9618.esm.js} +2 -2
  11. package/dist/esm/{index-99e3a23f.esm.js.map → index-6cad9618.esm.js.map} +1 -1
  12. package/dist/esm/{index-0e602309.esm.js → index-766926dc.esm.js} +106 -99
  13. package/dist/esm/index-766926dc.esm.js.map +1 -0
  14. package/dist/esm/{index-f2f98d41.esm.js → index-a83cc17f.esm.js} +3 -3
  15. package/dist/esm/{index-f2f98d41.esm.js.map → index-a83cc17f.esm.js.map} +1 -1
  16. package/dist/esm/{index-ef2084a6.esm.js → index-ca3eb997.esm.js} +3 -3
  17. package/dist/esm/{index-ef2084a6.esm.js.map → index-ca3eb997.esm.js.map} +1 -1
  18. package/dist/esm/{index-f9a9eace.esm.js → index-ce51b527.esm.js} +8 -8
  19. package/dist/esm/{index-f9a9eace.esm.js.map → index-ce51b527.esm.js.map} +1 -1
  20. package/dist/esm/{index-fc057bf8.esm.js → index-d363820f.esm.js} +7 -7
  21. package/dist/esm/index-d363820f.esm.js.map +1 -0
  22. package/dist/esm/{index-a5cb6379.esm.js → index-d9ca5a48.esm.js} +3 -3
  23. package/dist/esm/index-d9ca5a48.esm.js.map +1 -0
  24. package/dist/esm/{index-112e4b31.esm.js → index-f4427460.esm.js} +2 -2
  25. package/dist/esm/{index-112e4b31.esm.js.map → index-f4427460.esm.js.map} +1 -1
  26. package/dist/esm/{presets-f7f427ef.esm.js → presets-42c2cb51.esm.js} +7 -7
  27. package/dist/esm/{presets-f7f427ef.esm.js.map → presets-42c2cb51.esm.js.map} +1 -1
  28. package/dist/index.d.ts +14 -3
  29. package/dist/index.esm.js +2 -2
  30. package/package.json +17 -15
  31. package/dist/esm/index-0e602309.esm.js.map +0 -1
  32. package/dist/esm/index-66b84bce.esm.js.map +0 -1
  33. package/dist/esm/index-a5cb6379.esm.js.map +0 -1
  34. package/dist/esm/index-fc057bf8.esm.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,72 @@
1
1
  # @backstage/plugin-catalog
2
2
 
3
+ ## 0.7.7
4
+
5
+ ### Patch Changes
6
+
7
+ - 4ce51ab0f1: Internal refactor of the `react-use` imports to use `react-use/lib/*` instead.
8
+ - 11b81683a9: Support customizing index page layouts via outlets
9
+ - e195390974: Allow entities from `file` locations to be manually refreshed through the UI
10
+ - Updated dependencies
11
+ - @backstage/core-plugin-api@0.4.1
12
+ - @backstage/plugin-catalog-react@0.6.10
13
+ - @backstage/core-components@0.8.3
14
+
15
+ ## 0.7.6
16
+
17
+ ### Patch Changes
18
+
19
+ - 7d4b4e937c: Uptake changes to the GitHub Credentials Provider interface.
20
+ - Updated dependencies
21
+ - @backstage/plugin-catalog-react@0.6.9
22
+ - @backstage/integration-react@0.1.17
23
+
24
+ ## 0.7.5
25
+
26
+ ### Patch Changes
27
+
28
+ - 3fa31ec84a: Deprecated the `CatalogClientWrapper` class.
29
+
30
+ The default implementation of `catalogApiRef` that this plugin exposes, is now powered by the new `fetchApiRef`. The default implementation of _that_ API, in turn, has the ability to inject the user's Backstage token in requests in a similar manner to what the deprecated `CatalogClientWrapper` used to do. The latter has therefore been taken out of the default catalog API implementation.
31
+
32
+ If you use a custom `fetchApiRef` implementation that does NOT issue tokens, or use a custom `catalogApiRef` implementation which does NOT use the default `fetchApiRef`, you can still for some time wrap your catalog API in this class to get back the old behavior:
33
+
34
+ ```ts
35
+ // Add this to your packages/app/src/plugins.ts if you want to get back the old
36
+ // catalog client behavior:
37
+ createApiFactory({
38
+ api: catalogApiRef,
39
+ deps: { discoveryApi: discoveryApiRef, identityApi: identityApiRef },
40
+ factory: ({ discoveryApi, identityApi }) =>
41
+ new CatalogClientWrapper({
42
+ client: new CatalogClient({ discoveryApi }),
43
+ identityApi,
44
+ }),
45
+ }),
46
+ ```
47
+
48
+ But do consider migrating to making use of the `fetchApiRef` as soon as convenient, since the wrapper class will be removed in a future release.
49
+
50
+ - 7a4bd2ceac: Prefer using `Link` from `@backstage/core-components` rather than material-UI.
51
+ - Updated dependencies
52
+ - @backstage/core-plugin-api@0.4.0
53
+ - @backstage/plugin-catalog-react@0.6.8
54
+ - @backstage/core-components@0.8.2
55
+ - @backstage/catalog-client@0.5.3
56
+ - @backstage/integration-react@0.1.16
57
+
58
+ ## 0.7.4
59
+
60
+ ### Patch Changes
61
+
62
+ - 9603827bb5: Addressed some peer dependency warnings
63
+ - cd450844f6: Moved React dependencies to `peerDependencies` and allow both React v16 and v17 to be used.
64
+ - Updated dependencies
65
+ - @backstage/core-components@0.8.0
66
+ - @backstage/core-plugin-api@0.3.0
67
+ - @backstage/integration-react@0.1.15
68
+ - @backstage/plugin-catalog-react@0.6.5
69
+
3
70
  ## 0.7.3
4
71
 
5
72
  ### Patch Changes
@@ -1,11 +1,11 @@
1
1
  import { RELATION_DEPENDS_ON } from '@backstage/catalog-model';
2
2
  import React from 'react';
3
- import { R as RelatedEntitiesCard, r as resourceEntityColumns, d as componentEntityHelpLink, f as asResourceEntities } from './presets-f7f427ef.esm.js';
3
+ import { R as RelatedEntitiesCard, r as resourceEntityColumns, d as componentEntityHelpLink, f as asResourceEntities } from './presets-42c2cb51.esm.js';
4
4
  import '@material-ui/core';
5
5
  import '@backstage/plugin-catalog-react';
6
6
  import '@backstage/core-components';
7
7
 
8
- const DependsOnResourcesCard = ({variant = "gridItem"}) => {
8
+ const DependsOnResourcesCard = ({ variant = "gridItem" }) => {
9
9
  return /* @__PURE__ */ React.createElement(RelatedEntitiesCard, {
10
10
  variant,
11
11
  title: "Depends on resources",
@@ -19,4 +19,4 @@ const DependsOnResourcesCard = ({variant = "gridItem"}) => {
19
19
  };
20
20
 
21
21
  export { DependsOnResourcesCard };
22
- //# sourceMappingURL=index-8f587acc.esm.js.map
22
+ //# sourceMappingURL=index-09f72bec.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-8f587acc.esm.js","sources":["../../src/components/DependsOnResourcesCard/DependsOnResourcesCard.tsx"],"sourcesContent":["/*\n * Copyright 2020 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 { RELATION_DEPENDS_ON } from '@backstage/catalog-model';\nimport React from 'react';\nimport {\n asResourceEntities,\n componentEntityHelpLink,\n RelatedEntitiesCard,\n resourceEntityColumns,\n} from '../RelatedEntitiesCard';\n\ntype Props = {\n variant?: 'gridItem';\n};\n\nexport const DependsOnResourcesCard = ({ variant = 'gridItem' }: Props) => {\n return (\n <RelatedEntitiesCard\n variant={variant}\n title=\"Depends on resources\"\n entityKind=\"Resource\"\n relationType={RELATION_DEPENDS_ON}\n columns={resourceEntityColumns}\n emptyMessage=\"No resource is a dependency of this component\"\n emptyHelpLink={componentEntityHelpLink}\n asRenderableEntities={asResourceEntities}\n />\n );\n};\n"],"names":[],"mappings":";;;;;;;MA6Ba,yBAAyB,CAAC,CAAE,UAAU,gBAAwB;AACzE,6CACG,qBAAD;AAAA,IACE;AAAA,IACA,OAAM;AAAA,IACN,YAAW;AAAA,IACX,cAAc;AAAA,IACd,SAAS;AAAA,IACT,cAAa;AAAA,IACb,eAAe;AAAA,IACf,sBAAsB;AAAA;AAAA;;;;"}
1
+ {"version":3,"file":"index-09f72bec.esm.js","sources":["../../src/components/DependsOnResourcesCard/DependsOnResourcesCard.tsx"],"sourcesContent":["/*\n * Copyright 2020 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 { RELATION_DEPENDS_ON } from '@backstage/catalog-model';\nimport React from 'react';\nimport {\n asResourceEntities,\n componentEntityHelpLink,\n RelatedEntitiesCard,\n resourceEntityColumns,\n} from '../RelatedEntitiesCard';\n\ntype Props = {\n variant?: 'gridItem';\n};\n\nexport const DependsOnResourcesCard = ({ variant = 'gridItem' }: Props) => {\n return (\n <RelatedEntitiesCard\n variant={variant}\n title=\"Depends on resources\"\n entityKind=\"Resource\"\n relationType={RELATION_DEPENDS_ON}\n columns={resourceEntityColumns}\n emptyMessage=\"No resource is a dependency of this component\"\n emptyHelpLink={componentEntityHelpLink}\n asRenderableEntities={asResourceEntities}\n />\n );\n};\n"],"names":[],"mappings":";;;;;;;MA6Ba,yBAAyB,CAAC,EAAE,UAAU,iBAAwB;AACzE,6CACG,qBAAD;AAAA,IACE;AAAA,IACA,OAAM;AAAA,IACN,YAAW;AAAA,IACX,cAAc;AAAA,IACd,SAAS;AAAA,IACT,cAAa;AAAA,IACb,eAAe;AAAA,IACf,sBAAsB;AAAA;AAAA;;;;"}
@@ -1,11 +1,11 @@
1
1
  import { RELATION_HAS_PART } from '@backstage/catalog-model';
2
2
  import React from 'react';
3
- import { R as RelatedEntitiesCard, s as systemEntityColumns, a as asSystemEntities, b as systemEntityHelpLink } from './presets-f7f427ef.esm.js';
3
+ import { R as RelatedEntitiesCard, s as systemEntityColumns, a as asSystemEntities, b as systemEntityHelpLink } from './presets-42c2cb51.esm.js';
4
4
  import '@material-ui/core';
5
5
  import '@backstage/plugin-catalog-react';
6
6
  import '@backstage/core-components';
7
7
 
8
- const HasSystemsCard = ({variant = "gridItem"}) => {
8
+ const HasSystemsCard = ({ variant = "gridItem" }) => {
9
9
  return /* @__PURE__ */ React.createElement(RelatedEntitiesCard, {
10
10
  variant,
11
11
  title: "Has systems",
@@ -19,4 +19,4 @@ const HasSystemsCard = ({variant = "gridItem"}) => {
19
19
  };
20
20
 
21
21
  export { HasSystemsCard };
22
- //# sourceMappingURL=index-55d1a69b.esm.js.map
22
+ //# sourceMappingURL=index-0d1fd1c3.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-55d1a69b.esm.js","sources":["../../src/components/HasSystemsCard/HasSystemsCard.tsx"],"sourcesContent":["/*\n * Copyright 2020 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 { RELATION_HAS_PART } from '@backstage/catalog-model';\nimport React from 'react';\nimport {\n asSystemEntities,\n RelatedEntitiesCard,\n systemEntityColumns,\n systemEntityHelpLink,\n} from '../RelatedEntitiesCard';\n\ntype Props = {\n variant?: 'gridItem';\n};\n\nexport const HasSystemsCard = ({ variant = 'gridItem' }: Props) => {\n return (\n <RelatedEntitiesCard\n variant={variant}\n title=\"Has systems\"\n entityKind=\"System\"\n relationType={RELATION_HAS_PART}\n columns={systemEntityColumns}\n asRenderableEntities={asSystemEntities}\n emptyMessage=\"No system is part of this domain\"\n emptyHelpLink={systemEntityHelpLink}\n />\n );\n};\n"],"names":[],"mappings":";;;;;;;MA6Ba,iBAAiB,CAAC,CAAE,UAAU,gBAAwB;AACjE,6CACG,qBAAD;AAAA,IACE;AAAA,IACA,OAAM;AAAA,IACN,YAAW;AAAA,IACX,cAAc;AAAA,IACd,SAAS;AAAA,IACT,sBAAsB;AAAA,IACtB,cAAa;AAAA,IACb,eAAe;AAAA;AAAA;;;;"}
1
+ {"version":3,"file":"index-0d1fd1c3.esm.js","sources":["../../src/components/HasSystemsCard/HasSystemsCard.tsx"],"sourcesContent":["/*\n * Copyright 2020 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 { RELATION_HAS_PART } from '@backstage/catalog-model';\nimport React from 'react';\nimport {\n asSystemEntities,\n RelatedEntitiesCard,\n systemEntityColumns,\n systemEntityHelpLink,\n} from '../RelatedEntitiesCard';\n\ntype Props = {\n variant?: 'gridItem';\n};\n\nexport const HasSystemsCard = ({ variant = 'gridItem' }: Props) => {\n return (\n <RelatedEntitiesCard\n variant={variant}\n title=\"Has systems\"\n entityKind=\"System\"\n relationType={RELATION_HAS_PART}\n columns={systemEntityColumns}\n asRenderableEntities={asSystemEntities}\n emptyMessage=\"No system is part of this domain\"\n emptyHelpLink={systemEntityHelpLink}\n />\n );\n};\n"],"names":[],"mappings":";;;;;;;MA6Ba,iBAAiB,CAAC,EAAE,UAAU,iBAAwB;AACjE,6CACG,qBAAD;AAAA,IACE;AAAA,IACA,OAAM;AAAA,IACN,YAAW;AAAA,IACX,cAAc;AAAA,IACd,SAAS;AAAA,IACT,sBAAsB;AAAA,IACtB,cAAa;AAAA,IACb,eAAe;AAAA;AAAA;;;;"}
@@ -1,4 +1,4 @@
1
- export { A as AboutCard, a as AboutContent, b as AboutField } from './index-0e602309.esm.js';
1
+ export { A as AboutCard, a as AboutContent, b as AboutField } from './index-766926dc.esm.js';
2
2
  import '@backstage/catalog-model';
3
3
  import '@backstage/core-components';
4
4
  import '@backstage/core-plugin-api';
@@ -18,8 +18,8 @@ import '@material-ui/icons/Cancel';
18
18
  import '@material-ui/icons/MoreVert';
19
19
  import '@backstage/errors';
20
20
  import '@backstage/catalog-client';
21
- import 'react-use';
21
+ import 'react-use/lib/useAsync';
22
22
  import 'react-helmet';
23
23
  import '@material-ui/icons/FilterList';
24
24
  import '../components/EntityNotFound/Illo/illo.svg';
25
- //# sourceMappingURL=index-66b84bce.esm.js.map
25
+ //# sourceMappingURL=index-36778da3.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-36778da3.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,11 +1,11 @@
1
1
  import { RELATION_HAS_PART } from '@backstage/catalog-model';
2
2
  import React from 'react';
3
- import { R as RelatedEntitiesCard, c as componentEntityColumns, d as componentEntityHelpLink, e as asComponentEntities } from './presets-f7f427ef.esm.js';
3
+ import { R as RelatedEntitiesCard, c as componentEntityColumns, d as componentEntityHelpLink, e as asComponentEntities } from './presets-42c2cb51.esm.js';
4
4
  import '@material-ui/core';
5
5
  import '@backstage/plugin-catalog-react';
6
6
  import '@backstage/core-components';
7
7
 
8
- const HasComponentsCard = ({variant = "gridItem"}) => {
8
+ const HasComponentsCard = ({ variant = "gridItem" }) => {
9
9
  return /* @__PURE__ */ React.createElement(RelatedEntitiesCard, {
10
10
  variant,
11
11
  title: "Has components",
@@ -19,4 +19,4 @@ const HasComponentsCard = ({variant = "gridItem"}) => {
19
19
  };
20
20
 
21
21
  export { HasComponentsCard };
22
- //# sourceMappingURL=index-e3a14e6d.esm.js.map
22
+ //# sourceMappingURL=index-45f1acd4.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-e3a14e6d.esm.js","sources":["../../src/components/HasComponentsCard/HasComponentsCard.tsx"],"sourcesContent":["/*\n * Copyright 2020 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 { RELATION_HAS_PART } from '@backstage/catalog-model';\nimport React from 'react';\nimport {\n asComponentEntities,\n componentEntityColumns,\n componentEntityHelpLink,\n RelatedEntitiesCard,\n} from '../RelatedEntitiesCard';\n\ntype Props = {\n variant?: 'gridItem';\n};\n\nexport const HasComponentsCard = ({ variant = 'gridItem' }: Props) => {\n return (\n <RelatedEntitiesCard\n variant={variant}\n title=\"Has components\"\n entityKind=\"Component\"\n relationType={RELATION_HAS_PART}\n columns={componentEntityColumns}\n emptyMessage=\"No component is part of this system\"\n emptyHelpLink={componentEntityHelpLink}\n asRenderableEntities={asComponentEntities}\n />\n );\n};\n"],"names":[],"mappings":";;;;;;;MA6Ba,oBAAoB,CAAC,CAAE,UAAU,gBAAwB;AACpE,6CACG,qBAAD;AAAA,IACE;AAAA,IACA,OAAM;AAAA,IACN,YAAW;AAAA,IACX,cAAc;AAAA,IACd,SAAS;AAAA,IACT,cAAa;AAAA,IACb,eAAe;AAAA,IACf,sBAAsB;AAAA;AAAA;;;;"}
1
+ {"version":3,"file":"index-45f1acd4.esm.js","sources":["../../src/components/HasComponentsCard/HasComponentsCard.tsx"],"sourcesContent":["/*\n * Copyright 2020 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 { RELATION_HAS_PART } from '@backstage/catalog-model';\nimport React from 'react';\nimport {\n asComponentEntities,\n componentEntityColumns,\n componentEntityHelpLink,\n RelatedEntitiesCard,\n} from '../RelatedEntitiesCard';\n\ntype Props = {\n variant?: 'gridItem';\n};\n\nexport const HasComponentsCard = ({ variant = 'gridItem' }: Props) => {\n return (\n <RelatedEntitiesCard\n variant={variant}\n title=\"Has components\"\n entityKind=\"Component\"\n relationType={RELATION_HAS_PART}\n columns={componentEntityColumns}\n emptyMessage=\"No component is part of this system\"\n emptyHelpLink={componentEntityHelpLink}\n asRenderableEntities={asComponentEntities}\n />\n );\n};\n"],"names":[],"mappings":";;;;;;;MA6Ba,oBAAoB,CAAC,EAAE,UAAU,iBAAwB;AACpE,6CACG,qBAAD;AAAA,IACE;AAAA,IACA,OAAM;AAAA,IACN,YAAW;AAAA,IACX,cAAc;AAAA,IACd,SAAS;AAAA,IACT,cAAa;AAAA,IACb,eAAe;AAAA,IACf,sBAAsB;AAAA;AAAA;;;;"}
@@ -1,6 +1,6 @@
1
1
  import { RELATION_DEPENDS_ON } from '@backstage/catalog-model';
2
2
  import React from 'react';
3
- import { R as RelatedEntitiesCard, c as componentEntityColumns, d as componentEntityHelpLink, e as asComponentEntities } from './presets-f7f427ef.esm.js';
3
+ import { R as RelatedEntitiesCard, c as componentEntityColumns, d as componentEntityHelpLink, e as asComponentEntities } from './presets-42c2cb51.esm.js';
4
4
  import '@material-ui/core';
5
5
  import '@backstage/plugin-catalog-react';
6
6
  import '@backstage/core-components';
@@ -22,4 +22,4 @@ const DependsOnComponentsCard = ({
22
22
  };
23
23
 
24
24
  export { DependsOnComponentsCard };
25
- //# sourceMappingURL=index-99e3a23f.esm.js.map
25
+ //# sourceMappingURL=index-6cad9618.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-99e3a23f.esm.js","sources":["../../src/components/DependsOnComponentsCard/DependsOnComponentsCard.tsx"],"sourcesContent":["/*\n * Copyright 2020 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 { RELATION_DEPENDS_ON } from '@backstage/catalog-model';\nimport React from 'react';\nimport {\n asComponentEntities,\n componentEntityColumns,\n componentEntityHelpLink,\n RelatedEntitiesCard,\n} from '../RelatedEntitiesCard';\n\ntype Props = {\n variant?: 'gridItem';\n title?: string;\n};\n\nexport const DependsOnComponentsCard = ({\n variant = 'gridItem',\n title = 'Depends on components',\n}: Props) => {\n return (\n <RelatedEntitiesCard\n variant={variant}\n title={title}\n entityKind=\"Component\"\n relationType={RELATION_DEPENDS_ON}\n columns={componentEntityColumns}\n emptyMessage=\"No component is a dependency of this component\"\n emptyHelpLink={componentEntityHelpLink}\n asRenderableEntities={asComponentEntities}\n />\n );\n};\n"],"names":[],"mappings":";;;;;;;MA8Ba,0BAA0B,CAAC;AAAA,EACtC,UAAU;AAAA,EACV,QAAQ;AAAA,MACG;AACX,6CACG,qBAAD;AAAA,IACE;AAAA,IACA;AAAA,IACA,YAAW;AAAA,IACX,cAAc;AAAA,IACd,SAAS;AAAA,IACT,cAAa;AAAA,IACb,eAAe;AAAA,IACf,sBAAsB;AAAA;AAAA;;;;"}
1
+ {"version":3,"file":"index-6cad9618.esm.js","sources":["../../src/components/DependsOnComponentsCard/DependsOnComponentsCard.tsx"],"sourcesContent":["/*\n * Copyright 2020 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 { RELATION_DEPENDS_ON } from '@backstage/catalog-model';\nimport React from 'react';\nimport {\n asComponentEntities,\n componentEntityColumns,\n componentEntityHelpLink,\n RelatedEntitiesCard,\n} from '../RelatedEntitiesCard';\n\ntype Props = {\n variant?: 'gridItem';\n title?: string;\n};\n\nexport const DependsOnComponentsCard = ({\n variant = 'gridItem',\n title = 'Depends on components',\n}: Props) => {\n return (\n <RelatedEntitiesCard\n variant={variant}\n title={title}\n entityKind=\"Component\"\n relationType={RELATION_DEPENDS_ON}\n columns={componentEntityColumns}\n emptyMessage=\"No component is a dependency of this component\"\n emptyHelpLink={componentEntityHelpLink}\n asRenderableEntities={asComponentEntities}\n />\n );\n};\n"],"names":[],"mappings":";;;;;;;MA8Ba,0BAA0B,CAAC;AAAA,EACtC,UAAU;AAAA,EACV,QAAQ;AAAA,MACG;AACX,6CACG,qBAAD;AAAA,IACE;AAAA,IACA;AAAA,IACA,YAAW;AAAA,IACX,cAAc;AAAA,IACd,SAAS;AAAA,IACT,cAAa;AAAA,IACb,eAAe;AAAA,IACf,sBAAsB;AAAA;AAAA;;;;"}