@backstage/plugin-home 0.8.1-next.2 → 0.8.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,45 @@
1
1
  # @backstage/plugin-home
2
2
 
3
+ ## 0.8.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 8b1b2cf: Improve Starred Entities UI to reduce whitespace and provide more context on the entities:
8
+
9
+ - Use the Entity Presentation API (via `<EntityDisplayName>`) to display the entity's name
10
+ - Component's `kind` and `spec.type` are displayed as a secondary text
11
+ - List items are condensed to reduce unnecessary spacing
12
+
13
+ - Updated dependencies
14
+ - @backstage/catalog-client@1.8.0
15
+ - @backstage/config@1.3.0
16
+ - @backstage/theme@0.6.1
17
+ - @backstage/plugin-catalog-react@1.14.1
18
+ - @backstage/core-components@0.16.0
19
+ - @backstage/core-app-api@1.15.2
20
+ - @backstage/catalog-model@1.7.1
21
+ - @backstage/core-compat-api@0.3.2
22
+ - @backstage/core-plugin-api@1.10.1
23
+ - @backstage/frontend-plugin-api@0.9.1
24
+ - @backstage/plugin-home-react@0.1.19
25
+
26
+ ## 0.8.1-next.3
27
+
28
+ ### Patch Changes
29
+
30
+ - Updated dependencies
31
+ - @backstage/core-components@0.16.0-next.2
32
+ - @backstage/plugin-catalog-react@1.14.1-next.3
33
+ - @backstage/core-compat-api@0.3.2-next.2
34
+ - @backstage/catalog-client@1.8.0-next.1
35
+ - @backstage/catalog-model@1.7.0
36
+ - @backstage/config@1.2.0
37
+ - @backstage/core-app-api@1.15.1
38
+ - @backstage/core-plugin-api@1.10.0
39
+ - @backstage/frontend-plugin-api@0.9.1-next.2
40
+ - @backstage/theme@0.6.1-next.0
41
+ - @backstage/plugin-home-react@0.1.19-next.2
42
+
3
43
  ## 0.8.1-next.2
4
44
 
5
45
  ### Patch Changes
package/dist/alpha.esm.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { createRouteRef, createExtensionDataRef, PageBlueprint, createExtensionInput, coreExtensionData, createFrontendPlugin } from '@backstage/frontend-plugin-api';
2
+ import { createRouteRef, createExtensionDataRef, PageBlueprint, coreExtensionData, createExtensionInput, createFrontendPlugin } from '@backstage/frontend-plugin-api';
3
3
  import { compatWrapper } from '@backstage/core-compat-api';
4
4
 
5
5
  const rootRouteRef = createRouteRef();
@@ -1,6 +1,6 @@
1
1
  import React, { useMemo, useCallback } from 'react';
2
2
  import { WidthProvider, Responsive } from 'react-grid-layout';
3
- import { useElementFilter, useApi, storageApiRef, getComponentData } from '@backstage/core-plugin-api';
3
+ import { useElementFilter, getComponentData, useApi, storageApiRef } from '@backstage/core-plugin-api';
4
4
  import 'react-grid-layout/css/styles.css';
5
5
  import 'react-resizable/css/styles.css';
6
6
  import Dialog from '@material-ui/core/Dialog';
@@ -12,7 +12,7 @@ import Typography from '@material-ui/core/Typography';
12
12
  import { WidgetSettingsOverlay } from './WidgetSettingsOverlay.esm.js';
13
13
  import { AddWidgetDialog } from './AddWidgetDialog.esm.js';
14
14
  import { CustomHomepageButtons } from './CustomHomepageButtons.esm.js';
15
- import { CustomHomepageGridStateV1Schema, LayoutConfigurationSchema, WidgetSchema } from './types.esm.js';
15
+ import { WidgetSchema, LayoutConfigurationSchema, CustomHomepageGridStateV1Schema } from './types.esm.js';
16
16
 
17
17
  const ResponsiveGrid = WidthProvider(Responsive);
18
18
  const useStyles = makeStyles(
@@ -1,4 +1,4 @@
1
- import { createPlugin, createApiFactory, storageApiRef, identityApiRef, createRoutableExtension, createComponentExtension } from '@backstage/core-plugin-api';
1
+ import { createPlugin, createApiFactory, identityApiRef, storageApiRef, createRoutableExtension, createComponentExtension } from '@backstage/core-plugin-api';
2
2
  import { createCardExtension } from '@backstage/plugin-home-react';
3
3
  import { rootRouteRef } from './routes.esm.js';
4
4
  import { VisitsStorageApi } from './api/VisitsStorageApi.esm.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-home",
3
- "version": "0.8.1-next.2",
3
+ "version": "0.8.1",
4
4
  "description": "A Backstage plugin that helps you build a home page",
5
5
  "backstage": {
6
6
  "role": "frontend-plugin",
@@ -41,10 +41,19 @@
41
41
  },
42
42
  "main": "./dist/index.esm.js",
43
43
  "types": "./dist/index.d.ts",
44
+ "typesVersions": {
45
+ "*": {
46
+ "index": [
47
+ "dist/index.d.ts"
48
+ ],
49
+ "alpha": [
50
+ "dist/alpha.d.ts"
51
+ ]
52
+ }
53
+ },
44
54
  "files": [
45
55
  "dist",
46
- "config.d.ts",
47
- "alpha"
56
+ "config.d.ts"
48
57
  ],
49
58
  "scripts": {
50
59
  "build": "backstage-cli package build",
@@ -56,17 +65,17 @@
56
65
  "test": "backstage-cli package test"
57
66
  },
58
67
  "dependencies": {
59
- "@backstage/catalog-client": "1.8.0-next.1",
60
- "@backstage/catalog-model": "1.7.0",
61
- "@backstage/config": "1.2.0",
62
- "@backstage/core-app-api": "1.15.1",
63
- "@backstage/core-compat-api": "0.3.2-next.1",
64
- "@backstage/core-components": "0.16.0-next.1",
65
- "@backstage/core-plugin-api": "1.10.0",
66
- "@backstage/frontend-plugin-api": "0.9.1-next.1",
67
- "@backstage/plugin-catalog-react": "1.14.1-next.2",
68
- "@backstage/plugin-home-react": "0.1.19-next.1",
69
- "@backstage/theme": "0.6.1-next.0",
68
+ "@backstage/catalog-client": "^1.8.0",
69
+ "@backstage/catalog-model": "^1.7.1",
70
+ "@backstage/config": "^1.3.0",
71
+ "@backstage/core-app-api": "^1.15.2",
72
+ "@backstage/core-compat-api": "^0.3.2",
73
+ "@backstage/core-components": "^0.16.0",
74
+ "@backstage/core-plugin-api": "^1.10.1",
75
+ "@backstage/frontend-plugin-api": "^0.9.1",
76
+ "@backstage/plugin-catalog-react": "^1.14.1",
77
+ "@backstage/plugin-home-react": "^0.1.19",
78
+ "@backstage/theme": "^0.6.1",
70
79
  "@material-ui/core": "^4.12.2",
71
80
  "@material-ui/icons": "^4.9.1",
72
81
  "@material-ui/lab": "4.0.0-alpha.61",
@@ -82,9 +91,9 @@
82
91
  "zod": "^3.22.4"
83
92
  },
84
93
  "devDependencies": {
85
- "@backstage/cli": "0.29.0-next.2",
86
- "@backstage/dev-utils": "1.1.3-next.2",
87
- "@backstage/test-utils": "1.7.1-next.0",
94
+ "@backstage/cli": "^0.29.0",
95
+ "@backstage/dev-utils": "^1.1.3",
96
+ "@backstage/test-utils": "^1.7.1",
88
97
  "@testing-library/dom": "^10.0.0",
89
98
  "@testing-library/jest-dom": "^6.0.0",
90
99
  "@testing-library/react": "^16.0.0",
@@ -1,7 +0,0 @@
1
- {
2
- "name": "@backstage/plugin-home__alpha",
3
- "version": "0.8.1-next.2",
4
- "main": "../dist/alpha.esm.js",
5
- "module": "../dist/alpha.esm.js",
6
- "types": "../dist/alpha.d.ts"
7
- }