@backstage/plugin-user-settings 0.7.14-next.4 → 0.7.14

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,26 @@
1
1
  # @backstage/plugin-user-settings
2
2
 
3
+ ## 0.7.14
4
+
5
+ ### Patch Changes
6
+
7
+ - 03d0b6d: The `convertLegacyRouteRef` utility used by the alpha exports is now imported from `@backstage/core-compat-api`.
8
+ - a1227cc: Wrap `/alpha` export extension elements in backwards compatibility wrapper.
9
+ - 5814122: Updated `/alpha` exports to fit new naming patterns.
10
+ - 8f5d6c1: Updates to the `/alpha` exports to match the extension input wrapping change.
11
+ - 36c94b8: Refactor of the alpha exports due to API change in how extension IDs are constructed.
12
+ - fb8f3bd: Updated alpha translation message keys to use nested format and camel case.
13
+ - Updated dependencies
14
+ - @backstage/core-compat-api@0.1.0
15
+ - @backstage/core-plugin-api@1.8.1
16
+ - @backstage/frontend-plugin-api@0.4.0
17
+ - @backstage/plugin-catalog-react@1.9.2
18
+ - @backstage/core-components@0.13.9
19
+ - @backstage/theme@0.5.0
20
+ - @backstage/core-app-api@1.11.2
21
+ - @backstage/errors@1.2.3
22
+ - @backstage/types@1.1.1
23
+
3
24
  ## 0.7.14-next.4
4
25
 
5
26
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-user-settings",
3
- "version": "0.7.14-next.4",
3
+ "version": "0.7.14",
4
4
  "main": "../dist/alpha.esm.js",
5
5
  "module": "../dist/alpha.esm.js",
6
6
  "types": "../dist/alpha.d.ts"
package/dist/alpha.esm.js CHANGED
@@ -6,7 +6,7 @@ import React from 'react';
6
6
  import '@backstage/core-plugin-api';
7
7
  import '@backstage/core-plugin-api/alpha';
8
8
 
9
- const UserSettingsPage = createPageExtension({
9
+ const userSettingsPage = createPageExtension({
10
10
  defaultPath: "/settings",
11
11
  routeRef: convertLegacyRouteRef(settingsRouteRef),
12
12
  inputs: {
@@ -33,7 +33,7 @@ const UserSettingsPage = createPageExtension({
33
33
  });
34
34
  var alpha = createPlugin({
35
35
  id: "user-settings",
36
- extensions: [UserSettingsPage],
36
+ extensions: [userSettingsPage],
37
37
  routes: {
38
38
  root: convertLegacyRouteRef(settingsRouteRef)
39
39
  }
@@ -1 +1 @@
1
- {"version":3,"file":"alpha.esm.js","sources":["../src/alpha.tsx"],"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 */\nimport {\n coreExtensionData,\n createExtensionInput,\n createPageExtension,\n createPlugin,\n} from '@backstage/frontend-plugin-api';\nimport {\n convertLegacyRouteRef,\n compatWrapper,\n} from '@backstage/core-compat-api';\nimport { settingsRouteRef } from './plugin';\n\nimport React from 'react';\n\nexport * from './translation';\n\nconst UserSettingsPage = createPageExtension({\n defaultPath: '/settings',\n routeRef: convertLegacyRouteRef(settingsRouteRef),\n inputs: {\n providerSettings: createExtensionInput(\n {\n element: coreExtensionData.reactElement,\n },\n { singleton: true, optional: true },\n ),\n },\n loader: ({ inputs }) =>\n import('./components/SettingsPage').then(m =>\n compatWrapper(\n <m.SettingsPage\n providerSettings={inputs.providerSettings?.output.element}\n />,\n ),\n ),\n});\n\n/**\n * @alpha\n */\nexport default createPlugin({\n id: 'user-settings',\n extensions: [UserSettingsPage],\n routes: {\n root: convertLegacyRouteRef(settingsRouteRef),\n },\n});\n"],"names":[],"mappings":";;;;;;;;AA+BA,MAAM,mBAAmB,mBAAoB,CAAA;AAAA,EAC3C,WAAa,EAAA,WAAA;AAAA,EACb,QAAA,EAAU,sBAAsB,gBAAgB,CAAA;AAAA,EAChD,MAAQ,EAAA;AAAA,IACN,gBAAkB,EAAA,oBAAA;AAAA,MAChB;AAAA,QACE,SAAS,iBAAkB,CAAA,YAAA;AAAA,OAC7B;AAAA,MACA,EAAE,SAAA,EAAW,IAAM,EAAA,QAAA,EAAU,IAAK,EAAA;AAAA,KACpC;AAAA,GACF;AAAA,EACA,QAAQ,CAAC,EAAE,QACT,KAAA,OAAO,6BAA2B,CAAE,CAAA,IAAA;AAAA,IAAK,CAAE,CAAA,KAAA;AA3C/C,MAAA,IAAA,EAAA,CAAA;AA4CM,MAAA,OAAA,aAAA;AAAA,wBACE,KAAA,CAAA,aAAA;AAAA,UAAC,CAAE,CAAA,YAAA;AAAA,UAAF;AAAA,YACC,gBAAkB,EAAA,CAAA,EAAA,GAAA,MAAA,CAAO,gBAAP,KAAA,IAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAyB,MAAO,CAAA,OAAA;AAAA,WAAA;AAAA,SACpD;AAAA,OACF,CAAA;AAAA,KAAA;AAAA,GACF;AACJ,CAAC,CAAA,CAAA;AAKD,YAAe,YAAa,CAAA;AAAA,EAC1B,EAAI,EAAA,eAAA;AAAA,EACJ,UAAA,EAAY,CAAC,gBAAgB,CAAA;AAAA,EAC7B,MAAQ,EAAA;AAAA,IACN,IAAA,EAAM,sBAAsB,gBAAgB,CAAA;AAAA,GAC9C;AACF,CAAC,CAAA;;;;"}
1
+ {"version":3,"file":"alpha.esm.js","sources":["../src/alpha.tsx"],"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 */\nimport {\n coreExtensionData,\n createExtensionInput,\n createPageExtension,\n createPlugin,\n} from '@backstage/frontend-plugin-api';\nimport {\n convertLegacyRouteRef,\n compatWrapper,\n} from '@backstage/core-compat-api';\nimport { settingsRouteRef } from './plugin';\n\nimport React from 'react';\n\nexport * from './translation';\n\nconst userSettingsPage = createPageExtension({\n defaultPath: '/settings',\n routeRef: convertLegacyRouteRef(settingsRouteRef),\n inputs: {\n providerSettings: createExtensionInput(\n {\n element: coreExtensionData.reactElement,\n },\n { singleton: true, optional: true },\n ),\n },\n loader: ({ inputs }) =>\n import('./components/SettingsPage').then(m =>\n compatWrapper(\n <m.SettingsPage\n providerSettings={inputs.providerSettings?.output.element}\n />,\n ),\n ),\n});\n\n/**\n * @alpha\n */\nexport default createPlugin({\n id: 'user-settings',\n extensions: [userSettingsPage],\n routes: {\n root: convertLegacyRouteRef(settingsRouteRef),\n },\n});\n"],"names":[],"mappings":";;;;;;;;AA+BA,MAAM,mBAAmB,mBAAoB,CAAA;AAAA,EAC3C,WAAa,EAAA,WAAA;AAAA,EACb,QAAA,EAAU,sBAAsB,gBAAgB,CAAA;AAAA,EAChD,MAAQ,EAAA;AAAA,IACN,gBAAkB,EAAA,oBAAA;AAAA,MAChB;AAAA,QACE,SAAS,iBAAkB,CAAA,YAAA;AAAA,OAC7B;AAAA,MACA,EAAE,SAAA,EAAW,IAAM,EAAA,QAAA,EAAU,IAAK,EAAA;AAAA,KACpC;AAAA,GACF;AAAA,EACA,QAAQ,CAAC,EAAE,QACT,KAAA,OAAO,6BAA2B,CAAE,CAAA,IAAA;AAAA,IAAK,CAAE,CAAA,KAAA;AA3C/C,MAAA,IAAA,EAAA,CAAA;AA4CM,MAAA,OAAA,aAAA;AAAA,wBACE,KAAA,CAAA,aAAA;AAAA,UAAC,CAAE,CAAA,YAAA;AAAA,UAAF;AAAA,YACC,gBAAkB,EAAA,CAAA,EAAA,GAAA,MAAA,CAAO,gBAAP,KAAA,IAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAyB,MAAO,CAAA,OAAA;AAAA,WAAA;AAAA,SACpD;AAAA,OACF,CAAA;AAAA,KAAA;AAAA,GACF;AACJ,CAAC,CAAA,CAAA;AAKD,YAAe,YAAa,CAAA;AAAA,EAC1B,EAAI,EAAA,eAAA;AAAA,EACJ,UAAA,EAAY,CAAC,gBAAgB,CAAA;AAAA,EAC7B,MAAQ,EAAA;AAAA,IACN,IAAA,EAAM,sBAAsB,gBAAgB,CAAA;AAAA,GAC9C;AACF,CAAC,CAAA;;;;"}
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.14-next.4",
4
+ "version": "0.7.14",
5
5
  "main": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -44,14 +44,14 @@
44
44
  "clean": "backstage-cli package clean"
45
45
  },
46
46
  "dependencies": {
47
- "@backstage/core-app-api": "^1.11.2-next.1",
48
- "@backstage/core-compat-api": "^0.1.0-next.3",
49
- "@backstage/core-components": "^0.13.9-next.3",
50
- "@backstage/core-plugin-api": "^1.8.1-next.1",
47
+ "@backstage/core-app-api": "^1.11.2",
48
+ "@backstage/core-compat-api": "^0.1.0",
49
+ "@backstage/core-components": "^0.13.9",
50
+ "@backstage/core-plugin-api": "^1.8.1",
51
51
  "@backstage/errors": "^1.2.3",
52
- "@backstage/frontend-plugin-api": "^0.4.0-next.3",
53
- "@backstage/plugin-catalog-react": "^1.9.2-next.3",
54
- "@backstage/theme": "^0.5.0-next.1",
52
+ "@backstage/frontend-plugin-api": "^0.4.0",
53
+ "@backstage/plugin-catalog-react": "^1.9.2",
54
+ "@backstage/theme": "^0.5.0",
55
55
  "@backstage/types": "^1.1.1",
56
56
  "@material-ui/core": "^4.12.2",
57
57
  "@material-ui/icons": "^4.9.1",
@@ -66,10 +66,10 @@
66
66
  "react-router-dom": "6.0.0-beta.0 || ^6.3.0"
67
67
  },
68
68
  "devDependencies": {
69
- "@backstage/cli": "^0.25.0-next.3",
70
- "@backstage/dev-utils": "^1.0.25-next.3",
71
- "@backstage/plugin-catalog": "^1.16.0-next.4",
72
- "@backstage/test-utils": "^1.4.6-next.2",
69
+ "@backstage/cli": "^0.25.0",
70
+ "@backstage/dev-utils": "^1.0.25",
71
+ "@backstage/plugin-catalog": "^1.16.0",
72
+ "@backstage/test-utils": "^1.4.6",
73
73
  "@testing-library/dom": "^9.0.0",
74
74
  "@testing-library/jest-dom": "^6.0.0",
75
75
  "@testing-library/react": "^14.0.0",