Skip to content

Commit

Permalink
Merge pull request #806 from mathuo/805-rename-class-dockview-react-p…
Browse files Browse the repository at this point in the history
…art-to-dv-react-part

feat: rename class
  • Loading branch information
mathuo authored Dec 23, 2024
2 parents d33babd + b3ce3e0 commit f6e7e4e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down
2 changes: 1 addition & 1 deletion packages/dockview/src/dockview/headerActionsRenderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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%';
}
Expand Down
2 changes: 1 addition & 1 deletion packages/dockview/src/dockview/reactContentPart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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%';
}
Expand Down
2 changes: 1 addition & 1 deletion packages/dockview/src/dockview/reactHeaderPart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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%';
}
Expand Down
2 changes: 1 addition & 1 deletion packages/dockview/src/dockview/reactWatermarkPart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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%';
}
Expand Down

0 comments on commit f6e7e4e

Please sign in to comment.