@webspatial/react-sdk 0.1.2 → 0.1.3
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.
|
@@ -41,8 +41,16 @@ declare namespace WebSpatialJSX {
|
|
|
41
41
|
interface IntrinsicClassAttributes<T> extends ReactJSXIntrinsicClassAttributes<T> {
|
|
42
42
|
}
|
|
43
43
|
type IntrinsicElements = {
|
|
44
|
-
[K in keyof ReactJSXIntrinsicElements]: ReactJSXIntrinsicElements[K]
|
|
44
|
+
[K in keyof ReactJSXIntrinsicElements]: ReactJSXIntrinsicElements[K] & {
|
|
45
|
+
style?: React.CSSProperties;
|
|
46
|
+
};
|
|
45
47
|
};
|
|
46
48
|
}
|
|
49
|
+
declare module 'react' {
|
|
50
|
+
interface CSSProperties {
|
|
51
|
+
'--xr-background-material'?: string;
|
|
52
|
+
'--xr-back'?: number | string;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
47
55
|
|
|
48
56
|
export { WebSpatialJSX as W, jsx as a, jsxs as b, jsxDEV as j };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webspatial/react-sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "React components for WebSpatial",
|
|
5
5
|
"main": "./dist/default/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"react": ">=18.0.0",
|
|
48
48
|
"react-dom": ">=18.0.0",
|
|
49
|
-
"@webspatial/core-sdk": "0.1.
|
|
49
|
+
"@webspatial/core-sdk": "0.1.3"
|
|
50
50
|
},
|
|
51
51
|
"peerDependenciesMeta": {
|
|
52
52
|
"@webspatial/core-sdk": {
|