iobroker.staticsfilefolder 0.0.2 → 0.0.3

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/io-package.json CHANGED
@@ -1,8 +1,11 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "staticsfilefolder",
4
- "version": "0.0.2",
4
+ "version": "0.0.3",
5
5
  "news": {
6
+ "0.0.3": {
7
+ "en": "Fixed UI theme button visibility in dark mode and resolved PDF opening issue."
8
+ },
6
9
  "0.0.2": {
7
10
  "en": "Added UI Theme support, fixed Node.js version compatibility issues and updated tests."
8
11
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.staticsfilefolder",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "Static Files Folder",
5
5
  "author": {
6
6
  "name": "gokturk413",
package/www/app.js CHANGED
@@ -246,7 +246,7 @@ async function openPdf(url) {
246
246
  viewerBody.innerHTML = '<h2>PDF Yüklənir...</h2>';
247
247
 
248
248
  try {
249
- const loadingTask = window.pdfjsLib.getDocument(url);
249
+ const loadingTask = window.pdfjsLib.getDocument({ url: url });
250
250
  const pdf = await loadingTask.promise;
251
251
  viewerBody.innerHTML = ''; // clear loading
252
252
 
package/www/style.css CHANGED
@@ -69,6 +69,7 @@ body {
69
69
  .nav-btn {
70
70
  padding: 8px 12px;
71
71
  background: var(--card-bg);
72
+ color: var(--text-color);
72
73
  border: 1px solid var(--border-color);
73
74
  border-radius: 4px;
74
75
  cursor: pointer;