@almadar/ui 5.94.1 → 5.96.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/ui",
3
- "version": "5.94.1",
3
+ "version": "5.96.0",
4
4
  "description": "React UI components, hooks, and providers for Almadar",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -123,7 +123,7 @@
123
123
  "lint": "eslint --no-warn-ignored --max-warnings 0 ."
124
124
  },
125
125
  "dependencies": {
126
- "@almadar/core": "^10.13.0",
126
+ "@almadar/core": "^10.14.0",
127
127
  "@almadar/evaluator": ">=2.9.2",
128
128
  "@almadar/logger": "^1.3.0",
129
129
  "@almadar/patterns": ">=2.35.0",
@@ -1,45 +0,0 @@
1
- import React from 'react';
2
- import type { EventEmit } from '@almadar/core';
3
- import type { IsometricTile, IsometricUnit, IsometricFeature } from '../../shared/isometricTypes';
4
- /** Props for Canvas3D — cleaned prop surface per docs/Almadar_Std_Game.md §4.4 */
5
- export interface Canvas3DProps {
6
- tiles?: IsometricTile[];
7
- units?: IsometricUnit[];
8
- features?: IsometricFeature[];
9
- cameraMode?: 'isometric' | 'perspective' | 'top-down';
10
- shadows?: boolean;
11
- showGrid?: boolean;
12
- selectedUnitId?: string | null;
13
- validMoves?: Array<{
14
- x: number;
15
- z: number;
16
- }>;
17
- attackTargets?: Array<{
18
- x: number;
19
- z: number;
20
- }>;
21
- tileClickEvent?: EventEmit<{
22
- tileId: string;
23
- x: number;
24
- z: number;
25
- }>;
26
- unitClickEvent?: EventEmit<{
27
- unitId: string;
28
- x: number;
29
- z: number;
30
- }>;
31
- unitScale?: number;
32
- className?: string;
33
- isLoading?: boolean;
34
- error?: string | null;
35
- }
36
- /**
37
- * Canvas3D — pure 3D renderer. Game logic lives in LOLO; this component
38
- * receives pre-computed state via props and emits events via EventEmit props.
39
- *
40
- * Wraps GameCanvas3D under the canonical §4.4 prop surface.
41
- * GameCanvas3D is preserved for the Wave 4 migration; Canvas3D is the
42
- * stable public name going forward.
43
- */
44
- export declare function Canvas3D(props: Canvas3DProps): React.JSX.Element;
45
- export default Canvas3D;