@principal-ai/file-city-react 0.5.14 → 0.5.16

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.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * FileCity3D - 3D visualization component
3
3
  */
4
- export { FileCity3D, resetCamera } from './FileCity3D';
5
- export type { FileCity3DProps, AnimationConfig, HighlightLayer, HighlightItem, IsolationMode, HeightScaling, CityData, CityBuilding, CityDistrict, } from './FileCity3D';
4
+ export { FileCity3D, resetCamera, moveCameraTo, setCameraTarget, getCameraTarget, rotateCameraTo, rotateCameraBy, tiltCameraTo, tiltCameraBy, getCameraPosition, getCameraAngle, getCameraTilt } from './FileCity3D';
5
+ export type { FileCity3DProps, AnimationConfig, HighlightLayer, HighlightItem, IsolationMode, HeightScaling, CityData, CityBuilding, CityDistrict, RotateOptions, } from './FileCity3D';
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/FileCity3D/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AACvD,YAAY,EACV,eAAe,EACf,eAAe,EACf,cAAc,EACd,aAAa,EACb,aAAa,EACb,aAAa,EACb,QAAQ,EACR,YAAY,EACZ,YAAY,GACb,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/FileCity3D/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,eAAe,EAAE,eAAe,EAAE,cAAc,EAAE,cAAc,EAAE,YAAY,EAAE,YAAY,EAAE,iBAAiB,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AACrN,YAAY,EACV,eAAe,EACf,eAAe,EACf,cAAc,EACd,aAAa,EACb,aAAa,EACb,aAAa,EACb,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,aAAa,GACd,MAAM,cAAc,CAAC"}
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * FileCity3D - 3D visualization component
3
3
  */
4
- export { FileCity3D, resetCamera } from './FileCity3D';
4
+ export { FileCity3D, resetCamera, moveCameraTo, setCameraTarget, getCameraTarget, rotateCameraTo, rotateCameraBy, tiltCameraTo, tiltCameraBy, getCameraPosition, getCameraAngle, getCameraTilt } from './FileCity3D';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@principal-ai/file-city-react",
3
- "version": "0.5.14",
3
+ "version": "0.5.16",
4
4
  "type": "module",
5
5
  "description": "React components for File City visualization",
6
6
  "main": "dist/index.js",
@@ -22,12 +22,10 @@
22
22
  "three": "^0.175.0"
23
23
  },
24
24
  "peerDependencies": {
25
- "@principal-ai/alexandria-core-library": ">=0.1.36",
26
25
  "@principal-ai/file-city-builder": ">=0.4.5",
27
26
  "react": "^19.0.0"
28
27
  },
29
28
  "devDependencies": {
30
- "@principal-ai/alexandria-core-library": "^0.3.2",
31
29
  "@principal-ai/file-city-builder": "^0.4.5",
32
30
  "@storybook/addon-docs": "^10.1.2",
33
31
  "@storybook/addon-links": "^10.1.2",
@@ -51,5 +49,14 @@
51
49
  "react",
52
50
  "architecture"
53
51
  ],
54
- "license": "MIT"
52
+ "license": "MIT",
53
+ "repository": {
54
+ "type": "git",
55
+ "url": "git+https://github.com/principal-ai/file-city.git",
56
+ "directory": "packages/react"
57
+ },
58
+ "publishConfig": {
59
+ "access": "public",
60
+ "registry": "https://registry.npmjs.org/"
61
+ }
55
62
  }
@@ -16,8 +16,7 @@ import ReactFlow, {
16
16
  import 'reactflow/dist/style.css';
17
17
  import { useTheme } from '@principal-ade/industry-theme';
18
18
  import { FileTree } from '@principal-ai/repository-abstraction';
19
- import { CodebaseView } from '@principal-ai/alexandria-core-library';
20
- import { GridLayoutManager, CodeCityBuilderWithGrid } from '@principal-ai/file-city-builder';
19
+ import { GridLayoutManager, CodeCityBuilderWithGrid, CodebaseView } from '@principal-ai/file-city-builder';
21
20
  import { ArchitectureMapHighlightLayers } from './ArchitectureMapHighlightLayers';
22
21
 
23
22
  export interface CityViewWithReactFlowProps {