@swisper.ai/web-file-preview 0.0.8 → 0.0.10

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": "@swisper.ai/web-file-preview",
3
- "version": "0.0.8",
3
+ "version": "0.0.10",
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.4",
64
+ "@swisper.ai/icons": "0.0.6",
65
65
  "@swisper.ai/tailwind-config": "0.0.4",
66
- "@swisper.ai/ui": "0.3.1",
67
- "@swisper.ai/web-core": "0.0.3",
66
+ "@swisper.ai/ui": "0.4.1",
67
+ "@swisper.ai/web-core": "0.0.5",
68
68
  "@tanstack/react-virtual": "^3.14.5",
69
69
  "docx-preview": "^0.4.0",
70
70
  "papaparse": "^5.5.3",
@@ -76,7 +76,7 @@
76
76
  "devDependencies": {
77
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.1",
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); a cold
127
- // import of both can outlast `findBy`'s timeout.
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
  ]);