@pdfme/ui 5.3.13-dev.4 → 5.3.13-dev.40

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.
@@ -1,5 +1,8 @@
1
1
  import { PreviewProps } from '@pdfme/common';
2
2
  import { PreviewUI } from './class.js';
3
+ /**
4
+ * @deprecated This component will be removed in a future version. Consider using an alternative solution.
5
+ */
3
6
  declare class Viewer extends PreviewUI {
4
7
  constructor(props: PreviewProps);
5
8
  protected render(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pdfme/ui",
3
- "version": "5.3.13-dev.4",
3
+ "version": "5.3.13-dev.40",
4
4
  "sideEffects": false,
5
5
  "author": "hand-dot",
6
6
  "license": "MIT",
@@ -38,20 +38,20 @@
38
38
  "dependencies": {
39
39
  "@dnd-kit/core": "^6.0.8",
40
40
  "@dnd-kit/sortable": "^10.0.0",
41
- "@pdfme/converter": "file:../converter",
41
+ "@pdfme/converter": "*",
42
42
  "@scena/react-guides": "^0.28.2",
43
- "antd": "^5.24.2",
43
+ "antd": "^5.24.3",
44
44
  "form-render": "^2.2.16",
45
45
  "hotkeys-js": "^3.8.7",
46
- "lucide-react": "^0.460.0",
46
+ "lucide-react": "^0.479.0",
47
47
  "react": "^16.14.0",
48
48
  "react-dom": "^16.14.0",
49
49
  "react-moveable": "^0.56.0",
50
50
  "react-selecto": "^1.12.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@pdfme/common": "file:../common",
54
- "@pdfme/schemas": "file:../schemas",
53
+ "@pdfme/common": "*",
54
+ "@pdfme/schemas": "*",
55
55
  "@testing-library/jest-dom": "^6.6.3",
56
56
  "@testing-library/react": "^12.1.2",
57
57
  "@types/jest": "^29.5.14",
@@ -60,14 +60,14 @@
60
60
  "@ungap/structured-clone": "^1.3.0",
61
61
  "@vitejs/plugin-react": "^4.2.0",
62
62
  "csstype": "^3.1.2",
63
- "esbuild": "^0.25.0",
63
+ "esbuild": "^0.25.1",
64
64
  "eslint-plugin-react": "^7.37.4",
65
65
  "eslint-plugin-react-hooks": "^5.2.0",
66
66
  "is-path-inside": "^4.0.0",
67
67
  "jest-canvas-mock": "^2.3.1",
68
68
  "jest-environment-jsdom": "^29.7.0",
69
69
  "process": "^0.11.10",
70
- "vite": "^6.2.0",
70
+ "vite": "^6.2.1",
71
71
  "vite-plugin-css-injected-by-js": "^3.3.0",
72
72
  "vite-tsconfig-paths": "^5.1.4"
73
73
  },
package/src/Viewer.tsx CHANGED
@@ -6,9 +6,13 @@ import { DESTROYED_ERR_MSG } from './constants.js';
6
6
  import Preview from './components/Preview.js';
7
7
  import AppContextProvider from './components/AppContextProvider.js';
8
8
 
9
+ /**
10
+ * @deprecated This component will be removed in a future version. Consider using an alternative solution.
11
+ */
9
12
  class Viewer extends PreviewUI {
10
13
  constructor(props: PreviewProps) {
11
14
  super(props);
15
+ console.warn('[@pdfme/ui] Viewer component is deprecated and will be removed in a future version.');
12
16
  }
13
17
 
14
18
  protected render() {