@backstage/plugin-user-settings 0.8.23-next.0 → 0.8.23-next.2
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 +37 -0
- package/dist/alpha.d.ts +2 -0
- package/dist/components/General/UserSettingsAppearanceCard.esm.js +4 -1
- package/dist/components/General/UserSettingsAppearanceCard.esm.js.map +1 -1
- package/dist/components/General/UserSettingsProfileCard.esm.js +4 -1
- package/dist/components/General/UserSettingsProfileCard.esm.js.map +1 -1
- package/dist/package.json.esm.js +1 -1
- package/dist/translation.esm.js +7 -1
- package/dist/translation.esm.js.map +1 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,42 @@
|
|
|
1
1
|
# @backstage/plugin-user-settings
|
|
2
2
|
|
|
3
|
+
## 0.8.23-next.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- @backstage/core-components@0.17.3-next.0
|
|
9
|
+
- @backstage/plugin-catalog-react@1.19.0-next.2
|
|
10
|
+
- @backstage/frontend-plugin-api@0.10.3-next.1
|
|
11
|
+
- @backstage/catalog-model@1.7.4
|
|
12
|
+
- @backstage/core-app-api@1.17.0
|
|
13
|
+
- @backstage/core-compat-api@0.4.3-next.2
|
|
14
|
+
- @backstage/core-plugin-api@1.10.7
|
|
15
|
+
- @backstage/errors@1.2.7
|
|
16
|
+
- @backstage/theme@0.6.6
|
|
17
|
+
- @backstage/types@1.2.1
|
|
18
|
+
- @backstage/plugin-signals-react@0.0.13
|
|
19
|
+
- @backstage/plugin-user-settings-common@0.0.1
|
|
20
|
+
|
|
21
|
+
## 0.8.23-next.1
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- ab6d3dd: Add some translation to user-setting plugin
|
|
26
|
+
- Updated dependencies
|
|
27
|
+
- @backstage/plugin-catalog-react@1.18.1-next.1
|
|
28
|
+
- @backstage/catalog-model@1.7.4
|
|
29
|
+
- @backstage/core-app-api@1.17.0
|
|
30
|
+
- @backstage/core-compat-api@0.4.3-next.1
|
|
31
|
+
- @backstage/core-components@0.17.2
|
|
32
|
+
- @backstage/core-plugin-api@1.10.7
|
|
33
|
+
- @backstage/errors@1.2.7
|
|
34
|
+
- @backstage/frontend-plugin-api@0.10.3-next.0
|
|
35
|
+
- @backstage/theme@0.6.6
|
|
36
|
+
- @backstage/types@1.2.1
|
|
37
|
+
- @backstage/plugin-signals-react@0.0.13
|
|
38
|
+
- @backstage/plugin-user-settings-common@0.0.1
|
|
39
|
+
|
|
3
40
|
## 0.8.23-next.0
|
|
4
41
|
|
|
5
42
|
### Patch Changes
|
package/dist/alpha.d.ts
CHANGED
|
@@ -53,6 +53,8 @@ declare const userSettingsTranslationRef: _backstage_core_plugin_api_alpha.Trans
|
|
|
53
53
|
readonly "defaultSettingsPage.tabsTitle.general": "General";
|
|
54
54
|
readonly "settingsLayout.title": "Settings";
|
|
55
55
|
readonly sidebarTitle: "Settings";
|
|
56
|
+
readonly "profileCard.title": "Profile";
|
|
57
|
+
readonly "appearanceCard.title": "Appearance";
|
|
56
58
|
}>;
|
|
57
59
|
|
|
58
60
|
/** @alpha */
|
|
@@ -4,10 +4,13 @@ import List from '@material-ui/core/List';
|
|
|
4
4
|
import { UserSettingsPinToggle } from './UserSettingsPinToggle.esm.js';
|
|
5
5
|
import { UserSettingsThemeToggle } from './UserSettingsThemeToggle.esm.js';
|
|
6
6
|
import { UserSettingsLanguageToggle } from './UserSettingsLanguageToggle.esm.js';
|
|
7
|
+
import { useTranslationRef } from '@backstage/frontend-plugin-api';
|
|
8
|
+
import { userSettingsTranslationRef } from '../../translation.esm.js';
|
|
7
9
|
|
|
8
10
|
const UserSettingsAppearanceCard = () => {
|
|
9
11
|
const { isMobile } = useSidebarPinState();
|
|
10
|
-
|
|
12
|
+
const { t } = useTranslationRef(userSettingsTranslationRef);
|
|
13
|
+
return /* @__PURE__ */ jsx(InfoCard, { title: t("appearanceCard.title"), variant: "gridItem", children: /* @__PURE__ */ jsxs(List, { dense: true, children: [
|
|
11
14
|
/* @__PURE__ */ jsx(UserSettingsThemeToggle, {}),
|
|
12
15
|
/* @__PURE__ */ jsx(UserSettingsLanguageToggle, {}),
|
|
13
16
|
!isMobile && /* @__PURE__ */ jsx(UserSettingsPinToggle, {})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserSettingsAppearanceCard.esm.js","sources":["../../../src/components/General/UserSettingsAppearanceCard.tsx"],"sourcesContent":["/*\n * Copyright 2021 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 { InfoCard, useSidebarPinState } from '@backstage/core-components';\nimport List from '@material-ui/core/List';\nimport { UserSettingsPinToggle } from './UserSettingsPinToggle';\nimport { UserSettingsThemeToggle } from './UserSettingsThemeToggle';\nimport { UserSettingsLanguageToggle } from './UserSettingsLanguageToggle';\n\n/** @public */\nexport const UserSettingsAppearanceCard = () => {\n const { isMobile } = useSidebarPinState();\n\n return (\n <InfoCard title
|
|
1
|
+
{"version":3,"file":"UserSettingsAppearanceCard.esm.js","sources":["../../../src/components/General/UserSettingsAppearanceCard.tsx"],"sourcesContent":["/*\n * Copyright 2021 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 { InfoCard, useSidebarPinState } from '@backstage/core-components';\nimport List from '@material-ui/core/List';\nimport { UserSettingsPinToggle } from './UserSettingsPinToggle';\nimport { UserSettingsThemeToggle } from './UserSettingsThemeToggle';\nimport { UserSettingsLanguageToggle } from './UserSettingsLanguageToggle';\nimport { useTranslationRef } from '@backstage/frontend-plugin-api';\nimport { userSettingsTranslationRef } from '../../translation';\n\n/** @public */\nexport const UserSettingsAppearanceCard = () => {\n const { isMobile } = useSidebarPinState();\n const { t } = useTranslationRef(userSettingsTranslationRef);\n\n return (\n <InfoCard title={t('appearanceCard.title')} variant=\"gridItem\">\n <List dense>\n <UserSettingsThemeToggle />\n <UserSettingsLanguageToggle />\n {!isMobile && <UserSettingsPinToggle />}\n </List>\n </InfoCard>\n );\n};\n"],"names":[],"mappings":";;;;;;;;;AAyBO,MAAM,6BAA6B,MAAM;AAC9C,EAAM,MAAA,EAAE,QAAS,EAAA,GAAI,kBAAmB,EAAA;AACxC,EAAA,MAAM,EAAE,CAAA,EAAM,GAAA,iBAAA,CAAkB,0BAA0B,CAAA;AAE1D,EACE,uBAAA,GAAA,CAAC,QAAS,EAAA,EAAA,KAAA,EAAO,CAAE,CAAA,sBAAsB,CAAG,EAAA,OAAA,EAAQ,UAClD,EAAA,QAAA,kBAAA,IAAA,CAAC,IAAK,EAAA,EAAA,KAAA,EAAK,IACT,EAAA,QAAA,EAAA;AAAA,oBAAA,GAAA,CAAC,uBAAwB,EAAA,EAAA,CAAA;AAAA,wBACxB,0BAA2B,EAAA,EAAA,CAAA;AAAA,IAC3B,CAAC,QAAY,oBAAA,GAAA,CAAC,qBAAsB,EAAA,EAAA;AAAA,GAAA,EACvC,CACF,EAAA,CAAA;AAEJ;;;;"}
|
|
@@ -5,10 +5,13 @@ import { UserSettingsSignInAvatar } from './UserSettingsSignInAvatar.esm.js';
|
|
|
5
5
|
import { UserSettingsMenu } from './UserSettingsMenu.esm.js';
|
|
6
6
|
import { useUserProfile } from '../useUserProfileInfo.esm.js';
|
|
7
7
|
import { InfoCard } from '@backstage/core-components';
|
|
8
|
+
import { useTranslationRef } from '@backstage/frontend-plugin-api';
|
|
9
|
+
import { userSettingsTranslationRef } from '../../translation.esm.js';
|
|
8
10
|
|
|
9
11
|
const UserSettingsProfileCard = () => {
|
|
10
12
|
const { profile, displayName } = useUserProfile();
|
|
11
|
-
|
|
13
|
+
const { t } = useTranslationRef(userSettingsTranslationRef);
|
|
14
|
+
return /* @__PURE__ */ jsx(InfoCard, { title: t("profileCard.title"), variant: "gridItem", children: /* @__PURE__ */ jsxs(Grid, { container: true, spacing: 6, children: [
|
|
12
15
|
/* @__PURE__ */ jsx(Grid, { item: true, children: /* @__PURE__ */ jsx(UserSettingsSignInAvatar, { size: 96 }) }),
|
|
13
16
|
/* @__PURE__ */ jsxs(Grid, { item: true, xs: 12, sm: true, container: true, children: [
|
|
14
17
|
/* @__PURE__ */ jsx(Grid, { item: true, xs: true, container: true, direction: "column", spacing: 2, children: /* @__PURE__ */ jsxs(Grid, { item: true, xs: true, children: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserSettingsProfileCard.esm.js","sources":["../../../src/components/General/UserSettingsProfileCard.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 Grid from '@material-ui/core/Grid';\nimport Typography from '@material-ui/core/Typography';\nimport { UserSettingsSignInAvatar } from './UserSettingsSignInAvatar';\nimport { UserSettingsMenu } from './UserSettingsMenu';\nimport { useUserProfile } from '../useUserProfileInfo';\nimport { InfoCard } from '@backstage/core-components';\n\n/** @public */\nexport const UserSettingsProfileCard = () => {\n const { profile, displayName } = useUserProfile();\n\n return (\n <InfoCard title
|
|
1
|
+
{"version":3,"file":"UserSettingsProfileCard.esm.js","sources":["../../../src/components/General/UserSettingsProfileCard.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 Grid from '@material-ui/core/Grid';\nimport Typography from '@material-ui/core/Typography';\nimport { UserSettingsSignInAvatar } from './UserSettingsSignInAvatar';\nimport { UserSettingsMenu } from './UserSettingsMenu';\nimport { useUserProfile } from '../useUserProfileInfo';\nimport { InfoCard } from '@backstage/core-components';\nimport { useTranslationRef } from '@backstage/frontend-plugin-api';\nimport { userSettingsTranslationRef } from '../../translation';\n\n/** @public */\nexport const UserSettingsProfileCard = () => {\n const { profile, displayName } = useUserProfile();\n const { t } = useTranslationRef(userSettingsTranslationRef);\n\n return (\n <InfoCard title={t('profileCard.title')} variant=\"gridItem\">\n <Grid container spacing={6}>\n <Grid item>\n <UserSettingsSignInAvatar size={96} />\n </Grid>\n <Grid item xs={12} sm container>\n <Grid item xs container direction=\"column\" spacing={2}>\n <Grid item xs>\n <Typography variant=\"subtitle1\" gutterBottom>\n {displayName}\n </Typography>\n {profile.email && (\n <Typography variant=\"body2\" color=\"textSecondary\">\n {profile.email}\n </Typography>\n )}\n </Grid>\n </Grid>\n <Grid item>\n <UserSettingsMenu />\n </Grid>\n </Grid>\n </Grid>\n </InfoCard>\n );\n};\n"],"names":[],"mappings":";;;;;;;;;;AA0BO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AAC,oBAAiB,CACpB,EAAA;AAAA,KACF,EAAA;AAAA,GAAA,EACF,CACF,EAAA,CAAA;AAEJ;;;;"}
|
package/dist/package.json.esm.js
CHANGED
package/dist/translation.esm.js
CHANGED
|
@@ -96,7 +96,13 @@ const userSettingsTranslationRef = createTranslationRef({
|
|
|
96
96
|
settingsLayout: {
|
|
97
97
|
title: "Settings"
|
|
98
98
|
},
|
|
99
|
-
sidebarTitle: "Settings"
|
|
99
|
+
sidebarTitle: "Settings",
|
|
100
|
+
profileCard: {
|
|
101
|
+
title: "Profile"
|
|
102
|
+
},
|
|
103
|
+
appearanceCard: {
|
|
104
|
+
title: "Appearance"
|
|
105
|
+
}
|
|
100
106
|
}
|
|
101
107
|
});
|
|
102
108
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translation.esm.js","sources":["../src/translation.ts"],"sourcesContent":["/*\n * Copyright 2023 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 { createTranslationRef } from '@backstage/core-plugin-api/alpha';\n\n/** @alpha */\nexport const userSettingsTranslationRef = createTranslationRef({\n id: 'user-settings',\n messages: {\n languageToggle: {\n title: 'Language',\n description: 'Change the language',\n select: 'Select language {{language}}',\n },\n themeToggle: {\n title: 'Theme',\n description: 'Change the theme mode',\n select: 'Select theme {{theme}}',\n selectAuto: 'Select Auto Theme',\n names: {\n light: 'Light',\n dark: 'Dark',\n auto: 'Auto',\n },\n },\n signOutMenu: {\n title: 'Sign Out',\n moreIconTitle: 'more',\n },\n pinToggle: {\n title: 'Pin Sidebar',\n description: 'Prevent the sidebar from collapsing',\n switchTitles: {\n unpin: 'Unpin Sidebar',\n pin: 'Pin Sidebar',\n },\n ariaLabelTitle: 'Pin Sidebar Switch',\n },\n identityCard: {\n title: 'Backstage Identity',\n noIdentityTitle: 'No Backstage Identity',\n userEntity: 'User Entity',\n ownershipEntities: 'Ownership Entities',\n },\n defaultProviderSettings: {\n description:\n 'Provides authentication towards {{provider}} APIs and identities',\n },\n emptyProviders: {\n title: 'No Authentication Providers',\n description:\n 'You can add Authentication Providers to Backstage which allows you to use these providers to authenticate yourself.',\n action: {\n title:\n 'Open app-config.yaml and make the changes as highlighted below:',\n readMoreButtonTitle: 'Read More',\n },\n },\n providerSettingsItem: {\n title: {\n signIn: 'Sign in to {{title}}',\n signOut: 'Sign out from {{title}}',\n },\n buttonTitle: {\n signIn: 'Sign in',\n signOut: 'Sign out',\n },\n },\n authProviders: {\n title: 'Available Providers',\n },\n defaultSettingsPage: {\n tabsTitle: {\n general: 'General',\n authProviders: 'Authentication Providers',\n featureFlags: 'Feature Flags',\n },\n },\n featureFlags: {\n title: 'Feature Flags',\n description: 'Please refresh the page when toggling feature flags',\n emptyFlags: {\n title: 'No Feature Flags',\n description:\n 'Feature Flags make it possible for plugins to register features in Backstage for users to opt into. You can use this to split out logic in your code for manual A/B testing, etc.',\n action: {\n title:\n 'An example for how to add a feature flag is highlighted below:',\n readMoreButtonTitle: 'Read More',\n },\n },\n filterTitle: 'Filter',\n clearFilter: 'Clear filter',\n flagItem: {\n title: {\n disable: 'Disable',\n enable: 'Enable',\n },\n subtitle: {\n registeredInApplication: 'Registered in the application',\n registeredInPlugin: 'Registered in {{pluginId}} plugin',\n },\n },\n },\n settingsLayout: {\n title: 'Settings',\n },\n sidebarTitle: 'Settings',\n },\n});\n"],"names":[],"mappings":";;AAmBO,MAAM,6BAA6B,oBAAqB,CAAA;AAAA,EAC7D,EAAI,EAAA,eAAA;AAAA,EACJ,QAAU,EAAA;AAAA,IACR,cAAgB,EAAA;AAAA,MACd,KAAO,EAAA,UAAA;AAAA,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A;AAAA,MACb,KAAO,EAAA;AAAA,KACT;AAAA,IACA,mBAAqB,EAAA;AAAA,MACnB,SAAW,EAAA;AAAA,QACT,OAAS,EAAA,SAAA;AAAA,QACT,aAAe,EAAA,0BAAA;AAAA,QACf,YAAc,EAAA;AAAA;AAChB,KACF;AAAA,IACA,YAAc,EAAA;AAAA,MACZ,KAAO,EAAA,eAAA;AAAA,MACP,WAAa,EAAA,qDAAA;AAAA,MACb,UAAY,EAAA;AAAA,QACV,KAAO,EAAA,kBAAA;AAAA,QACP,WACE,EAAA,mLAAA;AAAA,QACF,MAAQ,EAAA;AAAA,UACN,KACE,EAAA,gEAAA;AAAA,UACF,mBAAqB,EAAA;AAAA;AACvB,OACF;AAAA,MACA,WAAa,EAAA,QAAA;AAAA,MACb,WAAa,EAAA,cAAA;AAAA,MACb,QAAU,EAAA;AAAA,QACR,KAAO,EAAA;AAAA,UACL,OAAS,EAAA,SAAA;AAAA,UACT,MAAQ,EAAA;AAAA,SACV;AAAA,QACA,QAAU,EAAA;AAAA,UACR,uBAAyB,EAAA,+BAAA;AAAA,UACzB,kBAAoB,EAAA;AAAA;AACtB;AACF,KACF;AAAA,IACA,cAAgB,EAAA;AAAA,MACd,KAAO,EAAA;AAAA,KACT;AAAA,IACA,YAAc,EAAA;AAAA;
|
|
1
|
+
{"version":3,"file":"translation.esm.js","sources":["../src/translation.ts"],"sourcesContent":["/*\n * Copyright 2023 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 { createTranslationRef } from '@backstage/core-plugin-api/alpha';\n\n/** @alpha */\nexport const userSettingsTranslationRef = createTranslationRef({\n id: 'user-settings',\n messages: {\n languageToggle: {\n title: 'Language',\n description: 'Change the language',\n select: 'Select language {{language}}',\n },\n themeToggle: {\n title: 'Theme',\n description: 'Change the theme mode',\n select: 'Select theme {{theme}}',\n selectAuto: 'Select Auto Theme',\n names: {\n light: 'Light',\n dark: 'Dark',\n auto: 'Auto',\n },\n },\n signOutMenu: {\n title: 'Sign Out',\n moreIconTitle: 'more',\n },\n pinToggle: {\n title: 'Pin Sidebar',\n description: 'Prevent the sidebar from collapsing',\n switchTitles: {\n unpin: 'Unpin Sidebar',\n pin: 'Pin Sidebar',\n },\n ariaLabelTitle: 'Pin Sidebar Switch',\n },\n identityCard: {\n title: 'Backstage Identity',\n noIdentityTitle: 'No Backstage Identity',\n userEntity: 'User Entity',\n ownershipEntities: 'Ownership Entities',\n },\n defaultProviderSettings: {\n description:\n 'Provides authentication towards {{provider}} APIs and identities',\n },\n emptyProviders: {\n title: 'No Authentication Providers',\n description:\n 'You can add Authentication Providers to Backstage which allows you to use these providers to authenticate yourself.',\n action: {\n title:\n 'Open app-config.yaml and make the changes as highlighted below:',\n readMoreButtonTitle: 'Read More',\n },\n },\n providerSettingsItem: {\n title: {\n signIn: 'Sign in to {{title}}',\n signOut: 'Sign out from {{title}}',\n },\n buttonTitle: {\n signIn: 'Sign in',\n signOut: 'Sign out',\n },\n },\n authProviders: {\n title: 'Available Providers',\n },\n defaultSettingsPage: {\n tabsTitle: {\n general: 'General',\n authProviders: 'Authentication Providers',\n featureFlags: 'Feature Flags',\n },\n },\n featureFlags: {\n title: 'Feature Flags',\n description: 'Please refresh the page when toggling feature flags',\n emptyFlags: {\n title: 'No Feature Flags',\n description:\n 'Feature Flags make it possible for plugins to register features in Backstage for users to opt into. You can use this to split out logic in your code for manual A/B testing, etc.',\n action: {\n title:\n 'An example for how to add a feature flag is highlighted below:',\n readMoreButtonTitle: 'Read More',\n },\n },\n filterTitle: 'Filter',\n clearFilter: 'Clear filter',\n flagItem: {\n title: {\n disable: 'Disable',\n enable: 'Enable',\n },\n subtitle: {\n registeredInApplication: 'Registered in the application',\n registeredInPlugin: 'Registered in {{pluginId}} plugin',\n },\n },\n },\n settingsLayout: {\n title: 'Settings',\n },\n sidebarTitle: 'Settings',\n profileCard: {\n title: 'Profile',\n },\n appearanceCard: {\n title: 'Appearance',\n },\n },\n});\n"],"names":[],"mappings":";;AAmBO,MAAM,6BAA6B,oBAAqB,CAAA;AAAA,EAC7D,EAAI,EAAA,eAAA;AAAA,EACJ,QAAU,EAAA;AAAA,IACR,cAAgB,EAAA;AAAA,MACd,KAAO,EAAA,UAAA;AAAA,MACP,WAAa,EAAA,qBAAA;AAAA,MACb,MAAQ,EAAA;AAAA,KACV;AAAA,IACA,WAAa,EAAA;AAAA,MACX,KAAO,EAAA,OAAA;AAAA,MACP,WAAa,EAAA,uBAAA;AAAA,MACb,MAAQ,EAAA,wBAAA;AAAA,MACR,UAAY,EAAA,mBAAA;AAAA,MACZ,KAAO,EAAA;AAAA,QACL,KAAO,EAAA,OAAA;AAAA,QACP,IAAM,EAAA,MAAA;AAAA,QACN,IAAM,EAAA;AAAA;AACR,KACF;AAAA,IACA,WAAa,EAAA;AAAA,MACX,KAAO,EAAA,UAAA;AAAA,MACP,aAAe,EAAA;AAAA,KACjB;AAAA,IACA,SAAW,EAAA;AAAA,MACT,KAAO,EAAA,aAAA;AAAA,MACP,WAAa,EAAA,qCAAA;AAAA,MACb,YAAc,EAAA;AAAA,QACZ,KAAO,EAAA,eAAA;AAAA,QACP,GAAK,EAAA;AAAA,OACP;AAAA,MACA,cAAgB,EAAA;AAAA,KAClB;AAAA,IACA,YAAc,EAAA;AAAA,MACZ,KAAO,EAAA,oBAAA;AAAA,MACP,eAAiB,EAAA,uBAAA;AAAA,MACjB,UAAY,EAAA,aAAA;AAAA,MACZ,iBAAmB,EAAA;AAAA,KACrB;AAAA,IACA,uBAAyB,EAAA;AAAA,MACvB,WACE,EAAA;AAAA,KACJ;AAAA,IACA,cAAgB,EAAA;AAAA,MACd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A,IACA,cAAgB,EAAA;AAAA,MACd,KAAO,EAAA;AAAA;AACT;AAEJ,CAAC;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-user-settings",
|
|
3
|
-
"version": "0.8.23-next.
|
|
3
|
+
"version": "0.8.23-next.2",
|
|
4
4
|
"description": "A Backstage plugin that provides a settings page",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "frontend-plugin",
|
|
@@ -69,12 +69,12 @@
|
|
|
69
69
|
"dependencies": {
|
|
70
70
|
"@backstage/catalog-model": "1.7.4",
|
|
71
71
|
"@backstage/core-app-api": "1.17.0",
|
|
72
|
-
"@backstage/core-compat-api": "0.4.3-next.
|
|
73
|
-
"@backstage/core-components": "0.17.
|
|
72
|
+
"@backstage/core-compat-api": "0.4.3-next.2",
|
|
73
|
+
"@backstage/core-components": "0.17.3-next.0",
|
|
74
74
|
"@backstage/core-plugin-api": "1.10.7",
|
|
75
75
|
"@backstage/errors": "1.2.7",
|
|
76
|
-
"@backstage/frontend-plugin-api": "0.10.3-next.
|
|
77
|
-
"@backstage/plugin-catalog-react": "1.
|
|
76
|
+
"@backstage/frontend-plugin-api": "0.10.3-next.1",
|
|
77
|
+
"@backstage/plugin-catalog-react": "1.19.0-next.2",
|
|
78
78
|
"@backstage/plugin-signals-react": "0.0.13",
|
|
79
79
|
"@backstage/plugin-user-settings-common": "0.0.1",
|
|
80
80
|
"@backstage/theme": "0.6.6",
|
|
@@ -86,9 +86,9 @@
|
|
|
86
86
|
"zen-observable": "^0.10.0"
|
|
87
87
|
},
|
|
88
88
|
"devDependencies": {
|
|
89
|
-
"@backstage/cli": "0.
|
|
90
|
-
"@backstage/dev-utils": "1.1.11-next.
|
|
91
|
-
"@backstage/plugin-catalog": "1.31.0-next.
|
|
89
|
+
"@backstage/cli": "0.33.0-next.1",
|
|
90
|
+
"@backstage/dev-utils": "1.1.11-next.2",
|
|
91
|
+
"@backstage/plugin-catalog": "1.31.0-next.2",
|
|
92
92
|
"@backstage/test-utils": "1.7.8",
|
|
93
93
|
"@testing-library/dom": "^10.0.0",
|
|
94
94
|
"@testing-library/jest-dom": "^6.0.0",
|