diff --git a/changelog.md b/changelog.md index 224197c..6b0168c 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,11 @@ # Changelog +## 2026-04-03 - 3.53.0 - feat(dees-pdf-viewer) +add configurable sidebar position support + +- introduces a sidebarPosition property with left and right options +- updates viewer layout and footer alignment when the sidebar is displayed on the right + ## 2026-04-03 - 3.52.5 - fix(dees-pdf-viewer) add top scroll offset when navigating to a page in the PDF viewer diff --git a/ts_web/00_commitinfo_data.ts b/ts_web/00_commitinfo_data.ts index f44a9e6..ad6c719 100644 --- a/ts_web/00_commitinfo_data.ts +++ b/ts_web/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@design.estate/dees-catalog', - version: '3.52.5', + version: '3.53.0', description: 'A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript.' } diff --git a/ts_web/elements/00group-media/dees-pdf-viewer/component.ts b/ts_web/elements/00group-media/dees-pdf-viewer/component.ts index 50d5b74..54b2711 100644 --- a/ts_web/elements/00group-media/dees-pdf-viewer/component.ts +++ b/ts_web/elements/00group-media/dees-pdf-viewer/component.ts @@ -34,6 +34,9 @@ export class DeesPdfViewer extends DeesElement { @property({ type: Boolean }) accessor showSidebar: boolean = false; + @property({ type: String }) + accessor sidebarPosition: 'left' | 'right' = 'left'; + @property({ type: Number }) accessor currentPage: number = 1; @@ -89,7 +92,7 @@ export class DeesPdfViewer extends DeesElement { public render(): TemplateResult { return html` - + ${this.showToolbar ? html`
@@ -251,7 +254,7 @@ export class DeesPdfViewer extends DeesElement { ${this.formatFileSize(this.pdfFileSize)} ` : ''}
-