diff --git a/packages/dockview/src/__tests__/dockview/headerActionsRenderer.spec.ts b/packages/dockview/src/__tests__/dockview/headerActionsRenderer.spec.ts index ec6015403..be273602f 100644 --- a/packages/dockview/src/__tests__/dockview/headerActionsRenderer.spec.ts +++ b/packages/dockview/src/__tests__/dockview/headerActionsRenderer.spec.ts @@ -37,7 +37,7 @@ describe('headerActionsRenderer', () => { ); expect(cut.element.childNodes.length).toBe(0); - expect(cut.element.className).toBe('dockview-react-part'); + expect(cut.element.className).toBe('dv-react-part'); expect(cut.part).toBeUndefined(); cut.init({ diff --git a/packages/dockview/src/dockview/headerActionsRenderer.ts b/packages/dockview/src/dockview/headerActionsRenderer.ts index c856b1bbc..fcf4f273d 100644 --- a/packages/dockview/src/dockview/headerActionsRenderer.ts +++ b/packages/dockview/src/dockview/headerActionsRenderer.ts @@ -30,7 +30,7 @@ export class ReactHeaderActionsRendererPart implements IHeaderActionsRenderer { private readonly _group: DockviewGroupPanel ) { this._element = document.createElement('div'); - this._element.className = 'dockview-react-part'; + this._element.className = 'dv-react-part'; this._element.style.height = '100%'; this._element.style.width = '100%'; } diff --git a/packages/dockview/src/dockview/reactContentPart.ts b/packages/dockview/src/dockview/reactContentPart.ts index 46d8b3bb4..984a911cb 100644 --- a/packages/dockview/src/dockview/reactContentPart.ts +++ b/packages/dockview/src/dockview/reactContentPart.ts @@ -29,7 +29,7 @@ export class ReactPanelContentPart implements IContentRenderer { private readonly reactPortalStore: ReactPortalStore ) { this._element = document.createElement('div'); - this._element.className = 'dockview-react-part'; + this._element.className = 'dv-react-part'; this._element.style.height = '100%'; this._element.style.width = '100%'; } diff --git a/packages/dockview/src/dockview/reactHeaderPart.ts b/packages/dockview/src/dockview/reactHeaderPart.ts index 772a4a814..4ef8738e9 100644 --- a/packages/dockview/src/dockview/reactHeaderPart.ts +++ b/packages/dockview/src/dockview/reactHeaderPart.ts @@ -21,7 +21,7 @@ export class ReactPanelHeaderPart implements ITabRenderer { private readonly reactPortalStore: ReactPortalStore ) { this._element = document.createElement('div'); - this._element.className = 'dockview-react-part'; + this._element.className = 'dv-react-part'; this._element.style.height = '100%'; this._element.style.width = '100%'; } diff --git a/packages/dockview/src/dockview/reactWatermarkPart.ts b/packages/dockview/src/dockview/reactWatermarkPart.ts index f4b95c02e..20fdf3f39 100644 --- a/packages/dockview/src/dockview/reactWatermarkPart.ts +++ b/packages/dockview/src/dockview/reactWatermarkPart.ts @@ -23,7 +23,7 @@ export class ReactWatermarkPart implements IWatermarkRenderer { private readonly reactPortalStore: ReactPortalStore ) { this._element = document.createElement('div'); - this._element.className = 'dockview-react-part'; + this._element.className = 'dv-react-part'; this._element.style.height = '100%'; this._element.style.width = '100%'; }