@almadar/ui 5.28.5 → 5.29.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.
Files changed (47) hide show
  1. package/dist/avl/index.cjs +6600 -495
  2. package/dist/avl/index.js +6601 -496
  3. package/dist/components/core/organisms/index.d.ts +1 -1
  4. package/dist/components/core/templates/index.d.ts +3 -0
  5. package/dist/components/game/{organisms → molecules}/GameCanvas3D.d.ts +1 -3
  6. package/dist/components/game/molecules/index.d.ts +1 -0
  7. package/dist/components/game/{organisms → molecules}/three/hooks/useGameCanvas3DEvents.d.ts +1 -1
  8. package/dist/components/game/{organisms → molecules}/three/index.cjs +2 -2
  9. package/dist/components/game/{organisms → molecules}/three/index.css +3 -3
  10. package/dist/components/game/{organisms → molecules}/three/index.js +2 -2
  11. package/dist/components/game/{organisms → molecules}/three/renderers/FeatureRenderer.d.ts +1 -1
  12. package/dist/components/game/{organisms → molecules}/three/renderers/FeatureRenderer3D.d.ts +1 -1
  13. package/dist/components/game/{organisms → molecules}/three/renderers/TileRenderer.d.ts +1 -1
  14. package/dist/components/game/{organisms → molecules}/three/renderers/UnitRenderer.d.ts +1 -1
  15. package/dist/components/game/organisms/index.d.ts +0 -9
  16. package/dist/components/index.cjs +13 -12
  17. package/dist/components/index.js +13 -12
  18. package/dist/providers/index.cjs +13 -12
  19. package/dist/providers/index.js +13 -12
  20. package/dist/runtime/index.cjs +13 -12
  21. package/dist/runtime/index.js +13 -12
  22. package/package.json +9 -4
  23. package/dist/components/game/organisms/CombatLog.d.ts +0 -2
  24. package/dist/components/game/organisms/DialogueBox.d.ts +0 -2
  25. package/dist/components/game/organisms/GameHud.d.ts +0 -2
  26. package/dist/components/game/organisms/GameMenu.d.ts +0 -2
  27. package/dist/components/game/organisms/GameOverScreen.d.ts +0 -2
  28. package/dist/components/game/organisms/InventoryPanel.d.ts +0 -2
  29. package/dist/components/game/organisms/IsometricCanvas.d.ts +0 -3
  30. package/dist/components/game/organisms/PlatformerCanvas.d.ts +0 -2
  31. /package/dist/components/game/{organisms → molecules}/three/Camera3D.d.ts +0 -0
  32. /package/dist/components/game/{organisms → molecules}/three/Lighting3D.d.ts +0 -0
  33. /package/dist/components/game/{organisms → molecules}/three/Scene3D.d.ts +0 -0
  34. /package/dist/components/game/{organisms → molecules}/three/components/Canvas3DErrorBoundary.d.ts +0 -0
  35. /package/dist/components/game/{organisms → molecules}/three/components/Canvas3DLoadingState.d.ts +0 -0
  36. /package/dist/components/game/{organisms → molecules}/three/components/ModelLoader.d.ts +0 -0
  37. /package/dist/components/game/{organisms → molecules}/three/components/PhysicsObject3D.d.ts +0 -0
  38. /package/dist/components/game/{organisms → molecules}/three/components/index.d.ts +0 -0
  39. /package/dist/components/game/{organisms → molecules}/three/hooks/useAssetLoader.d.ts +0 -0
  40. /package/dist/components/game/{organisms → molecules}/three/hooks/useRaycaster.d.ts +0 -0
  41. /package/dist/components/game/{organisms → molecules}/three/hooks/useSceneGraph.d.ts +0 -0
  42. /package/dist/components/game/{organisms → molecules}/three/hooks/useThree.d.ts +0 -0
  43. /package/dist/components/game/{organisms → molecules}/three/index.d.ts +0 -0
  44. /package/dist/components/game/{organisms → molecules}/three/loaders/AssetLoader.d.ts +0 -0
  45. /package/dist/components/game/{organisms → molecules}/three/renderers/index.d.ts +0 -0
  46. /package/dist/components/game/{organisms → molecules}/three/utils/culling.d.ts +0 -0
  47. /package/dist/components/game/{organisms → molecules}/three/utils/grid3D.d.ts +0 -0
@@ -26,4 +26,4 @@ export { StepFlowOrganism, type StepFlowOrganismProps, } from "../../marketing/o
26
26
  export { ShowcaseOrganism, type ShowcaseOrganismProps, } from "../../marketing/organisms/ShowcaseOrganism";
27
27
  export { TeamOrganism, type TeamOrganismProps, } from "../../marketing/organisms/TeamOrganism";
28
28
  export { CaseStudyOrganism, type CaseStudyOrganismProps, } from "../../marketing/organisms/CaseStudyOrganism";
29
- export { FeatureRenderer, type FeatureRendererProps } from '../../game/organisms/three/renderers/FeatureRenderer';
29
+ export { FeatureRenderer, type FeatureRendererProps } from '../../game/molecules/three/renderers/FeatureRenderer';
@@ -12,3 +12,6 @@ export { LandingPageTemplate, type LandingPageTemplateProps, type LandingPageEnt
12
12
  export { PricingPageTemplate, type PricingPageTemplateProps, type PricingPageEntity, } from '../../marketing/templates/PricingPageTemplate';
13
13
  export { FeatureDetailPageTemplate, type FeatureDetailPageTemplateProps, type FeatureDetailPageEntity, type FeatureDetailSection, } from '../../marketing/templates/FeatureDetailPageTemplate';
14
14
  export { AboutPageTemplate, type AboutPageTemplateProps, type AboutPageEntity, } from '../../marketing/templates/AboutPageTemplate';
15
+ export type { GameCanvas3DBattleTemplate, GameCanvas3DBattleTemplateProps } from '../../game/templates/GameCanvas3DBattleTemplate';
16
+ export type { GameCanvas3DCastleTemplate, GameCanvas3DCastleTemplateProps } from '../../game/templates/GameCanvas3DCastleTemplate';
17
+ export type { GameCanvas3DWorldMapTemplate, GameCanvas3DWorldMapTemplateProps } from '../../game/templates/GameCanvas3DWorldMapTemplate';
@@ -17,7 +17,7 @@ import React from 'react';
17
17
  import type { EventEmit } from '@almadar/core';
18
18
  import * as THREE from 'three';
19
19
  import { AssetLoader } from './three/loaders/AssetLoader';
20
- import type { IsometricTile, IsometricUnit, IsometricFeature } from './types/isometric';
20
+ import type { IsometricTile, IsometricUnit, IsometricFeature } from '../organisms/types/isometric';
21
21
  import './GameCanvas3D.css';
22
22
  export type { IsometricTile, IsometricUnit, IsometricFeature };
23
23
  /** Game event for canvas display */
@@ -35,8 +35,6 @@ export type CameraMode = 'isometric' | 'perspective' | 'top-down';
35
35
  export type MapOrientation = 'standard' | 'rotated';
36
36
  /** Overlay control */
37
37
  export type OverlayControl = 'default' | 'hidden' | 'minimap';
38
- /** Unit animation state */
39
- export type UnitAnimationState = 'idle' | 'walk' | 'attack' | 'hurt' | 'die';
40
38
  /** Props for GameCanvas3D component */
41
39
  export interface GameCanvas3DProps {
42
40
  /** Additional CSS classes */
@@ -5,6 +5,7 @@
5
5
  *
6
6
  * @packageDocumentation
7
7
  */
8
+ export type { GameCanvas3D, GameCanvas3DProps, GameCanvas3DHandle, GameEvent, CameraMode, MapOrientation, OverlayControl } from './GameCanvas3D';
8
9
  export { DPad, type DPadProps, type DPadDirection } from './DPad';
9
10
  export { ActionButtons, type ActionButtonsProps, type ActionButtonConfig } from './ActionButtons';
10
11
  export { StatBadge, type StatBadgeProps } from './StatBadge';
@@ -1,5 +1,5 @@
1
1
  import type { EventEmit } from '@almadar/core';
2
- import type { IsometricTile, IsometricUnit, IsometricFeature } from '../../types/isometric';
2
+ import type { IsometricTile, IsometricUnit, IsometricFeature } from '../../../organisms/types/isometric';
3
3
  export interface GameCanvas3DEventConfig {
4
4
  /** Event name for tile clicks */
5
5
  tileClickEvent?: EventEmit<{
@@ -780,7 +780,7 @@ var AssetLoader = class {
780
780
  };
781
781
  var assetLoader = new AssetLoader();
782
782
 
783
- // components/game/organisms/three/hooks/useThree.ts
783
+ // components/game/molecules/three/hooks/useThree.ts
784
784
  var DEFAULT_OPTIONS = {
785
785
  cameraMode: "isometric",
786
786
  cameraPosition: [10, 10, 10],
@@ -1500,7 +1500,7 @@ function useEmitEvent() {
1500
1500
  );
1501
1501
  }
1502
1502
 
1503
- // components/game/organisms/three/hooks/useGameCanvas3DEvents.ts
1503
+ // components/game/molecules/three/hooks/useGameCanvas3DEvents.ts
1504
1504
  function useGameCanvas3DEvents(options) {
1505
1505
  const {
1506
1506
  tileClickEvent,
@@ -1,4 +1,4 @@
1
- /* components/game/organisms/three/components/Canvas3DLoadingState.css */
1
+ /* components/game/molecules/three/components/Canvas3DLoadingState.css */
2
2
  .canvas-3d-loading {
3
3
  position: absolute;
4
4
  inset: 0;
@@ -151,7 +151,7 @@
151
151
  }
152
152
  }
153
153
 
154
- /* components/game/organisms/three/components/Canvas3DErrorBoundary.css */
154
+ /* components/game/molecules/three/components/Canvas3DErrorBoundary.css */
155
155
  .canvas-3d-error {
156
156
  position: absolute;
157
157
  inset: 0;
@@ -314,7 +314,7 @@
314
314
  }
315
315
  }
316
316
 
317
- /* components/game/organisms/GameCanvas3D.css */
317
+ /* components/game/molecules/GameCanvas3D.css */
318
318
  .game-canvas-3d {
319
319
  position: relative;
320
320
  width: 100%;
@@ -756,7 +756,7 @@ var AssetLoader = class {
756
756
  };
757
757
  var assetLoader = new AssetLoader();
758
758
 
759
- // components/game/organisms/three/hooks/useThree.ts
759
+ // components/game/molecules/three/hooks/useThree.ts
760
760
  var DEFAULT_OPTIONS = {
761
761
  cameraMode: "isometric",
762
762
  cameraPosition: [10, 10, 10],
@@ -1476,7 +1476,7 @@ function useEmitEvent() {
1476
1476
  );
1477
1477
  }
1478
1478
 
1479
- // components/game/organisms/three/hooks/useGameCanvas3DEvents.ts
1479
+ // components/game/molecules/three/hooks/useGameCanvas3DEvents.ts
1480
1480
  function useGameCanvas3DEvents(options) {
1481
1481
  const {
1482
1482
  tileClickEvent,
@@ -7,7 +7,7 @@
7
7
  * @packageDocumentation
8
8
  */
9
9
  import React from 'react';
10
- import type { IsometricFeature } from '../../types/isometric';
10
+ import type { IsometricFeature } from '../../../organisms/types/isometric';
11
11
  export interface FeatureRendererProps {
12
12
  /** Array of features to render */
13
13
  features: IsometricFeature[];
@@ -7,7 +7,7 @@
7
7
  * @packageDocumentation
8
8
  */
9
9
  import React from 'react';
10
- import type { IsometricFeature } from '../../types/isometric';
10
+ import type { IsometricFeature } from '../../../organisms/types/isometric';
11
11
  export interface FeatureRenderer3DProps {
12
12
  /** Array of features to render */
13
13
  features: IsometricFeature[];
@@ -7,7 +7,7 @@
7
7
  * @packageDocumentation
8
8
  */
9
9
  import React from 'react';
10
- import type { IsometricTile } from '../../types/isometric';
10
+ import type { IsometricTile } from '../../../organisms/types/isometric';
11
11
  export interface TileRendererProps {
12
12
  /** Array of tiles to render */
13
13
  tiles: IsometricTile[];
@@ -7,7 +7,7 @@
7
7
  * @packageDocumentation
8
8
  */
9
9
  import React from 'react';
10
- import type { IsometricUnit } from '../../types/isometric';
10
+ import type { IsometricUnit } from '../../../organisms/types/isometric';
11
11
  export type UnitAnimationState = 'idle' | 'walk' | 'attack' | 'hurt' | 'die';
12
12
  export interface UnitRendererProps {
13
13
  /** Array of units to render */
@@ -6,8 +6,6 @@
6
6
  *
7
7
  * @packageDocumentation
8
8
  */
9
- export { IsometricCanvas, type IsometricCanvasProps } from './IsometricCanvas';
10
- export { PlatformerCanvas, type PlatformerCanvasProps, type PlatformerPlatform, type PlatformerPlayer } from './PlatformerCanvas';
11
9
  export { CanvasEffect, type CanvasEffectProps, type CombatActionType } from './CanvasEffect';
12
10
  export type { IsometricTile, IsometricUnit, IsometricFeature, CameraState, } from './types/isometric';
13
11
  export type { AnimationName, FacingDirection, SpriteDirection, ResolvedFrame, UnitAnimationState, SpriteFrameDims, SpriteSheetUrls, AnimationDef, } from './types/spriteAnimation';
@@ -22,11 +20,6 @@ export { PhysicsManager, type Physics2DState, type PhysicsBounds, type PhysicsCo
22
20
  export { isoToScreen, screenToIso, TILE_WIDTH, TILE_HEIGHT, FLOOR_HEIGHT, DIAMOND_TOP_Y, FEATURE_COLORS, } from './utils/isometric';
23
21
  export { inferDirection, resolveSheetDirection, getCurrentFrame, resolveFrame, createUnitAnimationState, transitionAnimation, tickAnimationState, } from './utils/spriteAnimation';
24
22
  export { SPRITE_SHEET_LAYOUT, SHEET_COLUMNS } from './utils/spriteSheetConstants';
25
- export { GameHud, type GameHudProps, type GameHudStat, type GameHudElement } from './GameHud';
26
- export { GameMenu, type GameMenuProps, type MenuOption } from './GameMenu';
27
- export { GameOverScreen, type GameOverScreenProps, type GameOverStat, type GameOverAction } from './GameOverScreen';
28
- export { InventoryPanel, type InventoryPanelProps, type InventoryItem } from './InventoryPanel';
29
- export { DialogueBox, type DialogueBoxProps, type DialogueNode, type DialogueChoice } from './DialogueBox';
30
23
  export { BattleBoard, type BattleBoardProps, type BattlePhase, type BattleSlotContext, } from './BattleBoard';
31
24
  export { UncontrolledBattleBoard, type UncontrolledBattleBoardProps, } from './UncontrolledBattleBoard';
32
25
  export { useBattleState, type BattleStateEventConfig, type BattleStateCallbacks, type BattleStateResult, } from './hooks/useBattleState';
@@ -44,8 +37,6 @@ export * from './puzzles/builder';
44
37
  export * from './puzzles/debugger';
45
38
  export * from './puzzles/negotiator';
46
39
  export * from './physics-sim';
47
- export { CombatLog } from './CombatLog';
48
- export type { CombatLogProps, CombatEvent, CombatLogEventType } from './CombatLog';
49
40
  export { createInitialGameState, calculateValidMoves, calculateAttackTargets, } from './types/game';
50
41
  export type { Position, GameUnit, UnitTrait, BoardTile, GamePhase, GameState, GameAction, } from './types/game';
51
42
  export { combatAnimations, combatClasses, combatEffects, applyTemporaryEffect, calculateDamage, generateCombatMessage, } from './utils/combatEffects';
@@ -10046,13 +10046,6 @@ var init_IsometricCanvas = __esm({
10046
10046
  }
10047
10047
  });
10048
10048
 
10049
- // components/game/organisms/IsometricCanvas.tsx
10050
- var init_IsometricCanvas2 = __esm({
10051
- "components/game/organisms/IsometricCanvas.tsx"() {
10052
- init_IsometricCanvas();
10053
- }
10054
- });
10055
-
10056
10049
  // components/game/organisms/boardEntity.ts
10057
10050
  function boardEntity(entity) {
10058
10051
  if (!entity) return void 0;
@@ -10448,7 +10441,7 @@ var init_BattleBoard = __esm({
10448
10441
  init_Button();
10449
10442
  init_Typography();
10450
10443
  init_Stack();
10451
- init_IsometricCanvas2();
10444
+ init_IsometricCanvas();
10452
10445
  init_boardEntity();
10453
10446
  init_isometric();
10454
10447
  BattleBoard.displayName = "BattleBoard";
@@ -18363,7 +18356,7 @@ var init_CastleBoard = __esm({
18363
18356
  "use client";
18364
18357
  init_cn();
18365
18358
  init_useEventBus();
18366
- init_IsometricCanvas2();
18359
+ init_IsometricCanvas();
18367
18360
  init_boardEntity();
18368
18361
  init_isometric();
18369
18362
  CastleBoard.displayName = "CastleBoard";
@@ -47048,7 +47041,7 @@ var init_WorldMapBoard = __esm({
47048
47041
  init_useEventBus();
47049
47042
  init_Stack();
47050
47043
  init_LoadingState();
47051
- init_IsometricCanvas2();
47044
+ init_IsometricCanvas();
47052
47045
  init_boardEntity();
47053
47046
  init_isometric();
47054
47047
  WorldMapBoard.displayName = "WorldMapBoard";
@@ -47188,7 +47181,7 @@ function lazyThree(name, loader) {
47188
47181
  ThreeWrapper.displayName = `Lazy(${name})`;
47189
47182
  return ThreeWrapper;
47190
47183
  }
47191
- var FeatureRenderer, COMPONENT_REGISTRY;
47184
+ var FeatureRenderer, GameCanvas3D, GameCanvas3DBattleTemplate, GameCanvas3DCastleTemplate, GameCanvas3DWorldMapTemplate, COMPONENT_REGISTRY;
47192
47185
  var init_component_registry_generated = __esm({
47193
47186
  "components/core/organisms/component-registry.generated.ts"() {
47194
47187
  init_AboutPageTemplate();
@@ -47474,7 +47467,11 @@ var init_component_registry_generated = __esm({
47474
47467
  init_WorldMapBoard();
47475
47468
  init_WorldMapTemplate();
47476
47469
  init_XPBar();
47477
- FeatureRenderer = lazyThree("FeatureRenderer", () => import('@almadar/ui/components/organisms/game/three'));
47470
+ FeatureRenderer = lazyThree("FeatureRenderer", () => import('@almadar/ui/components/molecules/game/three'));
47471
+ GameCanvas3D = lazyThree("GameCanvas3D", () => import('@almadar/ui/components/molecules/game/three'));
47472
+ GameCanvas3DBattleTemplate = lazyThree("GameCanvas3DBattleTemplate", () => import('@almadar/ui/components/molecules/game/three'));
47473
+ GameCanvas3DCastleTemplate = lazyThree("GameCanvas3DCastleTemplate", () => import('@almadar/ui/components/molecules/game/three'));
47474
+ GameCanvas3DWorldMapTemplate = lazyThree("GameCanvas3DWorldMapTemplate", () => import('@almadar/ui/components/molecules/game/three'));
47478
47475
  COMPONENT_REGISTRY = {
47479
47476
  "AboutPageTemplate": exports.AboutPageTemplate,
47480
47477
  "Accordion": exports.Accordion,
@@ -47587,6 +47584,10 @@ var init_component_registry_generated = __esm({
47587
47584
  "GameAudioProvider": GameAudioProvider,
47588
47585
  "GameAudioToggle": GameAudioToggle,
47589
47586
  "GameCanvas2D": GameCanvas2D,
47587
+ "GameCanvas3D": GameCanvas3D,
47588
+ "GameCanvas3DBattleTemplate": GameCanvas3DBattleTemplate,
47589
+ "GameCanvas3DCastleTemplate": GameCanvas3DCastleTemplate,
47590
+ "GameCanvas3DWorldMapTemplate": GameCanvas3DWorldMapTemplate,
47590
47591
  "GameHud": GameHud,
47591
47592
  "GameMenu": GameMenu,
47592
47593
  "GameOverScreen": GameOverScreen,
@@ -9998,13 +9998,6 @@ var init_IsometricCanvas = __esm({
9998
9998
  }
9999
9999
  });
10000
10000
 
10001
- // components/game/organisms/IsometricCanvas.tsx
10002
- var init_IsometricCanvas2 = __esm({
10003
- "components/game/organisms/IsometricCanvas.tsx"() {
10004
- init_IsometricCanvas();
10005
- }
10006
- });
10007
-
10008
10001
  // components/game/organisms/boardEntity.ts
10009
10002
  function boardEntity(entity) {
10010
10003
  if (!entity) return void 0;
@@ -10400,7 +10393,7 @@ var init_BattleBoard = __esm({
10400
10393
  init_Button();
10401
10394
  init_Typography();
10402
10395
  init_Stack();
10403
- init_IsometricCanvas2();
10396
+ init_IsometricCanvas();
10404
10397
  init_boardEntity();
10405
10398
  init_isometric();
10406
10399
  BattleBoard.displayName = "BattleBoard";
@@ -18315,7 +18308,7 @@ var init_CastleBoard = __esm({
18315
18308
  "use client";
18316
18309
  init_cn();
18317
18310
  init_useEventBus();
18318
- init_IsometricCanvas2();
18311
+ init_IsometricCanvas();
18319
18312
  init_boardEntity();
18320
18313
  init_isometric();
18321
18314
  CastleBoard.displayName = "CastleBoard";
@@ -47000,7 +46993,7 @@ var init_WorldMapBoard = __esm({
47000
46993
  init_useEventBus();
47001
46994
  init_Stack();
47002
46995
  init_LoadingState();
47003
- init_IsometricCanvas2();
46996
+ init_IsometricCanvas();
47004
46997
  init_boardEntity();
47005
46998
  init_isometric();
47006
46999
  WorldMapBoard.displayName = "WorldMapBoard";
@@ -47140,7 +47133,7 @@ function lazyThree(name, loader) {
47140
47133
  ThreeWrapper.displayName = `Lazy(${name})`;
47141
47134
  return ThreeWrapper;
47142
47135
  }
47143
- var FeatureRenderer, COMPONENT_REGISTRY;
47136
+ var FeatureRenderer, GameCanvas3D, GameCanvas3DBattleTemplate, GameCanvas3DCastleTemplate, GameCanvas3DWorldMapTemplate, COMPONENT_REGISTRY;
47144
47137
  var init_component_registry_generated = __esm({
47145
47138
  "components/core/organisms/component-registry.generated.ts"() {
47146
47139
  init_AboutPageTemplate();
@@ -47426,7 +47419,11 @@ var init_component_registry_generated = __esm({
47426
47419
  init_WorldMapBoard();
47427
47420
  init_WorldMapTemplate();
47428
47421
  init_XPBar();
47429
- FeatureRenderer = lazyThree("FeatureRenderer", () => import('@almadar/ui/components/organisms/game/three'));
47422
+ FeatureRenderer = lazyThree("FeatureRenderer", () => import('@almadar/ui/components/molecules/game/three'));
47423
+ GameCanvas3D = lazyThree("GameCanvas3D", () => import('@almadar/ui/components/molecules/game/three'));
47424
+ GameCanvas3DBattleTemplate = lazyThree("GameCanvas3DBattleTemplate", () => import('@almadar/ui/components/molecules/game/three'));
47425
+ GameCanvas3DCastleTemplate = lazyThree("GameCanvas3DCastleTemplate", () => import('@almadar/ui/components/molecules/game/three'));
47426
+ GameCanvas3DWorldMapTemplate = lazyThree("GameCanvas3DWorldMapTemplate", () => import('@almadar/ui/components/molecules/game/three'));
47430
47427
  COMPONENT_REGISTRY = {
47431
47428
  "AboutPageTemplate": AboutPageTemplate,
47432
47429
  "Accordion": Accordion,
@@ -47539,6 +47536,10 @@ var init_component_registry_generated = __esm({
47539
47536
  "GameAudioProvider": GameAudioProvider,
47540
47537
  "GameAudioToggle": GameAudioToggle,
47541
47538
  "GameCanvas2D": GameCanvas2D,
47539
+ "GameCanvas3D": GameCanvas3D,
47540
+ "GameCanvas3DBattleTemplate": GameCanvas3DBattleTemplate,
47541
+ "GameCanvas3DCastleTemplate": GameCanvas3DCastleTemplate,
47542
+ "GameCanvas3DWorldMapTemplate": GameCanvas3DWorldMapTemplate,
47542
47543
  "GameHud": GameHud,
47543
47544
  "GameMenu": GameMenu,
47544
47545
  "GameOverScreen": GameOverScreen,
@@ -11493,13 +11493,6 @@ var init_IsometricCanvas = __esm({
11493
11493
  }
11494
11494
  });
11495
11495
 
11496
- // components/game/organisms/IsometricCanvas.tsx
11497
- var init_IsometricCanvas2 = __esm({
11498
- "components/game/organisms/IsometricCanvas.tsx"() {
11499
- init_IsometricCanvas();
11500
- }
11501
- });
11502
-
11503
11496
  // components/game/organisms/boardEntity.ts
11504
11497
  function boardEntity(entity) {
11505
11498
  if (!entity) return void 0;
@@ -11895,7 +11888,7 @@ var init_BattleBoard = __esm({
11895
11888
  init_Button();
11896
11889
  init_Typography();
11897
11890
  init_Stack();
11898
- init_IsometricCanvas2();
11891
+ init_IsometricCanvas();
11899
11892
  init_boardEntity();
11900
11893
  init_isometric();
11901
11894
  BattleBoard.displayName = "BattleBoard";
@@ -19810,7 +19803,7 @@ var init_CastleBoard = __esm({
19810
19803
  "use client";
19811
19804
  init_cn();
19812
19805
  init_useEventBus();
19813
- init_IsometricCanvas2();
19806
+ init_IsometricCanvas();
19814
19807
  init_boardEntity();
19815
19808
  init_isometric();
19816
19809
  CastleBoard.displayName = "CastleBoard";
@@ -46221,7 +46214,7 @@ var init_WorldMapBoard = __esm({
46221
46214
  init_useEventBus();
46222
46215
  init_Stack();
46223
46216
  init_LoadingState();
46224
- init_IsometricCanvas2();
46217
+ init_IsometricCanvas();
46225
46218
  init_boardEntity();
46226
46219
  init_isometric();
46227
46220
  WorldMapBoard.displayName = "WorldMapBoard";
@@ -46277,7 +46270,7 @@ function lazyThree(name, loader) {
46277
46270
  ThreeWrapper.displayName = `Lazy(${name})`;
46278
46271
  return ThreeWrapper;
46279
46272
  }
46280
- var FeatureRenderer, COMPONENT_REGISTRY;
46273
+ var FeatureRenderer, GameCanvas3D, GameCanvas3DBattleTemplate, GameCanvas3DCastleTemplate, GameCanvas3DWorldMapTemplate, COMPONENT_REGISTRY;
46281
46274
  var init_component_registry_generated = __esm({
46282
46275
  "components/core/organisms/component-registry.generated.ts"() {
46283
46276
  init_AboutPageTemplate();
@@ -46563,7 +46556,11 @@ var init_component_registry_generated = __esm({
46563
46556
  init_WorldMapBoard();
46564
46557
  init_WorldMapTemplate();
46565
46558
  init_XPBar();
46566
- FeatureRenderer = lazyThree("FeatureRenderer", () => import('@almadar/ui/components/organisms/game/three'));
46559
+ FeatureRenderer = lazyThree("FeatureRenderer", () => import('@almadar/ui/components/molecules/game/three'));
46560
+ GameCanvas3D = lazyThree("GameCanvas3D", () => import('@almadar/ui/components/molecules/game/three'));
46561
+ GameCanvas3DBattleTemplate = lazyThree("GameCanvas3DBattleTemplate", () => import('@almadar/ui/components/molecules/game/three'));
46562
+ GameCanvas3DCastleTemplate = lazyThree("GameCanvas3DCastleTemplate", () => import('@almadar/ui/components/molecules/game/three'));
46563
+ GameCanvas3DWorldMapTemplate = lazyThree("GameCanvas3DWorldMapTemplate", () => import('@almadar/ui/components/molecules/game/three'));
46567
46564
  COMPONENT_REGISTRY = {
46568
46565
  "AboutPageTemplate": AboutPageTemplate,
46569
46566
  "Accordion": Accordion,
@@ -46676,6 +46673,10 @@ var init_component_registry_generated = __esm({
46676
46673
  "GameAudioProvider": GameAudioProvider,
46677
46674
  "GameAudioToggle": GameAudioToggle,
46678
46675
  "GameCanvas2D": GameCanvas2D,
46676
+ "GameCanvas3D": GameCanvas3D,
46677
+ "GameCanvas3DBattleTemplate": GameCanvas3DBattleTemplate,
46678
+ "GameCanvas3DCastleTemplate": GameCanvas3DCastleTemplate,
46679
+ "GameCanvas3DWorldMapTemplate": GameCanvas3DWorldMapTemplate,
46679
46680
  "GameHud": GameHud,
46680
46681
  "GameMenu": GameMenu,
46681
46682
  "GameOverScreen": GameOverScreen,
@@ -11444,13 +11444,6 @@ var init_IsometricCanvas = __esm({
11444
11444
  }
11445
11445
  });
11446
11446
 
11447
- // components/game/organisms/IsometricCanvas.tsx
11448
- var init_IsometricCanvas2 = __esm({
11449
- "components/game/organisms/IsometricCanvas.tsx"() {
11450
- init_IsometricCanvas();
11451
- }
11452
- });
11453
-
11454
11447
  // components/game/organisms/boardEntity.ts
11455
11448
  function boardEntity(entity) {
11456
11449
  if (!entity) return void 0;
@@ -11846,7 +11839,7 @@ var init_BattleBoard = __esm({
11846
11839
  init_Button();
11847
11840
  init_Typography();
11848
11841
  init_Stack();
11849
- init_IsometricCanvas2();
11842
+ init_IsometricCanvas();
11850
11843
  init_boardEntity();
11851
11844
  init_isometric();
11852
11845
  BattleBoard.displayName = "BattleBoard";
@@ -19761,7 +19754,7 @@ var init_CastleBoard = __esm({
19761
19754
  "use client";
19762
19755
  init_cn();
19763
19756
  init_useEventBus();
19764
- init_IsometricCanvas2();
19757
+ init_IsometricCanvas();
19765
19758
  init_boardEntity();
19766
19759
  init_isometric();
19767
19760
  CastleBoard.displayName = "CastleBoard";
@@ -46172,7 +46165,7 @@ var init_WorldMapBoard = __esm({
46172
46165
  init_useEventBus();
46173
46166
  init_Stack();
46174
46167
  init_LoadingState();
46175
- init_IsometricCanvas2();
46168
+ init_IsometricCanvas();
46176
46169
  init_boardEntity();
46177
46170
  init_isometric();
46178
46171
  WorldMapBoard.displayName = "WorldMapBoard";
@@ -46228,7 +46221,7 @@ function lazyThree(name, loader) {
46228
46221
  ThreeWrapper.displayName = `Lazy(${name})`;
46229
46222
  return ThreeWrapper;
46230
46223
  }
46231
- var FeatureRenderer, COMPONENT_REGISTRY;
46224
+ var FeatureRenderer, GameCanvas3D, GameCanvas3DBattleTemplate, GameCanvas3DCastleTemplate, GameCanvas3DWorldMapTemplate, COMPONENT_REGISTRY;
46232
46225
  var init_component_registry_generated = __esm({
46233
46226
  "components/core/organisms/component-registry.generated.ts"() {
46234
46227
  init_AboutPageTemplate();
@@ -46514,7 +46507,11 @@ var init_component_registry_generated = __esm({
46514
46507
  init_WorldMapBoard();
46515
46508
  init_WorldMapTemplate();
46516
46509
  init_XPBar();
46517
- FeatureRenderer = lazyThree("FeatureRenderer", () => import('@almadar/ui/components/organisms/game/three'));
46510
+ FeatureRenderer = lazyThree("FeatureRenderer", () => import('@almadar/ui/components/molecules/game/three'));
46511
+ GameCanvas3D = lazyThree("GameCanvas3D", () => import('@almadar/ui/components/molecules/game/three'));
46512
+ GameCanvas3DBattleTemplate = lazyThree("GameCanvas3DBattleTemplate", () => import('@almadar/ui/components/molecules/game/three'));
46513
+ GameCanvas3DCastleTemplate = lazyThree("GameCanvas3DCastleTemplate", () => import('@almadar/ui/components/molecules/game/three'));
46514
+ GameCanvas3DWorldMapTemplate = lazyThree("GameCanvas3DWorldMapTemplate", () => import('@almadar/ui/components/molecules/game/three'));
46518
46515
  COMPONENT_REGISTRY = {
46519
46516
  "AboutPageTemplate": AboutPageTemplate,
46520
46517
  "Accordion": Accordion,
@@ -46627,6 +46624,10 @@ var init_component_registry_generated = __esm({
46627
46624
  "GameAudioProvider": GameAudioProvider,
46628
46625
  "GameAudioToggle": GameAudioToggle,
46629
46626
  "GameCanvas2D": GameCanvas2D,
46627
+ "GameCanvas3D": GameCanvas3D,
46628
+ "GameCanvas3DBattleTemplate": GameCanvas3DBattleTemplate,
46629
+ "GameCanvas3DCastleTemplate": GameCanvas3DCastleTemplate,
46630
+ "GameCanvas3DWorldMapTemplate": GameCanvas3DWorldMapTemplate,
46630
46631
  "GameHud": GameHud,
46631
46632
  "GameMenu": GameMenu,
46632
46633
  "GameOverScreen": GameOverScreen,
@@ -11060,13 +11060,6 @@ var init_IsometricCanvas = __esm({
11060
11060
  }
11061
11061
  });
11062
11062
 
11063
- // components/game/organisms/IsometricCanvas.tsx
11064
- var init_IsometricCanvas2 = __esm({
11065
- "components/game/organisms/IsometricCanvas.tsx"() {
11066
- init_IsometricCanvas();
11067
- }
11068
- });
11069
-
11070
11063
  // components/game/organisms/boardEntity.ts
11071
11064
  function boardEntity(entity) {
11072
11065
  if (!entity) return void 0;
@@ -11462,7 +11455,7 @@ var init_BattleBoard = __esm({
11462
11455
  init_Button();
11463
11456
  init_Typography();
11464
11457
  init_Stack();
11465
- init_IsometricCanvas2();
11458
+ init_IsometricCanvas();
11466
11459
  init_boardEntity();
11467
11460
  init_isometric();
11468
11461
  BattleBoard.displayName = "BattleBoard";
@@ -19377,7 +19370,7 @@ var init_CastleBoard = __esm({
19377
19370
  "use client";
19378
19371
  init_cn();
19379
19372
  init_useEventBus();
19380
- init_IsometricCanvas2();
19373
+ init_IsometricCanvas();
19381
19374
  init_boardEntity();
19382
19375
  init_isometric();
19383
19376
  CastleBoard.displayName = "CastleBoard";
@@ -45807,7 +45800,7 @@ var init_WorldMapBoard = __esm({
45807
45800
  init_useEventBus();
45808
45801
  init_Stack();
45809
45802
  init_LoadingState();
45810
- init_IsometricCanvas2();
45803
+ init_IsometricCanvas();
45811
45804
  init_boardEntity();
45812
45805
  init_isometric();
45813
45806
  WorldMapBoard.displayName = "WorldMapBoard";
@@ -45863,7 +45856,7 @@ function lazyThree(name, loader) {
45863
45856
  ThreeWrapper.displayName = `Lazy(${name})`;
45864
45857
  return ThreeWrapper;
45865
45858
  }
45866
- var FeatureRenderer, COMPONENT_REGISTRY;
45859
+ var FeatureRenderer, GameCanvas3D, GameCanvas3DBattleTemplate, GameCanvas3DCastleTemplate, GameCanvas3DWorldMapTemplate, COMPONENT_REGISTRY;
45867
45860
  var init_component_registry_generated = __esm({
45868
45861
  "components/core/organisms/component-registry.generated.ts"() {
45869
45862
  init_AboutPageTemplate();
@@ -46149,7 +46142,11 @@ var init_component_registry_generated = __esm({
46149
46142
  init_WorldMapBoard();
46150
46143
  init_WorldMapTemplate();
46151
46144
  init_XPBar();
46152
- FeatureRenderer = lazyThree("FeatureRenderer", () => import('@almadar/ui/components/organisms/game/three'));
46145
+ FeatureRenderer = lazyThree("FeatureRenderer", () => import('@almadar/ui/components/molecules/game/three'));
46146
+ GameCanvas3D = lazyThree("GameCanvas3D", () => import('@almadar/ui/components/molecules/game/three'));
46147
+ GameCanvas3DBattleTemplate = lazyThree("GameCanvas3DBattleTemplate", () => import('@almadar/ui/components/molecules/game/three'));
46148
+ GameCanvas3DCastleTemplate = lazyThree("GameCanvas3DCastleTemplate", () => import('@almadar/ui/components/molecules/game/three'));
46149
+ GameCanvas3DWorldMapTemplate = lazyThree("GameCanvas3DWorldMapTemplate", () => import('@almadar/ui/components/molecules/game/three'));
46153
46150
  COMPONENT_REGISTRY = {
46154
46151
  "AboutPageTemplate": AboutPageTemplate,
46155
46152
  "Accordion": Accordion,
@@ -46262,6 +46259,10 @@ var init_component_registry_generated = __esm({
46262
46259
  "GameAudioProvider": GameAudioProvider,
46263
46260
  "GameAudioToggle": GameAudioToggle,
46264
46261
  "GameCanvas2D": GameCanvas2D,
46262
+ "GameCanvas3D": GameCanvas3D,
46263
+ "GameCanvas3DBattleTemplate": GameCanvas3DBattleTemplate,
46264
+ "GameCanvas3DCastleTemplate": GameCanvas3DCastleTemplate,
46265
+ "GameCanvas3DWorldMapTemplate": GameCanvas3DWorldMapTemplate,
46265
46266
  "GameHud": GameHud,
46266
46267
  "GameMenu": GameMenu,
46267
46268
  "GameOverScreen": GameOverScreen,
@@ -11011,13 +11011,6 @@ var init_IsometricCanvas = __esm({
11011
11011
  }
11012
11012
  });
11013
11013
 
11014
- // components/game/organisms/IsometricCanvas.tsx
11015
- var init_IsometricCanvas2 = __esm({
11016
- "components/game/organisms/IsometricCanvas.tsx"() {
11017
- init_IsometricCanvas();
11018
- }
11019
- });
11020
-
11021
11014
  // components/game/organisms/boardEntity.ts
11022
11015
  function boardEntity(entity) {
11023
11016
  if (!entity) return void 0;
@@ -11413,7 +11406,7 @@ var init_BattleBoard = __esm({
11413
11406
  init_Button();
11414
11407
  init_Typography();
11415
11408
  init_Stack();
11416
- init_IsometricCanvas2();
11409
+ init_IsometricCanvas();
11417
11410
  init_boardEntity();
11418
11411
  init_isometric();
11419
11412
  BattleBoard.displayName = "BattleBoard";
@@ -19328,7 +19321,7 @@ var init_CastleBoard = __esm({
19328
19321
  "use client";
19329
19322
  init_cn();
19330
19323
  init_useEventBus();
19331
- init_IsometricCanvas2();
19324
+ init_IsometricCanvas();
19332
19325
  init_boardEntity();
19333
19326
  init_isometric();
19334
19327
  CastleBoard.displayName = "CastleBoard";
@@ -45758,7 +45751,7 @@ var init_WorldMapBoard = __esm({
45758
45751
  init_useEventBus();
45759
45752
  init_Stack();
45760
45753
  init_LoadingState();
45761
- init_IsometricCanvas2();
45754
+ init_IsometricCanvas();
45762
45755
  init_boardEntity();
45763
45756
  init_isometric();
45764
45757
  WorldMapBoard.displayName = "WorldMapBoard";
@@ -45814,7 +45807,7 @@ function lazyThree(name, loader) {
45814
45807
  ThreeWrapper.displayName = `Lazy(${name})`;
45815
45808
  return ThreeWrapper;
45816
45809
  }
45817
- var FeatureRenderer, COMPONENT_REGISTRY;
45810
+ var FeatureRenderer, GameCanvas3D, GameCanvas3DBattleTemplate, GameCanvas3DCastleTemplate, GameCanvas3DWorldMapTemplate, COMPONENT_REGISTRY;
45818
45811
  var init_component_registry_generated = __esm({
45819
45812
  "components/core/organisms/component-registry.generated.ts"() {
45820
45813
  init_AboutPageTemplate();
@@ -46100,7 +46093,11 @@ var init_component_registry_generated = __esm({
46100
46093
  init_WorldMapBoard();
46101
46094
  init_WorldMapTemplate();
46102
46095
  init_XPBar();
46103
- FeatureRenderer = lazyThree("FeatureRenderer", () => import('@almadar/ui/components/organisms/game/three'));
46096
+ FeatureRenderer = lazyThree("FeatureRenderer", () => import('@almadar/ui/components/molecules/game/three'));
46097
+ GameCanvas3D = lazyThree("GameCanvas3D", () => import('@almadar/ui/components/molecules/game/three'));
46098
+ GameCanvas3DBattleTemplate = lazyThree("GameCanvas3DBattleTemplate", () => import('@almadar/ui/components/molecules/game/three'));
46099
+ GameCanvas3DCastleTemplate = lazyThree("GameCanvas3DCastleTemplate", () => import('@almadar/ui/components/molecules/game/three'));
46100
+ GameCanvas3DWorldMapTemplate = lazyThree("GameCanvas3DWorldMapTemplate", () => import('@almadar/ui/components/molecules/game/three'));
46104
46101
  COMPONENT_REGISTRY = {
46105
46102
  "AboutPageTemplate": AboutPageTemplate,
46106
46103
  "Accordion": Accordion,
@@ -46213,6 +46210,10 @@ var init_component_registry_generated = __esm({
46213
46210
  "GameAudioProvider": GameAudioProvider,
46214
46211
  "GameAudioToggle": GameAudioToggle,
46215
46212
  "GameCanvas2D": GameCanvas2D,
46213
+ "GameCanvas3D": GameCanvas3D,
46214
+ "GameCanvas3DBattleTemplate": GameCanvas3DBattleTemplate,
46215
+ "GameCanvas3DCastleTemplate": GameCanvas3DCastleTemplate,
46216
+ "GameCanvas3DWorldMapTemplate": GameCanvas3DWorldMapTemplate,
46216
46217
  "GameHud": GameHud,
46217
46218
  "GameMenu": GameMenu,
46218
46219
  "GameOverScreen": GameOverScreen,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/ui",
3
- "version": "5.28.5",
3
+ "version": "5.29.0",
4
4
  "description": "React UI components, hooks, and providers for Almadar",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -57,9 +57,14 @@
57
57
  "require": "./dist/lib/index.cjs"
58
58
  },
59
59
  "./components/organisms/game/three": {
60
- "types": "./dist/components/game/organisms/three/index.d.ts",
61
- "import": "./dist/components/game/organisms/three/index.js",
62
- "require": "./dist/components/game/organisms/three/index.cjs"
60
+ "types": "./dist/components/game/molecules/three/index.d.ts",
61
+ "import": "./dist/components/game/molecules/three/index.js",
62
+ "require": "./dist/components/game/molecules/three/index.cjs"
63
+ },
64
+ "./components/molecules/game/three": {
65
+ "types": "./dist/components/game/molecules/three/index.d.ts",
66
+ "import": "./dist/components/game/molecules/three/index.js",
67
+ "require": "./dist/components/game/molecules/three/index.cjs"
63
68
  },
64
69
  "./components/organisms/game/TraitStateViewer": {
65
70
  "import": "./components/game/organisms/TraitStateViewer.tsx",