@vaadin-component-factory/vcf-pdf-viewer 1.4.0 → 1.4.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin-component-factory/vcf-pdf-viewer",
3
- "version": "1.4.0",
3
+ "version": "1.4.2",
4
4
  "description": "Polymer element providing pdf viewer",
5
5
  "main": "vcf-pdf-viewer.js",
6
6
  "repository": {
@@ -307,7 +307,7 @@ class PdfViewerElement extends
307
307
  }
308
308
 
309
309
  static get version() {
310
- return '1.4.0';
310
+ return '1.4.2';
311
311
  }
312
312
 
313
313
  static get properties() {
@@ -695,6 +695,7 @@ class PdfViewerElement extends
695
695
  // webcomponents/shadow dom messing with
696
696
  // TODO: Fix the issue so that we get rid of the error in log
697
697
  this.__viewer.currentScaleValue = value;
698
+ this.__viewer.forceRendering();
698
699
  }
699
700
 
700
701
  __pageChange(event) {
@@ -16,7 +16,7 @@ registerStyles(
16
16
  :host {
17
17
  background-color: var(--lumo-base-color);
18
18
  border: 1px solid var(--lumo-contrast-10pct);
19
- border-radius: var(--lumo-border-radius);
19
+ border-radius: var(--lumo-border-radius, var(--lumo-border-radius-m));
20
20
  font-family: var(--lumo-font-family);
21
21
  position: relative;
22
22
  }
@@ -72,7 +72,7 @@ registerStyles(
72
72
 
73
73
  [part~="toolbar-button"] {
74
74
  height: var(--lumo-size-m);
75
- border-radius: var(--lumo-border-radius);
75
+ border-radius: var(--lumo-border-radius, var(--lumo-border-radius-m));
76
76
  color: var(--lumo-contrast-80pct);
77
77
  transition: background-color 100ms, color 100ms;
78
78
  margin: var(--lumo-space-xs);
@@ -167,6 +167,7 @@ registerStyles(
167
167
  background-color: white;
168
168
  box-shadow: var(--lumo-box-shadow-m);
169
169
  padding: var(--lumo-space-xs);
170
+ z-index: 99;
170
171
  }
171
172
  `,
172
173
  { moduleId: 'lumo-vcf-pdf-viewer' }
@@ -116,6 +116,7 @@ registerStyles(
116
116
  background-color: white;
117
117
  border: 1px solid rgba(0, 0, 0, 0.12);
118
118
  padding: 0 4px;
119
+ z-index: 99;
119
120
  }
120
121
  `,
121
122
  { moduleId: 'material-vcf-pdf-viewer' }