@almadar/ui 5.74.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 +39646 -43579
- package/dist/avl/index.css +0 -504
- package/dist/avl/index.d.ts +43 -43
- package/dist/avl/index.js +38906 -42838
- 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/RepeatableFormSection.d.ts +6 -5
- 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/{atoms → 2d/atoms}/ActionButton.d.ts +1 -1
- package/dist/components/game/{atoms → 2d/atoms}/ChoiceButton.d.ts +1 -1
- package/dist/components/game/{atoms → 2d/atoms}/ControlButton.d.ts +1 -1
- package/dist/components/game/{organisms → 2d/atoms}/GameAudioToggle.d.ts +1 -3
- package/dist/components/game/2d/atoms/GameCard.d.ts +26 -0
- package/dist/components/game/2d/atoms/GameIcon.d.ts +18 -0
- package/dist/components/game/2d/atoms/HealthBar.d.ts +26 -0
- package/dist/components/game/{atoms → 2d/atoms}/ItemSlot.d.ts +1 -1
- package/dist/components/game/{atoms → 2d/atoms}/MiniMap.d.ts +1 -1
- package/dist/components/game/{atoms → 2d/atoms}/ResourceCounter.d.ts +2 -2
- package/dist/components/game/{atoms → 2d/atoms}/ScoreDisplay.d.ts +1 -1
- package/dist/components/game/{atoms → 2d/atoms}/Sprite.d.ts +1 -1
- package/dist/components/game/{atoms → 2d/atoms}/StateIndicator.d.ts +5 -4
- package/dist/components/game/{atoms → 2d/atoms}/StatusEffect.d.ts +2 -2
- package/dist/components/game/{atoms → 2d/atoms}/WaypointMarker.d.ts +1 -1
- package/dist/components/game/2d/molecules/Canvas2D.d.ts +161 -0
- package/dist/components/game/2d/molecules/ControlGrid.d.ts +42 -0
- package/dist/components/game/{molecules → 2d/molecules}/GameHud.d.ts +3 -1
- package/dist/components/game/{molecules → 2d/molecules}/GameMenu.d.ts +1 -1
- package/dist/components/game/{molecules → 2d/molecules}/InventoryGrid.d.ts +3 -2
- package/dist/components/game/{molecules → 2d/molecules}/ResourceBar.d.ts +3 -1
- package/dist/components/game/{molecules → 2d/molecules}/StatBadge.d.ts +1 -1
- package/dist/components/game/2d/molecules/index.d.ts +107 -0
- package/dist/components/game/{organisms/puzzles/sequencer → 2d/organisms}/ActionPalette.d.ts +1 -1
- package/dist/components/game/{organisms/puzzles/sequencer → 2d/organisms}/ActionTile.d.ts +2 -2
- package/dist/components/game/{organisms → 2d/organisms}/BattleBoard.d.ts +4 -3
- package/dist/components/game/{organisms → 2d/organisms}/BoardgameBoard.d.ts +5 -5
- package/dist/components/game/{organisms/puzzles/builder → 2d/organisms}/BuilderBoard.d.ts +7 -3
- package/dist/components/game/{organisms → 2d/organisms}/CanvasEffect.d.ts +4 -4
- package/dist/components/game/{organisms → 2d/organisms}/CardBattlerBoard.d.ts +1 -1
- package/dist/components/game/{organisms → 2d/organisms}/CastleBoard.d.ts +2 -1
- package/dist/components/game/{organisms → 2d/organisms}/CityBuilderBoard.d.ts +1 -1
- package/dist/components/game/{organisms/puzzles/classifier → 2d/organisms}/ClassifierBoard.d.ts +7 -3
- package/dist/components/game/{organisms/puzzles/debugger → 2d/organisms}/DebuggerBoard.d.ts +7 -3
- package/dist/components/game/{organisms/puzzles/event-handler → 2d/organisms}/EventHandlerBoard.d.ts +1 -1
- package/dist/components/game/{organisms → 2d/organisms}/FishingBoard.d.ts +12 -2
- package/dist/components/game/{organisms → 2d/organisms}/HexStrategyBoard.d.ts +13 -6
- package/dist/components/game/{organisms → 2d/organisms}/HolidayRunnerBoard.d.ts +5 -5
- package/dist/components/game/{organisms → 2d/organisms}/MatchPuzzleBoard.d.ts +5 -5
- package/dist/components/game/{organisms → 2d/organisms}/MinigolfBoard.d.ts +5 -5
- package/dist/components/game/{organisms/puzzles/negotiator → 2d/organisms}/NegotiatorBoard.d.ts +7 -3
- package/dist/components/game/{organisms → 2d/organisms}/PinballBoard.d.ts +12 -4
- package/dist/components/game/{organisms → 2d/organisms}/PirateBoard.d.ts +13 -6
- package/dist/components/game/{organisms → 2d/organisms}/PlatformerBoard.d.ts +9 -14
- package/dist/components/game/{organisms → 2d/organisms}/RacingBoard.d.ts +13 -6
- package/dist/components/game/{organisms → 2d/organisms}/RoguelikeBoard.d.ts +2 -2
- package/dist/components/game/{organisms/puzzles/sequencer → 2d/organisms}/SequenceBar.d.ts +1 -1
- package/dist/components/game/{organisms/puzzles/sequencer → 2d/organisms}/SequencerBoard.d.ts +1 -1
- package/dist/components/game/{organisms/physics-sim → 2d/organisms}/SimulationCanvas.d.ts +3 -2
- package/dist/components/game/{organisms/physics-sim → 2d/organisms}/SimulationControls.d.ts +6 -1
- package/dist/components/game/{organisms/puzzles/simulator → 2d/organisms}/SimulatorBoard.d.ts +7 -3
- package/dist/components/game/{organisms → 2d/organisms}/SokobanBoard.d.ts +5 -5
- package/dist/components/game/{organisms → 2d/organisms}/SpaceShmupBoard.d.ts +13 -6
- package/dist/components/game/{organisms → 2d/organisms}/SpaceStationBoard.d.ts +5 -5
- package/dist/components/game/{organisms → 2d/organisms}/SportsBoard.d.ts +5 -5
- package/dist/components/game/{organisms/puzzles/state-architect → 2d/organisms}/StateArchitectBoard.d.ts +1 -1
- package/dist/components/game/{organisms/puzzles/state-architect → 2d/organisms}/StateNode.d.ts +1 -1
- package/dist/components/game/{organisms → 2d/organisms}/TanksBoard.d.ts +5 -5
- package/dist/components/game/{organisms → 2d/organisms}/TowerDefenseBoard.d.ts +1 -1
- package/dist/components/game/{organisms → 2d/organisms}/TraitSlot.d.ts +1 -1
- package/dist/components/game/{organisms → 2d/organisms}/TraitStateViewer.d.ts +1 -1
- package/dist/components/game/{organisms/puzzles/state-architect → 2d/organisms}/TransitionArrow.d.ts +1 -1
- package/dist/components/game/{organisms → 2d/organisms}/UncontrolledBattleBoard.d.ts +1 -1
- package/dist/components/game/{organisms → 2d/organisms}/VisualNovelBoard.d.ts +1 -9
- package/dist/components/game/{organisms → 2d/organisms}/WorldMapBoard.d.ts +4 -3
- package/dist/components/game/{templates → 2d/templates}/BattleTemplate.d.ts +2 -2
- package/dist/components/game/{templates → 2d/templates}/CardBattlerTemplate.d.ts +1 -1
- package/dist/components/game/{templates → 2d/templates}/CastleTemplate.d.ts +2 -2
- package/dist/components/game/{templates → 2d/templates}/CityBuilderTemplate.d.ts +1 -1
- package/dist/components/game/{templates → 2d/templates}/GameTemplate.d.ts +1 -1
- package/dist/components/game/{templates → 2d/templates}/PlatformerTemplate.d.ts +1 -1
- package/dist/components/game/{templates → 2d/templates}/RoguelikeTemplate.d.ts +2 -2
- package/dist/components/game/{templates → 2d/templates}/TopDownShooterTemplate.d.ts +1 -1
- package/dist/components/game/{templates → 2d/templates}/TowerDefenseTemplate.d.ts +1 -1
- package/dist/components/game/{templates → 2d/templates}/VisualNovelTemplate.d.ts +1 -1
- package/dist/components/game/{templates → 2d/templates}/WorldMapTemplate.d.ts +2 -2
- package/dist/components/game/3d/molecules/Canvas3D.d.ts +45 -0
- package/dist/components/game/{molecules → 3d/molecules}/GameCanvas3D.d.ts +3 -3
- package/dist/components/game/{molecules/three → 3d/molecules}/index.d.ts +22 -21
- package/dist/components/game/{organisms → 3d/organisms}/GameBoard3D.d.ts +1 -1
- package/dist/components/game/{templates → 3d/templates}/GameCanvas3DBattleTemplate.d.ts +3 -3
- package/dist/components/game/{templates → 3d/templates}/GameCanvas3DCastleTemplate.d.ts +3 -3
- package/dist/components/game/{templates → 3d/templates}/GameCanvas3DWorldMapTemplate.d.ts +3 -3
- package/dist/components/game/{organisms/utils → shared}/canvasEffects.d.ts +1 -1
- package/dist/components/game/{organisms/utils → shared}/combatPresets.d.ts +1 -1
- package/dist/components/game/{organisms/types → shared}/game.d.ts +2 -2
- package/dist/components/game/{molecules/three → shared}/hooks/useAssetLoader.d.ts +1 -1
- package/dist/components/game/{organisms → shared}/hooks/useBattleState.d.ts +1 -1
- package/dist/components/game/{organisms → shared}/hooks/useCamera.d.ts +1 -1
- package/dist/components/game/{organisms → shared/hooks}/useCanvasEffects.d.ts +1 -1
- package/dist/components/game/{molecules/three → shared}/hooks/useGameCanvas3DEvents.d.ts +1 -1
- package/dist/components/game/{molecules/three → shared}/hooks/useThree.d.ts +1 -1
- package/dist/components/game/{molecules → shared/hooks}/useUnitSpriteAtlas.d.ts +2 -2
- package/dist/components/game/shared/index.d.ts +21 -0
- package/dist/components/game/{organisms/types/isometric.d.ts → shared/isometricTypes.d.ts} +3 -7
- package/dist/components/game/{organisms/editor → shared/lib}/editorUtils.d.ts +6 -1
- package/dist/components/game/{templates → shared/lib}/game3dAssetManifest.d.ts +1 -1
- package/dist/components/game/{organisms/physics-sim/presets → shared/lib}/mechanics.d.ts +1 -1
- package/dist/components/game/{organisms/physics-sim/presets/index.d.ts → shared/lib/physicsPresets.d.ts} +2 -2
- package/dist/components/game/{organisms/puzzles/event-handler → shared/lib}/puzzleObject.d.ts +1 -1
- package/dist/components/game/{organisms → shared/providers}/GameAudioProvider.d.ts +3 -4
- package/dist/components/game/{organisms/utils → shared}/spriteAnimation.d.ts +1 -1
- package/dist/components/game/{organisms/utils → shared}/spriteSheetConstants.d.ts +1 -1
- package/dist/components/index.cjs +26303 -27705
- package/dist/components/index.css +0 -504
- package/dist/components/index.d.ts +5 -5
- package/dist/components/index.js +25707 -27155
- package/dist/context/index.cjs +93 -829
- package/dist/context/index.d.ts +8 -8
- package/dist/context/index.js +3 -809
- package/dist/hooks/index.cjs +14 -285
- package/dist/hooks/index.d.ts +5 -6
- package/dist/hooks/index.js +16 -269
- 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 +40362 -43663
- package/dist/providers/index.css +0 -504
- package/dist/providers/index.d.ts +1 -1
- package/dist/providers/index.js +41036 -44336
- 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 +41094 -45072
- package/dist/runtime/index.css +0 -504
- package/dist/runtime/index.d.ts +11 -11
- package/dist/runtime/index.js +40822 -44823
- 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 +14 -31
- package/dist/components/core/atoms/ThemeSelector.d.ts +0 -21
- package/dist/components/game/atoms/HealthBar.d.ts +0 -18
- package/dist/components/game/atoms/XPBar.d.ts +0 -20
- package/dist/components/game/atoms/index.d.ts +0 -25
- package/dist/components/game/molecules/ActionButtons.d.ts +0 -38
- package/dist/components/game/molecules/CardHand.d.ts +0 -35
- package/dist/components/game/molecules/CombatLog.d.ts +0 -30
- package/dist/components/game/molecules/CraftingRecipe.d.ts +0 -40
- package/dist/components/game/molecules/DPad.d.ts +0 -26
- package/dist/components/game/molecules/DialogueBox.d.ts +0 -66
- package/dist/components/game/molecules/EnemyPlate.d.ts +0 -30
- package/dist/components/game/molecules/GameCanvas2D.d.ts +0 -27
- package/dist/components/game/molecules/GameOverScreen.d.ts +0 -57
- package/dist/components/game/molecules/HealthPanel.d.ts +0 -31
- package/dist/components/game/molecules/InventoryPanel.d.ts +0 -58
- package/dist/components/game/molecules/IsometricCanvas.d.ts +0 -137
- package/dist/components/game/molecules/PlatformerCanvas.d.ts +0 -60
- package/dist/components/game/molecules/PowerupSlots.d.ts +0 -26
- package/dist/components/game/molecules/QuestTracker.d.ts +0 -20
- package/dist/components/game/molecules/ScoreBoard.d.ts +0 -18
- package/dist/components/game/molecules/TurnPanel.d.ts +0 -32
- package/dist/components/game/molecules/UnitCommandBar.d.ts +0 -25
- package/dist/components/game/molecules/index.d.ts +0 -32
- package/dist/components/game/molecules/three/components/PhysicsObject3D.d.ts +0 -74
- package/dist/components/game/molecules/three/components/index.d.ts +0 -10
- package/dist/components/game/molecules/three/index.cjs +0 -7798
- package/dist/components/game/molecules/three/index.css +0 -503
- package/dist/components/game/molecules/three/index.js +0 -7717
- package/dist/components/game/molecules/three/patterns.d.ts +0 -20
- package/dist/components/game/molecules/three/renderers/FeatureRenderer.d.ts +0 -38
- package/dist/components/game/molecules/three/renderers/FeatureRenderer3D.d.ts +0 -44
- package/dist/components/game/molecules/three/renderers/TileRenderer.d.ts +0 -57
- package/dist/components/game/molecules/three/renderers/UnitRenderer.d.ts +0 -46
- package/dist/components/game/molecules/three/renderers/index.d.ts +0 -11
- package/dist/components/game/organisms/editor/index.d.ts +0 -9
- package/dist/components/game/organisms/hooks/usePhysics2D.d.ts +0 -45
- package/dist/components/game/organisms/hooks/useSpriteAnimations.d.ts +0 -43
- package/dist/components/game/organisms/index.d.ts +0 -66
- package/dist/components/game/organisms/managers/PhysicsManager.d.ts +0 -103
- package/dist/components/game/organisms/physics-sim/index.d.ts +0 -7
- package/dist/components/game/organisms/puzzles/builder/index.d.ts +0 -2
- package/dist/components/game/organisms/puzzles/classifier/index.d.ts +0 -2
- package/dist/components/game/organisms/puzzles/debugger/index.d.ts +0 -2
- package/dist/components/game/organisms/puzzles/event-handler/index.d.ts +0 -8
- package/dist/components/game/organisms/puzzles/negotiator/index.d.ts +0 -2
- package/dist/components/game/organisms/puzzles/sequencer/index.d.ts +0 -8
- package/dist/components/game/organisms/puzzles/simulator/index.d.ts +0 -2
- package/dist/components/game/organisms/puzzles/state-architect/index.d.ts +0 -10
- package/dist/components/game/organisms/utils/combatEffects.d.ts +0 -64
- package/dist/components/game/templates/index.d.ts +0 -4
- package/dist/docs/index.cjs +0 -6969
- package/dist/docs/index.css +0 -1756
- package/dist/docs/index.d.cts +0 -574
- package/dist/docs/index.d.ts +0 -29
- package/dist/docs/index.js +0 -6926
- 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/{atoms → 2d/atoms}/ComboCounter.d.ts +0 -0
- /package/dist/components/game/{atoms → 2d/atoms}/DamageNumber.d.ts +0 -0
- /package/dist/components/game/{atoms → 2d/atoms}/DialogueBubble.d.ts +0 -0
- /package/dist/components/game/{atoms → 2d/atoms}/TimerDisplay.d.ts +0 -0
- /package/dist/components/game/{atoms → 2d/atoms}/TurnIndicator.d.ts +0 -0
- /package/dist/components/game/{organisms/puzzles/event-handler → 2d/organisms}/EventLog.d.ts +0 -0
- /package/dist/components/game/{organisms/puzzles/event-handler → 2d/organisms}/ObjectRulePanel.d.ts +0 -0
- /package/dist/components/game/{organisms/puzzles/event-handler → 2d/organisms}/RuleEditor.d.ts +0 -0
- /package/dist/components/game/{organisms/physics-sim → 2d/organisms}/SimulationGraph.d.ts +0 -0
- /package/dist/components/game/{organisms/puzzles/state-architect → 2d/organisms}/StateJsonView.d.ts +0 -0
- /package/dist/components/game/{organisms → 2d/organisms}/TopDownShooterBoard.d.ts +0 -0
- /package/dist/components/game/{organisms/puzzles/state-architect → 2d/organisms}/VariablePanel.d.ts +0 -0
- /package/dist/components/game/{templates → 2d/templates}/GameShell.d.ts +0 -0
- /package/dist/components/game/{molecules/three → 3d/molecules}/Camera3D.d.ts +0 -0
- /package/dist/components/game/{molecules/three/components → 3d/molecules}/Canvas3DErrorBoundary.d.ts +0 -0
- /package/dist/components/game/{molecules/three/components → 3d/molecules}/Canvas3DLoadingState.d.ts +0 -0
- /package/dist/components/game/{molecules/three → 3d/molecules}/Lighting3D.d.ts +0 -0
- /package/dist/components/game/{molecules/three/components → 3d/molecules}/ModelLoader.d.ts +0 -0
- /package/dist/components/game/{molecules/three → 3d/molecules}/Scene3D.d.ts +0 -0
- /package/dist/components/game/{organisms → shared}/boardEntity.d.ts +0 -0
- /package/dist/components/game/{organisms/types → shared}/effects.d.ts +0 -0
- /package/dist/components/game/{organisms → shared}/hooks/useGameAudio.d.ts +0 -0
- /package/dist/components/game/{molecules/three → shared}/hooks/useRaycaster.d.ts +0 -0
- /package/dist/components/game/{molecules/three → shared}/hooks/useSceneGraph.d.ts +0 -0
- /package/dist/components/game/{organisms/utils → shared}/isometric.d.ts +0 -0
- /package/dist/components/game/{molecules/three/loaders → shared/lib}/AssetLoader.d.ts +0 -0
- /package/dist/components/game/{molecules/three/utils → shared/lib}/culling.d.ts +0 -0
- /package/dist/components/game/{molecules/three/utils → shared/lib}/grid3D.d.ts +0 -0
- /package/dist/components/game/{organisms/physics-sim/presets/types.d.ts → shared/lib/physicsTypes.d.ts} +0 -0
- /package/dist/components/game/{organisms/utils → shared}/makeAsset.d.ts +0 -0
- /package/dist/components/game/{organisms/types/spriteAnimation.d.ts → shared/spriteAnimationTypes.d.ts} +0 -0
- /package/dist/components/game/{organisms/hooks → shared}/useImageCache.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
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import React from 'react';
|
|
14
14
|
import type { EntityRow, EventKey } from '@almadar/core';
|
|
15
|
-
import type { IconInput } from '../atoms';
|
|
15
|
+
import type { IconInput } from '../atoms/index';
|
|
16
16
|
import { type DataDndProps } from './useDataDnd';
|
|
17
17
|
import type { UiError } from '../atoms/types';
|
|
18
18
|
export interface DataGridField {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import React from 'react';
|
|
14
14
|
import type { EntityRow, EventKey } from "@almadar/core";
|
|
15
|
-
import type { IconInput } from '../atoms';
|
|
15
|
+
import type { IconInput } from '../atoms/index';
|
|
16
16
|
import { type DataDndProps } from './useDataDnd';
|
|
17
17
|
import type { UiError } from '../atoms/types';
|
|
18
18
|
export interface DataListField {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import type { EventEmit } from "@almadar/core";
|
|
3
|
-
import type { IconInput } from "../atoms";
|
|
3
|
+
import type { IconInput } from "../atoms/index";
|
|
4
4
|
export type EmptyStateLook = "illustrated" | "icon-only" | "text-only" | "mascot";
|
|
5
5
|
export interface EmptyStateProps {
|
|
6
6
|
/**
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Provides consistent styling and interaction for section headers.
|
|
6
6
|
*/
|
|
7
7
|
import React from "react";
|
|
8
|
-
import type { IconInput } from "../atoms";
|
|
8
|
+
import type { IconInput } from "../atoms/index";
|
|
9
9
|
export interface FormSectionHeaderProps {
|
|
10
10
|
/** Section title */
|
|
11
11
|
title: string;
|
|
@@ -73,8 +73,6 @@ export interface GraphCanvasProps {
|
|
|
73
73
|
linkOpacity?: number;
|
|
74
74
|
/** Layout algorithm */
|
|
75
75
|
layout?: "force" | "circular" | "grid";
|
|
76
|
-
/** Entity name for schema-driven auto-fetch */
|
|
77
|
-
entity?: string;
|
|
78
76
|
/** Loading state */
|
|
79
77
|
isLoading?: boolean;
|
|
80
78
|
/** Error state */
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import React from "react";
|
|
8
8
|
import type { AssetUrl } from "@almadar/core";
|
|
9
|
-
import type { IconInput } from "../atoms";
|
|
9
|
+
import type { IconInput } from "../atoms/index";
|
|
10
10
|
import type { UiError } from '../atoms/types';
|
|
11
11
|
export type HeaderLook = "hero" | "compact-bar" | "breadcrumb" | "contextual" | "editorial-banner";
|
|
12
12
|
export interface HeaderNavigationItem {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Uses theme-aware CSS variables for styling.
|
|
6
6
|
*/
|
|
7
7
|
import React from "react";
|
|
8
|
-
import type { IconInput } from "../atoms";
|
|
8
|
+
import type { IconInput } from "../atoms/index";
|
|
9
9
|
export interface MenuItem {
|
|
10
10
|
/** Item ID (auto-generated from label if not provided) */
|
|
11
11
|
id?: string;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Uses Menu, ButtonGroup molecules and Button, Icon, Badge, Typography, Divider atoms.
|
|
6
6
|
*/
|
|
7
7
|
import React from 'react';
|
|
8
|
-
import type { IconInput } from '../atoms';
|
|
8
|
+
import type { IconInput } from '../atoms/index';
|
|
9
9
|
import type { UiError } from '../atoms/types';
|
|
10
10
|
export interface NavigationItem {
|
|
11
11
|
/**
|
|
@@ -43,8 +43,6 @@ export interface OrbitalVisualizationProps {
|
|
|
43
43
|
isLoading?: boolean;
|
|
44
44
|
/** Error state */
|
|
45
45
|
error?: UiError | null;
|
|
46
|
-
/** Entity name for schema-driven auto-fetch */
|
|
47
|
-
entity?: string;
|
|
48
46
|
}
|
|
49
47
|
export declare const OrbitalVisualization: React.FC<OrbitalVisualizationProps>;
|
|
50
48
|
export default OrbitalVisualization;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import type { EventEmit } from "@almadar/core";
|
|
3
|
-
import type { IconInput } from "../atoms";
|
|
3
|
+
import type { IconInput } from "../atoms/index";
|
|
4
4
|
import type { UiError } from '../atoms/types';
|
|
5
5
|
export interface PageBreadcrumb {
|
|
6
6
|
label: string;
|
|
@@ -14,11 +14,12 @@ import React from "react";
|
|
|
14
14
|
import type { JsonValue } from "@almadar/core";
|
|
15
15
|
export type RepeatableItem = {
|
|
16
16
|
id: string;
|
|
17
|
-
/** State in which this item was added (for audit trails)
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
/** State in which this item was added (for audit trails). Optional — only
|
|
18
|
+
* consumers using `trackAddedInState`/`showAuditInfo` populate it. */
|
|
19
|
+
addedInState?: string | null;
|
|
20
|
+
/** Timestamp when item was added. Optional — see `addedInState`. */
|
|
21
|
+
addedAt?: string | null;
|
|
22
|
+
[key: string]: JsonValue | undefined;
|
|
22
23
|
};
|
|
23
24
|
export interface RepeatableFormSectionProps {
|
|
24
25
|
/** Section type identifier */
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import React from 'react';
|
|
13
13
|
import type { AssetUrl, EventEmit } from '@almadar/core';
|
|
14
|
-
import type { IconInput } from '../atoms';
|
|
14
|
+
import type { IconInput } from '../atoms/index';
|
|
15
15
|
import type { UiError } from '../atoms/types';
|
|
16
16
|
export interface SidebarItem {
|
|
17
17
|
/** Item ID */
|
|
@@ -36,8 +36,6 @@ export interface SignaturePadProps {
|
|
|
36
36
|
}>;
|
|
37
37
|
/** Event to emit on clear */
|
|
38
38
|
clearEvent?: EventEmit<Record<string, never>>;
|
|
39
|
-
/** Entity name for schema-driven context */
|
|
40
|
-
entity?: string;
|
|
41
39
|
/** Loading state */
|
|
42
40
|
isLoading?: boolean;
|
|
43
41
|
/** Error state */
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* No entity prop, no data fetching, no hooks beyond icon resolution.
|
|
7
7
|
*/
|
|
8
8
|
import React from 'react';
|
|
9
|
-
import type { IconInput } from '../atoms';
|
|
9
|
+
import type { IconInput } from '../atoms/index';
|
|
10
10
|
import type { UiError } from '../atoms/types';
|
|
11
11
|
export type StatDisplayLook = 'elevated' | 'flat' | 'progress-backed' | 'gauge' | 'sparkline';
|
|
12
12
|
export interface StatDisplayProps {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import React from 'react';
|
|
9
9
|
import type { EventKey, EventPayload } from "@almadar/core";
|
|
10
|
-
import type { IconInput } from '../atoms';
|
|
10
|
+
import type { IconInput } from '../atoms/index';
|
|
11
11
|
export interface SwipeAction {
|
|
12
12
|
label: string;
|
|
13
13
|
icon?: IconInput;
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import React from 'react';
|
|
15
15
|
import type { EntityRow, EventKey } from '@almadar/core';
|
|
16
|
-
import type { IconInput } from '../atoms';
|
|
16
|
+
import type { IconInput } from '../atoms/index';
|
|
17
17
|
import { type DataDndProps } from './useDataDnd';
|
|
18
18
|
import type { UiError } from '../atoms/types';
|
|
19
19
|
export interface TableViewColumn {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import type { EventEmit } from '@almadar/core';
|
|
9
|
-
import type { IconInput } from '../atoms';
|
|
9
|
+
import type { IconInput } from '../atoms/index';
|
|
10
10
|
export interface TabItem {
|
|
11
11
|
/**
|
|
12
12
|
* Tab ID. Optional — schema-driven callers may pass `value` instead;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import type { EventKey, EventPayload } from "@almadar/core";
|
|
3
|
-
import type { IconInput } from "../atoms";
|
|
3
|
+
import type { IconInput } from "../atoms/index";
|
|
4
4
|
export interface UploadDropZoneProps {
|
|
5
5
|
/** Accepted MIME types (e.g., "image/*", "application/pdf") */
|
|
6
6
|
accept?: string;
|
|
@@ -51,7 +51,7 @@ export { DateRangeSelector, type DateRangeSelectorProps, type DateRangeSelectorO
|
|
|
51
51
|
export { ChartLegend, type ChartLegendProps, type ChartLegendItem } from './ChartLegend';
|
|
52
52
|
export { LineChart, type LineChartProps, type ChartDataPoint } from './LineChart';
|
|
53
53
|
export { ProgressDots, type ProgressDotsProps, type DotState, type DotSize } from './ProgressDots';
|
|
54
|
-
export * from '../../game/molecules';
|
|
54
|
+
export * from '../../game/2d/molecules/index';
|
|
55
55
|
export { GraphView, type GraphViewProps, type GraphViewNode, type GraphViewEdge } from './GraphView';
|
|
56
56
|
export { MapView, type MapViewProps, type MapMarkerData, type MapRouteData, type MapRouteWaypoint } from './MapView';
|
|
57
57
|
export { NumberStepper, type NumberStepperProps, type NumberStepperSize } from './NumberStepper';
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* @packageDocumentation
|
|
13
13
|
*/
|
|
14
14
|
import React from "react";
|
|
15
|
-
import { type UISlot, type SlotContent } from "../../../
|
|
15
|
+
import { type UISlot, type SlotContent } from "../../../providers/UISlotContext";
|
|
16
16
|
export interface SuspenseConfig {
|
|
17
17
|
/** Enable Suspense boundaries around slot content */
|
|
18
18
|
enabled: boolean;
|
|
@@ -7,9 +7,9 @@ export { List, type ListProps, type ListItem } from "./List";
|
|
|
7
7
|
export { CardGrid, type CardGridProps, type CardGridGap } from "./CardGrid";
|
|
8
8
|
export { MasterDetail, type MasterDetailProps } from "./MasterDetail";
|
|
9
9
|
export { StateMachineView, DomStateMachineVisualizer, OrbitalStateMachineView, type StateMachineViewProps, type TransitionBundle, } from "./StateMachineView";
|
|
10
|
-
export * from "./book";
|
|
11
|
-
export * from "./layout";
|
|
12
|
-
export * from "../../game/
|
|
10
|
+
export * from "./book/index";
|
|
11
|
+
export * from "./layout/index";
|
|
12
|
+
export * from "../../game/2d/molecules/index";
|
|
13
13
|
export { UISlotRenderer, UISlotComponent, SlotContentRenderer, type UISlotRendererProps, } from "./UISlotRenderer";
|
|
14
14
|
export { ModalSlot, type ModalSlotProps } from "./ModalSlot";
|
|
15
15
|
export { DrawerSlot, type DrawerSlotProps } from "./DrawerSlot";
|
|
@@ -17,7 +17,7 @@ export { ToastSlot, type ToastSlotProps } from "./ToastSlot";
|
|
|
17
17
|
export { NotifyListener } from "./NotifyListener";
|
|
18
18
|
export { Timeline, type TimelineProps, type TimelineItem, type TimelineItemStatus, } from "./Timeline";
|
|
19
19
|
export { MediaGallery, type MediaGalleryProps, type MediaItem, } from "./MediaGallery";
|
|
20
|
-
export { RuntimeDebugger, type RuntimeDebuggerProps, } from "./debug";
|
|
20
|
+
export { RuntimeDebugger, type RuntimeDebuggerProps, } from "./debug/index";
|
|
21
21
|
export { HeroOrganism, type HeroOrganismProps, } from "../../marketing/organisms/HeroOrganism";
|
|
22
22
|
export { FeatureGridOrganism, type FeatureGridOrganismProps, } from "../../marketing/organisms/FeatureGridOrganism";
|
|
23
23
|
export { PricingOrganism, type PricingOrganismProps, } from "../../marketing/organisms/PricingOrganism";
|
|
@@ -2,19 +2,19 @@ export type { TemplateProps } from './types';
|
|
|
2
2
|
export { DashboardLayout, type DashboardLayoutProps, type NavItem } from './DashboardLayout';
|
|
3
3
|
export { AuthLayout, type AuthLayoutProps } from '../../marketing/templates/AuthLayout';
|
|
4
4
|
export { CounterTemplate, type CounterTemplateProps, type CounterSize, type CounterVariant } from './CounterTemplate';
|
|
5
|
-
export { GameTemplate, type GameTemplateProps } from '../../game/templates/GameTemplate';
|
|
5
|
+
export { GameTemplate, type GameTemplateProps } from '../../game/2d/templates/GameTemplate';
|
|
6
6
|
export { GenericAppTemplate, type GenericAppTemplateProps } from './GenericAppTemplate';
|
|
7
|
-
export { GameShell, type GameShellProps } from '../../game/templates/GameShell';
|
|
8
|
-
export { BattleTemplate, type BattleTemplateProps, type BattlePhase, type BattleSlotContext, } from '../../game/templates/BattleTemplate';
|
|
9
|
-
export { CastleTemplate, type CastleTemplateProps, type CastleSlotContext, } from '../../game/templates/CastleTemplate';
|
|
10
|
-
export { WorldMapTemplate, type WorldMapTemplateProps, type WorldMapSlotContext, } from '../../game/templates/WorldMapTemplate';
|
|
11
|
-
export { PlatformerTemplate, type PlatformerTemplateProps, } from '../../game/templates/PlatformerTemplate';
|
|
12
|
-
export { TowerDefenseTemplate, type TowerDefenseTemplateProps, } from '../../game/templates/TowerDefenseTemplate';
|
|
13
|
-
export { RoguelikeTemplate, type RoguelikeTemplateProps, } from '../../game/templates/RoguelikeTemplate';
|
|
14
|
-
export { TopDownShooterTemplate, type TopDownShooterTemplateProps, } from '../../game/templates/TopDownShooterTemplate';
|
|
15
|
-
export { CityBuilderTemplate, type CityBuilderTemplateProps, } from '../../game/templates/CityBuilderTemplate';
|
|
16
|
-
export { VisualNovelTemplate, type VisualNovelTemplateProps, } from '../../game/templates/VisualNovelTemplate';
|
|
17
|
-
export { CardBattlerTemplate, type CardBattlerTemplateProps, } from '../../game/templates/CardBattlerTemplate';
|
|
7
|
+
export { GameShell, type GameShellProps } from '../../game/2d/templates/GameShell';
|
|
8
|
+
export { BattleTemplate, type BattleTemplateProps, type BattlePhase, type BattleSlotContext, } from '../../game/2d/templates/BattleTemplate';
|
|
9
|
+
export { CastleTemplate, type CastleTemplateProps, type CastleSlotContext, } from '../../game/2d/templates/CastleTemplate';
|
|
10
|
+
export { WorldMapTemplate, type WorldMapTemplateProps, type WorldMapSlotContext, } from '../../game/2d/templates/WorldMapTemplate';
|
|
11
|
+
export { PlatformerTemplate, type PlatformerTemplateProps, } from '../../game/2d/templates/PlatformerTemplate';
|
|
12
|
+
export { TowerDefenseTemplate, type TowerDefenseTemplateProps, } from '../../game/2d/templates/TowerDefenseTemplate';
|
|
13
|
+
export { RoguelikeTemplate, type RoguelikeTemplateProps, } from '../../game/2d/templates/RoguelikeTemplate';
|
|
14
|
+
export { TopDownShooterTemplate, type TopDownShooterTemplateProps, } from '../../game/2d/templates/TopDownShooterTemplate';
|
|
15
|
+
export { CityBuilderTemplate, type CityBuilderTemplateProps, } from '../../game/2d/templates/CityBuilderTemplate';
|
|
16
|
+
export { VisualNovelTemplate, type VisualNovelTemplateProps, } from '../../game/2d/templates/VisualNovelTemplate';
|
|
17
|
+
export { CardBattlerTemplate, type CardBattlerTemplateProps, } from '../../game/2d/templates/CardBattlerTemplate';
|
|
18
18
|
export { LandingPageTemplate, type LandingPageTemplateProps, type LandingPageEntity, } from '../../marketing/templates/LandingPageTemplate';
|
|
19
19
|
export { PricingPageTemplate, type PricingPageTemplateProps, type PricingPageEntity, } from '../../marketing/templates/PricingPageTemplate';
|
|
20
20
|
export { FeatureDetailPageTemplate, type FeatureDetailPageTemplateProps, type FeatureDetailPageEntity, type FeatureDetailSection, } from '../../marketing/templates/FeatureDetailPageTemplate';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { EventKey, Asset } from "@almadar/core";
|
|
2
|
-
import { type IconInput } from '
|
|
2
|
+
import { type IconInput } from '../../../core/atoms/Icon';
|
|
3
3
|
export interface ControlButtonProps {
|
|
4
4
|
/** Sprite asset — takes precedence over icon when provided */
|
|
5
5
|
assetUrl?: Asset;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* @packageDocumentation
|
|
12
12
|
*/
|
|
13
13
|
import React from 'react';
|
|
14
|
-
import type { UiError } from '
|
|
14
|
+
import type { UiError } from '../../../core/atoms/types';
|
|
15
15
|
export interface GameAudioToggleProps {
|
|
16
16
|
/** Button size */
|
|
17
17
|
size?: 'sm' | 'md' | 'lg';
|
|
@@ -21,8 +21,6 @@ export interface GameAudioToggleProps {
|
|
|
21
21
|
isLoading?: boolean;
|
|
22
22
|
/** Error state (passed through) */
|
|
23
23
|
error?: UiError | null;
|
|
24
|
-
/** Entity name for schema-driven auto-fetch */
|
|
25
|
-
entity?: string;
|
|
26
24
|
}
|
|
27
25
|
export declare function GameAudioToggle({ size, className, }: GameAudioToggleProps): React.JSX.Element;
|
|
28
26
|
export declare namespace GameAudioToggle {
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { Asset, EventEmit } from '@almadar/core';
|
|
3
|
+
export interface GameCardProps {
|
|
4
|
+
id: string;
|
|
5
|
+
cost?: number;
|
|
6
|
+
/** Card art asset */
|
|
7
|
+
art?: Asset;
|
|
8
|
+
attack?: number;
|
|
9
|
+
defense?: number;
|
|
10
|
+
name?: string;
|
|
11
|
+
selected?: boolean;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
/** Size variant — controls card dimensions and art pixel size */
|
|
14
|
+
size?: 'sm' | 'md' | 'lg';
|
|
15
|
+
/** Direct click callback */
|
|
16
|
+
onClick?: (id: string) => void;
|
|
17
|
+
/** Event-bus event emitted with `{ cardId }` on click */
|
|
18
|
+
clickEvent?: EventEmit<{
|
|
19
|
+
cardId: string;
|
|
20
|
+
}>;
|
|
21
|
+
className?: string;
|
|
22
|
+
}
|
|
23
|
+
export declare function GameCard({ id, cost, art, attack, defense, name, selected, disabled, size, onClick, clickEvent, className, }: GameCardProps): React.JSX.Element;
|
|
24
|
+
export declare namespace GameCard {
|
|
25
|
+
var displayName: string;
|
|
26
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { Asset } from '@almadar/core';
|
|
2
|
+
import { type IconInput } from '../../../core/atoms/Icon';
|
|
3
|
+
export interface GameIconProps {
|
|
4
|
+
/** Asset — when url is present, renders an img (Asset-primary). */
|
|
5
|
+
assetUrl?: Asset;
|
|
6
|
+
/** Lucide component or kebab-case icon name (fallback when no assetUrl). */
|
|
7
|
+
icon: IconInput;
|
|
8
|
+
/** Pixel size or named variant. */
|
|
9
|
+
size?: number | 'sm' | 'md' | 'lg';
|
|
10
|
+
/** Alt text for the img (defaults to assetUrl.category). */
|
|
11
|
+
alt?: string;
|
|
12
|
+
/** Additional CSS classes. */
|
|
13
|
+
className?: string;
|
|
14
|
+
}
|
|
15
|
+
export declare function GameIcon({ assetUrl, icon, size, alt, className }: GameIconProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export declare namespace GameIcon {
|
|
17
|
+
var displayName: string;
|
|
18
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface HealthBarProps {
|
|
2
|
+
/** Current value */
|
|
3
|
+
current: number;
|
|
4
|
+
/** Maximum value */
|
|
5
|
+
max: number;
|
|
6
|
+
/** Display format.
|
|
7
|
+
* - `hearts` / `bar` / `numeric` — health display
|
|
8
|
+
* - `progress` — XP / generic progress bar with optional level badge and value label */
|
|
9
|
+
format?: 'hearts' | 'bar' | 'numeric' | 'progress';
|
|
10
|
+
/** Current level — shown as "Lv.N" badge when format="progress" */
|
|
11
|
+
level?: number;
|
|
12
|
+
/** Show value label below bar when format="progress" */
|
|
13
|
+
showLabel?: boolean;
|
|
14
|
+
/** Label suffix shown next to the value (e.g. "XP") when showLabel=true */
|
|
15
|
+
labelSuffix?: string;
|
|
16
|
+
/** Size variant */
|
|
17
|
+
size?: 'sm' | 'md' | 'lg';
|
|
18
|
+
/** Additional CSS classes */
|
|
19
|
+
className?: string;
|
|
20
|
+
/** Animation on change */
|
|
21
|
+
animated?: boolean;
|
|
22
|
+
}
|
|
23
|
+
export declare function HealthBar({ current, max, format, level, showLabel, labelSuffix, size, className, animated, }: HealthBarProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export declare namespace HealthBar {
|
|
25
|
+
var displayName: string;
|
|
26
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ColorToken } from '
|
|
2
|
-
import { type IconInput } from '
|
|
1
|
+
import type { ColorToken } from '../../../core/atoms/types';
|
|
2
|
+
import { type IconInput } from '../../../core/atoms/Icon';
|
|
3
3
|
import type { Asset } from '@almadar/core';
|
|
4
4
|
export interface ResourceCounterProps {
|
|
5
5
|
/** Sprite asset — takes precedence over icon when provided */
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import type { EventKey, Asset } from "@almadar/core";
|
|
8
|
-
import type { AnimationName } from '
|
|
8
|
+
import type { AnimationName } from '../../shared/spriteAnimationTypes';
|
|
9
9
|
export interface SpriteProps {
|
|
10
10
|
/** Spritesheet asset */
|
|
11
11
|
spritesheet: Asset;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type IconInput } from '
|
|
2
|
+
import { type IconInput } from '../../../core/atoms/Icon';
|
|
3
3
|
import type { Asset } from '@almadar/core';
|
|
4
4
|
export interface StateStyle {
|
|
5
5
|
icon: IconInput;
|
|
6
6
|
bgClass: string;
|
|
7
7
|
}
|
|
8
|
+
export type StateIndicatorState = 'idle' | 'active' | 'sleeping' | 'moving' | 'eating' | 'waiting' | 'happy' | 'scared' | 'done' | 'error' | 'ready' | 'cooldown';
|
|
8
9
|
export interface StateIndicatorProps {
|
|
9
10
|
/** Sprite image URL — takes precedence over the state icon when provided */
|
|
10
11
|
assetUrl?: Asset;
|
|
11
|
-
/** The current state
|
|
12
|
-
state: string;
|
|
13
|
-
/** Optional label override
|
|
12
|
+
/** The current state — known values get a styled indicator, unknown values fall back to default */
|
|
13
|
+
state: StateIndicatorState | string;
|
|
14
|
+
/** Optional label override */
|
|
14
15
|
label?: string;
|
|
15
16
|
/** Size variant */
|
|
16
17
|
size?: 'sm' | 'md' | 'lg';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { type IconInput } from '
|
|
1
|
+
import { type IconInput } from '../../../core/atoms/Icon';
|
|
2
2
|
import type { Asset } from '@almadar/core';
|
|
3
3
|
export interface StatusEffectProps {
|
|
4
4
|
/** Sprite asset — takes precedence over icon when provided */
|
|
5
5
|
assetUrl?: Asset;
|
|
6
6
|
/** Lucide icon name or component */
|
|
7
|
-
icon
|
|
7
|
+
icon?: IconInput;
|
|
8
8
|
/** Label describing the effect */
|
|
9
9
|
label?: string;
|
|
10
10
|
/** Remaining duration in seconds */
|