@verdocs/web-sdk-react 4.2.143 → 4.2.145
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.
|
@@ -103,6 +103,7 @@ export const createOverlayComponent = (tagName, controller, customElement) => {
|
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
return React.forwardRef((props, ref) => {
|
|
106
|
+
// @ts-ignore
|
|
106
107
|
return React.createElement(Overlay, Object.assign({}, props, { forwardedRef: ref }));
|
|
107
108
|
});
|
|
108
109
|
};
|
|
@@ -20,6 +20,7 @@ export const createForwardRef = (ReactComponent, displayName) => {
|
|
|
20
20
|
return React.createElement(ReactComponent, Object.assign({}, props, { forwardedRef: ref }));
|
|
21
21
|
};
|
|
22
22
|
forwardRef.displayName = displayName;
|
|
23
|
+
// @ts-ignore
|
|
23
24
|
return React.forwardRef(forwardRef);
|
|
24
25
|
};
|
|
25
26
|
export const defineCustomElement = (tagName, customElement) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@verdocs/web-sdk-react",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.145",
|
|
4
4
|
"description": "Verdocs Web SDK for React",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -18,17 +18,18 @@
|
|
|
18
18
|
"rollup": "rollup -c"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@
|
|
21
|
+
"@stencil/react-output-target": "^0.7.4",
|
|
22
|
+
"@verdocs/web-sdk": "^4.2.145"
|
|
22
23
|
},
|
|
23
24
|
"peerDependencies": {
|
|
24
25
|
"react": "^18.3.1",
|
|
25
26
|
"react-dom": "^18.3.1"
|
|
26
27
|
},
|
|
27
28
|
"devDependencies": {
|
|
28
|
-
"@types/jest": "29.5.
|
|
29
|
-
"@types/node": "22.
|
|
30
|
-
"@types/react": "18.3.
|
|
31
|
-
"@types/react-dom": "^18.3.
|
|
29
|
+
"@types/jest": "29.5.14",
|
|
30
|
+
"@types/node": "22.9.0",
|
|
31
|
+
"@types/react": "18.3.12",
|
|
32
|
+
"@types/react-dom": "^18.3.1",
|
|
32
33
|
"jest": "^29.7.0",
|
|
33
34
|
"jest-dom": "^4.0.0",
|
|
34
35
|
"prettier": "^3.3.3",
|