@syncfusion/ej2-angular-pdfviewer 34.2.6 → 34.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -6,6 +6,15 @@
6
6
 
7
7
  #### Bug Fixes
8
8
 
9
+ - `#I847797` - Resolved an issue where the color palette was misaligned in mobile rendering mode.
10
+ - `#I869149` - Resolved an issue where the modified comments were not updated properly after importing annotations.
11
+
12
+ ## 34.2.6 (2026-09-01)
13
+
14
+ ### PDF Viewer
15
+
16
+ #### Bug Fixes
17
+
9
18
  - `#I866090` - Fixed an issue where the saved signature was not displayed in the signature toolbar after clearing the signature from the signature dialog.
10
19
 
11
20
  ## 34.2.5 (2026-08-25)
package/README.md CHANGED
@@ -21,12 +21,15 @@ Trusted by the world's leading companies
21
21
 
22
22
  > **Using this package with an AI coding agent**
23
23
  >
24
- > Before generating Syncfusion® code, ask your AI coding agent to run the Syncfusion® setup using the following prompt:
24
+ > Before generating Syncfusion code, ask your AI coding agent to run the Syncfusion setup using the following prompt:
25
25
  >
26
26
  > ```text
27
- > Set up this project for Syncfusion® before generating code. Fetch and follow the official instructions at https://ai.syncfusion.com/agent-setup/prompt.md, then report the detected platform, installed skill pack, MCP status, and any required licensing action.
27
+ > Set up this project for Syncfusion before generating code. Fetch
28
+ > and follow the official instructions at https://ai.syncfusion.com/,
29
+ > then report the detected platform, installed skill pack, MCP
30
+ > status, and any required licensing action.
28
31
  > ```
29
- > The setup detects your project’s platform and loads the appropriate Syncfusion® skill pack. No Syncfusion® account or MCP key is required to install or read Syncfusion® agent skills.
32
+ > The setup detects your project’s platform and loads the appropriate Syncfusion skill pack. No Syncfusion account or MCP key is required to install or read Syncfusion agent skills.
30
33
  >
31
34
  > **Platform reference:** [https://ai.syncfusion.com/angular/llms.txt](https://ai.syncfusion.com/angular/llms.txt)
32
35
 
@@ -45,6 +48,7 @@ Create a new Angular application using the following Angular CLI command.
45
48
  ```bash
46
49
  ng new my-app
47
50
  cd my-app
51
+ ng serve
48
52
  ```
49
53
 
50
54
  ### Adding Syncfusion® PDF Viewer package
@@ -65,21 +69,21 @@ This makes it easy to add the Syncfusion® Angular PDF Viewer module to your
65
69
 
66
70
  ### Adding CSS references for PDF Viewer
67
71
 
68
- Add CSS references needed for a PDF Viewer in **src/styles.css** from the **../node_modules/@syncfusion** package folder.
72
+ Install the styles package from npm using the following command:
73
+
74
+ ```bash
75
+ npm install @syncfusion/ej2-tailwind3-theme
76
+ ```
77
+
78
+ The Tailwind 3 theme package includes an `index.css` file that automatically imports all required PDF Viewer styles. Add the required PDF Viewer theme style reference to **src/styles.css** file.
69
79
 
70
80
  ```css
71
- @import '../node_modules/@syncfusion/ej2-base/styles/material.css';
72
- @import '../node_modules/@syncfusion/ej2-buttons/styles/material.css';
73
- @import '../node_modules/@syncfusion/ej2-inputs/styles/material.css';
74
- @import '../node_modules/@syncfusion/ej2-popups/styles/material.css';
75
- @import '../node_modules/@syncfusion/ej2-lists/styles/material.css';
76
- @import '../node_modules/@syncfusion/ej2-navigations/styles/material.css';
77
- @import '../node_modules/@syncfusion/ej2-dropdowns/styles/material.css';
78
- @import '../node_modules/@syncfusion/ej2-splitbuttons/styles/material.css';
79
- @import '../node_modules/@syncfusion/ej2-notifications/styles/material.css';
80
- @import "../node_modules/@syncfusion/ej2-angular-pdfviewer/styles/material.css";
81
+ @import '../node_modules/@syncfusion/ej2-tailwind3-theme/styles/pdfviewer/index.css';
81
82
  ```
82
83
 
84
+ For more themes, see the [themes documentation](https://ej2.syncfusion.com/angular/documentation/appearance/overview#theme-packages).
85
+
86
+
83
87
  ### Add PDF Viewer component
84
88
 
85
89
  In **src/app/app.component.ts**, use `<ejs-pdfviewer>` selector in the `template` attribute of the `@Component` directive to render the Syncfusion&reg; Angular PDF Viewer component.
@@ -106,7 +110,7 @@ import {
106
110
  selector: 'app-root',
107
111
  template: `<div class="content-wrapper">
108
112
  <ejs-pdfviewer id="pdfViewer"
109
- [serviceUrl]='service'
113
+ [resourceUrl]='resourcesUrl'
110
114
  [documentPath]='document'
111
115
  style="height:640px;display:block">
112
116
  </ejs-pdfviewer>
@@ -128,9 +132,9 @@ import {
128
132
  ],
129
133
  })
130
134
  export class AppComponent implements OnInit {
131
- public service: string =
132
- 'https://ej2services.syncfusion.com/production/web-services/api/pdfviewer';
133
- public document: string = 'PDF_Succinctly.pdf';
135
+ public resourcesUrl: string =
136
+ 'https://cdn.syncfusion.com/ej2/31.2.2/dist/ej2-pdfviewer-lib';
137
+ public document: string = 'https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf';
134
138
  ngOnInit(): void {
135
139
  }
136
140
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syncfusion/ej2-angular-pdfviewer",
3
- "version": "34.2.6",
3
+ "version": "34.2.7",
4
4
  "description": "Essential JS 2 PDF viewer Component for Angular",
5
5
  "author": "Syncfusion Inc.",
6
6
  "license": "SEE LICENSE IN license",
@@ -8,7 +8,7 @@
8
8
  "dependencies": {
9
9
  "@syncfusion/ej2-base": "~34.2.6",
10
10
  "@syncfusion/ej2-angular-base": "~34.2.6",
11
- "@syncfusion/ej2-pdfviewer": "34.2.6"
11
+ "@syncfusion/ej2-pdfviewer": "34.2.7"
12
12
  },
13
13
  "keywords": [
14
14
  "angular",
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.pkgName = '@syncfusion/ej2-angular-pdfviewer';
4
- exports.pkgVer = '^34.2.6';
4
+ exports.pkgVer = '^34.2.7';
5
5
  exports.moduleName = 'PdfViewerModule';
6
- exports.themeVer = '~34.2.6';
6
+ exports.themeVer = '~34.2.7';
@@ -1,4 +1,4 @@
1
1
  export const pkgName = '@syncfusion/ej2-angular-pdfviewer';
2
- export const pkgVer = '^34.2.6';
2
+ export const pkgVer = '^34.2.7';
3
3
  export const moduleName = 'PdfViewerModule';
4
- export const themeVer = '~34.2.6';
4
+ export const themeVer = '~34.2.7';