@almadar/ui 5.75.0 → 5.76.1

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 (340) hide show
  1. package/dist/avl/index.cjs +2545 -6006
  2. package/dist/avl/index.d.ts +43 -43
  3. package/dist/avl/index.js +1250 -4711
  4. package/dist/components/avl/atoms/AvlApplication.d.ts +1 -1
  5. package/dist/components/avl/atoms/AvlBindingRef.d.ts +1 -1
  6. package/dist/components/avl/atoms/AvlEffect.d.ts +1 -1
  7. package/dist/components/avl/atoms/AvlEntity.d.ts +1 -1
  8. package/dist/components/avl/atoms/AvlEvent.d.ts +1 -1
  9. package/dist/components/avl/atoms/AvlField.d.ts +1 -1
  10. package/dist/components/avl/atoms/AvlFieldType.d.ts +1 -1
  11. package/dist/components/avl/atoms/AvlGuard.d.ts +1 -1
  12. package/dist/components/avl/atoms/AvlLiteral.d.ts +1 -1
  13. package/dist/components/avl/atoms/AvlOperator.d.ts +1 -1
  14. package/dist/components/avl/atoms/AvlPage.d.ts +1 -1
  15. package/dist/components/avl/atoms/AvlPersistence.d.ts +1 -1
  16. package/dist/components/avl/atoms/AvlSExpr.d.ts +1 -1
  17. package/dist/components/avl/atoms/AvlState.d.ts +2 -2
  18. package/dist/components/avl/atoms/index.d.ts +4 -4
  19. package/dist/components/avl/{molecules → lib}/avl-behavior-compose-converter.d.ts +1 -1
  20. package/dist/components/avl/{molecules → lib}/avl-elk-layout.d.ts +2 -2
  21. package/dist/components/avl/{molecules → lib}/avl-flow-converter.d.ts +1 -1
  22. package/dist/components/avl/{molecules → lib}/avl-preview-converter.d.ts +1 -1
  23. package/dist/components/avl/{molecules → lib}/avl-story-schemas.d.ts +6 -6
  24. package/dist/components/avl/{molecules → lib}/avl-zoom-band.d.ts +1 -1
  25. package/dist/components/avl/molecules/Avl3DExprTree.d.ts +1 -1
  26. package/dist/components/avl/molecules/AvlBehaviorGlyph.d.ts +1 -1
  27. package/dist/components/avl/molecules/AvlClosedCircuit.d.ts +1 -1
  28. package/dist/components/avl/molecules/AvlOrbitalUnit.d.ts +1 -1
  29. package/dist/components/avl/molecules/AvlStateMachine.d.ts +1 -1
  30. package/dist/components/avl/molecules/AvlTransitionLane.d.ts +1 -1
  31. package/dist/components/avl/molecules/BehaviorView.d.ts +1 -1
  32. package/dist/components/avl/molecules/DetailView.d.ts +1 -1
  33. package/dist/components/avl/molecules/MiniStateMachine.d.ts +1 -1
  34. package/dist/components/avl/molecules/ModuleCard.d.ts +1 -1
  35. package/dist/components/avl/molecules/OrbPreviewNode.d.ts +1 -1
  36. package/dist/components/avl/molecules/SystemNode.d.ts +1 -1
  37. package/dist/components/avl/molecules/index.d.ts +9 -9
  38. package/dist/components/avl/organisms/Avl3DApplicationScene.d.ts +1 -1
  39. package/dist/components/avl/organisms/Avl3DEffects.d.ts +1 -1
  40. package/dist/components/avl/organisms/Avl3DOrbitalScene.d.ts +1 -1
  41. package/dist/components/avl/organisms/Avl3DTraitScene.d.ts +1 -1
  42. package/dist/components/avl/organisms/Avl3DTransitionScene.d.ts +1 -1
  43. package/dist/components/avl/organisms/Avl3DViewer.d.ts +2 -2
  44. package/dist/components/avl/organisms/AvlCosmicZoom.d.ts +1 -1
  45. package/dist/components/avl/organisms/AvlLegend.d.ts +1 -1
  46. package/dist/components/avl/organisms/AvlTraitScene.d.ts +1 -1
  47. package/dist/components/avl/organisms/AvlTransitionDetail.d.ts +1 -1
  48. package/dist/components/avl/organisms/AvlTransitionScene.d.ts +1 -1
  49. package/dist/components/avl/organisms/FlowCanvas.d.ts +2 -2
  50. package/dist/components/avl/organisms/OrbInspector.d.ts +1 -1
  51. package/dist/components/avl/organisms/ZoomBreadcrumb.d.ts +1 -1
  52. package/dist/components/avl/organisms/ZoomLegend.d.ts +1 -1
  53. package/dist/components/avl/organisms/index.d.ts +2 -2
  54. package/dist/components/avl/{molecules → types}/avl-behavior-compose-types.d.ts +1 -1
  55. package/dist/components/avl/{molecules → types}/avl-canvas-types.d.ts +1 -1
  56. package/dist/components/core/atoms/index.d.ts +2 -3
  57. package/dist/components/core/molecules/Breadcrumb.d.ts +1 -1
  58. package/dist/components/core/molecules/Card.d.ts +1 -1
  59. package/dist/components/core/molecules/Chart.d.ts +0 -2
  60. package/dist/components/core/molecules/ConfirmDialog.d.ts +0 -2
  61. package/dist/components/core/molecules/DataGrid.d.ts +1 -1
  62. package/dist/components/core/molecules/DataList.d.ts +1 -1
  63. package/dist/components/core/molecules/EmptyState.d.ts +1 -1
  64. package/dist/components/core/molecules/FloatingActionButton.d.ts +1 -1
  65. package/dist/components/core/molecules/FormSectionHeader.d.ts +1 -1
  66. package/dist/components/core/molecules/GraphCanvas.d.ts +0 -2
  67. package/dist/components/core/molecules/Header.d.ts +1 -1
  68. package/dist/components/core/molecules/Menu.d.ts +1 -1
  69. package/dist/components/core/molecules/Navigation.d.ts +1 -1
  70. package/dist/components/core/molecules/OrbitalVisualization.d.ts +0 -2
  71. package/dist/components/core/molecules/PageHeader.d.ts +1 -1
  72. package/dist/components/core/molecules/Section.d.ts +0 -2
  73. package/dist/components/core/molecules/Sidebar.d.ts +1 -1
  74. package/dist/components/core/molecules/SignaturePad.d.ts +0 -2
  75. package/dist/components/core/molecules/Split.d.ts +0 -2
  76. package/dist/components/core/molecules/StatDisplay.d.ts +1 -1
  77. package/dist/components/core/molecules/SwipeableRow.d.ts +1 -1
  78. package/dist/components/core/molecules/TableView.d.ts +1 -1
  79. package/dist/components/core/molecules/Tabs.d.ts +1 -1
  80. package/dist/components/core/molecules/UploadDropZone.d.ts +1 -1
  81. package/dist/components/core/molecules/WizardContainer.d.ts +0 -2
  82. package/dist/components/core/molecules/index.d.ts +1 -1
  83. package/dist/components/core/organisms/UISlotRenderer.d.ts +1 -1
  84. package/dist/components/core/organisms/index.d.ts +4 -4
  85. package/dist/components/core/templates/index.d.ts +12 -12
  86. package/dist/components/game/2d/{ActionButton.d.ts → atoms/ActionButton.d.ts} +1 -1
  87. package/dist/components/game/2d/{ChoiceButton.d.ts → atoms/ChoiceButton.d.ts} +1 -1
  88. package/dist/components/game/2d/{ControlButton.d.ts → atoms/ControlButton.d.ts} +1 -1
  89. package/dist/components/game/2d/{GameAudioToggle.d.ts → atoms/GameAudioToggle.d.ts} +1 -3
  90. package/dist/components/game/2d/atoms/GameIcon.d.ts +18 -0
  91. package/dist/components/game/2d/{ItemSlot.d.ts → atoms/ItemSlot.d.ts} +1 -1
  92. package/dist/components/game/2d/{MiniMap.d.ts → atoms/MiniMap.d.ts} +1 -1
  93. package/dist/components/game/2d/{ResourceCounter.d.ts → atoms/ResourceCounter.d.ts} +2 -2
  94. package/dist/components/game/2d/{ScoreDisplay.d.ts → atoms/ScoreDisplay.d.ts} +1 -1
  95. package/dist/components/game/2d/{Sprite.d.ts → atoms/Sprite.d.ts} +1 -1
  96. package/dist/components/game/2d/{StateIndicator.d.ts → atoms/StateIndicator.d.ts} +5 -4
  97. package/dist/components/game/2d/{StatusEffect.d.ts → atoms/StatusEffect.d.ts} +2 -2
  98. package/dist/components/game/2d/{WaypointMarker.d.ts → atoms/WaypointMarker.d.ts} +1 -1
  99. package/dist/components/game/2d/{Canvas2D.d.ts → molecules/Canvas2D.d.ts} +3 -3
  100. package/dist/components/game/2d/{ControlGrid.d.ts → molecules/ControlGrid.d.ts} +3 -2
  101. package/dist/components/game/2d/{GameHud.d.ts → molecules/GameHud.d.ts} +3 -1
  102. package/dist/components/game/2d/{GameMenu.d.ts → molecules/GameMenu.d.ts} +1 -1
  103. package/dist/components/game/2d/{InventoryGrid.d.ts → molecules/InventoryGrid.d.ts} +3 -2
  104. package/dist/components/game/2d/{ResourceBar.d.ts → molecules/ResourceBar.d.ts} +3 -1
  105. package/dist/components/game/2d/{StatBadge.d.ts → molecules/StatBadge.d.ts} +1 -1
  106. package/dist/components/game/2d/molecules/index.d.ts +107 -0
  107. package/dist/components/game/2d/{ActionTile.d.ts → organisms/ActionTile.d.ts} +1 -1
  108. package/dist/components/game/2d/{BattleBoard.d.ts → organisms/BattleBoard.d.ts} +4 -3
  109. package/dist/components/game/2d/{BoardgameBoard.d.ts → organisms/BoardgameBoard.d.ts} +3 -3
  110. package/dist/components/game/2d/{BuilderBoard.d.ts → organisms/BuilderBoard.d.ts} +7 -3
  111. package/dist/components/game/2d/{CanvasEffect.d.ts → organisms/CanvasEffect.d.ts} +4 -4
  112. package/dist/components/game/2d/{CardBattlerBoard.d.ts → organisms/CardBattlerBoard.d.ts} +1 -1
  113. package/dist/components/game/2d/{CastleBoard.d.ts → organisms/CastleBoard.d.ts} +2 -1
  114. package/dist/components/game/2d/{CityBuilderBoard.d.ts → organisms/CityBuilderBoard.d.ts} +1 -1
  115. package/dist/components/game/2d/{ClassifierBoard.d.ts → organisms/ClassifierBoard.d.ts} +7 -3
  116. package/dist/components/game/2d/{DebuggerBoard.d.ts → organisms/DebuggerBoard.d.ts} +7 -3
  117. package/dist/components/game/2d/{EventHandlerBoard.d.ts → organisms/EventHandlerBoard.d.ts} +1 -1
  118. package/dist/components/game/2d/{FishingBoard.d.ts → organisms/FishingBoard.d.ts} +12 -2
  119. package/dist/components/game/2d/{HexStrategyBoard.d.ts → organisms/HexStrategyBoard.d.ts} +13 -6
  120. package/dist/components/game/2d/{HolidayRunnerBoard.d.ts → organisms/HolidayRunnerBoard.d.ts} +3 -3
  121. package/dist/components/game/2d/{MatchPuzzleBoard.d.ts → organisms/MatchPuzzleBoard.d.ts} +3 -3
  122. package/dist/components/game/2d/{MinigolfBoard.d.ts → organisms/MinigolfBoard.d.ts} +3 -3
  123. package/dist/components/game/2d/{NegotiatorBoard.d.ts → organisms/NegotiatorBoard.d.ts} +7 -3
  124. package/dist/components/game/2d/{PinballBoard.d.ts → organisms/PinballBoard.d.ts} +12 -4
  125. package/dist/components/game/2d/{PirateBoard.d.ts → organisms/PirateBoard.d.ts} +13 -6
  126. package/dist/components/game/2d/{PlatformerBoard.d.ts → organisms/PlatformerBoard.d.ts} +1 -1
  127. package/dist/components/game/2d/{RacingBoard.d.ts → organisms/RacingBoard.d.ts} +13 -6
  128. package/dist/components/game/2d/{RoguelikeBoard.d.ts → organisms/RoguelikeBoard.d.ts} +2 -2
  129. package/dist/components/game/2d/{SequencerBoard.d.ts → organisms/SequencerBoard.d.ts} +1 -1
  130. package/dist/components/game/2d/{SimulationCanvas.d.ts → organisms/SimulationCanvas.d.ts} +3 -2
  131. package/dist/components/game/2d/{SimulationControls.d.ts → organisms/SimulationControls.d.ts} +6 -1
  132. package/dist/components/game/2d/{SimulatorBoard.d.ts → organisms/SimulatorBoard.d.ts} +7 -3
  133. package/dist/components/game/2d/{SokobanBoard.d.ts → organisms/SokobanBoard.d.ts} +3 -3
  134. package/dist/components/game/2d/{SpaceShmupBoard.d.ts → organisms/SpaceShmupBoard.d.ts} +13 -6
  135. package/dist/components/game/2d/{SpaceStationBoard.d.ts → organisms/SpaceStationBoard.d.ts} +3 -3
  136. package/dist/components/game/2d/{SportsBoard.d.ts → organisms/SportsBoard.d.ts} +3 -3
  137. package/dist/components/game/2d/{StateArchitectBoard.d.ts → organisms/StateArchitectBoard.d.ts} +1 -1
  138. package/dist/components/game/2d/{StateNode.d.ts → organisms/StateNode.d.ts} +1 -1
  139. package/dist/components/game/2d/{TanksBoard.d.ts → organisms/TanksBoard.d.ts} +3 -3
  140. package/dist/components/game/2d/{TowerDefenseBoard.d.ts → organisms/TowerDefenseBoard.d.ts} +1 -1
  141. package/dist/components/game/2d/{TraitSlot.d.ts → organisms/TraitSlot.d.ts} +1 -1
  142. package/dist/components/game/2d/{TraitStateViewer.d.ts → organisms/TraitStateViewer.d.ts} +2 -2
  143. package/dist/components/game/2d/{TransitionArrow.d.ts → organisms/TransitionArrow.d.ts} +1 -1
  144. package/dist/components/game/2d/{UncontrolledBattleBoard.d.ts → organisms/UncontrolledBattleBoard.d.ts} +1 -1
  145. package/dist/components/game/2d/{VisualNovelBoard.d.ts → organisms/VisualNovelBoard.d.ts} +1 -9
  146. package/dist/components/game/2d/{WorldMapBoard.d.ts → organisms/WorldMapBoard.d.ts} +4 -3
  147. package/dist/components/game/2d/{BattleTemplate.d.ts → templates/BattleTemplate.d.ts} +4 -4
  148. package/dist/components/game/2d/{CardBattlerTemplate.d.ts → templates/CardBattlerTemplate.d.ts} +2 -2
  149. package/dist/components/game/2d/{CastleTemplate.d.ts → templates/CastleTemplate.d.ts} +4 -4
  150. package/dist/components/game/2d/{CityBuilderTemplate.d.ts → templates/CityBuilderTemplate.d.ts} +2 -2
  151. package/dist/components/game/2d/{GameTemplate.d.ts → templates/GameTemplate.d.ts} +1 -1
  152. package/dist/components/game/2d/{PlatformerTemplate.d.ts → templates/PlatformerTemplate.d.ts} +2 -2
  153. package/dist/components/game/2d/{RoguelikeTemplate.d.ts → templates/RoguelikeTemplate.d.ts} +3 -3
  154. package/dist/components/game/2d/{TopDownShooterTemplate.d.ts → templates/TopDownShooterTemplate.d.ts} +2 -2
  155. package/dist/components/game/2d/{TowerDefenseTemplate.d.ts → templates/TowerDefenseTemplate.d.ts} +2 -2
  156. package/dist/components/game/2d/{VisualNovelTemplate.d.ts → templates/VisualNovelTemplate.d.ts} +2 -2
  157. package/dist/components/game/2d/{WorldMapTemplate.d.ts → templates/WorldMapTemplate.d.ts} +4 -4
  158. package/dist/components/game/3d/{Canvas3D.d.ts → molecules/Canvas3D.d.ts} +1 -1
  159. package/dist/components/game/3d/{GameCanvas3D.d.ts → molecules/GameCanvas3D.d.ts} +3 -3
  160. package/dist/components/game/3d/{index.d.ts → molecules/index.d.ts} +20 -25
  161. package/dist/components/game/3d/{GameBoard3D.d.ts → organisms/GameBoard3D.d.ts} +2 -2
  162. package/dist/components/game/3d/{GameCanvas3DBattleTemplate.d.ts → templates/GameCanvas3DBattleTemplate.d.ts} +3 -3
  163. package/dist/components/game/3d/{GameCanvas3DCastleTemplate.d.ts → templates/GameCanvas3DCastleTemplate.d.ts} +3 -3
  164. package/dist/components/game/3d/{GameCanvas3DWorldMapTemplate.d.ts → templates/GameCanvas3DWorldMapTemplate.d.ts} +3 -3
  165. package/dist/components/game/{3d → shared/hooks}/useAssetLoader.d.ts +1 -1
  166. package/dist/components/game/{2d → shared/hooks}/useBattleState.d.ts +1 -1
  167. package/dist/components/game/{2d → shared/hooks}/useCamera.d.ts +1 -1
  168. package/dist/components/game/{2d → shared/hooks}/useCanvasEffects.d.ts +1 -1
  169. package/dist/components/game/{3d → shared/hooks}/useGameCanvas3DEvents.d.ts +1 -1
  170. package/dist/components/game/{3d → shared/hooks}/useThree.d.ts +1 -1
  171. package/dist/components/game/{2d → shared/hooks}/useUnitSpriteAtlas.d.ts +2 -2
  172. package/dist/components/game/shared/index.d.ts +0 -2
  173. package/dist/components/game/{2d → shared/lib}/editorUtils.d.ts +6 -1
  174. package/dist/components/game/{2d → shared/lib}/game3dAssetManifest.d.ts +1 -1
  175. package/dist/components/game/{2d → shared/lib}/mechanics.d.ts +1 -1
  176. package/dist/components/game/{2d → shared/lib}/physicsPresets.d.ts +2 -2
  177. package/dist/components/game/{2d → shared/lib}/puzzleObject.d.ts +1 -1
  178. package/dist/components/game/{2d → shared/providers}/GameAudioProvider.d.ts +3 -4
  179. package/dist/components/index.cjs +4459 -5117
  180. package/dist/components/index.d.ts +5 -5
  181. package/dist/components/index.js +3378 -4061
  182. package/dist/context/index.cjs +93 -827
  183. package/dist/context/index.d.ts +8 -8
  184. package/dist/context/index.js +3 -807
  185. package/dist/hooks/index.cjs +9 -278
  186. package/dist/hooks/index.d.ts +5 -6
  187. package/dist/hooks/index.js +11 -262
  188. package/dist/hooks/useAgentChat.d.ts +7 -6
  189. package/dist/{renderer → hooks}/useClientEffects.d.ts +1 -1
  190. package/dist/hooks/useCompile.d.ts +2 -6
  191. package/dist/hooks/useDeepAgentGeneration.d.ts +4 -4
  192. package/dist/hooks/useEventBus.d.ts +5 -3
  193. package/dist/hooks/useFileSystem.d.ts +11 -1
  194. package/dist/hooks/useOrbitalHistory.d.ts +2 -2
  195. package/dist/hooks/useQuerySingleton.d.ts +5 -4
  196. package/dist/{runtime → hooks}/useResolvedSchema.d.ts +1 -1
  197. package/dist/{runtime → hooks}/useTraitStateMachine.d.ts +5 -5
  198. package/dist/hooks/useUISlots.d.ts +7 -10
  199. package/dist/lib/api-client.d.ts +4 -3
  200. package/dist/{renderer → lib}/client-effect-executor.d.ts +4 -15
  201. package/dist/{runtime → lib}/createClientEffectHandlers.d.ts +4 -4
  202. package/dist/{renderer → lib}/data-resolver.d.ts +3 -16
  203. package/dist/lib/debugRegistry.d.ts +8 -7
  204. package/dist/lib/entityDebug.d.ts +4 -3
  205. package/dist/lib/getNestedValue.d.ts +15 -3
  206. package/dist/lib/guardRegistry.d.ts +3 -2
  207. package/dist/lib/index.cjs +11 -12
  208. package/dist/lib/index.d.ts +1 -1
  209. package/dist/lib/index.js +11 -12
  210. package/dist/lib/jazari/layout.d.ts +3 -2
  211. package/dist/{renderer → lib}/offline-executor.d.ts +6 -5
  212. package/dist/lib/parseContentSegments.d.ts +2 -1
  213. package/dist/{renderer → lib}/pattern-resolver.d.ts +2 -2
  214. package/dist/{runtime → lib}/perf.d.ts +0 -2
  215. package/dist/{renderer → lib}/slot-definitions.d.ts +3 -15
  216. package/dist/{renderer → lib}/trait-binding-resolver.d.ts +6 -2
  217. package/dist/lib/visualizer/browser.d.ts +3 -2
  218. package/dist/lib/visualizer/index.d.ts +6 -5
  219. package/dist/marketing/index.cjs +6 -6
  220. package/dist/marketing/index.js +6 -6
  221. package/dist/{runtime → providers}/EntitySchemaContext.d.ts +0 -4
  222. package/dist/providers/EventBusProvider.d.ts +3 -2
  223. package/dist/providers/OfflineModeProvider.d.ts +1 -1
  224. package/dist/providers/OrbitalProvider.d.ts +5 -4
  225. package/dist/providers/SelectionProvider.d.ts +6 -5
  226. package/dist/{runtime → providers}/ServerBridge.d.ts +14 -11
  227. package/dist/{context → providers}/ThemeContext.d.ts +5 -5
  228. package/dist/{runtime → providers}/TraitProvider.d.ts +4 -3
  229. package/dist/{context → providers}/UISlotContext.d.ts +2 -2
  230. package/dist/{context → providers}/UserContext.d.ts +3 -2
  231. package/dist/providers/VerificationProvider.d.ts +2 -1
  232. package/dist/providers/index.cjs +2679 -5114
  233. package/dist/providers/index.d.ts +7 -1
  234. package/dist/providers/index.js +1597 -4087
  235. package/dist/{renderer → providers}/navigation.d.ts +7 -7
  236. package/dist/renderer/index.cjs +84 -322
  237. package/dist/renderer/index.d.ts +12 -12
  238. package/dist/renderer/index.js +30 -301
  239. package/dist/runtime/OrbPreview.d.ts +1 -1
  240. package/dist/runtime/index.cjs +2809 -6315
  241. package/dist/runtime/index.d.ts +11 -11
  242. package/dist/runtime/index.js +1740 -5270
  243. package/dist/{hooks → types}/event-bus-types.d.ts +2 -1
  244. package/dist/{renderer/types.d.ts → types/renderer-types.d.ts} +14 -28
  245. package/dist/types/runtime-types.d.ts +21 -0
  246. package/dist/{runtime/ui → types}/slot-types.d.ts +5 -4
  247. package/locales/index.ts +1 -1
  248. package/package.json +4 -21
  249. package/dist/components/core/atoms/ThemeSelector.d.ts +0 -21
  250. package/dist/components/game/2d/CardHand.d.ts +0 -35
  251. package/dist/components/game/2d/CombatLog.d.ts +0 -30
  252. package/dist/components/game/2d/CraftingRecipe.d.ts +0 -40
  253. package/dist/components/game/2d/DialogueBox.d.ts +0 -66
  254. package/dist/components/game/2d/EnemyPlate.d.ts +0 -30
  255. package/dist/components/game/2d/GameCanvas2D.d.ts +0 -27
  256. package/dist/components/game/2d/GameOverScreen.d.ts +0 -57
  257. package/dist/components/game/2d/HealthPanel.d.ts +0 -31
  258. package/dist/components/game/2d/InventoryPanel.d.ts +0 -58
  259. package/dist/components/game/2d/IsometricCanvas.d.ts +0 -137
  260. package/dist/components/game/2d/PlatformerCanvas.d.ts +0 -60
  261. package/dist/components/game/2d/PowerupSlots.d.ts +0 -26
  262. package/dist/components/game/2d/QuestTracker.d.ts +0 -20
  263. package/dist/components/game/2d/ScoreBoard.d.ts +0 -18
  264. package/dist/components/game/2d/TurnPanel.d.ts +0 -32
  265. package/dist/components/game/2d/UnitCommandBar.d.ts +0 -25
  266. package/dist/components/game/2d/index.d.ts +0 -122
  267. package/dist/components/game/3d/FeatureRenderer.d.ts +0 -38
  268. package/dist/components/game/3d/FeatureRenderer3D.d.ts +0 -44
  269. package/dist/components/game/3d/PhysicsObject3D.d.ts +0 -74
  270. package/dist/components/game/3d/TileRenderer.d.ts +0 -57
  271. package/dist/components/game/3d/UnitRenderer.d.ts +0 -46
  272. package/dist/components/game/3d/index.cjs +0 -7715
  273. package/dist/components/game/3d/index.css +0 -503
  274. package/dist/components/game/3d/index.js +0 -7633
  275. package/dist/components/game/3d/patterns.d.ts +0 -20
  276. package/dist/components/game/shared/combatEffects.d.ts +0 -64
  277. package/dist/docs/index.cjs +0 -7024
  278. package/dist/docs/index.css +0 -1252
  279. package/dist/docs/index.d.cts +0 -574
  280. package/dist/docs/index.d.ts +0 -29
  281. package/dist/docs/index.js +0 -6981
  282. package/dist/hooks/useAgentTrace.d.ts +0 -85
  283. package/dist/hooks/useEntities.d.ts +0 -52
  284. package/dist/hooks/usePinchZoom.d.ts +0 -22
  285. package/dist/runtime/types.d.ts +0 -37
  286. package/dist/stores/entityStore.d.ts +0 -99
  287. package/dist/stores/filtering.d.ts +0 -51
  288. package/dist/stores/index.cjs +0 -217
  289. package/dist/stores/index.d.ts +0 -7
  290. package/dist/stores/index.js +0 -194
  291. /package/dist/components/avl/{molecules → hooks}/useCanvasDnd.d.ts +0 -0
  292. /package/dist/components/avl/{organisms → lib}/avl-3d-layout.d.ts +0 -0
  293. /package/dist/components/avl/{molecules → lib}/avl-layout.d.ts +0 -0
  294. /package/dist/components/avl/{organisms → lib}/avl-schema-parser.d.ts +0 -0
  295. /package/dist/components/avl/{organisms → lib}/avl-zoom-state.d.ts +0 -0
  296. /package/dist/components/avl/{derive-edit-focus.d.ts → lib/derive-edit-focus.d.ts} +0 -0
  297. /package/dist/components/avl/{molecules → lib}/wire-validation.d.ts +0 -0
  298. /package/dist/components/avl/{organisms → providers}/avl-3d-context.d.ts +0 -0
  299. /package/dist/components/avl/{atoms/types.d.ts → types/avl-atom-types.d.ts} +0 -0
  300. /package/dist/components/avl/{molecules → types}/avl-preview-types.d.ts +0 -0
  301. /package/dist/components/game/2d/{ComboCounter.d.ts → atoms/ComboCounter.d.ts} +0 -0
  302. /package/dist/components/game/2d/{DamageNumber.d.ts → atoms/DamageNumber.d.ts} +0 -0
  303. /package/dist/components/game/2d/{DialogueBubble.d.ts → atoms/DialogueBubble.d.ts} +0 -0
  304. /package/dist/components/game/2d/{GameCard.d.ts → atoms/GameCard.d.ts} +0 -0
  305. /package/dist/components/game/2d/{HealthBar.d.ts → atoms/HealthBar.d.ts} +0 -0
  306. /package/dist/components/game/2d/{TimerDisplay.d.ts → atoms/TimerDisplay.d.ts} +0 -0
  307. /package/dist/components/game/2d/{TurnIndicator.d.ts → atoms/TurnIndicator.d.ts} +0 -0
  308. /package/dist/components/game/2d/{ActionPalette.d.ts → organisms/ActionPalette.d.ts} +0 -0
  309. /package/dist/components/game/2d/{EventLog.d.ts → organisms/EventLog.d.ts} +0 -0
  310. /package/dist/components/game/2d/{ObjectRulePanel.d.ts → organisms/ObjectRulePanel.d.ts} +0 -0
  311. /package/dist/components/game/2d/{RuleEditor.d.ts → organisms/RuleEditor.d.ts} +0 -0
  312. /package/dist/components/game/2d/{SequenceBar.d.ts → organisms/SequenceBar.d.ts} +0 -0
  313. /package/dist/components/game/2d/{SimulationGraph.d.ts → organisms/SimulationGraph.d.ts} +0 -0
  314. /package/dist/components/game/2d/{StateJsonView.d.ts → organisms/StateJsonView.d.ts} +0 -0
  315. /package/dist/components/game/2d/{TopDownShooterBoard.d.ts → organisms/TopDownShooterBoard.d.ts} +0 -0
  316. /package/dist/components/game/2d/{VariablePanel.d.ts → organisms/VariablePanel.d.ts} +0 -0
  317. /package/dist/components/game/2d/{GameShell.d.ts → templates/GameShell.d.ts} +0 -0
  318. /package/dist/components/game/3d/{Camera3D.d.ts → molecules/Camera3D.d.ts} +0 -0
  319. /package/dist/components/game/3d/{Canvas3DErrorBoundary.d.ts → molecules/Canvas3DErrorBoundary.d.ts} +0 -0
  320. /package/dist/components/game/3d/{Canvas3DLoadingState.d.ts → molecules/Canvas3DLoadingState.d.ts} +0 -0
  321. /package/dist/components/game/3d/{Lighting3D.d.ts → molecules/Lighting3D.d.ts} +0 -0
  322. /package/dist/components/game/3d/{ModelLoader.d.ts → molecules/ModelLoader.d.ts} +0 -0
  323. /package/dist/components/game/3d/{Scene3D.d.ts → molecules/Scene3D.d.ts} +0 -0
  324. /package/dist/components/game/{2d → shared/hooks}/useGameAudio.d.ts +0 -0
  325. /package/dist/components/game/{3d → shared/hooks}/useRaycaster.d.ts +0 -0
  326. /package/dist/components/game/{3d → shared/hooks}/useSceneGraph.d.ts +0 -0
  327. /package/dist/components/game/{3d → shared/lib}/AssetLoader.d.ts +0 -0
  328. /package/dist/components/game/{3d → shared/lib}/culling.d.ts +0 -0
  329. /package/dist/components/game/{3d → shared/lib}/grid3D.d.ts +0 -0
  330. /package/dist/components/game/{2d/types.d.ts → shared/lib/physicsTypes.d.ts} +0 -0
  331. /package/dist/{runtime → lib}/embedded-traits.d.ts +0 -0
  332. /package/dist/{runtime → lib}/fn-form-lambda.d.ts +0 -0
  333. /package/dist/{renderer → lib}/init.d.ts +0 -0
  334. /package/dist/{runtime → lib}/orbitalsByTrait.d.ts +0 -0
  335. /package/dist/{runtime → lib}/prepareSchemaForPreview.d.ts +0 -0
  336. /package/dist/{context → lib}/themeTokens.d.ts +0 -0
  337. /package/dist/{runtime → lib}/wrapCallbackForEvent.d.ts +0 -0
  338. /package/dist/{context → providers}/CurrentPagePathContext.d.ts +0 -0
  339. /package/dist/{context → providers}/DesignThemeContext.d.ts +0 -0
  340. /package/dist/{context → providers}/OrbitalThemeProvider.d.ts +0 -0
@@ -0,0 +1,107 @@
1
+ /**
2
+ * Game 2D Components (flat)
3
+ *
4
+ * Atoms, molecules, board organisms, templates, puzzles, editor, and physics-sim.
5
+ * Dimension-agnostic DTO types/utils/hooks are re-surfaced from ../shared.
6
+ *
7
+ * @packageDocumentation
8
+ */
9
+ export * from '../../shared/index';
10
+ export { GameCard, type GameCardProps } from '../atoms/GameCard';
11
+ export { HealthBar, type HealthBarProps } from '../atoms/HealthBar';
12
+ export { ScoreDisplay, type ScoreDisplayProps } from '../atoms/ScoreDisplay';
13
+ export { ControlButton, type ControlButtonProps } from '../atoms/ControlButton';
14
+ export { Sprite, drawSprite, type SpriteProps } from '../atoms/Sprite';
15
+ export { StateIndicator, type StateIndicatorProps, type StateStyle } from '../atoms/StateIndicator';
16
+ export { TimerDisplay, type TimerDisplayProps } from '../atoms/TimerDisplay';
17
+ export { ResourceCounter, type ResourceCounterProps } from '../atoms/ResourceCounter';
18
+ export { ItemSlot, type ItemSlotProps } from '../atoms/ItemSlot';
19
+ export { TurnIndicator, type TurnIndicatorProps } from '../atoms/TurnIndicator';
20
+ export { ComboCounter, type ComboCounterProps } from '../atoms/ComboCounter';
21
+ export { WaypointMarker, type WaypointMarkerProps } from '../atoms/WaypointMarker';
22
+ export { StatusEffect, type StatusEffectProps } from '../atoms/StatusEffect';
23
+ export { DamageNumber, type DamageNumberProps } from '../atoms/DamageNumber';
24
+ export { DialogueBubble, type DialogueBubbleProps } from '../atoms/DialogueBubble';
25
+ export { ChoiceButton, type ChoiceButtonProps } from '../atoms/ChoiceButton';
26
+ export { ActionButton, type ActionButtonProps } from '../atoms/ActionButton';
27
+ export { MiniMap, type MiniMapProps } from '../atoms/MiniMap';
28
+ export { GameIcon, type GameIconProps } from '../atoms/GameIcon';
29
+ export { ControlGrid, type ControlGridProps, type ControlGridButton, type ControlGridKind, type DPadDirection } from './ControlGrid';
30
+ export { StatBadge, type StatBadgeProps } from './StatBadge';
31
+ export { InventoryGrid, type InventoryGridProps, type InventoryGridItem } from './InventoryGrid';
32
+ export { ResourceBar, type ResourceBarProps, type ResourceBarResource } from './ResourceBar';
33
+ export { GameHud, type GameHudProps, type GameHudStat, type GameHudElement } from './GameHud';
34
+ export { GameMenu, type GameMenuProps, type MenuOption } from './GameMenu';
35
+ export { Canvas2D, type Canvas2DProps, type Projection, type CameraMode, type Platform, type SidePlayer, type TileCoord, } from './Canvas2D';
36
+ export { useUnitSpriteAtlas } from '../../shared/hooks/useUnitSpriteAtlas';
37
+ export { CanvasEffect, type CanvasEffectProps } from '../organisms/CanvasEffect';
38
+ export * from '../../shared/hooks/useCanvasEffects';
39
+ export { GameAudioProvider, GameAudioContext, useGameAudioContext, type GameAudioProviderProps, type GameAudioContextValue, } from '../../shared/providers/GameAudioProvider';
40
+ export { GameAudioToggle, type GameAudioToggleProps, } from '../atoms/GameAudioToggle';
41
+ export { useGameAudio, type AudioManifest, type SoundEntry, type GameAudioControls, type UseGameAudioOptions, } from '../../shared/hooks/useGameAudio';
42
+ export { useCamera } from '../../shared/hooks/useCamera';
43
+ export { BattleBoard, type BattleBoardProps, type BattlePhase, type BattleSlotContext, } from '../organisms/BattleBoard';
44
+ export { UncontrolledBattleBoard, type UncontrolledBattleBoardProps, } from '../organisms/UncontrolledBattleBoard';
45
+ export { useBattleState, type BattleStateEventConfig, type BattleStateCallbacks, type BattleStateResult, } from '../../shared/hooks/useBattleState';
46
+ export { WorldMapBoard, type WorldMapBoardProps, type WorldMapSlotContext, } from '../organisms/WorldMapBoard';
47
+ export { CastleBoard, type CastleBoardProps, type CastleSlotContext, } from '../organisms/CastleBoard';
48
+ export { PlatformerBoard, type PlatformerBoardProps, } from '../organisms/PlatformerBoard';
49
+ export { TowerDefenseBoard, type TowerDefenseBoardProps, } from '../organisms/TowerDefenseBoard';
50
+ export { RoguelikeBoard, type RoguelikeBoardProps, } from '../organisms/RoguelikeBoard';
51
+ export { TopDownShooterBoard, type TopDownShooterBoardProps, } from '../organisms/TopDownShooterBoard';
52
+ export { CityBuilderBoard, type CityBuilderBoardProps, } from '../organisms/CityBuilderBoard';
53
+ export { VisualNovelBoard, type VisualNovelBoardProps, type VisualNovelNode, type VisualNovelChoice, } from '../organisms/VisualNovelBoard';
54
+ export { CardBattlerBoard, type CardBattlerBoardProps, type CardBattlerCard, } from '../organisms/CardBattlerBoard';
55
+ export { HexStrategyBoard, type HexStrategyBoardProps, } from '../organisms/HexStrategyBoard';
56
+ export { RacingBoard, type RacingBoardProps } from '../organisms/RacingBoard';
57
+ export { TanksBoard, type TanksBoardProps } from '../organisms/TanksBoard';
58
+ export { SpaceShmupBoard, type SpaceShmupBoardProps } from '../organisms/SpaceShmupBoard';
59
+ export { SportsBoard, type SportsBoardProps } from '../organisms/SportsBoard';
60
+ export { SokobanBoard, type SokobanBoardProps } from '../organisms/SokobanBoard';
61
+ export { BoardgameBoard, type BoardgameBoardProps } from '../organisms/BoardgameBoard';
62
+ export { PirateBoard, type PirateBoardProps } from '../organisms/PirateBoard';
63
+ export { PinballBoard, type PinballBoardProps } from '../organisms/PinballBoard';
64
+ export { FishingBoard, type FishingBoardProps } from '../organisms/FishingBoard';
65
+ export { MatchPuzzleBoard, type MatchPuzzleBoardProps } from '../organisms/MatchPuzzleBoard';
66
+ export { HolidayRunnerBoard, type HolidayRunnerBoardProps } from '../organisms/HolidayRunnerBoard';
67
+ export { MinigolfBoard, type MinigolfBoardProps } from '../organisms/MinigolfBoard';
68
+ export { SpaceStationBoard, type SpaceStationBoardProps } from '../organisms/SpaceStationBoard';
69
+ export { TraitStateViewer, type TraitStateViewerProps, type TraitStateMachineDefinition, type TraitTransition, } from '../organisms/TraitStateViewer';
70
+ export { TraitSlot, type TraitSlotProps, type SlotItemData, } from '../organisms/TraitSlot';
71
+ export { CollapsibleSection, EditorSlider, EditorSelect, EditorCheckbox, EditorTextInput, StatusBar, TerrainPalette, EditorToolbar, TERRAIN_COLORS, FEATURE_TYPES, type EditorMode, type CollapsibleSectionProps, type EditorSliderProps, type EditorSelectProps, type EditorCheckboxProps, type EditorTextInputProps, type StatusBarProps, type TerrainPaletteProps, type EditorToolbarProps, } from '../../shared/lib/editorUtils';
72
+ export { ActionTile, type ActionTileProps } from '../organisms/ActionTile';
73
+ export { ActionPalette, type ActionPaletteProps } from '../organisms/ActionPalette';
74
+ export { SequenceBar, type SequenceBarProps } from '../organisms/SequenceBar';
75
+ export { SequencerBoard, type SequencerBoardProps } from '../organisms/SequencerBoard';
76
+ export { RuleEditor, type RuleEditorProps, type RuleDefinition } from '../organisms/RuleEditor';
77
+ export { EventLog, type EventLogProps, type EventLogEntry } from '../organisms/EventLog';
78
+ export { ObjectRulePanel, type ObjectRulePanelProps } from '../organisms/ObjectRulePanel';
79
+ export { EventHandlerBoard, type EventHandlerBoardProps } from '../organisms/EventHandlerBoard';
80
+ export * from '../../shared/lib/puzzleObject';
81
+ export { StateNode, type StateNodeProps } from '../organisms/StateNode';
82
+ export { TransitionArrow, type TransitionArrowProps } from '../organisms/TransitionArrow';
83
+ export { VariablePanel, type VariablePanelProps } from '../organisms/VariablePanel';
84
+ export { StateJsonView, type StateJsonViewProps } from '../organisms/StateJsonView';
85
+ export { StateArchitectBoard, type StateArchitectBoardProps, type StateArchitectTransition, type TestCase, } from '../organisms/StateArchitectBoard';
86
+ export { SimulatorBoard, type SimulatorBoardProps, type SimulatorParameter } from '../organisms/SimulatorBoard';
87
+ export { ClassifierBoard, type ClassifierBoardProps, type ClassifierItem, type ClassifierCategory } from '../organisms/ClassifierBoard';
88
+ export { BuilderBoard, type BuilderBoardProps, type BuilderComponent, type BuilderSlot } from '../organisms/BuilderBoard';
89
+ export { DebuggerBoard, type DebuggerBoardProps, type DebuggerLine } from '../organisms/DebuggerBoard';
90
+ export { NegotiatorBoard, type NegotiatorBoardProps, type NegotiatorAction, type PayoffEntry } from '../organisms/NegotiatorBoard';
91
+ export { SimulationCanvas, type SimulationCanvasProps } from '../organisms/SimulationCanvas';
92
+ export { SimulationControls, type SimulationControlsProps } from '../organisms/SimulationControls';
93
+ export { SimulationGraph, type SimulationGraphProps, type MeasurementPoint } from '../organisms/SimulationGraph';
94
+ export type { PhysicsPreset, PhysicsBody, PhysicsConstraint } from '../../shared/lib/physicsTypes';
95
+ export { projectileMotion, pendulum, springOscillator, ALL_PRESETS } from '../../shared/lib/physicsPresets';
96
+ export { GameTemplate, type GameTemplateProps } from '../templates/GameTemplate';
97
+ export { GameShell, type GameShellProps } from '../templates/GameShell';
98
+ export { BattleTemplate, type BattleTemplateProps } from '../templates/BattleTemplate';
99
+ export { CastleTemplate, type CastleTemplateProps } from '../templates/CastleTemplate';
100
+ export { WorldMapTemplate, type WorldMapTemplateProps } from '../templates/WorldMapTemplate';
101
+ export { PlatformerTemplate, type PlatformerTemplateProps } from '../templates/PlatformerTemplate';
102
+ export { TowerDefenseTemplate, type TowerDefenseTemplateProps } from '../templates/TowerDefenseTemplate';
103
+ export { RoguelikeTemplate, type RoguelikeTemplateProps } from '../templates/RoguelikeTemplate';
104
+ export { TopDownShooterTemplate, type TopDownShooterTemplateProps } from '../templates/TopDownShooterTemplate';
105
+ export { CityBuilderTemplate, type CityBuilderTemplateProps } from '../templates/CityBuilderTemplate';
106
+ export { VisualNovelTemplate, type VisualNovelTemplateProps } from '../templates/VisualNovelTemplate';
107
+ export { CardBattlerTemplate, type CardBattlerTemplateProps } from '../templates/CardBattlerTemplate';
@@ -8,7 +8,7 @@
8
8
  * @packageDocumentation
9
9
  */
10
10
  import React from 'react';
11
- import type { DisplayStateProps } from '../../core/organisms/types';
11
+ import type { DisplayStateProps } from '../../../core/organisms/types';
12
12
  import type { SlotItemData } from './TraitSlot';
13
13
  export interface ActionTileProps extends DisplayStateProps {
14
14
  /** The action data */
@@ -19,9 +19,9 @@
19
19
  */
20
20
  import React from 'react';
21
21
  import type { Asset, AssetUrl, EventEmit, EntityRow } from '@almadar/core';
22
- import type { DisplayStateProps } from '../../core/organisms/types';
23
- import type { IsometricTile, IsometricUnit, IsometricFeature } from '../shared/isometricTypes';
24
- import type { ResolvedFrame } from '../shared/spriteAnimationTypes';
22
+ import type { DisplayStateProps } from '../../../core/organisms/types';
23
+ import type { IsometricTile, IsometricUnit, IsometricFeature } from '../../shared/isometricTypes';
24
+ import type { ResolvedFrame } from '../../shared/spriteAnimationTypes';
25
25
  /** Battle phases an encounter walks through (UI value enum — not entity data). */
26
26
  export type BattlePhase = 'observation' | 'selection' | 'movement' | 'action' | 'enemy_turn' | 'game_over';
27
27
  /** Context exposed to render-prop slots. Carries coerced entity rows + UI helpers. */
@@ -52,6 +52,7 @@ type BattleAssetManifest = {
52
52
  units?: Record<string, Asset>;
53
53
  features?: Record<string, Asset>;
54
54
  effects?: Record<string, Asset>;
55
+ ui?: Record<string, Asset>;
55
56
  };
56
57
  export interface BattleBoardProps extends DisplayStateProps {
57
58
  /** Entity (single board state) containing all board data */
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import type { AssetUrl, EventEmit } from '@almadar/core';
3
- import type { IsometricTile, IsometricUnit, IsometricFeature } from '../shared/isometricTypes';
4
- import type { DisplayStateProps } from '../../core/organisms/types';
5
- import type { Canvas2DProps } from './Canvas2D';
3
+ import type { IsometricTile, IsometricUnit, IsometricFeature } from '../../shared/isometricTypes';
4
+ import type { DisplayStateProps } from '../../../core/organisms/types';
5
+ import type { Canvas2DProps } from '../molecules/Canvas2D';
6
6
  export interface BoardgameBoardProps extends DisplayStateProps {
7
7
  /** Board squares (flat top-down grid tiles) */
8
8
  tiles?: IsometricTile[];
@@ -9,8 +9,8 @@
9
9
  * Events emitted via completeEvent (default UI:PUZZLE_COMPLETE).
10
10
  */
11
11
  import React from 'react';
12
- import type { AssetUrl, EventEmit, EntityRow } from '@almadar/core';
13
- import type { DisplayStateProps } from '../../core/organisms/types';
12
+ import type { AssetUrl, EventEmit, EntityRow, Asset } from '@almadar/core';
13
+ import type { DisplayStateProps } from '../../../core/organisms/types';
14
14
  /** A draggable build component (UI value DTO read off the entity). */
15
15
  export interface BuilderComponent {
16
16
  id: string;
@@ -49,8 +49,12 @@ export interface BuilderBoardProps extends DisplayStateProps {
49
49
  checkEvent?: EventEmit<Record<string, never>>;
50
50
  /** Emits UI:{playAgainEvent} with {} on play again / reset. */
51
51
  playAgainEvent?: EventEmit<Record<string, never>>;
52
+ /** Optional per-semantic-key asset overrides for icons (correct/incorrect/reset/build). */
53
+ assetManifest?: {
54
+ ui?: Record<string, Asset>;
55
+ };
52
56
  }
53
- export declare function BuilderBoard({ entity, completeEvent, placeEvent, checkEvent, playAgainEvent, className, }: BuilderBoardProps): React.JSX.Element | null;
57
+ export declare function BuilderBoard({ entity, completeEvent, placeEvent, checkEvent, playAgainEvent, assetManifest, className, }: BuilderBoardProps): React.JSX.Element | null;
54
58
  export declare namespace BuilderBoard {
55
59
  var displayName: string;
56
60
  }
@@ -25,10 +25,10 @@
25
25
  */
26
26
  import * as React from 'react';
27
27
  import type { AssetUrl, EventEmit } from '@almadar/core';
28
- import type { CombatActionType, EffectAssetManifest } from '../shared/effects';
29
- import type { UiError } from '../../core/atoms/types';
30
- export type { CombatActionType } from '../shared/effects';
31
- export type { EffectAssetManifest } from '../shared/effects';
28
+ import type { CombatActionType, EffectAssetManifest } from '../../shared/effects';
29
+ import type { UiError } from '../../../core/atoms/types';
30
+ export type { CombatActionType } from '../../shared/effects';
31
+ export type { EffectAssetManifest } from '../../shared/effects';
32
32
  export interface CanvasEffectProps {
33
33
  /** The type of combat action to visualise */
34
34
  actionType: CombatActionType;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { Asset, EventEmit, EntityRow } from '@almadar/core';
3
- import type { DisplayStateProps } from '../../core/organisms/types';
3
+ import type { DisplayStateProps } from '../../../core/organisms/types';
4
4
  /** Manifest of per-card sprite map (UI value DTO). */
5
5
  type CardBattlerAssetManifest = {
6
6
  cards?: Record<string, Asset>;
@@ -14,12 +14,13 @@
14
14
  */
15
15
  import React from 'react';
16
16
  import type { Asset, EventEmit, EntityRow } from '@almadar/core';
17
- import type { IsometricTile, IsometricUnit, IsometricFeature } from '../shared/isometricTypes';
17
+ import type { IsometricTile, IsometricUnit, IsometricFeature } from '../../shared/isometricTypes';
18
18
  /** Manifest of per-kind sprite maps (UI value DTO). */
19
19
  type CastleAssetManifest = {
20
20
  terrains?: Record<string, Asset>;
21
21
  units?: Record<string, Asset>;
22
22
  features?: Record<string, Asset>;
23
+ ui?: Record<string, Asset>;
23
24
  };
24
25
  /** Context exposed to render-prop slots */
25
26
  export type CastleSlotContext = {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { Asset, EventEmit, EntityRow } from '@almadar/core';
3
- import type { DisplayStateProps } from '../../core/organisms/types';
3
+ import type { DisplayStateProps } from '../../../core/organisms/types';
4
4
  /** Manifest of per-kind sprite maps (UI value DTO). */
5
5
  type CityBuilderAssetManifest = {
6
6
  terrains?: Record<string, Asset>;
@@ -15,8 +15,8 @@
15
15
  * from those; otherwise it self-manages with local state.
16
16
  */
17
17
  import React from 'react';
18
- import type { AssetUrl, EventEmit, EntityRow } from '@almadar/core';
19
- import type { DisplayStateProps } from '../../core/organisms/types';
18
+ import type { AssetUrl, EventEmit, EntityRow, Asset } from '@almadar/core';
19
+ import type { DisplayStateProps } from '../../../core/organisms/types';
20
20
  /** A sortable item (UI value DTO read off the entity). */
21
21
  export interface ClassifierItem {
22
22
  id: string;
@@ -55,8 +55,12 @@ export interface ClassifierBoardProps extends DisplayStateProps {
55
55
  checkEvent?: EventEmit<Record<string, never>>;
56
56
  /** Emits UI:{playAgainEvent} with {} on reset / play again. */
57
57
  playAgainEvent?: EventEmit<Record<string, never>>;
58
+ /** Optional per-semantic-key asset overrides for icons (correct/incorrect/reset/send). */
59
+ assetManifest?: {
60
+ ui?: Record<string, Asset>;
61
+ };
58
62
  }
59
- export declare function ClassifierBoard({ entity, completeEvent, assignEvent, checkEvent, playAgainEvent, className, }: ClassifierBoardProps): React.JSX.Element | null;
63
+ export declare function ClassifierBoard({ entity, completeEvent, assignEvent, checkEvent, playAgainEvent, assetManifest, className, }: ClassifierBoardProps): React.JSX.Element | null;
60
64
  export declare namespace ClassifierBoard {
61
65
  var displayName: string;
62
66
  }
@@ -9,8 +9,8 @@
9
9
  * Events emitted via completeEvent (default UI:PUZZLE_COMPLETE).
10
10
  */
11
11
  import React from 'react';
12
- import type { EventEmit, EntityRow, EntityWith } from '@almadar/core';
13
- import type { DisplayStateProps } from '../../core/organisms/types';
12
+ import type { EventEmit, EntityRow, EntityWith, Asset } from '@almadar/core';
13
+ import type { DisplayStateProps } from '../../../core/organisms/types';
14
14
  /** A reviewable code line (UI value DTO read off the entity). */
15
15
  export interface DebuggerLine {
16
16
  id: string;
@@ -50,8 +50,12 @@ export interface DebuggerBoardProps extends DisplayStateProps {
50
50
  checkEvent?: EventEmit<Record<string, never>>;
51
51
  /** Emits UI:{playAgainEvent} with {} on play again / reset. */
52
52
  playAgainEvent?: EventEmit<Record<string, never>>;
53
+ /** Optional per-semantic-key asset overrides for icons (correct/incorrect/reset/bug/send). */
54
+ assetManifest?: {
55
+ ui?: Record<string, Asset>;
56
+ };
53
57
  }
54
- export declare function DebuggerBoard({ entity, completeEvent, toggleFlagEvent, checkEvent, playAgainEvent, className, }: DebuggerBoardProps): React.JSX.Element | null;
58
+ export declare function DebuggerBoard({ entity, completeEvent, toggleFlagEvent, checkEvent, playAgainEvent, assetManifest, className, }: DebuggerBoardProps): React.JSX.Element | null;
55
59
  export declare namespace DebuggerBoard {
56
60
  var displayName: string;
57
61
  }
@@ -12,7 +12,7 @@
12
12
  */
13
13
  import React from 'react';
14
14
  import type { EventEmit, EntityRow } from '@almadar/core';
15
- import type { DisplayStateProps } from '../../core/organisms/types';
15
+ import type { DisplayStateProps } from '../../../core/organisms/types';
16
16
  import type { RuleDefinition } from './RuleEditor';
17
17
  export interface EventHandlerBoardProps extends DisplayStateProps {
18
18
  /** Puzzle board-state entity (single row or array). The board reads
@@ -1,9 +1,19 @@
1
1
  import React from 'react';
2
2
  import type { Asset, EventEmit } from '@almadar/core';
3
- import type { DisplayStateProps } from '../../core/organisms/types';
3
+ import type { DisplayStateProps } from '../../../core/organisms/types';
4
+ /** Asset manifest shape for FishingBoard. */
5
+ type FishingAssetManifest = {
6
+ terrains?: Record<string, Asset>;
7
+ units?: Record<string, Asset>;
8
+ features?: Record<string, Asset>;
9
+ effects?: Record<string, Asset>;
10
+ ui?: Record<string, Asset>;
11
+ };
4
12
  export interface FishingBoardProps extends DisplayStateProps {
5
13
  /** Background image asset for the fishing scene */
6
14
  backgroundImage?: Asset;
15
+ /** Asset sprite manifest */
16
+ assetManifest?: FishingAssetManifest;
7
17
  /** Render scale */
8
18
  scale?: number;
9
19
  /** Show minimap overlay */
@@ -24,7 +34,7 @@ export interface FishingBoardProps extends DisplayStateProps {
24
34
  unitId: string;
25
35
  }>;
26
36
  }
27
- export declare function FishingBoard({ backgroundImage, scale, showMinimap, enableCamera, tileClickEvent, unitClickEvent, isLoading, error, className, }: FishingBoardProps): React.ReactElement;
37
+ export declare function FishingBoard({ backgroundImage, assetManifest, scale, showMinimap, enableCamera, tileClickEvent, unitClickEvent, isLoading, error, className, }: FishingBoardProps): React.ReactElement;
28
38
  export declare namespace FishingBoard {
29
39
  var displayName: string;
30
40
  }
@@ -1,8 +1,15 @@
1
1
  import React from 'react';
2
- import type { AssetUrl, EventEmit } from '@almadar/core';
3
- import type { IsometricTile, IsometricUnit, IsometricFeature } from '../shared/isometricTypes';
4
- import type { DisplayStateProps } from '../../core/organisms/types';
5
- import type { Canvas2DProps } from './Canvas2D';
2
+ import type { Asset, AssetUrl, EventEmit } from '@almadar/core';
3
+ import type { IsometricTile, IsometricUnit, IsometricFeature } from '../../shared/isometricTypes';
4
+ import type { DisplayStateProps } from '../../../core/organisms/types';
5
+ /** Asset manifest shape for HexStrategyBoard. */
6
+ type HexStrategyAssetManifest = {
7
+ terrains?: Record<string, Asset>;
8
+ units?: Record<string, Asset>;
9
+ features?: Record<string, Asset>;
10
+ effects?: Record<string, Asset>;
11
+ ui?: Record<string, Asset>;
12
+ };
6
13
  export interface HexStrategyBoardProps extends DisplayStateProps {
7
14
  /** Hex grid tiles */
8
15
  tiles?: IsometricTile[];
@@ -10,8 +17,8 @@ export interface HexStrategyBoardProps extends DisplayStateProps {
10
17
  units?: IsometricUnit[];
11
18
  /** Features (resources, structures, etc.) on the board */
12
19
  features?: IsometricFeature[];
13
- /** Asset sprite manifest (same shape as Canvas2D.assetManifest) */
14
- assetManifest?: Canvas2DProps['assetManifest'];
20
+ /** Asset sprite manifest */
21
+ assetManifest?: HexStrategyAssetManifest;
15
22
  /** Base URL prepended to manifest sprite paths */
16
23
  assetBaseUrl?: AssetUrl;
17
24
  /** Render scale */
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import type { AssetUrl, EventEmit } from '@almadar/core';
3
- import type { IsometricTile, IsometricUnit, IsometricFeature } from '../shared/isometricTypes';
4
- import type { DisplayStateProps } from '../../core/organisms/types';
5
- import type { Canvas2DProps } from './Canvas2D';
3
+ import type { IsometricTile, IsometricUnit, IsometricFeature } from '../../shared/isometricTypes';
4
+ import type { DisplayStateProps } from '../../../core/organisms/types';
5
+ import type { Canvas2DProps } from '../molecules/Canvas2D';
6
6
  export interface HolidayRunnerBoardProps extends DisplayStateProps {
7
7
  /** Ground/sky terrain tiles for the side-scroll strip */
8
8
  tiles?: IsometricTile[];
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import type { AssetUrl, EventEmit } from '@almadar/core';
3
- import type { IsometricTile, IsometricUnit, IsometricFeature } from '../shared/isometricTypes';
4
- import type { DisplayStateProps } from '../../core/organisms/types';
5
- import type { Canvas2DProps } from './Canvas2D';
3
+ import type { IsometricTile, IsometricUnit, IsometricFeature } from '../../shared/isometricTypes';
4
+ import type { DisplayStateProps } from '../../../core/organisms/types';
5
+ import type { Canvas2DProps } from '../molecules/Canvas2D';
6
6
  export interface MatchPuzzleBoardProps extends DisplayStateProps {
7
7
  /** Grid tiles for the match puzzle board */
8
8
  tiles?: IsometricTile[];
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import type { AssetUrl, EventEmit } from '@almadar/core';
3
- import type { IsometricTile, IsometricUnit, IsometricFeature } from '../shared/isometricTypes';
4
- import type { DisplayStateProps } from '../../core/organisms/types';
5
- import type { Canvas2DProps } from './Canvas2D';
3
+ import type { IsometricTile, IsometricUnit, IsometricFeature } from '../../shared/isometricTypes';
4
+ import type { DisplayStateProps } from '../../../core/organisms/types';
5
+ import type { Canvas2DProps } from '../molecules/Canvas2D';
6
6
  export interface MinigolfBoardProps extends DisplayStateProps {
7
7
  /** Isometric grid tiles */
8
8
  tiles?: IsometricTile[];
@@ -11,8 +11,8 @@
11
11
  * Events emitted via completeEvent (default UI:PUZZLE_COMPLETE).
12
12
  */
13
13
  import React from 'react';
14
- import type { EventEmit, EntityRow } from '@almadar/core';
15
- import type { DisplayStateProps } from '../../core/organisms/types';
14
+ import type { EventEmit, EntityRow, Asset } from '@almadar/core';
15
+ import type { DisplayStateProps } from '../../../core/organisms/types';
16
16
  /** A selectable round action (UI value DTO read off the entity). */
17
17
  export interface NegotiatorAction {
18
18
  id: string;
@@ -45,8 +45,12 @@ export interface NegotiatorBoardProps extends DisplayStateProps {
45
45
  finishEvent?: EventEmit<Record<string, never>>;
46
46
  /** Emits UI:{playAgainEvent} with {} on play again / reset. */
47
47
  playAgainEvent?: EventEmit<Record<string, never>>;
48
+ /** Optional per-semantic-key asset overrides for icons (correct/arrow). */
49
+ assetManifest?: {
50
+ ui?: Record<string, Asset>;
51
+ };
48
52
  }
49
- export declare function NegotiatorBoard({ entity, completeEvent, playRoundEvent, finishEvent, playAgainEvent, className, }: NegotiatorBoardProps): React.JSX.Element | null;
53
+ export declare function NegotiatorBoard({ entity, completeEvent, playRoundEvent, finishEvent, playAgainEvent, assetManifest, className, }: NegotiatorBoardProps): React.JSX.Element | null;
50
54
  export declare namespace NegotiatorBoard {
51
55
  var displayName: string;
52
56
  }
@@ -1,6 +1,14 @@
1
1
  import React from 'react';
2
- import type { AssetUrl, EventEmit, EntityRow } from '@almadar/core';
3
- import type { DisplayStateProps } from '../../core/organisms/types';
2
+ import type { Asset, AssetUrl, EventEmit, EntityRow } from '@almadar/core';
3
+ import type { DisplayStateProps } from '../../../core/organisms/types';
4
+ /** Asset manifest shape for PinballBoard. */
5
+ type PinballAssetManifest = {
6
+ terrains?: Record<string, Asset>;
7
+ units?: Record<string, Asset>;
8
+ features?: Record<string, Asset>;
9
+ effects?: Record<string, Asset>;
10
+ ui?: Record<string, Asset>;
11
+ };
4
12
  export interface PinballBoardProps extends DisplayStateProps {
5
13
  /** Playfield tiles */
6
14
  tiles?: readonly EntityRow[];
@@ -9,7 +17,7 @@ export interface PinballBoardProps extends DisplayStateProps {
9
17
  /** Features (bumpers, paddles, etc.) on the board */
10
18
  features?: readonly EntityRow[];
11
19
  /** Asset sprite manifest */
12
- assetManifest?: string;
20
+ assetManifest?: PinballAssetManifest;
13
21
  /** Base URL prepended to manifest sprite paths */
14
22
  assetBaseUrl?: AssetUrl;
15
23
  /** Render scale */
@@ -28,7 +36,7 @@ export interface PinballBoardProps extends DisplayStateProps {
28
36
  unitId: string;
29
37
  }>;
30
38
  }
31
- export declare function PinballBoard({ tiles: _tiles, units: _units, features: _features, assetManifest: _assetManifest, assetBaseUrl: _assetBaseUrl, scale: _scale, showMinimap, enableCamera, tileClickEvent, unitClickEvent, isLoading, error, className, }: PinballBoardProps): React.ReactElement;
39
+ export declare function PinballBoard({ tiles: _tiles, units: _units, features: _features, assetManifest, assetBaseUrl: _assetBaseUrl, scale: _scale, showMinimap, enableCamera, tileClickEvent, unitClickEvent, isLoading, error, className, }: PinballBoardProps): React.ReactElement;
32
40
  export declare namespace PinballBoard {
33
41
  var displayName: string;
34
42
  }
@@ -1,8 +1,15 @@
1
1
  import React from 'react';
2
- import type { AssetUrl, EventEmit } from '@almadar/core';
3
- import type { IsometricTile, IsometricUnit, IsometricFeature } from '../shared/isometricTypes';
4
- import type { DisplayStateProps } from '../../core/organisms/types';
5
- import type { Canvas2DProps } from './Canvas2D';
2
+ import type { Asset, AssetUrl, EventEmit } from '@almadar/core';
3
+ import type { IsometricTile, IsometricUnit, IsometricFeature } from '../../shared/isometricTypes';
4
+ import type { DisplayStateProps } from '../../../core/organisms/types';
5
+ /** Asset manifest shape for PirateBoard. */
6
+ type PirateAssetManifest = {
7
+ terrains?: Record<string, Asset>;
8
+ units?: Record<string, Asset>;
9
+ features?: Record<string, Asset>;
10
+ effects?: Record<string, Asset>;
11
+ ui?: Record<string, Asset>;
12
+ };
6
13
  export interface PirateBoardProps extends DisplayStateProps {
7
14
  /** Sea/island grid tiles */
8
15
  tiles?: IsometricTile[];
@@ -10,8 +17,8 @@ export interface PirateBoardProps extends DisplayStateProps {
10
17
  units?: IsometricUnit[];
11
18
  /** Features (ports, treasures, etc.) on the board */
12
19
  features?: IsometricFeature[];
13
- /** Asset sprite manifest (same shape as Canvas2D.assetManifest) */
14
- assetManifest?: Canvas2DProps['assetManifest'];
20
+ /** Asset sprite manifest */
21
+ assetManifest?: PirateAssetManifest;
15
22
  /** Base URL prepended to manifest sprite paths */
16
23
  assetBaseUrl?: AssetUrl;
17
24
  /** Render scale */
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import type { Asset, EventEmit, EntityRow } from '@almadar/core';
3
- import type { Platform, SidePlayer } from './Canvas2D';
3
+ import type { Platform, SidePlayer } from '../molecules/Canvas2D';
4
4
  export interface PlatformerBoardProps {
5
5
  /** Entity containing all board state (result, lives, score, level, player, platforms) */
6
6
  entity?: EntityRow | readonly EntityRow[];
@@ -1,8 +1,15 @@
1
1
  import React from 'react';
2
- import type { AssetUrl, EventEmit } from '@almadar/core';
3
- import type { IsometricTile, IsometricUnit, IsometricFeature } from '../shared/isometricTypes';
4
- import type { DisplayStateProps } from '../../core/organisms/types';
5
- import type { Canvas2DProps } from './Canvas2D';
2
+ import type { Asset, AssetUrl, EventEmit } from '@almadar/core';
3
+ import type { IsometricTile, IsometricUnit, IsometricFeature } from '../../shared/isometricTypes';
4
+ import type { DisplayStateProps } from '../../../core/organisms/types';
5
+ /** Asset manifest shape for RacingBoard. */
6
+ type RacingAssetManifest = {
7
+ terrains?: Record<string, Asset>;
8
+ units?: Record<string, Asset>;
9
+ features?: Record<string, Asset>;
10
+ effects?: Record<string, Asset>;
11
+ ui?: Record<string, Asset>;
12
+ };
6
13
  export interface RacingBoardProps extends DisplayStateProps {
7
14
  /** Road + grass terrain tiles forming the race circuit */
8
15
  tiles?: IsometricTile[];
@@ -10,8 +17,8 @@ export interface RacingBoardProps extends DisplayStateProps {
10
17
  units?: IsometricUnit[];
11
18
  /** Track features (pit lane markers, start/finish line, etc.) */
12
19
  features?: IsometricFeature[];
13
- /** Asset sprite manifest (same shape as Canvas2D.assetManifest) */
14
- assetManifest?: Canvas2DProps['assetManifest'];
20
+ /** Asset sprite manifest */
21
+ assetManifest?: RacingAssetManifest;
15
22
  /** Base URL prepended to manifest sprite paths */
16
23
  assetBaseUrl?: AssetUrl;
17
24
  /** Render scale */
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import type { Asset, EventEmit, EntityRow } from '@almadar/core';
3
- import type { DisplayStateProps } from '../../core/organisms/types';
4
- import type { IsometricTile } from '../shared/isometricTypes';
3
+ import type { DisplayStateProps } from '../../../core/organisms/types';
4
+ import type { IsometricTile } from '../../shared/isometricTypes';
5
5
  type PlayerPos = {
6
6
  x: number;
7
7
  y: number;
@@ -19,7 +19,7 @@
19
19
  */
20
20
  import React from 'react';
21
21
  import type { EventEmit, EntityRow } from '@almadar/core';
22
- import type { DisplayStateProps } from '../../core/organisms/types';
22
+ import type { DisplayStateProps } from '../../../core/organisms/types';
23
23
  export interface SequencerBoardProps extends DisplayStateProps {
24
24
  /** Puzzle board-state entity (single row or array). The board reads
25
25
  * `availableActions` / `maxSlots` / `solutions` etc. off the row.
@@ -7,9 +7,10 @@
7
7
  * and the interpolation bridge smooths them to 60fps.
8
8
  */
9
9
  import React from 'react';
10
- import type { PhysicsPreset, PhysicsBody } from './types';
10
+ import type { PhysicsPreset, PhysicsBody } from '../../shared/lib/physicsTypes';
11
+ export type PhysicsPresetId = 'mechanics-projectile' | 'mechanics-pendulum' | 'mechanics-spring';
11
12
  export interface SimulationCanvasProps {
12
- preset: string | PhysicsPreset;
13
+ preset: PhysicsPresetId | PhysicsPreset;
13
14
  width?: number;
14
15
  height?: number;
15
16
  running: boolean;
@@ -4,6 +4,7 @@
4
4
  * Play/pause/step/reset controls with speed and parameter sliders.
5
5
  */
6
6
  import React from 'react';
7
+ import type { Asset } from '@almadar/core';
7
8
  export interface SimulationParameter {
8
9
  value: number;
9
10
  min: number;
@@ -21,9 +22,13 @@ export interface SimulationControlsProps {
21
22
  onReset: () => void;
22
23
  onSpeedChange: (speed: number) => void;
23
24
  onParameterChange: (name: string, value: number) => void;
25
+ /** Optional per-semantic-key asset overrides for icons (play/pause/step/reset). */
26
+ assetManifest?: {
27
+ ui?: Record<string, Asset>;
28
+ };
24
29
  className?: string;
25
30
  }
26
- export declare function SimulationControls({ running, speed, parameters, onPlay, onPause, onStep, onReset, onSpeedChange, onParameterChange, className, }: SimulationControlsProps): React.JSX.Element;
31
+ export declare function SimulationControls({ running, speed, parameters, onPlay, onPause, onStep, onReset, onSpeedChange, onParameterChange, assetManifest, className, }: SimulationControlsProps): React.JSX.Element;
27
32
  export declare namespace SimulationControls {
28
33
  var displayName: string;
29
34
  }
@@ -12,8 +12,8 @@
12
12
  * interactions are emitted as events; the machine recomputes and re-renders.
13
13
  */
14
14
  import React from 'react';
15
- import type { EventEmit, EntityRow } from '@almadar/core';
16
- import type { DisplayStateProps } from '../../core/organisms/types';
15
+ import type { EventEmit, EntityRow, Asset } from '@almadar/core';
16
+ import type { DisplayStateProps } from '../../../core/organisms/types';
17
17
  /** A tunable simulation parameter slider descriptor (UI value DTO read off the entity). */
18
18
  export interface SimulatorParameter {
19
19
  id: string;
@@ -47,8 +47,12 @@ export interface SimulatorBoardProps extends DisplayStateProps {
47
47
  checkEvent?: EventEmit<Record<string, never>>;
48
48
  /** Emits UI:{playAgainEvent} with {} on reset / play again. */
49
49
  playAgainEvent?: EventEmit<Record<string, never>>;
50
+ /** Optional per-semantic-key asset overrides for icons (correct/incorrect/play/reset). */
51
+ assetManifest?: {
52
+ ui?: Record<string, Asset>;
53
+ };
50
54
  }
51
- export declare function SimulatorBoard({ entity, completeEvent, setAEvent, setBEvent, checkEvent, playAgainEvent, className, }: SimulatorBoardProps): React.JSX.Element | null;
55
+ export declare function SimulatorBoard({ entity, completeEvent, setAEvent, setBEvent, checkEvent, playAgainEvent, assetManifest, className, }: SimulatorBoardProps): React.JSX.Element | null;
52
56
  export declare namespace SimulatorBoard {
53
57
  var displayName: string;
54
58
  }