@backstage/plugin-user-settings 0.7.8-next.0 → 0.7.8
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 +18 -5
- package/dist/index.d.ts +21 -22
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,17 +1,30 @@
|
|
|
1
1
|
# @backstage/plugin-user-settings
|
|
2
2
|
|
|
3
|
-
## 0.7.8
|
|
3
|
+
## 0.7.8
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
7
|
- Updated dependencies
|
|
8
|
-
- @backstage/
|
|
9
|
-
- @backstage/core-
|
|
10
|
-
- @backstage/core-components@0.13.
|
|
8
|
+
- @backstage/plugin-catalog-react@1.8.3
|
|
9
|
+
- @backstage/core-app-api@1.9.1
|
|
10
|
+
- @backstage/core-components@0.13.4
|
|
11
|
+
- @backstage/core-plugin-api@1.5.3
|
|
12
|
+
- @backstage/errors@1.2.1
|
|
13
|
+
- @backstage/theme@0.4.1
|
|
14
|
+
- @backstage/types@1.1.0
|
|
15
|
+
|
|
16
|
+
## 0.7.7
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
- @backstage/plugin-catalog-react@1.8.2
|
|
22
|
+
- @backstage/core-app-api@1.9.1
|
|
23
|
+
- @backstage/core-components@0.13.4
|
|
24
|
+
- @backstage/core-plugin-api@1.5.3
|
|
11
25
|
- @backstage/errors@1.2.1
|
|
12
26
|
- @backstage/theme@0.4.1
|
|
13
27
|
- @backstage/types@1.1.0
|
|
14
|
-
- @backstage/plugin-catalog-react@1.8.3-next.0
|
|
15
28
|
|
|
16
29
|
## 0.7.6
|
|
17
30
|
|
package/dist/index.d.ts
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
|
|
3
3
|
import { StorageApi, FetchApi, DiscoveryApi, ErrorApi, IdentityApi, StorageValueSnapshot, IconComponent, ApiRef, ProfileInfoApi, SessionApi, ProfileInfo } from '@backstage/core-plugin-api';
|
|
4
4
|
import { JsonValue, Observable } from '@backstage/types';
|
|
5
|
-
import
|
|
6
|
-
import React__default, { PropsWithChildren } from 'react';
|
|
5
|
+
import React, { PropsWithChildren } from 'react';
|
|
7
6
|
import { TabProps } from '@material-ui/core';
|
|
8
7
|
|
|
9
8
|
/**
|
|
@@ -47,27 +46,27 @@ declare const userSettingsPlugin: _backstage_core_plugin_api.BackstagePlugin<{
|
|
|
47
46
|
/** @public */
|
|
48
47
|
declare const UserSettingsPage: (props: {
|
|
49
48
|
providerSettings?: JSX.Element | undefined;
|
|
50
|
-
}) =>
|
|
49
|
+
}) => JSX.Element;
|
|
51
50
|
|
|
52
51
|
/** @public */
|
|
53
52
|
declare const Settings: (props: {
|
|
54
53
|
icon?: IconComponent;
|
|
55
|
-
}) =>
|
|
54
|
+
}) => JSX.Element;
|
|
56
55
|
|
|
57
56
|
/** @public */
|
|
58
57
|
declare const SettingsPage: (props: {
|
|
59
58
|
providerSettings?: JSX.Element;
|
|
60
|
-
}) =>
|
|
59
|
+
}) => JSX.Element;
|
|
61
60
|
|
|
62
61
|
/** @public */
|
|
63
62
|
declare const UserSettingsAuthProviders: (props: {
|
|
64
63
|
providerSettings?: JSX.Element;
|
|
65
|
-
}) =>
|
|
64
|
+
}) => JSX.Element;
|
|
66
65
|
|
|
67
66
|
/** @public */
|
|
68
67
|
declare const DefaultProviderSettings: (props: {
|
|
69
68
|
configuredProviders: string[];
|
|
70
|
-
}) =>
|
|
69
|
+
}) => JSX.Element;
|
|
71
70
|
|
|
72
71
|
/** @public */
|
|
73
72
|
declare const ProviderSettingsItem: (props: {
|
|
@@ -75,36 +74,36 @@ declare const ProviderSettingsItem: (props: {
|
|
|
75
74
|
description: string;
|
|
76
75
|
icon: IconComponent;
|
|
77
76
|
apiRef: ApiRef<ProfileInfoApi & SessionApi>;
|
|
78
|
-
}) =>
|
|
77
|
+
}) => JSX.Element;
|
|
79
78
|
|
|
80
79
|
/** @public */
|
|
81
|
-
declare const UserSettingsGeneral: () =>
|
|
80
|
+
declare const UserSettingsGeneral: () => JSX.Element;
|
|
82
81
|
|
|
83
82
|
/** @public */
|
|
84
|
-
declare const UserSettingsProfileCard: () =>
|
|
83
|
+
declare const UserSettingsProfileCard: () => JSX.Element;
|
|
85
84
|
|
|
86
85
|
/** @public */
|
|
87
|
-
declare const UserSettingsMenu: () =>
|
|
86
|
+
declare const UserSettingsMenu: () => JSX.Element;
|
|
88
87
|
|
|
89
88
|
/** @public */
|
|
90
89
|
declare const UserSettingsSignInAvatar: (props: {
|
|
91
90
|
size?: number;
|
|
92
|
-
}) =>
|
|
91
|
+
}) => JSX.Element;
|
|
93
92
|
|
|
94
93
|
/** @public */
|
|
95
|
-
declare const UserSettingsAppearanceCard: () =>
|
|
94
|
+
declare const UserSettingsAppearanceCard: () => JSX.Element;
|
|
96
95
|
|
|
97
96
|
/** @public */
|
|
98
|
-
declare const UserSettingsThemeToggle: () =>
|
|
97
|
+
declare const UserSettingsThemeToggle: () => JSX.Element;
|
|
99
98
|
|
|
100
99
|
/** @public */
|
|
101
|
-
declare const UserSettingsPinToggle: () =>
|
|
100
|
+
declare const UserSettingsPinToggle: () => JSX.Element;
|
|
102
101
|
|
|
103
102
|
/** @public */
|
|
104
|
-
declare const UserSettingsIdentityCard: () =>
|
|
103
|
+
declare const UserSettingsIdentityCard: () => JSX.Element;
|
|
105
104
|
|
|
106
105
|
/** @public */
|
|
107
|
-
declare const UserSettingsFeatureFlags: () =>
|
|
106
|
+
declare const UserSettingsFeatureFlags: () => JSX.Element;
|
|
108
107
|
|
|
109
108
|
/** @public */
|
|
110
109
|
declare const useUserProfile: () => {
|
|
@@ -137,28 +136,28 @@ type UserSettingsTabProps = PropsWithChildren<{
|
|
|
137
136
|
* @public
|
|
138
137
|
* @deprecated Use SettingsLayout.Route instead
|
|
139
138
|
*/
|
|
140
|
-
declare const UserSettingsTab: (props: UserSettingsTabProps) =>
|
|
139
|
+
declare const UserSettingsTab: (props: UserSettingsTabProps) => JSX.Element;
|
|
141
140
|
|
|
142
141
|
/** @public */
|
|
143
142
|
type SettingsLayoutRouteProps = {
|
|
144
143
|
path: string;
|
|
145
144
|
title: string;
|
|
146
145
|
children: JSX.Element;
|
|
147
|
-
tabProps?: TabProps<
|
|
148
|
-
component?:
|
|
146
|
+
tabProps?: TabProps<React.ElementType, {
|
|
147
|
+
component?: React.ElementType;
|
|
149
148
|
}>;
|
|
150
149
|
};
|
|
151
150
|
/** @public */
|
|
152
151
|
type SettingsLayoutProps = {
|
|
153
152
|
title?: string;
|
|
154
153
|
subtitle?: string;
|
|
155
|
-
children?:
|
|
154
|
+
children?: React.ReactNode;
|
|
156
155
|
};
|
|
157
156
|
/**
|
|
158
157
|
* @public
|
|
159
158
|
*/
|
|
160
159
|
declare const SettingsLayout: {
|
|
161
|
-
(props: SettingsLayoutProps):
|
|
160
|
+
(props: SettingsLayoutProps): JSX.Element;
|
|
162
161
|
Route: (props: SettingsLayoutRouteProps) => null;
|
|
163
162
|
};
|
|
164
163
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-user-settings",
|
|
3
3
|
"description": "A Backstage plugin that provides a settings page",
|
|
4
|
-
"version": "0.7.8
|
|
4
|
+
"version": "0.7.8",
|
|
5
5
|
"main": "dist/index.esm.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
"clean": "backstage-cli package clean"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@backstage/core-app-api": "^1.
|
|
36
|
-
"@backstage/core-components": "^0.13.
|
|
37
|
-
"@backstage/core-plugin-api": "^1.
|
|
35
|
+
"@backstage/core-app-api": "^1.9.1",
|
|
36
|
+
"@backstage/core-components": "^0.13.4",
|
|
37
|
+
"@backstage/core-plugin-api": "^1.5.3",
|
|
38
38
|
"@backstage/errors": "^1.2.1",
|
|
39
|
-
"@backstage/plugin-catalog-react": "^1.8.3
|
|
39
|
+
"@backstage/plugin-catalog-react": "^1.8.3",
|
|
40
40
|
"@backstage/theme": "^0.4.1",
|
|
41
41
|
"@backstage/types": "^1.1.0",
|
|
42
42
|
"@material-ui/core": "^4.12.2",
|
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
"react-router-dom": "6.0.0-beta.0 || ^6.3.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@backstage/cli": "^0.22.12
|
|
56
|
-
"@backstage/dev-utils": "^1.0.20
|
|
57
|
-
"@backstage/test-utils": "^1.4.
|
|
55
|
+
"@backstage/cli": "^0.22.12",
|
|
56
|
+
"@backstage/dev-utils": "^1.0.20",
|
|
57
|
+
"@backstage/test-utils": "^1.4.2",
|
|
58
58
|
"@testing-library/dom": "^8.0.0",
|
|
59
59
|
"@testing-library/jest-dom": "^5.10.1",
|
|
60
60
|
"@testing-library/react": "^12.1.3",
|