@backstage/plugin-user-settings 0.7.6 → 0.7.8-next.0
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 +13 -0
- package/dist/index.d.ts +22 -21
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @backstage/plugin-user-settings
|
|
2
2
|
|
|
3
|
+
## 0.7.8-next.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- @backstage/core-app-api@1.10.0-next.0
|
|
9
|
+
- @backstage/core-plugin-api@1.6.0-next.0
|
|
10
|
+
- @backstage/core-components@0.13.5-next.0
|
|
11
|
+
- @backstage/errors@1.2.1
|
|
12
|
+
- @backstage/theme@0.4.1
|
|
13
|
+
- @backstage/types@1.1.0
|
|
14
|
+
- @backstage/plugin-catalog-react@1.8.3-next.0
|
|
15
|
+
|
|
3
16
|
## 0.7.6
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
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
|
|
5
|
+
import * as React from 'react';
|
|
6
|
+
import React__default, { PropsWithChildren } from 'react';
|
|
6
7
|
import { TabProps } from '@material-ui/core';
|
|
7
8
|
|
|
8
9
|
/**
|
|
@@ -46,27 +47,27 @@ declare const userSettingsPlugin: _backstage_core_plugin_api.BackstagePlugin<{
|
|
|
46
47
|
/** @public */
|
|
47
48
|
declare const UserSettingsPage: (props: {
|
|
48
49
|
providerSettings?: JSX.Element | undefined;
|
|
49
|
-
}) => JSX.Element;
|
|
50
|
+
}) => React.JSX.Element;
|
|
50
51
|
|
|
51
52
|
/** @public */
|
|
52
53
|
declare const Settings: (props: {
|
|
53
54
|
icon?: IconComponent;
|
|
54
|
-
}) => JSX.Element;
|
|
55
|
+
}) => React__default.JSX.Element;
|
|
55
56
|
|
|
56
57
|
/** @public */
|
|
57
58
|
declare const SettingsPage: (props: {
|
|
58
59
|
providerSettings?: JSX.Element;
|
|
59
|
-
}) => JSX.Element;
|
|
60
|
+
}) => React__default.JSX.Element;
|
|
60
61
|
|
|
61
62
|
/** @public */
|
|
62
63
|
declare const UserSettingsAuthProviders: (props: {
|
|
63
64
|
providerSettings?: JSX.Element;
|
|
64
|
-
}) => JSX.Element;
|
|
65
|
+
}) => React__default.JSX.Element;
|
|
65
66
|
|
|
66
67
|
/** @public */
|
|
67
68
|
declare const DefaultProviderSettings: (props: {
|
|
68
69
|
configuredProviders: string[];
|
|
69
|
-
}) => JSX.Element;
|
|
70
|
+
}) => React__default.JSX.Element;
|
|
70
71
|
|
|
71
72
|
/** @public */
|
|
72
73
|
declare const ProviderSettingsItem: (props: {
|
|
@@ -74,36 +75,36 @@ declare const ProviderSettingsItem: (props: {
|
|
|
74
75
|
description: string;
|
|
75
76
|
icon: IconComponent;
|
|
76
77
|
apiRef: ApiRef<ProfileInfoApi & SessionApi>;
|
|
77
|
-
}) => JSX.Element;
|
|
78
|
+
}) => React__default.JSX.Element;
|
|
78
79
|
|
|
79
80
|
/** @public */
|
|
80
|
-
declare const UserSettingsGeneral: () => JSX.Element;
|
|
81
|
+
declare const UserSettingsGeneral: () => React__default.JSX.Element;
|
|
81
82
|
|
|
82
83
|
/** @public */
|
|
83
|
-
declare const UserSettingsProfileCard: () => JSX.Element;
|
|
84
|
+
declare const UserSettingsProfileCard: () => React__default.JSX.Element;
|
|
84
85
|
|
|
85
86
|
/** @public */
|
|
86
|
-
declare const UserSettingsMenu: () => JSX.Element;
|
|
87
|
+
declare const UserSettingsMenu: () => React__default.JSX.Element;
|
|
87
88
|
|
|
88
89
|
/** @public */
|
|
89
90
|
declare const UserSettingsSignInAvatar: (props: {
|
|
90
91
|
size?: number;
|
|
91
|
-
}) => JSX.Element;
|
|
92
|
+
}) => React__default.JSX.Element;
|
|
92
93
|
|
|
93
94
|
/** @public */
|
|
94
|
-
declare const UserSettingsAppearanceCard: () => JSX.Element;
|
|
95
|
+
declare const UserSettingsAppearanceCard: () => React__default.JSX.Element;
|
|
95
96
|
|
|
96
97
|
/** @public */
|
|
97
|
-
declare const UserSettingsThemeToggle: () => JSX.Element;
|
|
98
|
+
declare const UserSettingsThemeToggle: () => React__default.JSX.Element;
|
|
98
99
|
|
|
99
100
|
/** @public */
|
|
100
|
-
declare const UserSettingsPinToggle: () => JSX.Element;
|
|
101
|
+
declare const UserSettingsPinToggle: () => React__default.JSX.Element;
|
|
101
102
|
|
|
102
103
|
/** @public */
|
|
103
|
-
declare const UserSettingsIdentityCard: () => JSX.Element;
|
|
104
|
+
declare const UserSettingsIdentityCard: () => React__default.JSX.Element;
|
|
104
105
|
|
|
105
106
|
/** @public */
|
|
106
|
-
declare const UserSettingsFeatureFlags: () => JSX.Element;
|
|
107
|
+
declare const UserSettingsFeatureFlags: () => React__default.JSX.Element;
|
|
107
108
|
|
|
108
109
|
/** @public */
|
|
109
110
|
declare const useUserProfile: () => {
|
|
@@ -136,28 +137,28 @@ type UserSettingsTabProps = PropsWithChildren<{
|
|
|
136
137
|
* @public
|
|
137
138
|
* @deprecated Use SettingsLayout.Route instead
|
|
138
139
|
*/
|
|
139
|
-
declare const UserSettingsTab: (props: UserSettingsTabProps) => JSX.Element;
|
|
140
|
+
declare const UserSettingsTab: (props: UserSettingsTabProps) => React__default.JSX.Element;
|
|
140
141
|
|
|
141
142
|
/** @public */
|
|
142
143
|
type SettingsLayoutRouteProps = {
|
|
143
144
|
path: string;
|
|
144
145
|
title: string;
|
|
145
146
|
children: JSX.Element;
|
|
146
|
-
tabProps?: TabProps<
|
|
147
|
-
component?:
|
|
147
|
+
tabProps?: TabProps<React__default.ElementType, {
|
|
148
|
+
component?: React__default.ElementType;
|
|
148
149
|
}>;
|
|
149
150
|
};
|
|
150
151
|
/** @public */
|
|
151
152
|
type SettingsLayoutProps = {
|
|
152
153
|
title?: string;
|
|
153
154
|
subtitle?: string;
|
|
154
|
-
children?:
|
|
155
|
+
children?: React__default.ReactNode;
|
|
155
156
|
};
|
|
156
157
|
/**
|
|
157
158
|
* @public
|
|
158
159
|
*/
|
|
159
160
|
declare const SettingsLayout: {
|
|
160
|
-
(props: SettingsLayoutProps): JSX.Element;
|
|
161
|
+
(props: SettingsLayoutProps): React__default.JSX.Element;
|
|
161
162
|
Route: (props: SettingsLayoutRouteProps) => null;
|
|
162
163
|
};
|
|
163
164
|
|
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.
|
|
4
|
+
"version": "0.7.8-next.0",
|
|
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.10.0-next.0",
|
|
36
|
+
"@backstage/core-components": "^0.13.5-next.0",
|
|
37
|
+
"@backstage/core-plugin-api": "^1.6.0-next.0",
|
|
38
38
|
"@backstage/errors": "^1.2.1",
|
|
39
|
-
"@backstage/plugin-catalog-react": "^1.8.
|
|
39
|
+
"@backstage/plugin-catalog-react": "^1.8.3-next.0",
|
|
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.
|
|
56
|
-
"@backstage/dev-utils": "^1.0.
|
|
57
|
-
"@backstage/test-utils": "^1.4.
|
|
55
|
+
"@backstage/cli": "^0.22.12-next.0",
|
|
56
|
+
"@backstage/dev-utils": "^1.0.20-next.0",
|
|
57
|
+
"@backstage/test-utils": "^1.4.3-next.0",
|
|
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",
|