@backstage/plugin-mui-to-bui 0.2.1-next.1 → 0.2.2-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 +21 -0
- package/dist/index.d.ts +2 -2
- package/dist/plugin.esm.js +3 -4
- package/dist/plugin.esm.js.map +1 -1
- package/package.json +8 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @backstage/plugin-mui-to-bui
|
|
2
2
|
|
|
3
|
+
## 0.2.2-next.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- @backstage/ui@0.9.1-next.0
|
|
9
|
+
- @backstage/frontend-plugin-api@0.13.2-next.0
|
|
10
|
+
- @backstage/core-plugin-api@1.12.1-next.0
|
|
11
|
+
- @backstage/theme@0.7.1-next.0
|
|
12
|
+
|
|
13
|
+
## 0.2.1
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- 5c614ff: Updated BUI checkbox preview example to align with new component API.
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
- @backstage/ui@0.9.0
|
|
20
|
+
- @backstage/frontend-plugin-api@0.13.0
|
|
21
|
+
- @backstage/core-compat-api@0.5.4
|
|
22
|
+
- @backstage/core-plugin-api@1.12.0
|
|
23
|
+
|
|
3
24
|
## 0.2.1-next.1
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -11,9 +11,9 @@ declare const buiThemerPlugin: _backstage_core_plugin_api.BackstagePlugin<{
|
|
|
11
11
|
declare const BuiThemerPage: () => react_jsx_runtime.JSX.Element;
|
|
12
12
|
/** @public */
|
|
13
13
|
declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin<{
|
|
14
|
-
root:
|
|
14
|
+
root: _backstage_core_plugin_api.RouteRef<undefined>;
|
|
15
15
|
}, {}, {
|
|
16
|
-
"page:mui-to-bui": _backstage_frontend_plugin_api.
|
|
16
|
+
"page:mui-to-bui": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
17
17
|
kind: "page";
|
|
18
18
|
name: undefined;
|
|
19
19
|
config: {
|
package/dist/plugin.esm.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
|
-
import { convertLegacyRouteRefs, convertLegacyRouteRef } from '@backstage/core-compat-api';
|
|
3
2
|
import { createPlugin, createRoutableExtension } from '@backstage/core-plugin-api';
|
|
4
3
|
import { createFrontendPlugin, PageBlueprint } from '@backstage/frontend-plugin-api';
|
|
5
4
|
import { rootRouteRef } from './routes.esm.js';
|
|
@@ -24,13 +23,13 @@ var plugin = createFrontendPlugin({
|
|
|
24
23
|
params: {
|
|
25
24
|
path: "/mui-to-bui",
|
|
26
25
|
loader: () => import('./components/BuiThemerPage/index.esm.js').then((m) => /* @__PURE__ */ jsx(m.BuiThemerPage, {})),
|
|
27
|
-
routeRef:
|
|
26
|
+
routeRef: rootRouteRef
|
|
28
27
|
}
|
|
29
28
|
})
|
|
30
29
|
],
|
|
31
|
-
routes:
|
|
30
|
+
routes: {
|
|
32
31
|
root: rootRouteRef
|
|
33
|
-
}
|
|
32
|
+
}
|
|
34
33
|
});
|
|
35
34
|
|
|
36
35
|
export { BuiThemerPage, buiThemerPlugin, plugin as default };
|
package/dist/plugin.esm.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.esm.js","sources":["../src/plugin.tsx"],"sourcesContent":["/*\n * Copyright 2025 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 {\n
|
|
1
|
+
{"version":3,"file":"plugin.esm.js","sources":["../src/plugin.tsx"],"sourcesContent":["/*\n * Copyright 2025 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 {\n createPlugin,\n createRoutableExtension,\n} from '@backstage/core-plugin-api';\nimport {\n createFrontendPlugin,\n PageBlueprint,\n} from '@backstage/frontend-plugin-api';\nimport { rootRouteRef } from './routes';\n\n// Old system\n/** @public */\nexport const buiThemerPlugin = createPlugin({\n id: 'mui-to-bui',\n routes: {\n root: rootRouteRef,\n },\n});\n\n/** @public */\nexport const BuiThemerPage = buiThemerPlugin.provide(\n createRoutableExtension({\n name: 'BuiThemerPage',\n component: () =>\n import('./components/BuiThemerPage').then(m => m.BuiThemerPage),\n mountPoint: rootRouteRef,\n }),\n);\n\n// New system\n/** @public */\nexport default createFrontendPlugin({\n pluginId: 'mui-to-bui',\n extensions: [\n PageBlueprint.make({\n params: {\n path: '/mui-to-bui',\n loader: () =>\n import('./components/BuiThemerPage').then(m => <m.BuiThemerPage />),\n routeRef: rootRouteRef,\n },\n }),\n ],\n routes: {\n root: rootRouteRef,\n },\n});\n"],"names":[],"mappings":";;;;;AA4BO,MAAM,kBAAkB,YAAA,CAAa;AAAA,EAC1C,EAAA,EAAI,YAAA;AAAA,EACJ,MAAA,EAAQ;AAAA,IACN,IAAA,EAAM;AAAA;AAEV,CAAC;AAGM,MAAM,gBAAgB,eAAA,CAAgB,OAAA;AAAA,EAC3C,uBAAA,CAAwB;AAAA,IACtB,IAAA,EAAM,eAAA;AAAA,IACN,SAAA,EAAW,MACT,OAAO,yCAA4B,EAAE,IAAA,CAAK,CAAA,CAAA,KAAK,EAAE,aAAa,CAAA;AAAA,IAChE,UAAA,EAAY;AAAA,GACb;AACH;AAIA,aAAe,oBAAA,CAAqB;AAAA,EAClC,QAAA,EAAU,YAAA;AAAA,EACV,UAAA,EAAY;AAAA,IACV,cAAc,IAAA,CAAK;AAAA,MACjB,MAAA,EAAQ;AAAA,QACN,IAAA,EAAM,aAAA;AAAA,QACN,MAAA,EAAQ,MACN,OAAO,yCAA4B,CAAA,CAAE,IAAA,CAAK,CAAA,CAAA,qBAAK,GAAA,CAAC,CAAA,CAAE,aAAA,EAAF,EAAgB,CAAE,CAAA;AAAA,QACpE,QAAA,EAAU;AAAA;AACZ,KACD;AAAA,GACH;AAAA,EACA,MAAA,EAAQ;AAAA,IACN,IAAA,EAAM;AAAA;AAEV,CAAC,CAAA;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-mui-to-bui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2-next.0",
|
|
4
4
|
"backstage": {
|
|
5
5
|
"role": "frontend-plugin",
|
|
6
6
|
"pluginId": "mui-to-bui",
|
|
@@ -38,18 +38,17 @@
|
|
|
38
38
|
"test": "backstage-cli package test"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@backstage/core-
|
|
42
|
-
"@backstage/
|
|
43
|
-
"@backstage/
|
|
44
|
-
"@backstage/
|
|
45
|
-
"@backstage/ui": "0.9.0-next.1",
|
|
41
|
+
"@backstage/core-plugin-api": "1.12.1-next.0",
|
|
42
|
+
"@backstage/frontend-plugin-api": "0.13.2-next.0",
|
|
43
|
+
"@backstage/theme": "0.7.1-next.0",
|
|
44
|
+
"@backstage/ui": "0.9.1-next.0",
|
|
46
45
|
"@mui/material": "^5.12.2",
|
|
47
46
|
"@mui/system": "^5.16.14"
|
|
48
47
|
},
|
|
49
48
|
"devDependencies": {
|
|
50
|
-
"@backstage/cli": "0.34.
|
|
51
|
-
"@backstage/dev-utils": "1.1.
|
|
52
|
-
"@backstage/test-utils": "1.7.
|
|
49
|
+
"@backstage/cli": "0.34.6-next.0",
|
|
50
|
+
"@backstage/dev-utils": "1.1.18-next.0",
|
|
51
|
+
"@backstage/test-utils": "1.7.14-next.0",
|
|
53
52
|
"@testing-library/jest-dom": "^6.0.0",
|
|
54
53
|
"@testing-library/react": "^16.0.0",
|
|
55
54
|
"@types/react": "^18.0.0",
|