@almadar/ui 5.75.0 → 5.76.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/avl/index.cjs +2545 -6006
- package/dist/avl/index.d.ts +43 -43
- package/dist/avl/index.js +1250 -4711
- package/dist/components/avl/atoms/AvlApplication.d.ts +1 -1
- package/dist/components/avl/atoms/AvlBindingRef.d.ts +1 -1
- package/dist/components/avl/atoms/AvlEffect.d.ts +1 -1
- package/dist/components/avl/atoms/AvlEntity.d.ts +1 -1
- package/dist/components/avl/atoms/AvlEvent.d.ts +1 -1
- package/dist/components/avl/atoms/AvlField.d.ts +1 -1
- package/dist/components/avl/atoms/AvlFieldType.d.ts +1 -1
- package/dist/components/avl/atoms/AvlGuard.d.ts +1 -1
- package/dist/components/avl/atoms/AvlLiteral.d.ts +1 -1
- package/dist/components/avl/atoms/AvlOperator.d.ts +1 -1
- package/dist/components/avl/atoms/AvlPage.d.ts +1 -1
- package/dist/components/avl/atoms/AvlPersistence.d.ts +1 -1
- package/dist/components/avl/atoms/AvlSExpr.d.ts +1 -1
- package/dist/components/avl/atoms/AvlState.d.ts +2 -2
- package/dist/components/avl/atoms/index.d.ts +4 -4
- package/dist/components/avl/{molecules → lib}/avl-behavior-compose-converter.d.ts +1 -1
- package/dist/components/avl/{molecules → lib}/avl-elk-layout.d.ts +2 -2
- package/dist/components/avl/{molecules → lib}/avl-flow-converter.d.ts +1 -1
- package/dist/components/avl/{molecules → lib}/avl-preview-converter.d.ts +1 -1
- package/dist/components/avl/{molecules → lib}/avl-story-schemas.d.ts +6 -6
- package/dist/components/avl/{molecules → lib}/avl-zoom-band.d.ts +1 -1
- package/dist/components/avl/molecules/Avl3DExprTree.d.ts +1 -1
- package/dist/components/avl/molecules/AvlBehaviorGlyph.d.ts +1 -1
- package/dist/components/avl/molecules/AvlClosedCircuit.d.ts +1 -1
- package/dist/components/avl/molecules/AvlOrbitalUnit.d.ts +1 -1
- package/dist/components/avl/molecules/AvlStateMachine.d.ts +1 -1
- package/dist/components/avl/molecules/AvlTransitionLane.d.ts +1 -1
- package/dist/components/avl/molecules/BehaviorView.d.ts +1 -1
- package/dist/components/avl/molecules/DetailView.d.ts +1 -1
- package/dist/components/avl/molecules/MiniStateMachine.d.ts +1 -1
- package/dist/components/avl/molecules/ModuleCard.d.ts +1 -1
- package/dist/components/avl/molecules/OrbPreviewNode.d.ts +1 -1
- package/dist/components/avl/molecules/SystemNode.d.ts +1 -1
- package/dist/components/avl/molecules/index.d.ts +9 -9
- package/dist/components/avl/organisms/Avl3DApplicationScene.d.ts +1 -1
- package/dist/components/avl/organisms/Avl3DEffects.d.ts +1 -1
- package/dist/components/avl/organisms/Avl3DOrbitalScene.d.ts +1 -1
- package/dist/components/avl/organisms/Avl3DTraitScene.d.ts +1 -1
- package/dist/components/avl/organisms/Avl3DTransitionScene.d.ts +1 -1
- package/dist/components/avl/organisms/Avl3DViewer.d.ts +2 -2
- package/dist/components/avl/organisms/AvlCosmicZoom.d.ts +1 -1
- package/dist/components/avl/organisms/AvlLegend.d.ts +1 -1
- package/dist/components/avl/organisms/AvlTraitScene.d.ts +1 -1
- package/dist/components/avl/organisms/AvlTransitionDetail.d.ts +1 -1
- package/dist/components/avl/organisms/AvlTransitionScene.d.ts +1 -1
- package/dist/components/avl/organisms/FlowCanvas.d.ts +2 -2
- package/dist/components/avl/organisms/OrbInspector.d.ts +1 -1
- package/dist/components/avl/organisms/ZoomBreadcrumb.d.ts +1 -1
- package/dist/components/avl/organisms/ZoomLegend.d.ts +1 -1
- package/dist/components/avl/organisms/index.d.ts +2 -2
- package/dist/components/avl/{molecules → types}/avl-behavior-compose-types.d.ts +1 -1
- package/dist/components/avl/{molecules → types}/avl-canvas-types.d.ts +1 -1
- package/dist/components/core/atoms/index.d.ts +2 -3
- package/dist/components/core/molecules/Breadcrumb.d.ts +1 -1
- package/dist/components/core/molecules/Card.d.ts +1 -1
- package/dist/components/core/molecules/Chart.d.ts +0 -2
- package/dist/components/core/molecules/ConfirmDialog.d.ts +0 -2
- package/dist/components/core/molecules/DataGrid.d.ts +1 -1
- package/dist/components/core/molecules/DataList.d.ts +1 -1
- package/dist/components/core/molecules/EmptyState.d.ts +1 -1
- package/dist/components/core/molecules/FloatingActionButton.d.ts +1 -1
- package/dist/components/core/molecules/FormSectionHeader.d.ts +1 -1
- package/dist/components/core/molecules/GraphCanvas.d.ts +0 -2
- package/dist/components/core/molecules/Header.d.ts +1 -1
- package/dist/components/core/molecules/Menu.d.ts +1 -1
- package/dist/components/core/molecules/Navigation.d.ts +1 -1
- package/dist/components/core/molecules/OrbitalVisualization.d.ts +0 -2
- package/dist/components/core/molecules/PageHeader.d.ts +1 -1
- package/dist/components/core/molecules/Section.d.ts +0 -2
- package/dist/components/core/molecules/Sidebar.d.ts +1 -1
- package/dist/components/core/molecules/SignaturePad.d.ts +0 -2
- package/dist/components/core/molecules/Split.d.ts +0 -2
- package/dist/components/core/molecules/StatDisplay.d.ts +1 -1
- package/dist/components/core/molecules/SwipeableRow.d.ts +1 -1
- package/dist/components/core/molecules/TableView.d.ts +1 -1
- package/dist/components/core/molecules/Tabs.d.ts +1 -1
- package/dist/components/core/molecules/UploadDropZone.d.ts +1 -1
- package/dist/components/core/molecules/WizardContainer.d.ts +0 -2
- package/dist/components/core/molecules/index.d.ts +1 -1
- package/dist/components/core/organisms/UISlotRenderer.d.ts +1 -1
- package/dist/components/core/organisms/index.d.ts +4 -4
- package/dist/components/core/templates/index.d.ts +12 -12
- package/dist/components/game/2d/{ActionButton.d.ts → atoms/ActionButton.d.ts} +1 -1
- package/dist/components/game/2d/{ChoiceButton.d.ts → atoms/ChoiceButton.d.ts} +1 -1
- package/dist/components/game/2d/{ControlButton.d.ts → atoms/ControlButton.d.ts} +1 -1
- package/dist/components/game/2d/{GameAudioToggle.d.ts → atoms/GameAudioToggle.d.ts} +1 -3
- package/dist/components/game/2d/atoms/GameIcon.d.ts +18 -0
- package/dist/components/game/2d/{ItemSlot.d.ts → atoms/ItemSlot.d.ts} +1 -1
- package/dist/components/game/2d/{MiniMap.d.ts → atoms/MiniMap.d.ts} +1 -1
- package/dist/components/game/2d/{ResourceCounter.d.ts → atoms/ResourceCounter.d.ts} +2 -2
- package/dist/components/game/2d/{ScoreDisplay.d.ts → atoms/ScoreDisplay.d.ts} +1 -1
- package/dist/components/game/2d/{Sprite.d.ts → atoms/Sprite.d.ts} +1 -1
- package/dist/components/game/2d/{StateIndicator.d.ts → atoms/StateIndicator.d.ts} +5 -4
- package/dist/components/game/2d/{StatusEffect.d.ts → atoms/StatusEffect.d.ts} +2 -2
- package/dist/components/game/2d/{WaypointMarker.d.ts → atoms/WaypointMarker.d.ts} +1 -1
- package/dist/components/game/2d/{Canvas2D.d.ts → molecules/Canvas2D.d.ts} +3 -3
- package/dist/components/game/2d/{ControlGrid.d.ts → molecules/ControlGrid.d.ts} +3 -2
- package/dist/components/game/2d/{GameHud.d.ts → molecules/GameHud.d.ts} +3 -1
- package/dist/components/game/2d/{GameMenu.d.ts → molecules/GameMenu.d.ts} +1 -1
- package/dist/components/game/2d/{InventoryGrid.d.ts → molecules/InventoryGrid.d.ts} +3 -2
- package/dist/components/game/2d/{ResourceBar.d.ts → molecules/ResourceBar.d.ts} +3 -1
- package/dist/components/game/2d/{StatBadge.d.ts → molecules/StatBadge.d.ts} +1 -1
- package/dist/components/game/2d/molecules/index.d.ts +107 -0
- package/dist/components/game/2d/{ActionTile.d.ts → organisms/ActionTile.d.ts} +1 -1
- package/dist/components/game/2d/{BattleBoard.d.ts → organisms/BattleBoard.d.ts} +4 -3
- package/dist/components/game/2d/{BoardgameBoard.d.ts → organisms/BoardgameBoard.d.ts} +3 -3
- package/dist/components/game/2d/{BuilderBoard.d.ts → organisms/BuilderBoard.d.ts} +7 -3
- package/dist/components/game/2d/{CanvasEffect.d.ts → organisms/CanvasEffect.d.ts} +4 -4
- package/dist/components/game/2d/{CardBattlerBoard.d.ts → organisms/CardBattlerBoard.d.ts} +1 -1
- package/dist/components/game/2d/{CastleBoard.d.ts → organisms/CastleBoard.d.ts} +2 -1
- package/dist/components/game/2d/{CityBuilderBoard.d.ts → organisms/CityBuilderBoard.d.ts} +1 -1
- package/dist/components/game/2d/{ClassifierBoard.d.ts → organisms/ClassifierBoard.d.ts} +7 -3
- package/dist/components/game/2d/{DebuggerBoard.d.ts → organisms/DebuggerBoard.d.ts} +7 -3
- package/dist/components/game/2d/{EventHandlerBoard.d.ts → organisms/EventHandlerBoard.d.ts} +1 -1
- package/dist/components/game/2d/{FishingBoard.d.ts → organisms/FishingBoard.d.ts} +12 -2
- package/dist/components/game/2d/{HexStrategyBoard.d.ts → organisms/HexStrategyBoard.d.ts} +13 -6
- package/dist/components/game/2d/{HolidayRunnerBoard.d.ts → organisms/HolidayRunnerBoard.d.ts} +3 -3
- package/dist/components/game/2d/{MatchPuzzleBoard.d.ts → organisms/MatchPuzzleBoard.d.ts} +3 -3
- package/dist/components/game/2d/{MinigolfBoard.d.ts → organisms/MinigolfBoard.d.ts} +3 -3
- package/dist/components/game/2d/{NegotiatorBoard.d.ts → organisms/NegotiatorBoard.d.ts} +7 -3
- package/dist/components/game/2d/{PinballBoard.d.ts → organisms/PinballBoard.d.ts} +12 -4
- package/dist/components/game/2d/{PirateBoard.d.ts → organisms/PirateBoard.d.ts} +13 -6
- package/dist/components/game/2d/{PlatformerBoard.d.ts → organisms/PlatformerBoard.d.ts} +1 -1
- package/dist/components/game/2d/{RacingBoard.d.ts → organisms/RacingBoard.d.ts} +13 -6
- package/dist/components/game/2d/{RoguelikeBoard.d.ts → organisms/RoguelikeBoard.d.ts} +2 -2
- package/dist/components/game/2d/{SequencerBoard.d.ts → organisms/SequencerBoard.d.ts} +1 -1
- package/dist/components/game/2d/{SimulationCanvas.d.ts → organisms/SimulationCanvas.d.ts} +3 -2
- package/dist/components/game/2d/{SimulationControls.d.ts → organisms/SimulationControls.d.ts} +6 -1
- package/dist/components/game/2d/{SimulatorBoard.d.ts → organisms/SimulatorBoard.d.ts} +7 -3
- package/dist/components/game/2d/{SokobanBoard.d.ts → organisms/SokobanBoard.d.ts} +3 -3
- package/dist/components/game/2d/{SpaceShmupBoard.d.ts → organisms/SpaceShmupBoard.d.ts} +13 -6
- package/dist/components/game/2d/{SpaceStationBoard.d.ts → organisms/SpaceStationBoard.d.ts} +3 -3
- package/dist/components/game/2d/{SportsBoard.d.ts → organisms/SportsBoard.d.ts} +3 -3
- package/dist/components/game/2d/{StateArchitectBoard.d.ts → organisms/StateArchitectBoard.d.ts} +1 -1
- package/dist/components/game/2d/{StateNode.d.ts → organisms/StateNode.d.ts} +1 -1
- package/dist/components/game/2d/{TanksBoard.d.ts → organisms/TanksBoard.d.ts} +3 -3
- package/dist/components/game/2d/{TowerDefenseBoard.d.ts → organisms/TowerDefenseBoard.d.ts} +1 -1
- package/dist/components/game/2d/{TraitSlot.d.ts → organisms/TraitSlot.d.ts} +1 -1
- package/dist/components/game/2d/{TraitStateViewer.d.ts → organisms/TraitStateViewer.d.ts} +2 -2
- package/dist/components/game/2d/{TransitionArrow.d.ts → organisms/TransitionArrow.d.ts} +1 -1
- package/dist/components/game/2d/{UncontrolledBattleBoard.d.ts → organisms/UncontrolledBattleBoard.d.ts} +1 -1
- package/dist/components/game/2d/{VisualNovelBoard.d.ts → organisms/VisualNovelBoard.d.ts} +1 -9
- package/dist/components/game/2d/{WorldMapBoard.d.ts → organisms/WorldMapBoard.d.ts} +4 -3
- package/dist/components/game/2d/{BattleTemplate.d.ts → templates/BattleTemplate.d.ts} +4 -4
- package/dist/components/game/2d/{CardBattlerTemplate.d.ts → templates/CardBattlerTemplate.d.ts} +2 -2
- package/dist/components/game/2d/{CastleTemplate.d.ts → templates/CastleTemplate.d.ts} +4 -4
- package/dist/components/game/2d/{CityBuilderTemplate.d.ts → templates/CityBuilderTemplate.d.ts} +2 -2
- package/dist/components/game/2d/{GameTemplate.d.ts → templates/GameTemplate.d.ts} +1 -1
- package/dist/components/game/2d/{PlatformerTemplate.d.ts → templates/PlatformerTemplate.d.ts} +2 -2
- package/dist/components/game/2d/{RoguelikeTemplate.d.ts → templates/RoguelikeTemplate.d.ts} +3 -3
- package/dist/components/game/2d/{TopDownShooterTemplate.d.ts → templates/TopDownShooterTemplate.d.ts} +2 -2
- package/dist/components/game/2d/{TowerDefenseTemplate.d.ts → templates/TowerDefenseTemplate.d.ts} +2 -2
- package/dist/components/game/2d/{VisualNovelTemplate.d.ts → templates/VisualNovelTemplate.d.ts} +2 -2
- package/dist/components/game/2d/{WorldMapTemplate.d.ts → templates/WorldMapTemplate.d.ts} +4 -4
- package/dist/components/game/3d/{Canvas3D.d.ts → molecules/Canvas3D.d.ts} +1 -1
- package/dist/components/game/3d/{GameCanvas3D.d.ts → molecules/GameCanvas3D.d.ts} +3 -3
- package/dist/components/game/3d/{index.d.ts → molecules/index.d.ts} +20 -25
- package/dist/components/game/3d/{GameBoard3D.d.ts → organisms/GameBoard3D.d.ts} +2 -2
- package/dist/components/game/3d/{GameCanvas3DBattleTemplate.d.ts → templates/GameCanvas3DBattleTemplate.d.ts} +3 -3
- package/dist/components/game/3d/{GameCanvas3DCastleTemplate.d.ts → templates/GameCanvas3DCastleTemplate.d.ts} +3 -3
- package/dist/components/game/3d/{GameCanvas3DWorldMapTemplate.d.ts → templates/GameCanvas3DWorldMapTemplate.d.ts} +3 -3
- package/dist/components/game/{3d → shared/hooks}/useAssetLoader.d.ts +1 -1
- package/dist/components/game/{2d → shared/hooks}/useBattleState.d.ts +1 -1
- package/dist/components/game/{2d → shared/hooks}/useCamera.d.ts +1 -1
- package/dist/components/game/{2d → shared/hooks}/useCanvasEffects.d.ts +1 -1
- package/dist/components/game/{3d → shared/hooks}/useGameCanvas3DEvents.d.ts +1 -1
- package/dist/components/game/{3d → shared/hooks}/useThree.d.ts +1 -1
- package/dist/components/game/{2d → shared/hooks}/useUnitSpriteAtlas.d.ts +2 -2
- package/dist/components/game/shared/index.d.ts +0 -2
- package/dist/components/game/{2d → shared/lib}/editorUtils.d.ts +6 -1
- package/dist/components/game/{2d → shared/lib}/game3dAssetManifest.d.ts +1 -1
- package/dist/components/game/{2d → shared/lib}/mechanics.d.ts +1 -1
- package/dist/components/game/{2d → shared/lib}/physicsPresets.d.ts +2 -2
- package/dist/components/game/{2d → shared/lib}/puzzleObject.d.ts +1 -1
- package/dist/components/game/{2d → shared/providers}/GameAudioProvider.d.ts +3 -4
- package/dist/components/index.cjs +4459 -5117
- package/dist/components/index.d.ts +5 -5
- package/dist/components/index.js +3378 -4061
- package/dist/context/index.cjs +93 -827
- package/dist/context/index.d.ts +8 -8
- package/dist/context/index.js +3 -807
- package/dist/hooks/index.cjs +9 -278
- package/dist/hooks/index.d.ts +5 -6
- package/dist/hooks/index.js +11 -262
- package/dist/hooks/useAgentChat.d.ts +7 -6
- package/dist/{renderer → hooks}/useClientEffects.d.ts +1 -1
- package/dist/hooks/useCompile.d.ts +2 -6
- package/dist/hooks/useDeepAgentGeneration.d.ts +4 -4
- package/dist/hooks/useEventBus.d.ts +5 -3
- package/dist/hooks/useFileSystem.d.ts +11 -1
- package/dist/hooks/useOrbitalHistory.d.ts +2 -2
- package/dist/hooks/useQuerySingleton.d.ts +5 -4
- package/dist/{runtime → hooks}/useResolvedSchema.d.ts +1 -1
- package/dist/{runtime → hooks}/useTraitStateMachine.d.ts +5 -5
- package/dist/hooks/useUISlots.d.ts +7 -10
- package/dist/lib/api-client.d.ts +4 -3
- package/dist/{renderer → lib}/client-effect-executor.d.ts +4 -15
- package/dist/{runtime → lib}/createClientEffectHandlers.d.ts +4 -4
- package/dist/{renderer → lib}/data-resolver.d.ts +3 -16
- package/dist/lib/debugRegistry.d.ts +8 -7
- package/dist/lib/entityDebug.d.ts +4 -3
- package/dist/lib/getNestedValue.d.ts +15 -3
- package/dist/lib/guardRegistry.d.ts +3 -2
- package/dist/lib/index.cjs +11 -12
- package/dist/lib/index.d.ts +1 -1
- package/dist/lib/index.js +11 -12
- package/dist/lib/jazari/layout.d.ts +3 -2
- package/dist/{renderer → lib}/offline-executor.d.ts +6 -5
- package/dist/lib/parseContentSegments.d.ts +2 -1
- package/dist/{renderer → lib}/pattern-resolver.d.ts +2 -2
- package/dist/{runtime → lib}/perf.d.ts +0 -2
- package/dist/{renderer → lib}/slot-definitions.d.ts +3 -15
- package/dist/{renderer → lib}/trait-binding-resolver.d.ts +6 -2
- package/dist/lib/visualizer/browser.d.ts +3 -2
- package/dist/lib/visualizer/index.d.ts +6 -5
- package/dist/marketing/index.cjs +6 -6
- package/dist/marketing/index.js +6 -6
- package/dist/{runtime → providers}/EntitySchemaContext.d.ts +0 -4
- package/dist/providers/EventBusProvider.d.ts +3 -2
- package/dist/providers/OfflineModeProvider.d.ts +1 -1
- package/dist/providers/OrbitalProvider.d.ts +5 -4
- package/dist/providers/SelectionProvider.d.ts +6 -5
- package/dist/{runtime → providers}/ServerBridge.d.ts +14 -11
- package/dist/{context → providers}/ThemeContext.d.ts +5 -5
- package/dist/{runtime → providers}/TraitProvider.d.ts +4 -3
- package/dist/{context → providers}/UISlotContext.d.ts +2 -2
- package/dist/{context → providers}/UserContext.d.ts +3 -2
- package/dist/providers/VerificationProvider.d.ts +2 -1
- package/dist/providers/index.cjs +2101 -4930
- package/dist/providers/index.d.ts +1 -1
- package/dist/providers/index.js +1263 -4092
- package/dist/{renderer → providers}/navigation.d.ts +7 -7
- package/dist/renderer/index.cjs +84 -322
- package/dist/renderer/index.d.ts +12 -12
- package/dist/renderer/index.js +30 -301
- package/dist/runtime/OrbPreview.d.ts +1 -1
- package/dist/runtime/index.cjs +2809 -6315
- package/dist/runtime/index.d.ts +11 -11
- package/dist/runtime/index.js +1740 -5270
- package/dist/{hooks → types}/event-bus-types.d.ts +2 -1
- package/dist/{renderer/types.d.ts → types/renderer-types.d.ts} +14 -28
- package/dist/types/runtime-types.d.ts +21 -0
- package/dist/{runtime/ui → types}/slot-types.d.ts +5 -4
- package/locales/index.ts +1 -1
- package/package.json +4 -21
- package/dist/components/core/atoms/ThemeSelector.d.ts +0 -21
- package/dist/components/game/2d/CardHand.d.ts +0 -35
- package/dist/components/game/2d/CombatLog.d.ts +0 -30
- package/dist/components/game/2d/CraftingRecipe.d.ts +0 -40
- package/dist/components/game/2d/DialogueBox.d.ts +0 -66
- package/dist/components/game/2d/EnemyPlate.d.ts +0 -30
- package/dist/components/game/2d/GameCanvas2D.d.ts +0 -27
- package/dist/components/game/2d/GameOverScreen.d.ts +0 -57
- package/dist/components/game/2d/HealthPanel.d.ts +0 -31
- package/dist/components/game/2d/InventoryPanel.d.ts +0 -58
- package/dist/components/game/2d/IsometricCanvas.d.ts +0 -137
- package/dist/components/game/2d/PlatformerCanvas.d.ts +0 -60
- package/dist/components/game/2d/PowerupSlots.d.ts +0 -26
- package/dist/components/game/2d/QuestTracker.d.ts +0 -20
- package/dist/components/game/2d/ScoreBoard.d.ts +0 -18
- package/dist/components/game/2d/TurnPanel.d.ts +0 -32
- package/dist/components/game/2d/UnitCommandBar.d.ts +0 -25
- package/dist/components/game/2d/index.d.ts +0 -122
- package/dist/components/game/3d/FeatureRenderer.d.ts +0 -38
- package/dist/components/game/3d/FeatureRenderer3D.d.ts +0 -44
- package/dist/components/game/3d/PhysicsObject3D.d.ts +0 -74
- package/dist/components/game/3d/TileRenderer.d.ts +0 -57
- package/dist/components/game/3d/UnitRenderer.d.ts +0 -46
- package/dist/components/game/3d/index.cjs +0 -7715
- package/dist/components/game/3d/index.css +0 -503
- package/dist/components/game/3d/index.js +0 -7633
- package/dist/components/game/3d/patterns.d.ts +0 -20
- package/dist/components/game/shared/combatEffects.d.ts +0 -64
- package/dist/docs/index.cjs +0 -7024
- package/dist/docs/index.css +0 -1252
- package/dist/docs/index.d.cts +0 -574
- package/dist/docs/index.d.ts +0 -29
- package/dist/docs/index.js +0 -6981
- package/dist/hooks/useAgentTrace.d.ts +0 -85
- package/dist/hooks/useEntities.d.ts +0 -52
- package/dist/hooks/usePinchZoom.d.ts +0 -22
- package/dist/runtime/types.d.ts +0 -37
- package/dist/stores/entityStore.d.ts +0 -99
- package/dist/stores/filtering.d.ts +0 -51
- package/dist/stores/index.cjs +0 -217
- package/dist/stores/index.d.ts +0 -7
- package/dist/stores/index.js +0 -194
- /package/dist/components/avl/{molecules → hooks}/useCanvasDnd.d.ts +0 -0
- /package/dist/components/avl/{organisms → lib}/avl-3d-layout.d.ts +0 -0
- /package/dist/components/avl/{molecules → lib}/avl-layout.d.ts +0 -0
- /package/dist/components/avl/{organisms → lib}/avl-schema-parser.d.ts +0 -0
- /package/dist/components/avl/{organisms → lib}/avl-zoom-state.d.ts +0 -0
- /package/dist/components/avl/{derive-edit-focus.d.ts → lib/derive-edit-focus.d.ts} +0 -0
- /package/dist/components/avl/{molecules → lib}/wire-validation.d.ts +0 -0
- /package/dist/components/avl/{organisms → providers}/avl-3d-context.d.ts +0 -0
- /package/dist/components/avl/{atoms/types.d.ts → types/avl-atom-types.d.ts} +0 -0
- /package/dist/components/avl/{molecules → types}/avl-preview-types.d.ts +0 -0
- /package/dist/components/game/2d/{ComboCounter.d.ts → atoms/ComboCounter.d.ts} +0 -0
- /package/dist/components/game/2d/{DamageNumber.d.ts → atoms/DamageNumber.d.ts} +0 -0
- /package/dist/components/game/2d/{DialogueBubble.d.ts → atoms/DialogueBubble.d.ts} +0 -0
- /package/dist/components/game/2d/{GameCard.d.ts → atoms/GameCard.d.ts} +0 -0
- /package/dist/components/game/2d/{HealthBar.d.ts → atoms/HealthBar.d.ts} +0 -0
- /package/dist/components/game/2d/{TimerDisplay.d.ts → atoms/TimerDisplay.d.ts} +0 -0
- /package/dist/components/game/2d/{TurnIndicator.d.ts → atoms/TurnIndicator.d.ts} +0 -0
- /package/dist/components/game/2d/{ActionPalette.d.ts → organisms/ActionPalette.d.ts} +0 -0
- /package/dist/components/game/2d/{EventLog.d.ts → organisms/EventLog.d.ts} +0 -0
- /package/dist/components/game/2d/{ObjectRulePanel.d.ts → organisms/ObjectRulePanel.d.ts} +0 -0
- /package/dist/components/game/2d/{RuleEditor.d.ts → organisms/RuleEditor.d.ts} +0 -0
- /package/dist/components/game/2d/{SequenceBar.d.ts → organisms/SequenceBar.d.ts} +0 -0
- /package/dist/components/game/2d/{SimulationGraph.d.ts → organisms/SimulationGraph.d.ts} +0 -0
- /package/dist/components/game/2d/{StateJsonView.d.ts → organisms/StateJsonView.d.ts} +0 -0
- /package/dist/components/game/2d/{TopDownShooterBoard.d.ts → organisms/TopDownShooterBoard.d.ts} +0 -0
- /package/dist/components/game/2d/{VariablePanel.d.ts → organisms/VariablePanel.d.ts} +0 -0
- /package/dist/components/game/2d/{GameShell.d.ts → templates/GameShell.d.ts} +0 -0
- /package/dist/components/game/3d/{Camera3D.d.ts → molecules/Camera3D.d.ts} +0 -0
- /package/dist/components/game/3d/{Canvas3DErrorBoundary.d.ts → molecules/Canvas3DErrorBoundary.d.ts} +0 -0
- /package/dist/components/game/3d/{Canvas3DLoadingState.d.ts → molecules/Canvas3DLoadingState.d.ts} +0 -0
- /package/dist/components/game/3d/{Lighting3D.d.ts → molecules/Lighting3D.d.ts} +0 -0
- /package/dist/components/game/3d/{ModelLoader.d.ts → molecules/ModelLoader.d.ts} +0 -0
- /package/dist/components/game/3d/{Scene3D.d.ts → molecules/Scene3D.d.ts} +0 -0
- /package/dist/components/game/{2d → shared/hooks}/useGameAudio.d.ts +0 -0
- /package/dist/components/game/{3d → shared/hooks}/useRaycaster.d.ts +0 -0
- /package/dist/components/game/{3d → shared/hooks}/useSceneGraph.d.ts +0 -0
- /package/dist/components/game/{3d → shared/lib}/AssetLoader.d.ts +0 -0
- /package/dist/components/game/{3d → shared/lib}/culling.d.ts +0 -0
- /package/dist/components/game/{3d → shared/lib}/grid3D.d.ts +0 -0
- /package/dist/components/game/{2d/types.d.ts → shared/lib/physicsTypes.d.ts} +0 -0
- /package/dist/{runtime → lib}/embedded-traits.d.ts +0 -0
- /package/dist/{runtime → lib}/fn-form-lambda.d.ts +0 -0
- /package/dist/{renderer → lib}/init.d.ts +0 -0
- /package/dist/{runtime → lib}/orbitalsByTrait.d.ts +0 -0
- /package/dist/{runtime → lib}/prepareSchemaForPreview.d.ts +0 -0
- /package/dist/{context → lib}/themeTokens.d.ts +0 -0
- /package/dist/{runtime → lib}/wrapCallbackForEvent.d.ts +0 -0
- /package/dist/{context → providers}/CurrentPagePathContext.d.ts +0 -0
- /package/dist/{context → providers}/DesignThemeContext.d.ts +0 -0
- /package/dist/{context → providers}/OrbitalThemeProvider.d.ts +0 -0
|
@@ -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 '
|
|
4
|
-
import type { DisplayStateProps } from '
|
|
5
|
-
import type { Canvas2DProps } from '
|
|
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 SokobanBoardProps extends DisplayStateProps {
|
|
7
7
|
/** Grid tiles (floor, wall, target) */
|
|
8
8
|
tiles?: IsometricTile[];
|
|
@@ -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 '
|
|
4
|
-
import type { DisplayStateProps } from '
|
|
5
|
-
|
|
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 SpaceShmupBoard. */
|
|
6
|
+
type SpaceShmupAssetManifest = {
|
|
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 SpaceShmupBoardProps extends DisplayStateProps {
|
|
7
14
|
/** Space terrain tiles filling the grid */
|
|
8
15
|
tiles?: IsometricTile[];
|
|
@@ -10,8 +17,8 @@ export interface SpaceShmupBoardProps extends DisplayStateProps {
|
|
|
10
17
|
units?: IsometricUnit[];
|
|
11
18
|
/** Features (asteroids, power-ups, etc.) on the board */
|
|
12
19
|
features?: IsometricFeature[];
|
|
13
|
-
/** Asset sprite manifest
|
|
14
|
-
assetManifest?:
|
|
20
|
+
/** Asset sprite manifest */
|
|
21
|
+
assetManifest?: SpaceShmupAssetManifest;
|
|
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 '
|
|
4
|
-
import type { DisplayStateProps } from '
|
|
5
|
-
import type { Canvas2DProps } from '
|
|
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 SpaceStationBoardProps extends DisplayStateProps {
|
|
7
7
|
/** Isometric grid tiles */
|
|
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 '
|
|
4
|
-
import type { DisplayStateProps } from '
|
|
5
|
-
import type { Canvas2DProps } from '
|
|
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 SportsBoardProps extends DisplayStateProps {
|
|
7
7
|
/** Court/field terrain tiles */
|
|
8
8
|
tiles?: IsometricTile[];
|
package/dist/components/game/2d/{StateArchitectBoard.d.ts → organisms/StateArchitectBoard.d.ts}
RENAMED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import type { EventEmit, EntityRow } from '@almadar/core';
|
|
12
|
-
import type { DisplayStateProps } from '
|
|
12
|
+
import type { DisplayStateProps } from '../../../core/organisms/types';
|
|
13
13
|
/** A kid-built transition in the visual graph editor (UI value DTO). */
|
|
14
14
|
export interface StateArchitectTransition {
|
|
15
15
|
id: string;
|
|
@@ -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 '
|
|
4
|
-
import type { DisplayStateProps } from '
|
|
5
|
-
import type { Canvas2DProps } from '
|
|
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 TanksBoardProps extends DisplayStateProps {
|
|
7
7
|
/** Ground/sand terrain tiles */
|
|
8
8
|
tiles?: IsometricTile[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { Asset, AssetUrl, EventEmit, EntityRow } from '@almadar/core';
|
|
3
|
-
import type { DisplayStateProps } from '
|
|
3
|
+
import type { DisplayStateProps } from '../../../core/organisms/types';
|
|
4
4
|
/** Manifest of per-kind sprite maps (UI value DTO). */
|
|
5
5
|
type TowerDefenseAssetManifest = {
|
|
6
6
|
terrains?: Record<string, Asset>;
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
import React from 'react';
|
|
21
21
|
import type { AssetUrl, EventEmit } from '@almadar/core';
|
|
22
22
|
import { type TraitStateMachineDefinition } from './TraitStateViewer';
|
|
23
|
-
import type { UiError } from '
|
|
23
|
+
import type { UiError } from '../../../core/atoms/types';
|
|
24
24
|
/** Data shape for a slot's equipped item */
|
|
25
25
|
export type SlotItemData = {
|
|
26
26
|
id: string;
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
* @packageDocumentation
|
|
11
11
|
*/
|
|
12
12
|
import React from 'react';
|
|
13
|
-
import { type StateStyle } from '
|
|
14
|
-
import type { UiError } from '
|
|
13
|
+
import { type StateStyle } from '../atoms/StateIndicator';
|
|
14
|
+
import type { UiError } from '../../../core/atoms/types';
|
|
15
15
|
export type TraitTransition = {
|
|
16
16
|
from: string;
|
|
17
17
|
to: string;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @packageDocumentation
|
|
8
8
|
*/
|
|
9
9
|
import React from 'react';
|
|
10
|
-
import type { Point } from '
|
|
10
|
+
import type { Point } from '../../../core/atoms/types';
|
|
11
11
|
export interface TransitionArrowProps {
|
|
12
12
|
/** Start position (center of from-node) */
|
|
13
13
|
from: Point;
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
import * as React from 'react';
|
|
17
17
|
import type { EntityRow, EventEmit } from '@almadar/core';
|
|
18
18
|
import { type BattleBoardProps } from './BattleBoard';
|
|
19
|
-
import type { IsometricTile, IsometricUnit, IsometricFeature } from '
|
|
19
|
+
import type { IsometricTile, IsometricUnit, IsometricFeature } from '../../shared/isometricTypes';
|
|
20
20
|
export interface UncontrolledBattleBoardProps extends Omit<BattleBoardProps, 'entity'> {
|
|
21
21
|
entity?: EntityRow | readonly EntityRow[];
|
|
22
22
|
/** Direct tile data — takes priority over entity-derived tiles. */
|
|
@@ -1,14 +1,6 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* VisualNovelBoard
|
|
3
|
-
*
|
|
4
|
-
* Dialogue-scene game board: walks a dialogue graph node-by-node, rendering each
|
|
5
|
-
* node's scene background + character portrait + speaker text + branching choices.
|
|
6
|
-
* Composes the extended `DialogueBox` molecule; resolves every asset key against
|
|
7
|
-
* the `assetManifest` prop (organism owns asset choice — no hardcoded URLs).
|
|
8
|
-
*/
|
|
9
1
|
import React from 'react';
|
|
10
2
|
import type { Asset, EventEmit, EntityRow } from '@almadar/core';
|
|
11
|
-
import type { DisplayStateProps } from '
|
|
3
|
+
import type { DisplayStateProps } from '../../../core/organisms/types';
|
|
12
4
|
/** Manifest of per-key scene + portrait maps (UI value DTO). */
|
|
13
5
|
type VisualNovelAssetManifest = {
|
|
14
6
|
backgrounds?: Record<string, Asset>;
|
|
@@ -20,14 +20,15 @@
|
|
|
20
20
|
*/
|
|
21
21
|
import React from 'react';
|
|
22
22
|
import type { Asset, AssetUrl, EventEmit, EntityRow } from '@almadar/core';
|
|
23
|
-
import type { IsometricTile, IsometricUnit, IsometricFeature } from '
|
|
24
|
-
import type { ResolvedFrame } from '
|
|
25
|
-
import type { UiError } from '
|
|
23
|
+
import type { IsometricTile, IsometricUnit, IsometricFeature } from '../../shared/isometricTypes';
|
|
24
|
+
import type { ResolvedFrame } from '../../shared/spriteAnimationTypes';
|
|
25
|
+
import type { UiError } from '../../../core/atoms/types';
|
|
26
26
|
/** Manifest of per-kind sprite maps (UI value DTO). */
|
|
27
27
|
type WorldMapAssetManifest = {
|
|
28
28
|
terrains?: Record<string, Asset>;
|
|
29
29
|
units?: Record<string, Asset>;
|
|
30
30
|
features?: Record<string, Asset>;
|
|
31
|
+
ui?: Record<string, Asset>;
|
|
31
32
|
};
|
|
32
33
|
/** Context exposed to render-prop slots. Hex / hero rows are `EntityRow`. */
|
|
33
34
|
export type WorldMapSlotContext = {
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
* @packageDocumentation
|
|
10
10
|
*/
|
|
11
11
|
import React from 'react';
|
|
12
|
-
import type { TemplateProps } from '
|
|
13
|
-
import type { BattleBoardProps } from '
|
|
14
|
-
import type { IsometricTile, IsometricUnit, IsometricFeature } from '
|
|
15
|
-
export type { BattlePhase, BattleSlotContext, } from '
|
|
12
|
+
import type { TemplateProps } from '../../../core/templates/types';
|
|
13
|
+
import type { BattleBoardProps } from '../organisms/BattleBoard';
|
|
14
|
+
import type { IsometricTile, IsometricUnit, IsometricFeature } from '../../shared/isometricTypes';
|
|
15
|
+
export type { BattlePhase, BattleSlotContext, } from '../organisms/BattleBoard';
|
|
16
16
|
export interface BattleTemplateProps extends TemplateProps {
|
|
17
17
|
/** Canvas render scale */
|
|
18
18
|
scale?: number;
|
package/dist/components/game/2d/{CardBattlerTemplate.d.ts → templates/CardBattlerTemplate.d.ts}
RENAMED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import type { EventEmit } from '@almadar/core';
|
|
9
|
-
import type { TemplateProps } from '
|
|
10
|
-
import type { CardBattlerBoardProps, CardBattlerCard } from '
|
|
9
|
+
import type { TemplateProps } from '../../../core/templates/types';
|
|
10
|
+
import type { CardBattlerBoardProps, CardBattlerCard } from '../organisms/CardBattlerBoard';
|
|
11
11
|
export interface CardBattlerTemplateProps extends TemplateProps {
|
|
12
12
|
title?: string;
|
|
13
13
|
deck?: CardBattlerCard[];
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
* @packageDocumentation
|
|
10
10
|
*/
|
|
11
11
|
import React from 'react';
|
|
12
|
-
import type { TemplateProps } from '
|
|
13
|
-
import type { CastleBoardProps } from '
|
|
14
|
-
import type { IsometricTile, IsometricUnit, IsometricFeature } from '
|
|
15
|
-
export type { CastleSlotContext } from '
|
|
12
|
+
import type { TemplateProps } from '../../../core/templates/types';
|
|
13
|
+
import type { CastleBoardProps } from '../organisms/CastleBoard';
|
|
14
|
+
import type { IsometricTile, IsometricUnit, IsometricFeature } from '../../shared/isometricTypes';
|
|
15
|
+
export type { CastleSlotContext } from '../organisms/CastleBoard';
|
|
16
16
|
export interface CastleTemplateProps extends TemplateProps {
|
|
17
17
|
/** Canvas render scale */
|
|
18
18
|
scale?: number;
|
package/dist/components/game/2d/{CityBuilderTemplate.d.ts → templates/CityBuilderTemplate.d.ts}
RENAMED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import type { EventEmit } from '@almadar/core';
|
|
9
|
-
import type { TemplateProps } from '
|
|
10
|
-
import type { CityBuilderBoardProps, CityBuilderTile, CityBuilderBuilding, CityBuilderBuildType } from '
|
|
9
|
+
import type { TemplateProps } from '../../../core/templates/types';
|
|
10
|
+
import type { CityBuilderBoardProps, CityBuilderTile, CityBuilderBuilding, CityBuilderBuildType } from '../organisms/CityBuilderBoard';
|
|
11
11
|
export interface CityBuilderTemplateProps extends TemplateProps {
|
|
12
12
|
title?: string;
|
|
13
13
|
tiles?: CityBuilderTile[];
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* **Atomic Design**: Composed using Box, Typography, and Layout molecules/atoms.
|
|
7
7
|
*/
|
|
8
8
|
import React from "react";
|
|
9
|
-
import type { TemplateProps } from "
|
|
9
|
+
import type { TemplateProps } from "../../../core/templates/types";
|
|
10
10
|
export interface GameControls {
|
|
11
11
|
onPlay?: () => void;
|
|
12
12
|
onPause?: () => void;
|
package/dist/components/game/2d/{PlatformerTemplate.d.ts → templates/PlatformerTemplate.d.ts}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { Asset } from '@almadar/core';
|
|
3
|
-
import type { TemplateProps } from '
|
|
4
|
-
import type { PlatformerBoardProps } from '
|
|
3
|
+
import type { TemplateProps } from '../../../core/templates/types';
|
|
4
|
+
import type { PlatformerBoardProps } from '../organisms/PlatformerBoard';
|
|
5
5
|
export interface PlatformerTemplateProps extends TemplateProps {
|
|
6
6
|
/** Level geometry forwarded to PlatformerBoard */
|
|
7
7
|
platforms?: PlatformerBoardProps['platforms'];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { EventEmit } from '@almadar/core';
|
|
3
|
-
import type { TemplateProps } from '
|
|
4
|
-
import type { RoguelikeBoardProps } from '
|
|
5
|
-
import type { IsometricTile } from '
|
|
3
|
+
import type { TemplateProps } from '../../../core/templates/types';
|
|
4
|
+
import type { RoguelikeBoardProps } from '../organisms/RoguelikeBoard';
|
|
5
|
+
import type { IsometricTile } from '../../shared/isometricTypes';
|
|
6
6
|
export interface RoguelikeTemplateProps extends TemplateProps {
|
|
7
7
|
scale?: number;
|
|
8
8
|
unitScale?: number;
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import type { EventEmit } from '@almadar/core';
|
|
9
|
-
import type { TemplateProps } from '
|
|
10
|
-
import type { TopDownShooterBoardProps, ShooterPlayer, ShooterEnemy, ShooterProjectile } from '
|
|
9
|
+
import type { TemplateProps } from '../../../core/templates/types';
|
|
10
|
+
import type { TopDownShooterBoardProps, ShooterPlayer, ShooterEnemy, ShooterProjectile } from '../organisms/TopDownShooterBoard';
|
|
11
11
|
export interface TopDownShooterTemplateProps extends TemplateProps {
|
|
12
12
|
title?: string;
|
|
13
13
|
player?: ShooterPlayer;
|
package/dist/components/game/2d/{TowerDefenseTemplate.d.ts → templates/TowerDefenseTemplate.d.ts}
RENAMED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* All game state is driven by the entity prop (passed through from the orbital trait).
|
|
6
6
|
*/
|
|
7
7
|
import React from 'react';
|
|
8
|
-
import type { TemplateProps } from '
|
|
9
|
-
import type { TowerDefenseTile, TowerDefensePathPoint, TowerDefenseTower } from '
|
|
8
|
+
import type { TemplateProps } from '../../../core/templates/types';
|
|
9
|
+
import type { TowerDefenseTile, TowerDefensePathPoint, TowerDefenseTower } from '../organisms/TowerDefenseBoard';
|
|
10
10
|
import type { EventEmit } from '@almadar/core';
|
|
11
11
|
export interface TowerDefenseTemplateProps extends TemplateProps {
|
|
12
12
|
title?: string;
|
package/dist/components/game/2d/{VisualNovelTemplate.d.ts → templates/VisualNovelTemplate.d.ts}
RENAMED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import type { EventEmit } from '@almadar/core';
|
|
9
|
-
import type { TemplateProps } from '
|
|
10
|
-
import type { VisualNovelNode } from '
|
|
9
|
+
import type { TemplateProps } from '../../../core/templates/types';
|
|
10
|
+
import type { VisualNovelNode } from '../organisms/VisualNovelBoard';
|
|
11
11
|
export interface VisualNovelTemplateProps extends TemplateProps {
|
|
12
12
|
title?: string;
|
|
13
13
|
nodes?: VisualNovelNode[];
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
* @packageDocumentation
|
|
10
10
|
*/
|
|
11
11
|
import React from 'react';
|
|
12
|
-
import type { WorldMapBoardProps } from '
|
|
13
|
-
import type { TemplateProps } from '
|
|
14
|
-
import type { IsometricTile, IsometricUnit, IsometricFeature } from '
|
|
15
|
-
export type { WorldMapSlotContext } from '
|
|
12
|
+
import type { WorldMapBoardProps } from '../organisms/WorldMapBoard';
|
|
13
|
+
import type { TemplateProps } from '../../../core/templates/types';
|
|
14
|
+
import type { IsometricTile, IsometricUnit, IsometricFeature } from '../../shared/isometricTypes';
|
|
15
|
+
export type { WorldMapSlotContext } from '../organisms/WorldMapBoard';
|
|
16
16
|
export interface WorldMapTemplateProps extends TemplateProps {
|
|
17
17
|
/** Canvas render scale */
|
|
18
18
|
scale?: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { EventEmit } from '@almadar/core';
|
|
3
|
-
import type { IsometricTile, IsometricUnit, IsometricFeature } from '
|
|
3
|
+
import type { IsometricTile, IsometricUnit, IsometricFeature } from '../../shared/isometricTypes';
|
|
4
4
|
/** Props for Canvas3D — cleaned prop surface per docs/Almadar_Std_Game.md §4.4 */
|
|
5
5
|
export interface Canvas3DProps {
|
|
6
6
|
tiles?: IsometricTile[];
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
import React from 'react';
|
|
17
17
|
import type { EventEmit } from '@almadar/core';
|
|
18
18
|
import * as THREE from 'three';
|
|
19
|
-
import { AssetLoader } from '
|
|
20
|
-
import { type MinimalMouseEvent } from '
|
|
21
|
-
import type { IsometricTile, IsometricUnit, IsometricFeature } from '
|
|
19
|
+
import { AssetLoader } from '../../shared/lib/AssetLoader';
|
|
20
|
+
import { type MinimalMouseEvent } from '../../shared/hooks/useGameCanvas3DEvents';
|
|
21
|
+
import type { IsometricTile, IsometricUnit, IsometricFeature } from '../../shared/isometricTypes';
|
|
22
22
|
import './GameCanvas3D.css';
|
|
23
23
|
export type { IsometricTile, IsometricUnit, IsometricFeature };
|
|
24
24
|
/** Game event for canvas display */
|
|
@@ -12,30 +12,25 @@ export { Lighting3D, type Lighting3DProps } from './Lighting3D';
|
|
|
12
12
|
export { Canvas3DLoadingState, type Canvas3DLoadingStateProps, } from './Canvas3DLoadingState';
|
|
13
13
|
export { Canvas3DErrorBoundary, type Canvas3DErrorBoundaryProps, type Canvas3DErrorBoundaryState, } from './Canvas3DErrorBoundary';
|
|
14
14
|
export { ModelLoader, type ModelLoaderProps, } from './ModelLoader';
|
|
15
|
-
export {
|
|
16
|
-
export {
|
|
17
|
-
export {
|
|
18
|
-
export {
|
|
19
|
-
export {
|
|
20
|
-
export {
|
|
21
|
-
export {
|
|
22
|
-
export { TileRenderer, type TileRendererProps, } from './TileRenderer';
|
|
23
|
-
export { UnitRenderer, type UnitRendererProps, } from './UnitRenderer';
|
|
24
|
-
export { FeatureRenderer, type FeatureRendererProps, } from './FeatureRenderer';
|
|
25
|
-
export { FeatureRenderer3D, preloadFeatures, type FeatureRenderer3DProps, } from './FeatureRenderer3D';
|
|
26
|
-
export type { UnitAnimationState } from '../shared/spriteAnimationTypes';
|
|
15
|
+
export { useThree, type UseThreeOptions, type UseThreeReturn, } from '../../shared/hooks/useThree';
|
|
16
|
+
export { useAssetLoader, type UseAssetLoaderOptions, type UseAssetLoaderReturn, type AssetLoadingState, } from '../../shared/hooks/useAssetLoader';
|
|
17
|
+
export { useSceneGraph, type UseSceneGraphReturn, type SceneGraphNode, type NodeType, } from '../../shared/hooks/useSceneGraph';
|
|
18
|
+
export { useRaycaster, type UseRaycasterOptions, type UseRaycasterReturn, type RaycastHit, type GridHit, } from '../../shared/hooks/useRaycaster';
|
|
19
|
+
export { useGameCanvas3DEvents, type UseGameCanvas3DEventsOptions, type UseGameCanvas3DEventsReturn, type GameCanvas3DEventConfig, } from '../../shared/hooks/useGameCanvas3DEvents';
|
|
20
|
+
export { AssetLoader, assetLoader, type LoadedModel, } from '../../shared/lib/AssetLoader';
|
|
21
|
+
export type { UnitAnimationState } from '../../shared/spriteAnimationTypes';
|
|
27
22
|
export { GameCanvas3D, type GameCanvas3DProps } from './GameCanvas3D';
|
|
28
23
|
export { Canvas3D, type Canvas3DProps } from './Canvas3D';
|
|
29
|
-
export { GameCanvas3DBattleTemplate, type GameCanvas3DBattleTemplateProps } from '
|
|
30
|
-
export { GameCanvas3DCastleTemplate, type GameCanvas3DCastleTemplateProps } from '
|
|
31
|
-
export { GameCanvas3DWorldMapTemplate, type GameCanvas3DWorldMapTemplateProps } from '
|
|
32
|
-
export { gridToWorld, worldToGrid, raycastToPlane, raycastToObjects, gridDistance, gridManhattanDistance, getNeighbors, isInBounds, getCellsInRadius, createGridHighlight, normalizeMouseCoordinates, type Grid3DConfig, type GridCoordinate, } from '
|
|
33
|
-
export { Avl3DViewer, type Avl3DViewerProps } from '
|
|
34
|
-
export { Avl3DApplicationScene, type Avl3DApplicationSceneProps } from '
|
|
35
|
-
export { Avl3DOrbitalScene, type Avl3DOrbitalSceneProps } from '
|
|
36
|
-
export { Avl3DTraitScene, type Avl3DTraitSceneProps } from '
|
|
37
|
-
export { Avl3DTransitionScene, type Avl3DTransitionSceneProps } from '
|
|
38
|
-
export { Avl3DEffects, type Avl3DEffectsProps } from '
|
|
39
|
-
export { Avl3DContext, useAvl3DConfig, type Avl3DModelOverrides, type Avl3DConfig } from '
|
|
40
|
-
export { AVL_3D_COLORS, CAMERA_POSITIONS, goldenSpiralPositions, fibonacciSpherePositions, orbitRingPositions, arcCurve3D, selfLoopCurve3D, treeLayout3D, type Position3D, } from '
|
|
41
|
-
export { isInFrustum, filterByFrustum, getVisibleIndices, calculateLODLevel, updateInstanceLOD, cullInstancedMesh, SpatialHashGrid, type CullingOptions, type LODLevel, type LODConfig, } from '
|
|
24
|
+
export { GameCanvas3DBattleTemplate, type GameCanvas3DBattleTemplateProps } from '../templates/GameCanvas3DBattleTemplate';
|
|
25
|
+
export { GameCanvas3DCastleTemplate, type GameCanvas3DCastleTemplateProps } from '../templates/GameCanvas3DCastleTemplate';
|
|
26
|
+
export { GameCanvas3DWorldMapTemplate, type GameCanvas3DWorldMapTemplateProps } from '../templates/GameCanvas3DWorldMapTemplate';
|
|
27
|
+
export { gridToWorld, worldToGrid, raycastToPlane, raycastToObjects, gridDistance, gridManhattanDistance, getNeighbors, isInBounds, getCellsInRadius, createGridHighlight, normalizeMouseCoordinates, type Grid3DConfig, type GridCoordinate, } from '../../shared/lib/grid3D';
|
|
28
|
+
export { Avl3DViewer, type Avl3DViewerProps } from '../../../avl/organisms/Avl3DViewer';
|
|
29
|
+
export { Avl3DApplicationScene, type Avl3DApplicationSceneProps } from '../../../avl/organisms/Avl3DApplicationScene';
|
|
30
|
+
export { Avl3DOrbitalScene, type Avl3DOrbitalSceneProps } from '../../../avl/organisms/Avl3DOrbitalScene';
|
|
31
|
+
export { Avl3DTraitScene, type Avl3DTraitSceneProps } from '../../../avl/organisms/Avl3DTraitScene';
|
|
32
|
+
export { Avl3DTransitionScene, type Avl3DTransitionSceneProps } from '../../../avl/organisms/Avl3DTransitionScene';
|
|
33
|
+
export { Avl3DEffects, type Avl3DEffectsProps } from '../../../avl/organisms/Avl3DEffects';
|
|
34
|
+
export { Avl3DContext, useAvl3DConfig, type Avl3DModelOverrides, type Avl3DConfig } from '../../../avl/providers/avl-3d-context';
|
|
35
|
+
export { AVL_3D_COLORS, CAMERA_POSITIONS, goldenSpiralPositions, fibonacciSpherePositions, orbitRingPositions, arcCurve3D, selfLoopCurve3D, treeLayout3D, type Position3D, } from '../../../avl/lib/avl-3d-layout';
|
|
36
|
+
export { isInFrustum, filterByFrustum, getVisibleIndices, calculateLODLevel, updateInstanceLOD, cullInstancedMesh, SpatialHashGrid, type CullingOptions, type LODLevel, type LODConfig, } from '../../shared/lib/culling';
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import React from 'react';
|
|
13
13
|
import type { EventEmit, EntityRow } from '@almadar/core';
|
|
14
|
-
import type { CameraMode } from '
|
|
15
|
-
import type { IsometricTile, IsometricFeature } from '
|
|
14
|
+
import type { CameraMode } from '../molecules/GameCanvas3D';
|
|
15
|
+
import type { IsometricTile, IsometricFeature } from '../../shared/isometricTypes';
|
|
16
16
|
export interface GameBoard3DProps {
|
|
17
17
|
/** Entity row carrying all gameplay state (controlled). */
|
|
18
18
|
entity?: EntityRow | readonly EntityRow[];
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
* @packageDocumentation
|
|
19
19
|
*/
|
|
20
20
|
import React from 'react';
|
|
21
|
-
import type { IsometricTile, IsometricFeature } from '
|
|
22
|
-
import type { TemplateProps } from '
|
|
23
|
-
import { type Game3DAssetManifest } from '
|
|
21
|
+
import type { IsometricTile, IsometricFeature } from '../../shared/isometricTypes';
|
|
22
|
+
import type { TemplateProps } from '../../../core/templates/types';
|
|
23
|
+
import { type Game3DAssetManifest } from '../../shared/lib/game3dAssetManifest';
|
|
24
24
|
export interface GameCanvas3DBattleTemplateProps extends TemplateProps {
|
|
25
25
|
/** Fallback tile data when no entity is present (layout only — model URLs resolve from assetManifest) */
|
|
26
26
|
tiles?: IsometricTile[];
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
* @packageDocumentation
|
|
20
20
|
*/
|
|
21
21
|
import React from 'react';
|
|
22
|
-
import type { IsometricTile, IsometricFeature } from '
|
|
23
|
-
import type { TemplateProps } from '
|
|
24
|
-
import { type Game3DAssetManifest } from '
|
|
22
|
+
import type { IsometricTile, IsometricFeature } from '../../shared/isometricTypes';
|
|
23
|
+
import type { TemplateProps } from '../../../core/templates/types';
|
|
24
|
+
import { type Game3DAssetManifest } from '../../shared/lib/game3dAssetManifest';
|
|
25
25
|
export interface GameCanvas3DCastleTemplateProps extends TemplateProps {
|
|
26
26
|
/** Fallback tile data when no entity is present (layout only — model URLs resolve from assetManifest) */
|
|
27
27
|
tiles?: IsometricTile[];
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
* @packageDocumentation
|
|
21
21
|
*/
|
|
22
22
|
import React from 'react';
|
|
23
|
-
import type { IsometricTile, IsometricFeature } from '
|
|
24
|
-
import type { TemplateProps } from '
|
|
25
|
-
import { type Game3DAssetManifest } from '
|
|
23
|
+
import type { IsometricTile, IsometricFeature } from '../../shared/isometricTypes';
|
|
24
|
+
import type { TemplateProps } from '../../../core/templates/types';
|
|
25
|
+
import { type Game3DAssetManifest } from '../../shared/lib/game3dAssetManifest';
|
|
26
26
|
export interface GameCanvas3DWorldMapTemplateProps extends TemplateProps {
|
|
27
27
|
/** Fallback tile data when no entity is present (layout only — model URLs resolve from assetManifest) */
|
|
28
28
|
tiles?: IsometricTile[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AssetUrl } from '@almadar/core';
|
|
2
|
-
import type { CombatActionType, EffectAssetManifest } from '../
|
|
2
|
+
import type { CombatActionType, EffectAssetManifest } from '../effects';
|
|
3
3
|
export interface UseCanvasEffectsOptions {
|
|
4
4
|
/** Effect asset manifest (baseUrl + particles + animations) */
|
|
5
5
|
manifest: EffectAssetManifest;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { EventEmit } from '@almadar/core';
|
|
2
|
-
import type { IsometricTile, IsometricUnit, IsometricFeature } from '../
|
|
2
|
+
import type { IsometricTile, IsometricUnit, IsometricFeature } from '../isometricTypes';
|
|
3
3
|
export interface GameCanvas3DEventConfig {
|
|
4
4
|
/** Event name for tile clicks */
|
|
5
5
|
tileClickEvent?: EventEmit<{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as THREE from 'three';
|
|
2
2
|
import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls.js';
|
|
3
|
-
import { AssetLoader } from '
|
|
3
|
+
import { AssetLoader } from '../lib/AssetLoader';
|
|
4
4
|
export type CameraMode = 'isometric' | 'perspective' | 'top-down';
|
|
5
5
|
export interface UseThreeOptions {
|
|
6
6
|
/** Camera mode for viewing the scene */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IsometricUnit } from '../
|
|
2
|
-
import type { ResolvedFrame } from '../
|
|
1
|
+
import type { IsometricUnit } from '../isometricTypes';
|
|
2
|
+
import type { ResolvedFrame } from '../spriteAnimationTypes';
|
|
3
3
|
/**
|
|
4
4
|
* Resolve the sprite-sheet atlas-JSON URL for a unit.
|
|
5
5
|
*
|
|
@@ -17,7 +17,5 @@ export { isoToScreen, screenToIso, TILE_WIDTH, TILE_HEIGHT, FLOOR_HEIGHT, DIAMON
|
|
|
17
17
|
export type { TileLayout } from './isometric';
|
|
18
18
|
export { inferDirection, resolveSheetDirection, getCurrentFrame, resolveFrame, createUnitAnimationState, transitionAnimation, tickAnimationState, } from './spriteAnimation';
|
|
19
19
|
export { SPRITE_SHEET_LAYOUT, SHEET_COLUMNS } from './spriteSheetConstants';
|
|
20
|
-
export { combatAnimations, combatClasses, combatEffects, applyTemporaryEffect, calculateDamage, generateCombatMessage, } from './combatEffects';
|
|
21
|
-
export type { CombatEffect, DamageResult, CombatEventType, CombatEventData, } from './combatEffects';
|
|
22
20
|
export * from './combatPresets';
|
|
23
21
|
export * from './canvasEffects';
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
* They use native HTML inputs wrapped in Box for lightweight editor UX.
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
|
+
import type { Asset } from '@almadar/core';
|
|
11
12
|
export type EditorMode = 'select' | 'paint' | 'unit' | 'feature' | 'erase';
|
|
12
13
|
export declare const TERRAIN_COLORS: Record<string, string>;
|
|
13
14
|
export declare const FEATURE_TYPES: readonly ["goldMine", "resonanceCrystal", "traitCache", "salvageYard", "portal", "battleMarker", "treasure", "castle"];
|
|
@@ -16,9 +17,13 @@ export interface CollapsibleSectionProps {
|
|
|
16
17
|
expanded: boolean;
|
|
17
18
|
onToggle: () => void;
|
|
18
19
|
children: React.ReactNode;
|
|
20
|
+
/** Optional per-semantic-key asset overrides for icons (expand/collapse). */
|
|
21
|
+
assetManifest?: {
|
|
22
|
+
ui?: Record<string, Asset>;
|
|
23
|
+
};
|
|
19
24
|
className?: string;
|
|
20
25
|
}
|
|
21
|
-
export declare function CollapsibleSection({ title, expanded, onToggle, children, className }: CollapsibleSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
export declare function CollapsibleSection({ title, expanded, onToggle, children, assetManifest, className }: CollapsibleSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
22
27
|
export declare namespace CollapsibleSection {
|
|
23
28
|
var displayName: string;
|
|
24
29
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* @packageDocumentation
|
|
11
11
|
*/
|
|
12
12
|
import type { Asset, EntityRow } from '@almadar/core';
|
|
13
|
-
import type { IsometricTile, IsometricFeature } from '../
|
|
13
|
+
import type { IsometricTile, IsometricFeature } from '../isometricTypes';
|
|
14
14
|
/** GLB model assets for a 3D board, keyed by terrain "kind" and (optionally) feature type. */
|
|
15
15
|
export interface Game3DAssetManifest {
|
|
16
16
|
/** Floor model assets by terrain kind ('wall' | 'dirt' | 'open'). */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { PhysicsPreset, PhysicsBody, PhysicsConstraint } from './
|
|
1
|
+
export type { PhysicsPreset, PhysicsBody, PhysicsConstraint } from './physicsTypes';
|
|
2
2
|
export { projectileMotion, pendulum, springOscillator } from './mechanics';
|
|
3
|
-
import type { PhysicsPreset } from './
|
|
3
|
+
import type { PhysicsPreset } from './physicsTypes';
|
|
4
4
|
export declare const ALL_PRESETS: PhysicsPreset[];
|