@arancini/react
Advanced tools
Comparing version 2.2.2 to 2.3.0
export * from "./declarations/src/index"; | ||
//# sourceMappingURL=arancini-react.cjs.d.ts.map |
@@ -35,6 +35,6 @@ import * as A from '@arancini/core'; | ||
export declare const createECS: (world: A.World) => { | ||
Space: ({ id, children }: SpaceProps) => JSX.Element; | ||
Space: ({ id, children }: SpaceProps) => React.JSX.Element; | ||
Entity: React.MemoExoticComponent<React.ForwardRefExoticComponent<EntityProps & React.RefAttributes<A.Entity>>>; | ||
Entities: ({ entities, children }: EntitiesProps) => JSX.Element; | ||
QueryEntities: ({ query, children }: QueryEntitiesProps) => JSX.Element; | ||
Entities: ({ entities, children }: EntitiesProps) => React.JSX.Element; | ||
QueryEntities: ({ query, children }: QueryEntitiesProps) => React.JSX.Element; | ||
Component: <T extends A.Component>({ args: argsProp, children, type, }: ComponentProps<T>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null; | ||
@@ -41,0 +41,0 @@ useQuery: (q: A.Query | A.QueryDescription) => A.Query; |
@@ -13,3 +13,3 @@ { | ||
"license": "MIT", | ||
"version": "2.2.2", | ||
"version": "2.3.0", | ||
"scripts": { | ||
@@ -23,3 +23,3 @@ "test": "vitest run", | ||
"dependencies": { | ||
"@arancini/core": "2.2.2" | ||
"@arancini/core": "2.3.0" | ||
}, | ||
@@ -31,33 +31,34 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"@babel/core": "^7.18.6", | ||
"@babel/core": "^7.21.4", | ||
"@babel/preset-env": "^7.21.4", | ||
"@babel/preset-react": "^7.18.6", | ||
"@babel/preset-typescript": "^7.21.4", | ||
"@mdx-js/react": "^1.6.22", | ||
"@preconstruct/cli": "^2.3.0", | ||
"@react-three/drei": "^9.16.0", | ||
"@react-three/fiber": "^8.0.27", | ||
"@storybook/addon-essentials": "^7.0.4", | ||
"@storybook/addon-interactions": "^7.0.4", | ||
"@storybook/addon-links": "^7.0.4", | ||
"@storybook/blocks": "^7.0.4", | ||
"@storybook/react": "^7.0.4", | ||
"@storybook/react-vite": "^7.0.4", | ||
"@storybook/testing-library": "^0.0.14-next.2", | ||
"@mdx-js/react": "^2.3.0", | ||
"@preconstruct/cli": "^2.5.0", | ||
"@react-three/drei": "^9.68.6", | ||
"@react-three/fiber": "^8.13.0", | ||
"@storybook/addon-essentials": "^7.0.18", | ||
"@storybook/addon-interactions": "^7.0.18", | ||
"@storybook/addon-links": "^7.0.18", | ||
"@storybook/blocks": "^7.0.18", | ||
"@storybook/react": "^7.0.18", | ||
"@storybook/react-vite": "^7.0.18", | ||
"@storybook/testing-library": "^0.1.0", | ||
"@testing-library/jest-dom": "^5.16.5", | ||
"@testing-library/react": "^13.4.0", | ||
"@testing-library/react": "^14.0.0", | ||
"@types/react": "^18.0.14", | ||
"@types/react-dom": "^18.0.5", | ||
"@types/three": "^0.141.0", | ||
"@types/three": "^0.152.0", | ||
"babel-loader": "^8.2.5", | ||
"eslint-plugin-storybook": "^0.6.12", | ||
"jsdom": "^21.1.1", | ||
"leva": "^0.9.34", | ||
"p2-es": "^1.1.6", | ||
"p2-es": "^1.1.8", | ||
"prop-types": "^15.8.1", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"storybook": "^7.0.4", | ||
"three": "^0.142.0", | ||
"storybook": "^7.0.18", | ||
"three": "^0.153.0", | ||
"timeline-composer": "^0.1.5", | ||
"typescript": "^5.0.4", | ||
"typescript": "^5.1.3", | ||
"vitest": "^0.30.1" | ||
@@ -64,0 +65,0 @@ }, |
@@ -148,3 +148,3 @@ # @arancini/react | ||
<mesh> | ||
<boxBufferGeometry args={[1, 1, 1]} /> | ||
<boxGeometry args={[1, 1, 1]} /> | ||
<meshNormalMaterial /> | ||
@@ -160,3 +160,3 @@ </mesh> | ||
<mesh> | ||
<boxBufferGeometry | ||
<boxGeometry | ||
position={[ | ||
@@ -181,3 +181,3 @@ (Math.random() - 0.5) * 2, | ||
<mesh> | ||
<boxBufferGeometry | ||
<boxGeometry | ||
position={[ | ||
@@ -216,3 +216,3 @@ (Math.random() - 0.5) * 2, | ||
<ECS.Entity> | ||
<ECS.Component type={Canvas}> | ||
<ECS.Component type={CanvasElementComponent}> | ||
<canvas /> | ||
@@ -219,0 +219,0 @@ </ECS.Component> |
38374
11
845
33
+ Added@arancini/core@2.3.0(transitive)
- Removed@arancini/core@2.2.2(transitive)
Updated@arancini/core@2.3.0