@pdfme/ui 5.4.6-dev.2 → 5.4.6-dev.25
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.es.js +20396 -20698
- package/dist/index.umd.js +121 -452
- package/package.json +8 -8
- package/src/components/Root.tsx +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pdfme/ui",
|
|
3
|
-
"version": "5.4.6-dev.
|
|
3
|
+
"version": "5.4.6-dev.25",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"author": "hand-dot",
|
|
6
6
|
"license": "MIT",
|
|
@@ -40,12 +40,12 @@
|
|
|
40
40
|
"@dnd-kit/sortable": "^10.0.0",
|
|
41
41
|
"@pdfme/converter": "*",
|
|
42
42
|
"@scena/react-guides": "^0.28.2",
|
|
43
|
-
"antd": "^5.
|
|
44
|
-
"dompurify": "^3.2.
|
|
43
|
+
"antd": "^5.27.4",
|
|
44
|
+
"dompurify": "^3.2.7",
|
|
45
45
|
"form-render": "^2.5.5",
|
|
46
46
|
"globrex": "^0.1.2",
|
|
47
47
|
"hotkeys-js": "^3.13.14",
|
|
48
|
-
"lucide-react": "^0.
|
|
48
|
+
"lucide-react": "^0.552.0",
|
|
49
49
|
"react": "^16.14.0",
|
|
50
50
|
"react-dom": "^16.14.0",
|
|
51
51
|
"react-moveable": "^0.56.0",
|
|
@@ -57,14 +57,14 @@
|
|
|
57
57
|
"@pdfme/schemas": "*",
|
|
58
58
|
"@testing-library/jest-dom": "^6.8.0",
|
|
59
59
|
"@testing-library/react": "^12.1.2",
|
|
60
|
-
"@types/dompurify": "^3.0
|
|
60
|
+
"@types/dompurify": "^3.2.0",
|
|
61
61
|
"@types/jest": "^30.0.0",
|
|
62
62
|
"@types/react": "^17.0.52",
|
|
63
63
|
"@types/react-dom": "^17.0.18",
|
|
64
64
|
"@ungap/structured-clone": "^1.3.0",
|
|
65
|
-
"@vitejs/plugin-react": "^
|
|
65
|
+
"@vitejs/plugin-react": "^5.0.4",
|
|
66
66
|
"csstype": "^3.1.2",
|
|
67
|
-
"esbuild": "^0.25.
|
|
67
|
+
"esbuild": "^0.25.10",
|
|
68
68
|
"eslint-plugin-react": "^7.37.5",
|
|
69
69
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
70
70
|
"is-path-inside": "^4.0.0",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"postcss": "^8.5.6",
|
|
74
74
|
"process": "^0.11.10",
|
|
75
75
|
"rollup": "^4.44.1",
|
|
76
|
-
"vite": "^7.1.
|
|
76
|
+
"vite": "^7.1.7",
|
|
77
77
|
"vite-plugin-css-injected-by-js": "^3.3.0",
|
|
78
78
|
"vite-tsconfig-paths": "^5.1.4"
|
|
79
79
|
},
|
package/src/components/Root.tsx
CHANGED
|
@@ -13,7 +13,7 @@ const Root = ({ size, scale, children }: Props, ref: Ref<HTMLDivElement>) => {
|
|
|
13
13
|
if (!document || !document.fonts) return;
|
|
14
14
|
const fontFaces = Object.entries(font).map(
|
|
15
15
|
([key, { data }]) =>
|
|
16
|
-
new FontFace(key, typeof data === 'string' ? `url(${data})` : data, {
|
|
16
|
+
new FontFace(key, typeof data === 'string' ? `url(${data})` : (data as BufferSource), {
|
|
17
17
|
display: 'swap',
|
|
18
18
|
}),
|
|
19
19
|
);
|