diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/editors/document/editor-document.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/editors/document/editor-document.element.ts index 41f1957ce9..846fd29be8 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/editors/document/editor-document.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/editors/document/editor-document.element.ts @@ -53,7 +53,7 @@ export class UmbEditorDocumentElement extends UmbContextConsumerMixin(UmbContext type: 'editorView', alias: 'Umb.EditorView.Document.Info', name: 'Document Editor Info View', - loader: () => import('../shared/editor-content/views/info/editor-view-node-info.element'), + loader: () => import('../shared/editor-content/views/info/editor-view-content-info.element'), weight: 100, meta: { editors: ['Umb.Editor.Document'], diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/editors/media/editor-media.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/editors/media/editor-media.element.ts index cd40bfc12f..7dd4de4067 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/editors/media/editor-media.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/editors/media/editor-media.element.ts @@ -47,7 +47,7 @@ export class UmbEditorMediaElement extends LitElement { type: 'editorView', alias: 'Umb.EditorView.Media.Info', name: 'Media Editor Info View', - loader: () => import('../shared/editor-content/views/info/editor-view-node-info.element'), + loader: () => import('../shared/editor-content/views/info/editor-view-content-info.element'), weight: 100, meta: { editors: ['Umb.Editor.Media'], diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/editors/shared/editor-content/editor-content.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/editors/shared/editor-content/editor-content.element.ts index 9498624c80..18d03e63f2 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/editors/shared/editor-content/editor-content.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/editors/shared/editor-content/editor-content.element.ts @@ -16,7 +16,7 @@ import '../editor-entity-layout/editor-entity-layout.element'; // Lazy load // TODO: Make this dynamic, use load-extensions method to loop over extensions for this node. import './views/edit/editor-view-content-edit.element'; -import './views/info/editor-view-node-info.element'; +import './views/info/editor-view-content-info.element'; @customElement('umb-editor-content') export class UmbEditorContentElement extends UmbContextProviderMixin( diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/editors/shared/editor-content/views/info/editor-view-node-info.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/editors/shared/editor-content/views/info/editor-view-content-info.element.ts similarity index 79% rename from src/Umbraco.Web.UI.Client/src/backoffice/editors/shared/editor-content/views/info/editor-view-node-info.element.ts rename to src/Umbraco.Web.UI.Client/src/backoffice/editors/shared/editor-content/views/info/editor-view-content-info.element.ts index d93394afde..1097d97afc 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/editors/shared/editor-content/views/info/editor-view-node-info.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/editors/shared/editor-content/views/info/editor-view-content-info.element.ts @@ -7,8 +7,8 @@ import type { NodeEntity } from '../../../../../../core/mocks/data/node.data'; import { UmbObserverMixin } from '@umbraco-cms/observable-api'; import { UmbContextConsumerMixin } from '@umbraco-cms/context-api'; -@customElement('umb-editor-view-node-info') -export class UmbEditorViewNodeInfoElement extends UmbContextConsumerMixin(UmbObserverMixin(LitElement)) { +@customElement('umb-editor-view-content-info') +export class UmbEditorViewContentInfoElement extends UmbContextConsumerMixin(UmbObserverMixin(LitElement)) { static styles = [UUITextStyles, css``]; private _nodeContext?: UmbNodeContext; @@ -38,10 +38,10 @@ export class UmbEditorViewNodeInfoElement extends UmbContextConsumerMixin(UmbObs } } -export default UmbEditorViewNodeInfoElement; +export default UmbEditorViewContentInfoElement; declare global { interface HTMLElementTagNameMap { - 'umb-editor-view-node-info': UmbEditorViewNodeInfoElement; + 'umb-editor-view-content-info': UmbEditorViewContentInfoElement; } } diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/editors/shared/editor-content/views/info/editor-view-node-info.stories.ts b/src/Umbraco.Web.UI.Client/src/backoffice/editors/shared/editor-content/views/info/editor-view-content-info.stories.ts similarity index 57% rename from src/Umbraco.Web.UI.Client/src/backoffice/editors/shared/editor-content/views/info/editor-view-node-info.stories.ts rename to src/Umbraco.Web.UI.Client/src/backoffice/editors/shared/editor-content/views/info/editor-view-content-info.stories.ts index d6da71d954..340f341a5d 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/editors/shared/editor-content/views/info/editor-view-node-info.stories.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/editors/shared/editor-content/views/info/editor-view-content-info.stories.ts @@ -1,4 +1,4 @@ -import './editor-view-node-info.element'; +import './editor-view-content-info.element'; import { Meta, Story } from '@storybook/web-components'; import { html } from 'lit-html'; @@ -6,12 +6,12 @@ import { html } from 'lit-html'; import { data } from '../../../../../../core/mocks/data/node.data'; import { UmbNodeContext } from '../../node.context'; -import type { UmbEditorViewNodeInfoElement } from './editor-view-node-info.element'; +import type { UmbEditorViewContentInfoElement } from './editor-view-content-info.element'; export default { title: 'Editors/Shared/Node/Views/Info', - component: 'umb-editor-view-node-info', - id: 'umb-editor-view-node-info', + component: 'umb-editor-view-content-info', + id: 'umb-editor-view-content-info', decorators: [ (story) => html` @@ -20,6 +20,6 @@ export default { ], } as Meta; -export const AAAOverview: Story = () => - html` `; +export const AAAOverview: Story = () => + html` `; AAAOverview.storyName = 'Overview';