@vonage/vivid-vue 4.15.0 → 4.16.0
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/index.cjs +806 -657
- package/index.js +806 -657
- package/package.json +2 -2
- package/utils/ssr.d.ts +8 -0
- package/web-types.json +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-vue",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.16.0",
|
|
4
4
|
"description": "A Vue wrapper library for Vivid components.",
|
|
5
5
|
"author": "Vonage",
|
|
6
6
|
"license": "ISC",
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
"vue": "^2.7.0 || >=3.0.0"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@vonage/vivid": "^4.
|
|
23
|
+
"@vonage/vivid": "^4.16.0"
|
|
24
24
|
}
|
|
25
25
|
}
|
package/utils/ssr.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Vue 3 server renderer does not support the '^' and '.' prefixes in props.
|
|
3
|
+
* Instead, it will forward all props verbatim as attributes resulting in output
|
|
4
|
+
* like `^label="Hello"` in the final HTML.
|
|
5
|
+
* This function drops props forwarded as properties and removes the '^' prefix
|
|
6
|
+
* from attributes when running in SSR mode.
|
|
7
|
+
*/
|
|
8
|
+
export declare function handleVue3Props(props: Record<string, unknown>): Record<string, unknown>;
|