feat: updating name for default swappable refs

Signed-off-by: benjdlambert <ben@blam.sh>
This commit is contained in:
benjdlambert
2025-08-11 13:41:02 +02:00
parent 4de73c5c18
commit d274e0c90e
8 changed files with 34 additions and 49 deletions
+4 -4
View File
@@ -28,7 +28,7 @@ import {
import Button from '@material-ui/core/Button';
export const Progress = SwappableComponentBlueprint.make({
name: 'core.components.progress',
name: 'core-progress',
params: define =>
define({
component: SwappableProgress,
@@ -37,7 +37,7 @@ export const Progress = SwappableComponentBlueprint.make({
});
export const NotFoundErrorPage = SwappableComponentBlueprint.make({
name: 'core.components.notFoundErrorPage',
name: 'core-not-found-error-page',
params: define =>
define({
component: SwappableNotFoundErrorPage,
@@ -46,8 +46,8 @@ export const NotFoundErrorPage = SwappableComponentBlueprint.make({
}),
});
export const ErrorBoundary = SwappableComponentBlueprint.make({
name: 'core.components.errorBoundary',
export const ErrorDisplay = SwappableComponentBlueprint.make({
name: 'core-error-display',
params: define =>
define({
component: SwappableErrorDisplay,
+1 -1
View File
@@ -31,4 +31,4 @@ export {
oauthRequestDialogAppRootElement,
alertDisplayAppRootElement,
} from './elements';
export { Progress, NotFoundErrorPage, ErrorBoundary } from './components';
export { Progress, NotFoundErrorPage, ErrorDisplay } from './components';
+2 -2
View File
@@ -35,7 +35,7 @@ import {
dialogDisplayAppRootElement,
Progress,
NotFoundErrorPage,
ErrorBoundary,
ErrorDisplay,
LegacyComponentsApi,
} from './extensions';
import { apis } from './defaultApis';
@@ -65,7 +65,7 @@ export const appPlugin = createFrontendPlugin({
dialogDisplayAppRootElement,
Progress,
NotFoundErrorPage,
ErrorBoundary,
ErrorDisplay,
LegacyComponentsApi,
],
});