three-usd-robot 0.5.0 → 0.7.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/dist/react.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  import * as _react_three_fiber from '@react-three/fiber';
2
2
  import { ThreeElements } from '@react-three/fiber';
3
3
  import * as React from 'react';
4
- import { T as ThreeUsdRobot } from './ThreeUsdRobot-D9AOUaVh.js';
5
- import { T as ThreeUsdRobotLoaderOptions } from './ThreeUsdRobotLoader-BgsnuJWd.js';
4
+ import { T as ThreeUsdRobot } from './ThreeUsdRobot-Ljh4PDVD.js';
5
+ import { T as ThreeUsdRobotLoaderOptions } from './ThreeUsdRobotLoader-BSIVFA48.js';
6
6
  import 'three';
7
- import './buildKinematicTree-3oKG00Sc.js';
7
+ import './buildKinematicTree-Ccd2DIKH.js';
8
8
  import './AssetResolver-CpIJNgWZ.js';
9
9
 
10
10
  /**
@@ -52,7 +52,7 @@ type UsdRobotProps = ForwardedProps & {
52
52
  * </Suspense>
53
53
  * ```
54
54
  */
55
- declare const UsdRobot: React.ForwardRefExoticComponent<Partial<Pick<_react_three_fiber.PrimitiveProps, "scale" | "name" | "rotation" | "position" | "quaternion" | "visible" | "renderOrder" | "userData" | "onClick" | "onPointerOver" | "onPointerOut" | "onPointerMove">> & {
55
+ declare const UsdRobot: React.ForwardRefExoticComponent<Partial<Pick<_react_three_fiber.PrimitiveProps, "scale" | "name" | "position" | "rotation" | "quaternion" | "visible" | "renderOrder" | "userData" | "onClick" | "onPointerOver" | "onPointerOut" | "onPointerMove">> & {
56
56
  /** Asset URL (`.usda` / `.usdc` / binary `.usd` / `.usdz`). */
57
57
  url: string;
58
58
  /** Loader options (resolver, up-axis, textures, …). */
package/dist/react.js CHANGED
@@ -1,5 +1,5 @@
1
- import { ThreeUsdRobotLoader } from './chunk-Y3NXBSX3.js';
2
- import './chunk-36T6YOEX.js';
1
+ import { ThreeUsdRobotLoader } from './chunk-FL554IS5.js';
2
+ import './chunk-4GPCBXUS.js';
3
3
  import { useFrame } from '@react-three/fiber';
4
4
  import * as React from 'react';
5
5
  import { jsx } from 'react/jsx-runtime';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "three-usd-robot",
3
- "version": "0.5.0",
3
+ "version": "0.7.0",
4
4
  "description": "Kinematic OpenUSD robot loader for Three.js — load Isaac Sim / OpenUSD robot assets, extract joints and links, and control articulations in the browser.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -56,7 +56,10 @@
56
56
  "typecheck": "tsc --noEmit",
57
57
  "lint": "biome check .",
58
58
  "format": "biome format --write .",
59
- "check": "biome check --write ."
59
+ "check": "biome check --write .",
60
+ "demo:factory": "tsx scripts/demo-factory.ts",
61
+ "demo:install": "npm install --prefix examples/vite-joint-slider",
62
+ "demo:build": "npm run demo:factory && npm run build --prefix examples/vite-joint-slider"
60
63
  },
61
64
  "peerDependencies": {
62
65
  "@react-three/fiber": ">=8",
@@ -87,6 +90,7 @@
87
90
  "react-test-renderer": "^18.3.1",
88
91
  "three": "^0.171.0",
89
92
  "tsup": "^8.3.5",
93
+ "tsx": "^4.23.1",
90
94
  "typescript": "^5.7.2",
91
95
  "vitest": "^2.1.8"
92
96
  },