@swisper.ai/web-file-preview 0.0.7 → 0.0.9
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/index.css +1 -1
- package/dist/index.es.js +2 -2
- package/dist/{pdf-engine-BtVPDh84.js → pdf-engine-DWOclI_R.js} +2 -2
- package/dist/{pdf-engine-BtVPDh84.js.map → pdf-engine-DWOclI_R.js.map} +1 -1
- package/dist/{pdf-renderer-DzQMsDqU.js → pdf-renderer-BbQMj8uz.js} +10 -10
- package/dist/{pdf-renderer-DzQMsDqU.js.map → pdf-renderer-BbQMj8uz.js.map} +1 -1
- package/dist/{pdf-thumbnail-BYW10Fds.js → pdf-thumbnail-DuanRuLw.js} +2 -2
- package/dist/{pdf-thumbnail-BYW10Fds.js.map → pdf-thumbnail-DuanRuLw.js.map} +1 -1
- package/dist/{worker-engine-Xfe-G3n0.js → worker-engine-DBU5WIrV.js} +4 -4
- package/dist/{worker-engine-Xfe-G3n0.js.map → worker-engine-DBU5WIrV.js.map} +1 -1
- package/package.json +6 -6
- package/src/components/file-thumbnail/__tests__/file-thumbnail.spec.tsx +3 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swisper.ai/web-file-preview",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"description": "In-browser preview for PDF, Word, Excel, PowerPoint, CSV, image, audio and video files",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -61,10 +61,10 @@
|
|
|
61
61
|
"@extend-ai/react-pptx": "0.2.1",
|
|
62
62
|
"@extend-ai/react-xlsx": "^0.16.4",
|
|
63
63
|
"@radix-ui/react-slot": "^1.1.0",
|
|
64
|
-
"@swisper.ai/icons": "0.0.
|
|
64
|
+
"@swisper.ai/icons": "0.0.5",
|
|
65
65
|
"@swisper.ai/tailwind-config": "0.0.4",
|
|
66
|
-
"@swisper.ai/ui": "0.
|
|
67
|
-
"@swisper.ai/web-core": "0.0.
|
|
66
|
+
"@swisper.ai/ui": "0.4.0",
|
|
67
|
+
"@swisper.ai/web-core": "0.0.4",
|
|
68
68
|
"@tanstack/react-virtual": "^3.14.5",
|
|
69
69
|
"docx-preview": "^0.4.0",
|
|
70
70
|
"papaparse": "^5.5.3",
|
|
@@ -74,9 +74,9 @@
|
|
|
74
74
|
"usehooks-ts": "^3.1.1"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
|
-
"@fintama/swisper-int-storybook-theme": "0.0.
|
|
77
|
+
"@fintama/swisper-int-storybook-theme": "0.0.2",
|
|
78
78
|
"@fintama/swisper-int-vite-config": "0.0.1",
|
|
79
|
-
"@fintama/swisper-int-vitest-config": "0.0.
|
|
79
|
+
"@fintama/swisper-int-vitest-config": "0.0.2",
|
|
80
80
|
"@storybook/addon-a11y": "10.6.0",
|
|
81
81
|
"@storybook/addon-docs": "10.6.0",
|
|
82
82
|
"@storybook/addon-vitest": "10.6.0",
|
|
@@ -123,10 +123,11 @@ function stubFetch(body: string) {
|
|
|
123
123
|
return fetchMock;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
// The Markdown thumbnail is two lazy chunks (the subcomponent, then react-markdown)
|
|
127
|
-
// import of
|
|
126
|
+
// The Markdown thumbnail is two lazy chunks (the subcomponent, then react-markdown), and the PDF
|
|
127
|
+
// thumbnail is one; a cold import of them can outlast `findBy`'s timeout.
|
|
128
128
|
beforeAll(async () => {
|
|
129
129
|
await Promise.all([
|
|
130
|
+
import('../components/pdf/pdf-thumbnail'),
|
|
130
131
|
import('../components/markdown/markdown-thumbnail'),
|
|
131
132
|
import('../components/previews/markdown-page'),
|
|
132
133
|
]);
|