@backstage/plugin-user-settings 0.8.13 → 0.8.14-next.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,12 +1,39 @@
1
1
  # @backstage/plugin-user-settings
2
2
 
3
- ## 0.8.13
3
+ ## 0.8.14-next.1
4
4
 
5
5
  ### Patch Changes
6
6
 
7
+ - e969dc7: Move `@types/react` to a peer dependency.
7
8
  - Updated dependencies
8
- - @backstage/plugin-catalog-react@1.13.1
9
- - @backstage/core-compat-api@0.3.0
9
+ - @backstage/core-components@0.15.1-next.1
10
+ - @backstage/plugin-signals-react@0.0.6-next.1
11
+ - @backstage/frontend-plugin-api@0.9.0-next.1
12
+ - @backstage/core-compat-api@0.3.1-next.1
13
+ - @backstage/core-plugin-api@1.10.0-next.1
14
+ - @backstage/core-app-api@1.15.1-next.1
15
+ - @backstage/plugin-catalog-react@1.14.0-next.1
16
+ - @backstage/theme@0.5.8-next.0
17
+ - @backstage/errors@1.2.4
18
+ - @backstage/types@1.1.1
19
+ - @backstage/plugin-user-settings-common@0.0.1
20
+
21
+ ## 0.8.13-next.0
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies
26
+ - @backstage/frontend-plugin-api@0.9.0-next.0
27
+ - @backstage/core-compat-api@0.3.1-next.0
28
+ - @backstage/core-components@0.15.1-next.0
29
+ - @backstage/core-plugin-api@1.10.0-next.0
30
+ - @backstage/plugin-catalog-react@1.13.1-next.0
31
+ - @backstage/core-app-api@1.15.1-next.0
32
+ - @backstage/errors@1.2.4
33
+ - @backstage/theme@0.5.7
34
+ - @backstage/types@1.1.1
35
+ - @backstage/plugin-signals-react@0.0.6-next.0
36
+ - @backstage/plugin-user-settings-common@0.0.1
10
37
 
11
38
  ## 0.8.12
12
39
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-user-settings__alpha",
3
- "version": "0.8.13",
3
+ "version": "0.8.14-next.1",
4
4
  "main": "../dist/alpha.esm.js",
5
5
  "module": "../dist/alpha.esm.js",
6
6
  "types": "../dist/alpha.d.ts"
package/dist/alpha.d.ts CHANGED
@@ -20,7 +20,6 @@ declare const userSettingsTranslationRef: _backstage_core_plugin_api_alpha.Trans
20
20
  /** @alpha */
21
21
  declare const settingsNavItem: _backstage_frontend_plugin_api.ExtensionDefinition<{
22
22
  kind: "nav-item";
23
- namespace: undefined;
24
23
  name: undefined;
25
24
  config: {};
26
25
  configInput: {};
@@ -30,6 +29,11 @@ declare const settingsNavItem: _backstage_frontend_plugin_api.ExtensionDefinitio
30
29
  routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
31
30
  }, "core.nav-item.target", {}>;
32
31
  inputs: {};
32
+ params: {
33
+ title: string;
34
+ icon: _backstage_core_plugin_api.IconComponent;
35
+ routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
36
+ };
33
37
  }>;
34
38
  /**
35
39
  * @alpha
@@ -39,7 +43,6 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
39
43
  }, {}, {
40
44
  "nav-item:user-settings": _backstage_frontend_plugin_api.ExtensionDefinition<{
41
45
  kind: "nav-item";
42
- namespace: undefined;
43
46
  name: undefined;
44
47
  config: {};
45
48
  configInput: {};
@@ -49,6 +52,11 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
49
52
  routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
50
53
  }, "core.nav-item.target", {}>;
51
54
  inputs: {};
55
+ params: {
56
+ title: string;
57
+ icon: _backstage_core_plugin_api.IconComponent;
58
+ routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
59
+ };
52
60
  }>;
53
61
  "page:user-settings": _backstage_frontend_plugin_api.ExtensionDefinition<{
54
62
  config: {
@@ -67,8 +75,12 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
67
75
  }>;
68
76
  };
69
77
  kind: "page";
70
- namespace: undefined;
71
78
  name: undefined;
79
+ params: {
80
+ defaultPath: string;
81
+ loader: () => Promise<JSX.Element>;
82
+ routeRef?: _backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams> | undefined;
83
+ };
72
84
  }>;
73
85
  }>;
74
86
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-user-settings",
3
- "version": "0.8.13",
3
+ "version": "0.8.14-next.1",
4
4
  "description": "A Backstage plugin that provides a settings page",
5
5
  "backstage": {
6
6
  "role": "frontend-plugin",
@@ -32,6 +32,7 @@
32
32
  "default": "./dist/index.esm.js"
33
33
  },
34
34
  "./alpha": {
35
+ "backstage": "@backstage/FrontendPlugin",
35
36
  "import": "./dist/alpha.esm.js",
36
37
  "types": "./dist/alpha.d.ts",
37
38
  "default": "./dist/alpha.esm.js"
@@ -54,40 +55,49 @@
54
55
  "test": "backstage-cli package test"
55
56
  },
56
57
  "dependencies": {
57
- "@backstage/core-app-api": "^1.15.0",
58
- "@backstage/core-compat-api": "^0.3.0",
59
- "@backstage/core-components": "^0.15.0",
60
- "@backstage/core-plugin-api": "^1.9.4",
61
- "@backstage/errors": "^1.2.4",
62
- "@backstage/frontend-plugin-api": "^0.8.0",
63
- "@backstage/plugin-catalog-react": "^1.13.1",
64
- "@backstage/plugin-signals-react": "^0.0.5",
65
- "@backstage/plugin-user-settings-common": "^0.0.1",
66
- "@backstage/theme": "^0.5.7",
67
- "@backstage/types": "^1.1.1",
58
+ "@backstage/core-app-api": "1.15.1-next.1",
59
+ "@backstage/core-compat-api": "0.3.1-next.1",
60
+ "@backstage/core-components": "0.15.1-next.1",
61
+ "@backstage/core-plugin-api": "1.10.0-next.1",
62
+ "@backstage/errors": "1.2.4",
63
+ "@backstage/frontend-plugin-api": "0.9.0-next.1",
64
+ "@backstage/plugin-catalog-react": "1.14.0-next.1",
65
+ "@backstage/plugin-signals-react": "0.0.6-next.1",
66
+ "@backstage/plugin-user-settings-common": "0.0.1",
67
+ "@backstage/theme": "0.5.8-next.0",
68
+ "@backstage/types": "1.1.1",
68
69
  "@material-ui/core": "^4.12.2",
69
70
  "@material-ui/icons": "^4.9.1",
70
71
  "@material-ui/lab": "4.0.0-alpha.61",
71
- "@types/react": "^16.13.1 || ^17.0.0 || ^18.0.0",
72
72
  "react-use": "^17.2.4",
73
73
  "zen-observable": "^0.10.0"
74
74
  },
75
75
  "devDependencies": {
76
- "@backstage/cli": "^0.27.1",
77
- "@backstage/dev-utils": "^1.1.1",
78
- "@backstage/plugin-catalog": "^1.23.1",
79
- "@backstage/test-utils": "^1.6.0",
76
+ "@backstage/cli": "0.28.0-next.1",
77
+ "@backstage/dev-utils": "1.1.2-next.1",
78
+ "@backstage/plugin-catalog": "1.24.0-next.1",
79
+ "@backstage/test-utils": "1.6.1-next.1",
80
80
  "@testing-library/dom": "^10.0.0",
81
81
  "@testing-library/jest-dom": "^6.0.0",
82
82
  "@testing-library/react": "^16.0.0",
83
83
  "@testing-library/user-event": "^14.0.0",
84
- "msw": "^1.0.0"
84
+ "@types/react": "^18.0.0",
85
+ "msw": "^1.0.0",
86
+ "react": "^18.0.2",
87
+ "react-dom": "^18.0.2",
88
+ "react-router-dom": "^6.3.0"
85
89
  },
86
90
  "peerDependencies": {
91
+ "@types/react": "^16.13.1 || ^17.0.0 || ^18.0.0",
87
92
  "react": "^16.13.1 || ^17.0.0 || ^18.0.0",
88
93
  "react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0",
89
94
  "react-router-dom": "6.0.0-beta.0 || ^6.3.0"
90
95
  },
96
+ "peerDependenciesMeta": {
97
+ "@types/react": {
98
+ "optional": true
99
+ }
100
+ },
91
101
  "configSchema": {
92
102
  "$schema": "https://backstage.io/schema/config-v1",
93
103
  "title": "@backstage/user-settings",