@webspatial/react-sdk 0.1.13 → 0.1.15
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/default/index.d.ts +0 -5
- package/dist/default/index.js +2 -2
- package/dist/default/index.js.map +1 -1
- package/dist/jsx/jsx-dev-runtime.d.ts +71 -3
- package/dist/jsx/jsx-dev-runtime.js +1 -1
- package/dist/jsx/jsx-dev-runtime.web.js +1 -1
- package/dist/jsx/jsx-runtime.d.ts +2 -1
- package/dist/jsx/jsx-runtime.js +1 -1
- package/dist/jsx/jsx-runtime.web.js +1 -1
- package/dist/web/index.d.ts +0 -5
- package/dist/web/index.js +2 -2
- package/dist/web/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/jsx/jsx-runtime-zHGvMrtA.d.ts +0 -66
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webspatial/react-sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.15",
|
|
4
4
|
"description": "React components for WebSpatial",
|
|
5
5
|
"main": "./dist/default/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"react": ">=18.0.0",
|
|
53
53
|
"react-dom": ">=18.0.0",
|
|
54
|
-
"@webspatial/core-sdk": "0.1.
|
|
54
|
+
"@webspatial/core-sdk": "0.1.15"
|
|
55
55
|
},
|
|
56
56
|
"peerDependenciesMeta": {
|
|
57
57
|
"@webspatial/core-sdk": {
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import 'react/jsx-runtime';
|
|
2
|
-
import * as react from 'react';
|
|
3
|
-
import { JSXSource } from 'react/jsx-dev-runtime';
|
|
4
|
-
|
|
5
|
-
declare function jsxs(type: React.ElementType, props: unknown, key?: React.Key): react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
|
6
|
-
declare function jsx(type: React.ElementType, props: unknown, key?: React.Key): react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
|
7
|
-
declare function jsxDEV(type: React.ElementType, props: unknown, key: React.Key, isStatic: boolean, source?: JSXSource, self?: unknown): react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
|
8
|
-
|
|
9
|
-
type IsPreReact19 = 2 extends Parameters<React.FunctionComponent<any>>['length'] ? true : false;
|
|
10
|
-
/** @ts-ignore */
|
|
11
|
-
type ReactJSXElement = true extends IsPreReact19 ? JSX.Element : React.JSX.Element;
|
|
12
|
-
/** @ts-ignore */
|
|
13
|
-
type ReactJSXElementClass = true extends IsPreReact19 ? JSX.ElementClass : React.JSX.ElementClass;
|
|
14
|
-
/** @ts-ignore */
|
|
15
|
-
type ReactJSXElementAttributesProperty = true extends IsPreReact19 ? JSX.ElementAttributesProperty : React.JSX.ElementAttributesProperty;
|
|
16
|
-
/** @ts-ignore */
|
|
17
|
-
type ReactJSXElementChildrenAttribute = true extends IsPreReact19 ? JSX.ElementChildrenAttribute : React.JSX.ElementChildrenAttribute;
|
|
18
|
-
/** @ts-ignore */
|
|
19
|
-
type ReactJSXLibraryManagedAttributes<C, P> = true extends IsPreReact19 ? JSX.LibraryManagedAttributes<C, P> : React.JSX.LibraryManagedAttributes<C, P>;
|
|
20
|
-
/** @ts-ignore */
|
|
21
|
-
type ReactJSXIntrinsicAttributes = true extends IsPreReact19 ? JSX.IntrinsicAttributes : React.JSX.IntrinsicAttributes;
|
|
22
|
-
/** @ts-ignore */
|
|
23
|
-
type ReactJSXIntrinsicClassAttributes<T> = true extends IsPreReact19 ? JSX.IntrinsicClassAttributes<T> : React.JSX.IntrinsicClassAttributes<T>;
|
|
24
|
-
/** @ts-ignore */
|
|
25
|
-
type ReactJSXIntrinsicElements = true extends IsPreReact19 ? JSX.IntrinsicElements : React.JSX.IntrinsicElements;
|
|
26
|
-
/** @ts-ignore */
|
|
27
|
-
type ReactJSXElementType = true extends IsPreReact19 ? string | React.JSXElementConstructor<any> : React.JSX.ElementType;
|
|
28
|
-
declare namespace WebSpatialJSX {
|
|
29
|
-
type ElementType = ReactJSXElementType;
|
|
30
|
-
interface Element extends ReactJSXElement {
|
|
31
|
-
}
|
|
32
|
-
interface ElementClass extends ReactJSXElementClass {
|
|
33
|
-
}
|
|
34
|
-
interface ElementAttributesProperty extends ReactJSXElementAttributesProperty {
|
|
35
|
-
}
|
|
36
|
-
interface ElementChildrenAttribute extends ReactJSXElementChildrenAttribute {
|
|
37
|
-
}
|
|
38
|
-
type LibraryManagedAttributes<C, P> = ReactJSXLibraryManagedAttributes<C, P>;
|
|
39
|
-
interface IntrinsicAttributes extends ReactJSXIntrinsicAttributes {
|
|
40
|
-
}
|
|
41
|
-
interface IntrinsicClassAttributes<T> extends ReactJSXIntrinsicClassAttributes<T> {
|
|
42
|
-
}
|
|
43
|
-
type IntrinsicElements = {
|
|
44
|
-
[K in keyof ReactJSXIntrinsicElements]: ReactJSXIntrinsicElements[K] & {
|
|
45
|
-
style?: React.CSSProperties;
|
|
46
|
-
'enable-xr'?: boolean;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
declare module 'react' {
|
|
51
|
-
interface CSSProperties {
|
|
52
|
-
'--xr-background-material'?: string;
|
|
53
|
-
'--xr-back'?: number | string;
|
|
54
|
-
'--xr-z-index'?: number | string;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
declare global {
|
|
59
|
-
interface CSSStyleDeclaration {
|
|
60
|
-
'--xr-background-material'?: string;
|
|
61
|
-
'--xr-back'?: number | string;
|
|
62
|
-
'--xr-z-index'?: number | string;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export { WebSpatialJSX as W, jsx as a, jsxs as b, jsxDEV as j };
|