@file-viewer/renderer-archive 2.1.23 → 2.1.24
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/dist/archive.js +8 -8
- package/package.json +2 -2
package/dist/archive.js
CHANGED
|
@@ -68,14 +68,14 @@ const archiveStyle = `
|
|
|
68
68
|
.archive-password-cancel{background:#eef2f7;color:#334155}
|
|
69
69
|
.archive-password-submit{background:#1f7a58;color:#fff}
|
|
70
70
|
.archive-hidden{display:none!important}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
@media (prefers-color-scheme:dark){
|
|
71
|
+
[data-viewer-theme='dark'] .archive-shell,[data-viewer-theme='dark'] .archive-viewer{background:#101820;color:#e6edf3}
|
|
72
|
+
[data-viewer-theme='dark'] .archive-sidebar,[data-viewer-theme='dark'] .archive-preview-toolbar{border-color:rgba(139,148,158,.2);background:rgba(21,27,35,.82)}
|
|
73
|
+
[data-viewer-theme='dark'] .archive-entry,[data-viewer-theme='dark'] .archive-search,[data-viewer-theme='dark'] .archive-state>div{background:#151b23;color:#e6edf3;border-color:rgba(139,148,158,.2)}
|
|
74
|
+
[data-viewer-theme='dark'] .archive-password-card{background:#151b23;color:#e6edf3}
|
|
75
|
+
[data-viewer-theme='dark'] .archive-password-card input{background:#0d1117;color:#e6edf3;border-color:rgba(139,148,158,.24)}
|
|
76
|
+
[data-viewer-theme='dark'] .archive-password-cancel{background:#212a35;color:#d7dee8}
|
|
77
|
+
[data-viewer-theme='dark'] .archive-empty strong{color:#f8fafc}
|
|
78
|
+
@media (prefers-color-scheme:dark){[data-viewer-theme='system'] .archive-shell,[data-viewer-theme='system'] .archive-viewer{background:#101820;color:#e6edf3}[data-viewer-theme='system'] .archive-sidebar,[data-viewer-theme='system'] .archive-preview-toolbar{border-color:rgba(139,148,158,.2);background:rgba(21,27,35,.82)}[data-viewer-theme='system'] .archive-entry,[data-viewer-theme='system'] .archive-search,[data-viewer-theme='system'] .archive-state>div{background:#151b23;color:#e6edf3;border-color:rgba(139,148,158,.2)}[data-viewer-theme='system'] .archive-password-card{background:#151b23;color:#e6edf3}[data-viewer-theme='system'] .archive-password-card input{background:#0d1117;color:#e6edf3;border-color:rgba(139,148,158,.24)}[data-viewer-theme='system'] .archive-password-cancel{background:#212a35;color:#d7dee8}[data-viewer-theme='system'] .archive-empty strong{color:#f8fafc}}
|
|
79
79
|
@keyframes archive-spin{to{transform:rotate(360deg)}}
|
|
80
80
|
@media (max-width:860px){.archive-shell,.archive-viewer{grid-template-columns:1fr;grid-template-rows:minmax(220px,38%) minmax(0,1fr)}.archive-shell.archive-sidebar-collapsed,.archive-viewer.archive-sidebar-collapsed{grid-template-columns:1fr;grid-template-rows:0 minmax(0,1fr)}.archive-sidebar{grid-column:1;grid-row:1;border-right:0;border-bottom:1px solid rgba(23,32,51,.08)}.archive-preview{grid-column:1;grid-row:2}.archive-preview-toolbar{min-height:56px;padding:10px 12px}.archive-head strong,.archive-preview-toolbar strong{font-size:16px}.archive-entry{grid-template-columns:38px minmax(0,1fr) minmax(40px,auto)}}
|
|
81
81
|
`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@file-viewer/renderer-archive",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.24",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Standalone archive renderer plugin for Flyfish File Viewer with libarchive worker, ZIP/TAR fallback, IndexedDB cache, and nested previews.",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"LICENSE"
|
|
57
57
|
],
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@file-viewer/core": "2.1.
|
|
59
|
+
"@file-viewer/core": "2.1.24",
|
|
60
60
|
"jszip": "^3.10.1",
|
|
61
61
|
"libarchive.js": "^2.0.2"
|
|
62
62
|
},
|