@almadar/ui 1.0.29 → 1.0.31

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.
@@ -3,7 +3,8 @@ import React__default from 'react';
3
3
  import { LucideIcon } from 'lucide-react';
4
4
  import { SExpr } from '@almadar/evaluator';
5
5
  import * as react_jsx_runtime from 'react/jsx-runtime';
6
- export { AuthContextValue, AuthUser, ChangeSummary, CompileResult, CompileStage, ENTITY_EVENTS, EntityDataAdapter, EntityDataProvider, EntityDataRecord, EntityMutationResult, Extension, ExtensionManifest, FileSystemFile, FileSystemStatus, GitHubRepo, GitHubStatus, HistoryTimelineItem, OpenFile, OrbitalEventPayload, OrbitalEventResponse, QuerySingletonEntity, QuerySingletonResult, QuerySingletonState, QueryState, RevertResult, SelectedFile, UseCompileResult, UseEntityDetailResult, UseEntityListOptions, UseEntityListResult, UseEntityMutationsOptions, UseExtensionsOptions, UseExtensionsResult, UseFileEditorOptions, UseFileEditorResult, UseFileSystemResult, UseOrbitalHistoryOptions, UseOrbitalHistoryResult, entityDataKeys, parseQueryBinding, useAgentChat, useAuthContext, useCompile, useConnectGitHub, useCreateEntity, useDeepAgentGeneration, useDeleteEntity, useDisconnectGitHub, useEmitEvent, useEntities, useEntitiesByType, useEntity, useEntityById, useEntityDataAdapter, useEntityDetail, useEntityList, useEntityMutations, useEventBus, useEventListener, useExtensions, useFileEditor, useFileSystem, useGitHubBranches, useGitHubRepo, useGitHubRepos, useGitHubStatus, useInput, useOrbitalHistory, useOrbitalMutations, usePhysics, usePlayer, usePreview, useQuerySingleton, useSelectedEntity, useSendOrbitalEvent, useSingletonEntity, useUIEvents, useUpdateEntity, useValidation } from '../hooks/index.js';
6
+ import { I as IsometricTile, a as IsometricUnit, b as IsometricFeature, C as CameraState } from '../isometric-ynNHVPZx.js';
7
+ export { AuthContextValue, AuthUser, ChangeSummary, CompileResult, CompileStage, ENTITY_EVENTS, EntityDataAdapter, EntityDataProvider, EntityDataRecord, EntityMutationResult, Extension, ExtensionManifest, FileSystemFile, FileSystemStatus, GitHubRepo, GitHubStatus, HistoryTimelineItem, I18nContextValue, I18nProvider, OpenFile, OrbitalEventPayload, OrbitalEventResponse, QuerySingletonEntity, QuerySingletonResult, QuerySingletonState, QueryState, RevertResult, SelectedFile, TranslateFunction, UseCompileResult, UseEntityDetailResult, UseEntityListOptions, UseEntityListResult, UseEntityMutationsOptions, UseExtensionsOptions, UseExtensionsResult, UseFileEditorOptions, UseFileEditorResult, UseFileSystemResult, UseOrbitalHistoryOptions, UseOrbitalHistoryResult, createTranslate, entityDataKeys, parseQueryBinding, useAgentChat, useAuthContext, useCompile, useConnectGitHub, useCreateEntity, useDeepAgentGeneration, useDeleteEntity, useDisconnectGitHub, useEmitEvent, useEntities, useEntitiesByType, useEntity, useEntityById, useEntityDataAdapter, useEntityDetail, useEntityList, useEntityMutations, useEventBus, useEventListener, useExtensions, useFileEditor, useFileSystem, useGitHubBranches, useGitHubRepo, useGitHubRepos, useGitHubStatus, useInput, useOrbitalHistory, useOrbitalMutations, usePhysics, usePlayer, usePreview, useQuerySingleton, useSelectedEntity, useSendOrbitalEvent, useSingletonEntity, useTranslate, useUIEvents, useUpdateEntity, useValidation } from '../hooks/index.js';
7
8
  import { E as EventBusContextType } from '../event-bus-types-8-cjyMxw.js';
8
9
  export { a as EventListener, K as KFlowEvent, U as Unsubscribe } from '../event-bus-types-8-cjyMxw.js';
9
10
  import { S as SlotContent, a as UISlot } from '../useUISlots-mnggE9X9.js';
@@ -957,6 +958,36 @@ declare function Sprite({ spritesheet, frameWidth, frameHeight, frame, x, y, sca
957
958
  */
958
959
  declare function drawSprite(ctx: CanvasRenderingContext2D, image: HTMLImageElement, props: Omit<SpriteProps, 'spritesheet' | 'className' | 'onClick'>): void;
959
960
 
961
+ /**
962
+ * StateIndicator Component
963
+ *
964
+ * Displays a visual indicator for a game entity's current state.
965
+ * Generic — not tied to any specific game. Projects can extend
966
+ * the state styles via the `stateStyles` prop.
967
+ */
968
+ interface StateStyle {
969
+ icon: string;
970
+ bgClass: string;
971
+ }
972
+ interface StateIndicatorProps {
973
+ /** The current state name */
974
+ state: string;
975
+ /** Optional label override (defaults to capitalized state name) */
976
+ label?: string;
977
+ /** Size variant */
978
+ size?: 'sm' | 'md' | 'lg';
979
+ /** Whether to show pulse animation on non-idle states */
980
+ animated?: boolean;
981
+ /** Custom state styles to extend/override defaults */
982
+ stateStyles?: Record<string, StateStyle>;
983
+ /** Additional CSS classes */
984
+ className?: string;
985
+ }
986
+ declare function StateIndicator({ state, label, size, animated, stateStyles, className, }: StateIndicatorProps): JSX.Element;
987
+ declare namespace StateIndicator {
988
+ var displayName: string;
989
+ }
990
+
960
991
  /**
961
992
  * FormField Molecule Component
962
993
  *
@@ -1320,6 +1351,9 @@ interface CardProps {
1320
1351
  * Card component for displaying content in a contained box
1321
1352
  */
1322
1353
  declare function Card({ title, subtitle, image, actions, children, onClick, className, action, }: CardProps): react_jsx_runtime.JSX.Element;
1354
+ declare namespace Card {
1355
+ var displayName: string;
1356
+ }
1323
1357
 
1324
1358
  /**
1325
1359
  * Container Component
@@ -2382,6 +2416,9 @@ interface DataTableProps<T extends {
2382
2416
  declare function DataTable<T extends {
2383
2417
  id: string | number;
2384
2418
  }>({ fields, columns, data, entity, itemActions, isLoading, error: externalError, emptyIcon, emptyTitle, emptyDescription, emptyAction, selectable, selectedIds, onSelectionChange, sortBy: externalSortBy, sortDirection: externalSortDirection, onSort, pagination, enablePagination, defaultPageSize, showTotal, searchable, searchValue, onSearch, searchPlaceholder, onRowClick, rowActions: externalRowActions, bulkActions, headerActions, query, className, }: DataTableProps<T>): react_jsx_runtime.JSX.Element;
2419
+ declare namespace DataTable {
2420
+ var displayName: string;
2421
+ }
2385
2422
 
2386
2423
  /**
2387
2424
  * Schema metric definition
@@ -2488,6 +2525,10 @@ interface PageHeaderProps {
2488
2525
  actions?: readonly Readonly<SchemaAction>[];
2489
2526
  /** Loading state indicator */
2490
2527
  isLoading?: boolean;
2528
+ /** Error state */
2529
+ error?: Error | null;
2530
+ /** Entity name for schema-driven auto-fetch */
2531
+ entity?: string;
2491
2532
  /** Tabs for sub-navigation */
2492
2533
  tabs?: ReadonlyArray<{
2493
2534
  label: string;
@@ -2592,6 +2633,12 @@ interface FormSectionProps {
2592
2633
  /** Grid columns for fields */
2593
2634
  columns?: 1 | 2 | 3;
2594
2635
  className?: string;
2636
+ /** Loading state */
2637
+ isLoading?: boolean;
2638
+ /** Error state */
2639
+ error?: Error | null;
2640
+ /** Entity name */
2641
+ entity?: string;
2595
2642
  }
2596
2643
  declare const FormSection$1: React__default.FC<FormSectionProps>;
2597
2644
  /**
@@ -2602,6 +2649,12 @@ interface FormLayoutProps {
2602
2649
  /** Show section dividers */
2603
2650
  dividers?: boolean;
2604
2651
  className?: string;
2652
+ /** Loading state */
2653
+ isLoading?: boolean;
2654
+ /** Error state */
2655
+ error?: Error | null;
2656
+ /** Entity name */
2657
+ entity?: string;
2605
2658
  }
2606
2659
  declare const FormLayout: React__default.FC<FormLayoutProps>;
2607
2660
  /**
@@ -2614,6 +2667,12 @@ interface FormActionsProps {
2614
2667
  /** Alignment */
2615
2668
  align?: "left" | "right" | "between" | "center";
2616
2669
  className?: string;
2670
+ /** Loading state */
2671
+ isLoading?: boolean;
2672
+ /** Error state */
2673
+ error?: Error | null;
2674
+ /** Entity name */
2675
+ entity?: string;
2617
2676
  }
2618
2677
  declare const FormActions: React__default.FC<FormActionsProps>;
2619
2678
 
@@ -2889,6 +2948,18 @@ interface HeaderProps {
2889
2948
  * Additional CSS classes
2890
2949
  */
2891
2950
  className?: string;
2951
+ /**
2952
+ * Loading state indicator (closed circuit)
2953
+ */
2954
+ isLoading?: boolean;
2955
+ /**
2956
+ * Error state (closed circuit)
2957
+ */
2958
+ error?: Error | null;
2959
+ /**
2960
+ * Entity name for schema-driven auto-fetch (closed circuit)
2961
+ */
2962
+ entity?: string;
2892
2963
  }
2893
2964
  declare const Header: React__default.FC<HeaderProps>;
2894
2965
 
@@ -2951,6 +3022,12 @@ interface NavigationProps {
2951
3022
  * Additional CSS classes
2952
3023
  */
2953
3024
  className?: string;
3025
+ /** Loading state indicator */
3026
+ isLoading?: boolean;
3027
+ /** Error state */
3028
+ error?: Error | null;
3029
+ /** Entity name for schema-driven auto-fetch */
3030
+ entity?: string;
2954
3031
  }
2955
3032
  declare const Navigation: React__default.FC<NavigationProps>;
2956
3033
 
@@ -2986,6 +3063,12 @@ interface SectionProps {
2986
3063
  contentClassName?: string;
2987
3064
  /** HTML element to render as */
2988
3065
  as?: React__default.ElementType;
3066
+ /** Loading state indicator */
3067
+ isLoading?: boolean;
3068
+ /** Error state */
3069
+ error?: Error | null;
3070
+ /** Entity name for schema-driven auto-fetch */
3071
+ entity?: string;
2989
3072
  }
2990
3073
  /**
2991
3074
  * Section - Semantic content grouping with header
@@ -3048,6 +3131,12 @@ interface SidebarProps {
3048
3131
  onLogoClick?: () => void;
3049
3132
  /** Additional CSS classes */
3050
3133
  className?: string;
3134
+ /** Loading state indicator */
3135
+ isLoading?: boolean;
3136
+ /** Error state */
3137
+ error?: Error | null;
3138
+ /** Entity name for schema-driven auto-fetch */
3139
+ entity?: string;
3051
3140
  }
3052
3141
  declare const Sidebar: React__default.FC<SidebarProps>;
3053
3142
 
@@ -3081,6 +3170,12 @@ interface SplitProps {
3081
3170
  rightClassName?: string;
3082
3171
  /** Exactly two children: [left, right] */
3083
3172
  children: [React__default.ReactNode, React__default.ReactNode];
3173
+ /** Loading state indicator */
3174
+ isLoading?: boolean;
3175
+ /** Error state */
3176
+ error?: Error | null;
3177
+ /** Entity name for schema-driven auto-fetch */
3178
+ entity?: string;
3084
3179
  }
3085
3180
  /**
3086
3181
  * Split - Two-column layout with flexible ratios
@@ -3193,13 +3288,21 @@ interface TableProps<T = any> {
3193
3288
  * @default false
3194
3289
  */
3195
3290
  loading?: boolean;
3291
+ /**
3292
+ * Closed circuit: loading indicator
3293
+ */
3294
+ isLoading?: boolean;
3295
+ /**
3296
+ * Closed circuit: error state
3297
+ */
3298
+ error?: Error | null;
3196
3299
  /**
3197
3300
  * Additional CSS classes
3198
3301
  */
3199
3302
  className?: string;
3200
3303
  }
3201
3304
  declare const Table: {
3202
- <T extends Record<string, any>>({ columns, entity, getRowKey, selectable, selectedRows, onSelectionChange, sortable, sortColumn, sortDirection, onSortChange, searchable, searchPlaceholder, paginated, currentPage, totalPages, onPageChange, rowActions, emptyMessage, loading, className, }: TableProps<T>): react_jsx_runtime.JSX.Element;
3305
+ <T extends Record<string, any>>({ columns, entity, getRowKey, selectable, selectedRows, onSelectionChange, sortable, sortColumn, sortDirection, onSortChange, searchable, searchPlaceholder, paginated, currentPage, totalPages, onPageChange, rowActions, emptyMessage, loading, isLoading, error, className, }: TableProps<T>): react_jsx_runtime.JSX.Element;
3203
3306
  displayName: string;
3204
3307
  };
3205
3308
 
@@ -3481,6 +3584,10 @@ interface ConfirmDialogProps {
3481
3584
  size?: ModalSize;
3482
3585
  /** Loading state for confirm button */
3483
3586
  isLoading?: boolean;
3587
+ /** Error state */
3588
+ error?: Error | null;
3589
+ /** Entity name for schema-driven auto-fetch */
3590
+ entity?: string;
3484
3591
  /** Additional CSS classes */
3485
3592
  className?: string;
3486
3593
  }
@@ -3637,6 +3744,10 @@ interface WizardContainerProps {
3637
3744
  compact?: boolean;
3638
3745
  /** Additional CSS classes */
3639
3746
  className?: string;
3747
+ /** Loading state indicator */
3748
+ isLoading?: boolean;
3749
+ /** Error state */
3750
+ error?: Error | null;
3640
3751
  /** Entity type name (schema-driven) */
3641
3752
  entity?: string;
3642
3753
  }
@@ -3684,6 +3795,12 @@ interface OrbitalVisualizationProps {
3684
3795
  onClick?: () => void;
3685
3796
  /** Additional CSS classes */
3686
3797
  className?: string;
3798
+ /** Loading state indicator */
3799
+ isLoading?: boolean;
3800
+ /** Error state */
3801
+ error?: Error | null;
3802
+ /** Entity name for schema-driven auto-fetch */
3803
+ entity?: string;
3687
3804
  }
3688
3805
  declare const OrbitalVisualization: React__default.FC<OrbitalVisualizationProps>;
3689
3806
 
@@ -3797,116 +3914,6 @@ interface TabbedContainerProps {
3797
3914
  */
3798
3915
  declare const TabbedContainer: React__default.FC<TabbedContainerProps>;
3799
3916
 
3800
- /**
3801
- * Isometric Game Types
3802
- *
3803
- * Type definitions for isometric grid rendering: tiles, units, features.
3804
- * Used by IsometricCanvas and game hooks.
3805
- *
3806
- * @packageDocumentation
3807
- */
3808
- /** A single isometric tile on the grid */
3809
- interface IsometricTile {
3810
- /** Optional unique identifier (required for 3D rendering) */
3811
- id?: string;
3812
- /** Grid x coordinate */
3813
- x: number;
3814
- /** Grid y coordinate (2D) */
3815
- y: number;
3816
- /** Grid z coordinate (3D alternative to y) */
3817
- z?: number;
3818
- /** Terrain type key (e.g., 'grass', 'stone', 'water') - 2D */
3819
- terrain?: string;
3820
- /** Tile type for visual rendering (3D) */
3821
- type?: string;
3822
- /** Direct sprite URL override (bypasses getTerrainSprite resolver) */
3823
- terrainSprite?: string;
3824
- /** Whether units can traverse this tile (default true) */
3825
- passable?: boolean;
3826
- /** Movement cost for pathfinding (default 1) */
3827
- movementCost?: number;
3828
- /** Optional tile type for visual variants */
3829
- tileType?: string;
3830
- /** Elevation offset for 3D rendering */
3831
- elevation?: number;
3832
- }
3833
- /** A unit positioned on the isometric grid */
3834
- interface IsometricUnit {
3835
- /** Unique unit identifier */
3836
- id: string;
3837
- /** Current grid position (2D format) */
3838
- position?: {
3839
- x: number;
3840
- y: number;
3841
- };
3842
- /** Grid x coordinate (3D format) */
3843
- x?: number;
3844
- /** Grid y coordinate (3D format) */
3845
- y?: number;
3846
- /** Grid z coordinate (3D format) */
3847
- z?: number;
3848
- /** Static sprite URL (used when no sprite sheet animation) */
3849
- sprite?: string;
3850
- /** Unit archetype key for sprite resolution */
3851
- unitType?: string;
3852
- /** Hero identifier for sprite sheet lookup */
3853
- heroId?: string;
3854
- /** Display name rendered below the unit */
3855
- name?: string;
3856
- /** Team affiliation for coloring */
3857
- team?: 'player' | 'enemy' | 'neutral';
3858
- /** Faction for 3D rendering (player/enemy/neutral) */
3859
- faction?: 'player' | 'enemy' | 'neutral';
3860
- /** Current health */
3861
- health?: number;
3862
- /** Maximum health */
3863
- maxHealth?: number;
3864
- /** Trait attachments for state display */
3865
- traits?: {
3866
- name: string;
3867
- currentState: string;
3868
- states: string[];
3869
- cooldown: number;
3870
- }[];
3871
- /** Previous position for movement trail ghost */
3872
- previousPosition?: {
3873
- x: number;
3874
- y: number;
3875
- };
3876
- /** Elevation offset for 3D rendering */
3877
- elevation?: number;
3878
- }
3879
- /** A map feature (resource, building, portal, etc.) */
3880
- interface IsometricFeature {
3881
- /** Optional unique identifier (required for 3D rendering) */
3882
- id?: string;
3883
- /** Grid x coordinate */
3884
- x: number;
3885
- /** Grid y coordinate (2D) */
3886
- y: number;
3887
- /** Grid z coordinate (3D alternative to y) */
3888
- z?: number;
3889
- /** Feature type key (e.g., 'goldMine', 'castle', 'portal') */
3890
- type: string;
3891
- /** Direct sprite URL override (bypasses getFeatureSprite resolver) */
3892
- sprite?: string;
3893
- /** 3D model URL (GLB format) for GameCanvas3D */
3894
- assetUrl?: string;
3895
- /** Color override for 3D rendering */
3896
- color?: string;
3897
- /** Elevation offset for 3D rendering */
3898
- elevation?: number;
3899
- }
3900
- /** Camera state for pan/zoom */
3901
- interface CameraState {
3902
- /** Camera X offset in pixels */
3903
- x: number;
3904
- /** Camera Y offset in pixels */
3905
- y: number;
3906
- /** Zoom level (1.0 = 100%) */
3907
- zoom: number;
3908
- }
3909
-
3910
3917
  /**
3911
3918
  * Sprite Sheet Animation Types
3912
3919
  *
@@ -5147,6 +5154,10 @@ interface WorldMapEntity {
5147
5154
  interface WorldMapBoardProps {
5148
5155
  /** World map entity data */
5149
5156
  entity: WorldMapEntity;
5157
+ /** Loading state indicator */
5158
+ isLoading?: boolean;
5159
+ /** Error state */
5160
+ error?: Error | null;
5150
5161
  /** Canvas render scale */
5151
5162
  scale?: number;
5152
5163
  /** Unit draw-size multiplier */
@@ -5185,11 +5196,13 @@ interface WorldMapBoardProps {
5185
5196
  onBattleEncounter?: (attackerId: string, defenderId: string) => void;
5186
5197
  /** Called when hero enters a feature hex (castle, resource, etc.) */
5187
5198
  onFeatureEnter?: (heroId: string, hex: MapHex) => void;
5199
+ /** Override for the diamond-top Y offset within tile sprites (default: 374). */
5200
+ diamondTopY?: number;
5188
5201
  effectSpriteUrls?: string[];
5189
5202
  resolveUnitFrame?: (unitId: string) => ResolvedFrame | null;
5190
5203
  className?: string;
5191
5204
  }
5192
- declare function WorldMapBoard({ entity, scale, unitScale, allowMoveAllHeroes, isInRange, heroSelectEvent, heroMoveEvent, battleEncounterEvent, featureEnterEvent, tileClickEvent, header, sidePanel, overlay, footer, onHeroSelect, onHeroMove, onBattleEncounter, onFeatureEnter, effectSpriteUrls, resolveUnitFrame, className, }: WorldMapBoardProps): JSX.Element;
5205
+ declare function WorldMapBoard({ entity, scale, unitScale, allowMoveAllHeroes, isInRange, heroSelectEvent, heroMoveEvent, battleEncounterEvent, featureEnterEvent, tileClickEvent, header, sidePanel, overlay, footer, onHeroSelect, onHeroMove, onBattleEncounter, onFeatureEnter, diamondTopY, effectSpriteUrls, resolveUnitFrame, className, }: WorldMapBoardProps): JSX.Element;
5193
5206
  declare namespace WorldMapBoard {
5194
5207
  var displayName: string;
5195
5208
  }
@@ -5278,6 +5291,134 @@ declare namespace CastleBoard {
5278
5291
  var displayName: string;
5279
5292
  }
5280
5293
 
5294
+ /**
5295
+ * TraitStateViewer Component
5296
+ *
5297
+ * Displays a state machine visualization for a trait / behavior.
5298
+ * Three variants for different complexity levels:
5299
+ * - `linear` — simple step progression (ages 5-8)
5300
+ * - `compact` — current state + available actions (ages 9-12)
5301
+ * - `full` — all states, transitions, guards (ages 13+)
5302
+ *
5303
+ * @packageDocumentation
5304
+ */
5305
+
5306
+ interface TraitTransition {
5307
+ from: string;
5308
+ to: string;
5309
+ event: string;
5310
+ guardHint?: string;
5311
+ }
5312
+ interface TraitStateMachineDefinition {
5313
+ name: string;
5314
+ states: string[];
5315
+ currentState: string;
5316
+ transitions: TraitTransition[];
5317
+ description?: string;
5318
+ }
5319
+ interface TraitStateViewerProps {
5320
+ /** The trait / state machine to visualize */
5321
+ trait: TraitStateMachineDefinition;
5322
+ /** Display variant */
5323
+ variant?: 'linear' | 'compact' | 'full';
5324
+ /** Size variant */
5325
+ size?: 'sm' | 'md' | 'lg';
5326
+ /** Whether to show transition labels */
5327
+ showTransitions?: boolean;
5328
+ /** Click handler for states */
5329
+ onStateClick?: (state: string) => void;
5330
+ /** Custom state styles passed to StateIndicator */
5331
+ stateStyles?: Record<string, StateStyle>;
5332
+ /** Additional CSS classes */
5333
+ className?: string;
5334
+ /** Loading state */
5335
+ isLoading?: boolean;
5336
+ /** Error state */
5337
+ error?: Error | null;
5338
+ /** Entity name for schema-driven auto-fetch */
5339
+ entity?: string;
5340
+ }
5341
+ declare function TraitStateViewer({ trait, variant, size, showTransitions, onStateClick, stateStyles, className, }: TraitStateViewerProps): JSX.Element;
5342
+ declare namespace TraitStateViewer {
5343
+ var displayName: string;
5344
+ }
5345
+
5346
+ /**
5347
+ * TraitSlot Component
5348
+ *
5349
+ * A generic equippable slot with drag-and-drop support.
5350
+ * Shows a TraitStateViewer tooltip on hover for equipped items.
5351
+ * Used across game tiers:
5352
+ * - Sequencer (5-8): action slots in the sequence bar
5353
+ * - Event Handler (9-12): rule slots on world objects
5354
+ * - State Architect (13+): transition slots on state nodes
5355
+ *
5356
+ * @packageDocumentation
5357
+ */
5358
+
5359
+ /** Data shape for a slot's equipped item */
5360
+ interface SlotItemData {
5361
+ id: string;
5362
+ name: string;
5363
+ category: string;
5364
+ description?: string;
5365
+ /** Emoji or text icon */
5366
+ iconEmoji?: string;
5367
+ /** Image URL icon (takes precedence over iconEmoji) */
5368
+ iconUrl?: string;
5369
+ /** Optional state machine for tooltip display */
5370
+ stateMachine?: TraitStateMachineDefinition;
5371
+ }
5372
+ interface TraitSlotProps {
5373
+ /** Slot index (1-based) */
5374
+ slotNumber: number;
5375
+ /** Currently equipped item, if any */
5376
+ equippedItem?: SlotItemData;
5377
+ /** Whether slot is locked */
5378
+ locked?: boolean;
5379
+ /** Label shown when locked */
5380
+ lockLabel?: string;
5381
+ /** Whether slot is selected */
5382
+ selected?: boolean;
5383
+ /** Size variant */
5384
+ size?: 'sm' | 'md' | 'lg';
5385
+ /** Show tooltip on hover */
5386
+ showTooltip?: boolean;
5387
+ /** Category → color mapping */
5388
+ categoryColors?: Record<string, {
5389
+ bg: string;
5390
+ border: string;
5391
+ }>;
5392
+ /** Optional tooltip frame image URL */
5393
+ tooltipFrameUrl?: string;
5394
+ /** Additional CSS classes */
5395
+ className?: string;
5396
+ /** Loading state */
5397
+ isLoading?: boolean;
5398
+ /** Error state */
5399
+ error?: Error | null;
5400
+ /** Entity name for schema-driven auto-fetch */
5401
+ entity?: string;
5402
+ /** Called when an item is dropped on this slot */
5403
+ onItemDrop?: (item: SlotItemData) => void;
5404
+ /** Whether this slot's equipped item is draggable */
5405
+ draggable?: boolean;
5406
+ /** Called when drag starts from this slot */
5407
+ onDragStart?: (item: SlotItemData) => void;
5408
+ /** Click handler */
5409
+ onClick?: () => void;
5410
+ /** Remove handler */
5411
+ onRemove?: () => void;
5412
+ /** Emits UI:{clickEvent} with { slotNumber } */
5413
+ clickEvent?: string;
5414
+ /** Emits UI:{removeEvent} with { slotNumber } */
5415
+ removeEvent?: string;
5416
+ }
5417
+ declare function TraitSlot({ slotNumber, equippedItem, locked, lockLabel, selected, size, showTooltip, categoryColors, tooltipFrameUrl, className, onItemDrop, draggable, onDragStart, onClick, onRemove, clickEvent, removeEvent, }: TraitSlotProps): JSX.Element;
5418
+ declare namespace TraitSlot {
5419
+ var displayName: string;
5420
+ }
5421
+
5281
5422
  type EditorMode = 'select' | 'paint' | 'unit' | 'feature' | 'erase';
5282
5423
  declare const TERRAIN_COLORS: Record<string, string>;
5283
5424
  declare const FEATURE_TYPES: readonly ["goldMine", "resonanceCrystal", "traitCache", "salvageYard", "portal", "battleMarker", "treasure", "castle"];
@@ -5398,6 +5539,9 @@ interface UISlotComponentProps {
5398
5539
  position?: "left" | "right" | "top-right" | "top-left" | "bottom-right" | "bottom-left";
5399
5540
  className?: string;
5400
5541
  draggable?: boolean;
5542
+ isLoading?: boolean;
5543
+ error?: Error | null;
5544
+ entity?: string;
5401
5545
  }
5402
5546
  /**
5403
5547
  * Individual slot renderer.
@@ -5408,6 +5552,10 @@ declare function UISlotComponent({ slot, portal, position, className, }: UISlotC
5408
5552
  interface SlotContentRendererProps {
5409
5553
  content: SlotContent;
5410
5554
  onDismiss: () => void;
5555
+ className?: string;
5556
+ isLoading?: boolean;
5557
+ error?: Error | null;
5558
+ entity?: string;
5411
5559
  }
5412
5560
  /**
5413
5561
  * Renders the actual content of a slot.
@@ -5423,6 +5571,12 @@ interface UISlotRendererProps {
5423
5571
  includeFloating?: boolean;
5424
5572
  /** Additional class name for the container */
5425
5573
  className?: string;
5574
+ /** Loading state indicator */
5575
+ isLoading?: boolean;
5576
+ /** Error state */
5577
+ error?: Error | null;
5578
+ /** Entity name for schema-driven auto-fetch */
5579
+ entity?: string;
5426
5580
  }
5427
5581
  /**
5428
5582
  * Main UI Slot Renderer component.
@@ -5466,6 +5620,12 @@ interface ModalSlotProps {
5466
5620
  size?: 'sm' | 'md' | 'lg' | 'xl' | 'full';
5467
5621
  /** Custom class name */
5468
5622
  className?: string;
5623
+ /** Loading state indicator */
5624
+ isLoading?: boolean;
5625
+ /** Error state */
5626
+ error?: Error | null;
5627
+ /** Entity name for schema-driven auto-fetch */
5628
+ entity?: string;
5469
5629
  }
5470
5630
  /**
5471
5631
  * ModalSlot - Wrapper for modal slot content
@@ -5499,6 +5659,12 @@ interface DrawerSlotProps {
5499
5659
  size?: DrawerSize;
5500
5660
  /** Custom class name */
5501
5661
  className?: string;
5662
+ /** Loading state */
5663
+ isLoading?: boolean;
5664
+ /** Error state */
5665
+ error?: Error | null;
5666
+ /** Entity name for schema-driven auto-fetch */
5667
+ entity?: string;
5502
5668
  }
5503
5669
  /**
5504
5670
  * DrawerSlot - Wrapper for drawer slot content
@@ -5531,6 +5697,12 @@ interface ToastSlotProps {
5531
5697
  duration?: number;
5532
5698
  /** Custom class name */
5533
5699
  className?: string;
5700
+ /** Loading state indicator */
5701
+ isLoading?: boolean;
5702
+ /** Error state */
5703
+ error?: Error | null;
5704
+ /** Entity name for schema-driven auto-fetch */
5705
+ entity?: string;
5534
5706
  }
5535
5707
  /**
5536
5708
  * ToastSlot - Wrapper for toast slot content
@@ -6100,15 +6272,23 @@ declare const AuthLayout: React__default.FC<AuthLayoutProps>;
6100
6272
 
6101
6273
  type CounterSize = "sm" | "md" | "lg";
6102
6274
  type CounterVariant = "minimal" | "standard" | "full";
6103
- interface CounterTemplateProps {
6275
+ interface CounterEntity {
6276
+ /** Entity ID */
6277
+ id: string;
6104
6278
  /** Current count value */
6105
6279
  count: number;
6106
- /** Minimum allowed value */
6107
- min?: number;
6108
- /** Maximum allowed value */
6109
- max?: number;
6110
- /** Step size for increment/decrement */
6111
- step?: number;
6280
+ /** Whether decrement button is disabled */
6281
+ decrementDisabled?: boolean;
6282
+ /** Whether increment button is disabled */
6283
+ incrementDisabled?: boolean;
6284
+ /** Step label for decrement button (e.g. "-5") */
6285
+ decrementLabel?: string;
6286
+ /** Step label for increment button (e.g. "+5") */
6287
+ incrementLabel?: string;
6288
+ /** Formatted range text (e.g. "Range: 0 to 100") */
6289
+ rangeText?: string;
6290
+ }
6291
+ interface CounterTemplateProps extends TemplateProps<CounterEntity> {
6112
6292
  /** Called when increment is clicked */
6113
6293
  onIncrement?: () => void;
6114
6294
  /** Called when decrement is clicked */
@@ -6123,266 +6303,9 @@ interface CounterTemplateProps {
6123
6303
  size?: CounterSize;
6124
6304
  /** Template variant */
6125
6305
  variant?: CounterVariant;
6126
- /** Additional class name */
6127
- className?: string;
6128
6306
  }
6129
6307
  declare const CounterTemplate: React__default.FC<CounterTemplateProps>;
6130
6308
 
6131
- /**
6132
- * ListTemplate
6133
- *
6134
- * A presentational template for list-based features like todos, shopping lists, notes.
6135
- * Supports add, toggle, delete, and filter operations.
6136
- */
6137
-
6138
- type FilterValue = "all" | "active" | "completed";
6139
- type ListVariant = "minimal" | "standard" | "full";
6140
- interface ListTemplateItem {
6141
- id: string;
6142
- title: string;
6143
- completed?: boolean;
6144
- [key: string]: unknown;
6145
- }
6146
- interface ListTemplateProps {
6147
- /** Array of list items */
6148
- items: ListTemplateItem[];
6149
- /** Whether data is loading */
6150
- isLoading?: boolean;
6151
- /** Error object if loading failed */
6152
- error?: Error | string | null;
6153
- /** Current filter value */
6154
- filter?: FilterValue;
6155
- /** Called when a new item is added */
6156
- onAdd?: (title: string) => void;
6157
- /** Called when an item is toggled */
6158
- onToggle?: (id: string) => void;
6159
- /** Called when an item is deleted */
6160
- onDelete?: (id: string) => void;
6161
- /** Called when filter changes */
6162
- onFilterChange?: (filter: FilterValue) => void;
6163
- /** Called to retry loading */
6164
- onRetry?: () => void;
6165
- /** Title displayed above the list */
6166
- title?: string;
6167
- /** Placeholder for the input field */
6168
- placeholder?: string;
6169
- /** Whether to show filter buttons */
6170
- showFilters?: boolean;
6171
- /** Whether to show item count */
6172
- showCount?: boolean;
6173
- /** Message shown when list is empty */
6174
- emptyMessage?: string;
6175
- /** Template variant */
6176
- variant?: ListVariant;
6177
- /** Additional class name */
6178
- className?: string;
6179
- }
6180
- declare const ListTemplate: React__default.FC<ListTemplateProps>;
6181
-
6182
- /**
6183
- * FormTemplate
6184
- *
6185
- * A presentational template for form-based features like contact forms, feedback, surveys.
6186
- * Supports submission, validation, and success/error states.
6187
- */
6188
-
6189
- type FormVariant = "minimal" | "standard" | "full";
6190
- interface FormFieldConfig {
6191
- name: string;
6192
- label: string;
6193
- type: "text" | "email" | "password" | "tel" | "url" | "number" | "textarea" | "select" | "checkbox";
6194
- placeholder?: string;
6195
- required?: boolean;
6196
- options?: Array<{
6197
- value: string;
6198
- label: string;
6199
- }>;
6200
- rows?: number;
6201
- }
6202
- interface FormTemplateProps {
6203
- /** Current form field values */
6204
- formData: Record<string, unknown>;
6205
- /** Whether form is being submitted */
6206
- isSubmitting?: boolean;
6207
- /** Whether submission was successful */
6208
- isSuccess?: boolean;
6209
- /** Error object if submission failed */
6210
- error?: Error | string | null;
6211
- /** Field-level validation errors */
6212
- validationErrors?: Record<string, string>;
6213
- /** Called when form is submitted */
6214
- onSubmit?: (formData: Record<string, unknown>) => void;
6215
- /** Called when a field value changes */
6216
- onFieldChange?: (field: string, value: unknown) => void;
6217
- /** Called to reset the form */
6218
- onReset?: () => void;
6219
- /** Called to dismiss success message */
6220
- onDismissSuccess?: () => void;
6221
- /** Form title */
6222
- title?: string;
6223
- /** Form subtitle/description */
6224
- subtitle?: string;
6225
- /** Submit button label */
6226
- submitLabel?: string;
6227
- /** Success message */
6228
- successMessage?: string;
6229
- /** Whether to show reset button */
6230
- showReset?: boolean;
6231
- /** Form field definitions */
6232
- fields?: FormFieldConfig[];
6233
- /** Template variant */
6234
- variant?: FormVariant;
6235
- /** Additional class name */
6236
- className?: string;
6237
- }
6238
- declare const FormTemplate: React__default.FC<FormTemplateProps>;
6239
-
6240
- /**
6241
- * CrudTemplate
6242
- *
6243
- * A presentational template for CRUD (Create, Read, Update, Delete) features.
6244
- * Includes data table, search, and modal forms for create/edit.
6245
- */
6246
-
6247
- type CrudVariant = "minimal" | "standard" | "full";
6248
- interface CrudItem {
6249
- id: string;
6250
- [key: string]: unknown;
6251
- }
6252
- interface ColumnConfig {
6253
- key: string;
6254
- label: string;
6255
- sortable?: boolean;
6256
- width?: string;
6257
- render?: (value: unknown, row: CrudItem) => React__default.ReactNode;
6258
- }
6259
- interface FieldConfig {
6260
- key: string;
6261
- label: string;
6262
- type?: "text" | "email" | "number" | "textarea" | "select";
6263
- required?: boolean;
6264
- placeholder?: string;
6265
- options?: Array<{
6266
- value: string;
6267
- label: string;
6268
- }>;
6269
- }
6270
- interface CrudTemplateProps {
6271
- /** Array of items to display */
6272
- items: CrudItem[];
6273
- /** Whether data is loading */
6274
- isLoading?: boolean;
6275
- /** Error object if loading failed */
6276
- error?: Error | string | null;
6277
- /** Currently selected item for editing */
6278
- selectedItem?: CrudItem | null;
6279
- /** Whether the create/edit modal is open */
6280
- isModalOpen?: boolean;
6281
- /** Current search query */
6282
- searchQuery?: string;
6283
- /** Current sort field */
6284
- sortBy?: string;
6285
- /** Current sort order */
6286
- sortOrder?: "asc" | "desc";
6287
- /** Called to load/refresh items */
6288
- onLoad?: () => void;
6289
- /** Called when creating a new item */
6290
- onCreate?: (data: Record<string, unknown>) => void;
6291
- /** Called when updating an item */
6292
- onUpdate?: (id: string, data: Record<string, unknown>) => void;
6293
- /** Called when deleting an item */
6294
- onDelete?: (id: string) => void;
6295
- /** Called when selecting an item for editing */
6296
- onSelect?: (id: string) => void;
6297
- /** Called when viewing an item */
6298
- onView?: (id: string) => void;
6299
- /** Called when search query changes */
6300
- onSearch?: (query: string) => void;
6301
- /** Called when sort changes */
6302
- onSort?: (field: string, order: "asc" | "desc") => void;
6303
- /** Called to open create/edit modal */
6304
- onOpenModal?: () => void;
6305
- /** Called to close modal */
6306
- onCloseModal?: () => void;
6307
- /** Page title */
6308
- title?: string;
6309
- /** Singular entity name for labels */
6310
- entityName?: string;
6311
- /** Table column definitions */
6312
- columns?: ColumnConfig[];
6313
- /** Form field definitions for create/edit */
6314
- fields?: FieldConfig[];
6315
- /** Whether to show search input */
6316
- showSearch?: boolean;
6317
- /** Search input placeholder */
6318
- searchPlaceholder?: string;
6319
- /** Whether to show view action */
6320
- showViewAction?: boolean;
6321
- /** Template variant */
6322
- variant?: CrudVariant;
6323
- /** Additional class name */
6324
- className?: string;
6325
- }
6326
- declare const CrudTemplate: React__default.FC<CrudTemplateProps>;
6327
-
6328
- /**
6329
- * SettingsTemplate
6330
- *
6331
- * A presentational template for settings/preferences features.
6332
- * Supports sections with various input types and save/reset operations.
6333
- */
6334
-
6335
- type SettingsVariant = "minimal" | "standard" | "full";
6336
- interface SettingsFieldConfig {
6337
- key: string;
6338
- label: string;
6339
- type: "text" | "email" | "number" | "select" | "toggle" | "checkbox";
6340
- description?: string;
6341
- placeholder?: string;
6342
- options?: string[] | Array<{
6343
- value: string;
6344
- label: string;
6345
- }>;
6346
- }
6347
- interface SettingsSectionConfig {
6348
- title: string;
6349
- description?: string;
6350
- fields: SettingsFieldConfig[];
6351
- }
6352
- interface SettingsTemplateProps {
6353
- /** Current settings values */
6354
- settings: Record<string, unknown>;
6355
- /** Whether settings are being saved */
6356
- isSaving?: boolean;
6357
- /** Whether there are unsaved changes */
6358
- hasChanges?: boolean;
6359
- /** Error object if save failed */
6360
- error?: Error | string | null;
6361
- /** Success message after save */
6362
- successMessage?: string | null;
6363
- /** Called when saving settings */
6364
- onSave?: (settings: Record<string, unknown>) => void;
6365
- /** Called when a setting value changes */
6366
- onChange?: (key: string, value: unknown) => void;
6367
- /** Called to reset to default settings */
6368
- onReset?: () => void;
6369
- /** Called to revert unsaved changes */
6370
- onRevert?: () => void;
6371
- /** Called to dismiss success message */
6372
- onDismissSuccess?: () => void;
6373
- /** Page title */
6374
- title?: string;
6375
- /** Settings sections */
6376
- sections?: SettingsSectionConfig[];
6377
- /** Whether to show reset to defaults button */
6378
- showResetToDefaults?: boolean;
6379
- /** Template variant */
6380
- variant?: SettingsVariant;
6381
- /** Additional class name */
6382
- className?: string;
6383
- }
6384
- declare const SettingsTemplate: React__default.FC<SettingsTemplateProps>;
6385
-
6386
6309
  /**
6387
6310
  * GameTemplate
6388
6311
  *
@@ -6391,7 +6314,11 @@ declare const SettingsTemplate: React__default.FC<SettingsTemplateProps>;
6391
6314
  * **Atomic Design**: Composed using Box, Typography, and Layout molecules/atoms.
6392
6315
  */
6393
6316
 
6394
- interface GameTemplateProps {
6317
+ interface GameEntity {
6318
+ id: string;
6319
+ title?: string;
6320
+ }
6321
+ interface GameTemplateProps extends TemplateProps<GameEntity> {
6395
6322
  /** Title of the game */
6396
6323
  title?: string;
6397
6324
  /** The main game canvas or content */
@@ -6422,7 +6349,12 @@ declare const GameTemplate: React__default.FC<GameTemplateProps>;
6422
6349
  * **Atomic Design**: Composed using Box, Typography, and Button atoms.
6423
6350
  */
6424
6351
 
6425
- interface GenericAppTemplateProps {
6352
+ interface GenericAppEntity {
6353
+ id: string;
6354
+ title?: string;
6355
+ subtitle?: string;
6356
+ }
6357
+ interface GenericAppTemplateProps extends TemplateProps<GenericAppEntity> {
6426
6358
  /** Page title */
6427
6359
  title: string;
6428
6360
  /** Subtitle or description */
@@ -6530,12 +6462,14 @@ interface WorldMapTemplateProps extends TemplateProps<WorldMapEntity> {
6530
6462
  scale?: number;
6531
6463
  /** Unit draw-size multiplier */
6532
6464
  unitScale?: number;
6465
+ /** Override for the diamond-top Y offset within tile sprites (default: 374). */
6466
+ diamondTopY?: number;
6533
6467
  /** Allow selecting / moving ALL heroes (including enemy). For testing. */
6534
6468
  allowMoveAllHeroes?: boolean;
6535
6469
  }
6536
- declare function WorldMapTemplate({ entity, scale, unitScale, allowMoveAllHeroes, className, }: WorldMapTemplateProps): JSX.Element;
6470
+ declare function WorldMapTemplate({ entity, scale, unitScale, diamondTopY, allowMoveAllHeroes, className, }: WorldMapTemplateProps): JSX.Element;
6537
6471
  declare namespace WorldMapTemplate {
6538
6472
  var displayName: string;
6539
6473
  }
6540
6474
 
6541
- export { Accordion, type AccordionItem, type AccordionProps, Card as ActionCard, type CardProps as ActionCardProps, Alert, type AlertProps, type AlertVariant, type AnimationDef, type AnimationName, AuthLayout, type AuthLayoutProps, Avatar, type AvatarProps, type AvatarSize, type AvatarStatus, Badge, type BadgeProps, type BadgeVariant, BattleBoard, type BattleBoardProps, type BattleEntity, type BattlePhase, type BattleSlotContext, BattleTemplate, type BattleTemplateProps, type BattleTile, type BattleUnit, Box, type BoxBg, type BoxMargin, type BoxPadding, type BoxProps, type BoxRounded, type BoxShadow, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, type CameraState, CanvasEffect, type CanvasEffectProps, Card$1 as Card, type CardAction, CardBody, CardContent, CardFooter, CardGrid, type CardGridGap, type CardGridProps, CardHeader, type CardProps$1 as CardProps, CardTitle, CastleBoard, type CastleBoardProps, type CastleEntity, type CastleSlotContext, CastleTemplate, type CastleTemplateProps, Center, type CenterProps, Chart, type ChartDataPoint, type ChartProps, type ChartSeries, type ChartType, Checkbox, type CheckboxProps, CodeViewer, type CodeViewerMode, type CodeViewerProps, CollapsibleSection, type CollapsibleSectionProps, type Column, type ColumnConfig, type CombatActionType, type ConditionalContext, ConditionalWrapper, type ConditionalWrapperProps, ConfirmDialog, type ConfirmDialogProps, type ConfirmDialogVariant, Container, type ContainerProps, ControlButton, type ControlButtonProps, type CounterSize, CounterTemplate, type CounterTemplateProps, type CounterVariant, type CrudItem, CrudTemplate, type CrudTemplateProps, type CrudVariant, DIAMOND_TOP_Y, DashboardGrid, type DashboardGridCell, type DashboardGridProps, DashboardLayout, type DashboardLayoutProps, DataTable, type DataTableProps, type DetailField, DetailPanel, type DetailPanelProps, type DetailSection, DialogueBox, type DialogueBoxProps, type DialogueChoice, type DialogueNode, type DiffLine, Divider, type DividerOrientation, type DividerProps, type DocumentType, DocumentViewer, type DocumentViewerProps, Drawer, type DrawerPosition, type DrawerProps, type DrawerSize, DrawerSlot, type DrawerSlotProps, EditorCheckbox, type EditorCheckboxProps, type EditorMode, EditorSelect, type EditorSelectProps, EditorSlider, type EditorSliderProps, EditorTextInput, type EditorTextInputProps, EditorToolbar, type EditorToolbarProps, EmptyState, type EmptyStateProps, ErrorState, type ErrorStateProps, EventBusContextType, FEATURE_COLORS, FEATURE_TYPES, FLOOR_HEIGHT, type FacingDirection, type FieldConfig, type FilterDefinition, FilterGroup, type FilterGroupProps, type FilterValue, Flex, type FlexProps, FloatingActionButton, type FloatingActionButtonProps, Form, FormActions, type FormActionsProps, FormField, type FormFieldConfig, type FormFieldProps, FormLayout, type FormLayoutProps, type FormProps, FormSection$1 as FormSection, FormSectionHeader, type FormSectionHeaderProps, type FormSectionProps, FormTemplate, type FormTemplateProps, type FormVariant, type FrameDimsResolver, GameHud, type GameHudElement, type GameHudProps, type GameHudStat, GameMenu, type GameMenuProps, type GameOverAction, GameOverScreen, type GameOverScreenProps, type GameOverStat, GameShell, type GameShellProps, GameTemplate, type GameTemplateProps, GenericAppTemplate, type GenericAppTemplateProps, GraphCanvas, type GraphCanvasProps, type GraphEdge, type GraphNode, Grid, type GridProps, HStack, type HStackProps, Header, type HeaderProps, Heading, type HeadingProps, HealthBar, type HealthBarProps, type HighlightType, Icon, type IconAnimation, type IconProps, type IconSize, Input, InputGroup, type InputGroupProps, type InputProps, type InventoryItem, InventoryPanel, type InventoryPanelProps, IsometricCanvas, type IsometricCanvasProps, type IsometricFeature, type IsometricTile, type IsometricUnit, Label, type LabelProps, type LawReference, LawReferenceTooltip, type LawReferenceTooltipProps, List, type ListItem, type ListProps, ListTemplate, type ListTemplateItem, type ListTemplateProps, type ListVariant, LoadingState, type LoadingStateProps, type MapHero, type MapHex, MasterDetail, type MasterDetailProps, MediaGallery, type MediaGalleryProps, type MediaItem, Menu, type MenuItem, type MenuOption, type MenuProps, Meter, type MeterProps, type MeterThreshold, type MeterVariant, Modal, type ModalProps, type ModalSize, ModalSlot, type ModalSlotProps, type NavItem, Navigation, type NavigationItem, type NavigationProps, OrbitalVisualization, type OrbitalVisualizationProps, Overlay, type OverlayProps, type PageBreadcrumb, PageHeader, type PageHeaderProps, Pagination, type PaginationProps, type Physics2DState, type PhysicsBounds, type PhysicsConfig, PhysicsManager, Popover, type PopoverProps, ProgressBar, type ProgressBarColor, type ProgressBarProps, type ProgressBarVariant, Radio, type RadioProps, type RelationOption, RelationSelect, type RelationSelectProps, RepeatableFormSection, type RepeatableFormSectionProps, type RepeatableItem, type ResolvedFrame, type RowAction, SHEET_COLUMNS, SPRITE_SHEET_LAYOUT, ScoreDisplay, type ScoreDisplayProps, SearchInput, type SearchInputProps, Section, type SectionProps, Select, type SelectOption, type SelectProps, type SettingsFieldConfig, type SettingsSectionConfig, SettingsTemplate, type SettingsTemplateProps, type SettingsVariant, type SheetUrlResolver, SidePanel, type SidePanelProps, Sidebar, type SidebarItem, type SidebarProps, SignaturePad, type SignaturePadProps, SimpleGrid, type SimpleGridProps, SlotContent, SlotContentRenderer, type SortDirection, Spacer, type SpacerProps, type SpacerSize, Spinner, type SpinnerProps, Split, SplitPane, type SplitPaneProps, type SplitProps, Sprite, type SpriteDirection, type SpriteFrameDims, type SpriteProps, type SpriteSheetUrls, Stack, type StackAlign, type StackDirection, type StackGap, type StackJustify, type StackProps, StatCard, type StatCardProps, StatusBar, type StatusBarProps, Switch, type SwitchProps, TERRAIN_COLORS, TILE_HEIGHT, TILE_WIDTH, type TabDefinition, type TabItem, TabbedContainer, type TabbedContainerProps, Table, type TableColumn, type TableProps, Tabs, type TabsProps, type TemplateProps, TerrainPalette, type TerrainPaletteProps, Text, TextHighlight, type TextHighlightProps, type TextProps, Textarea, type TextareaProps, ThemeSelector, ThemeToggle, type ThemeToggleProps, Timeline, type TimelineItem, type TimelineItemStatus, type TimelineProps, Toast, type ToastProps, ToastSlot, type ToastSlotProps, type ToastVariant, Tooltip, type TooltipProps, Typography, type TypographyProps, type TypographyVariant, UISlot, UISlotComponent, UISlotRenderer, type UISlotRendererProps, type UnitAnimationState, type UsePhysics2DOptions, type UsePhysics2DReturn, type UseSpriteAnimationsOptions, type UseSpriteAnimationsResult, VStack, type VStackProps, ViolationAlert, type ViolationAlertProps, type ViolationRecord, WizardContainer, type WizardContainerProps, WizardNavigation, type WizardNavigationProps, WizardProgress, type WizardProgressProps, type WizardProgressStep, type WizardStep, WorldMapBoard, type WorldMapBoardProps, type WorldMapEntity, type WorldMapSlotContext, WorldMapTemplate, type WorldMapTemplateProps, createUnitAnimationState, drawSprite, getCurrentFrame, inferDirection, isoToScreen, resolveFrame, resolveSheetDirection, screenToIso, tickAnimationState, transitionAnimation, useCamera, useImageCache, usePhysics2D, useSpriteAnimations };
6475
+ export { Accordion, type AccordionItem, type AccordionProps, Card as ActionCard, type CardProps as ActionCardProps, Alert, type AlertProps, type AlertVariant, type AnimationDef, type AnimationName, AuthLayout, type AuthLayoutProps, Avatar, type AvatarProps, type AvatarSize, type AvatarStatus, Badge, type BadgeProps, type BadgeVariant, BattleBoard, type BattleBoardProps, type BattleEntity, type BattlePhase, type BattleSlotContext, BattleTemplate, type BattleTemplateProps, type BattleTile, type BattleUnit, Box, type BoxBg, type BoxMargin, type BoxPadding, type BoxProps, type BoxRounded, type BoxShadow, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, CameraState, CanvasEffect, type CanvasEffectProps, Card$1 as Card, type CardAction, CardBody, CardContent, CardFooter, CardGrid, type CardGridGap, type CardGridProps, CardHeader, type CardProps$1 as CardProps, CardTitle, CastleBoard, type CastleBoardProps, type CastleEntity, type CastleSlotContext, CastleTemplate, type CastleTemplateProps, Center, type CenterProps, Chart, type ChartDataPoint, type ChartProps, type ChartSeries, type ChartType, Checkbox, type CheckboxProps, CodeViewer, type CodeViewerMode, type CodeViewerProps, CollapsibleSection, type CollapsibleSectionProps, type Column, type CombatActionType, type ConditionalContext, ConditionalWrapper, type ConditionalWrapperProps, ConfirmDialog, type ConfirmDialogProps, type ConfirmDialogVariant, Container, type ContainerProps, ControlButton, type ControlButtonProps, type CounterSize, CounterTemplate, type CounterTemplateProps, type CounterVariant, DIAMOND_TOP_Y, DashboardGrid, type DashboardGridCell, type DashboardGridProps, DashboardLayout, type DashboardLayoutProps, DataTable, type DataTableProps, type DetailField, DetailPanel, type DetailPanelProps, type DetailSection, DialogueBox, type DialogueBoxProps, type DialogueChoice, type DialogueNode, type DiffLine, Divider, type DividerOrientation, type DividerProps, type DocumentType, DocumentViewer, type DocumentViewerProps, Drawer, type DrawerPosition, type DrawerProps, type DrawerSize, DrawerSlot, type DrawerSlotProps, EditorCheckbox, type EditorCheckboxProps, type EditorMode, EditorSelect, type EditorSelectProps, EditorSlider, type EditorSliderProps, EditorTextInput, type EditorTextInputProps, EditorToolbar, type EditorToolbarProps, EmptyState, type EmptyStateProps, ErrorState, type ErrorStateProps, EventBusContextType, FEATURE_COLORS, FEATURE_TYPES, FLOOR_HEIGHT, type FacingDirection, type FilterDefinition, FilterGroup, type FilterGroupProps, Flex, type FlexProps, FloatingActionButton, type FloatingActionButtonProps, Form, FormActions, type FormActionsProps, FormField, type FormFieldProps, FormLayout, type FormLayoutProps, type FormProps, FormSection$1 as FormSection, FormSectionHeader, type FormSectionHeaderProps, type FormSectionProps, type FrameDimsResolver, GameHud, type GameHudElement, type GameHudProps, type GameHudStat, GameMenu, type GameMenuProps, type GameOverAction, GameOverScreen, type GameOverScreenProps, type GameOverStat, GameShell, type GameShellProps, GameTemplate, type GameTemplateProps, GenericAppTemplate, type GenericAppTemplateProps, GraphCanvas, type GraphCanvasProps, type GraphEdge, type GraphNode, Grid, type GridProps, HStack, type HStackProps, Header, type HeaderProps, Heading, type HeadingProps, HealthBar, type HealthBarProps, type HighlightType, Icon, type IconAnimation, type IconProps, type IconSize, Input, InputGroup, type InputGroupProps, type InputProps, type InventoryItem, InventoryPanel, type InventoryPanelProps, IsometricCanvas, type IsometricCanvasProps, IsometricFeature, IsometricTile, IsometricUnit, Label, type LabelProps, type LawReference, LawReferenceTooltip, type LawReferenceTooltipProps, List, type ListItem, type ListProps, LoadingState, type LoadingStateProps, type MapHero, type MapHex, MasterDetail, type MasterDetailProps, MediaGallery, type MediaGalleryProps, type MediaItem, Menu, type MenuItem, type MenuOption, type MenuProps, Meter, type MeterProps, type MeterThreshold, type MeterVariant, Modal, type ModalProps, type ModalSize, ModalSlot, type ModalSlotProps, type NavItem, Navigation, type NavigationItem, type NavigationProps, OrbitalVisualization, type OrbitalVisualizationProps, Overlay, type OverlayProps, type PageBreadcrumb, PageHeader, type PageHeaderProps, Pagination, type PaginationProps, type Physics2DState, type PhysicsBounds, type PhysicsConfig, PhysicsManager, Popover, type PopoverProps, ProgressBar, type ProgressBarColor, type ProgressBarProps, type ProgressBarVariant, Radio, type RadioProps, type RelationOption, RelationSelect, type RelationSelectProps, RepeatableFormSection, type RepeatableFormSectionProps, type RepeatableItem, type ResolvedFrame, type RowAction, SHEET_COLUMNS, SPRITE_SHEET_LAYOUT, ScoreDisplay, type ScoreDisplayProps, SearchInput, type SearchInputProps, Section, type SectionProps, Select, type SelectOption, type SelectProps, type SheetUrlResolver, SidePanel, type SidePanelProps, Sidebar, type SidebarItem, type SidebarProps, SignaturePad, type SignaturePadProps, SimpleGrid, type SimpleGridProps, SlotContent, SlotContentRenderer, type SlotItemData, type SortDirection, Spacer, type SpacerProps, type SpacerSize, Spinner, type SpinnerProps, Split, SplitPane, type SplitPaneProps, type SplitProps, Sprite, type SpriteDirection, type SpriteFrameDims, type SpriteProps, type SpriteSheetUrls, Stack, type StackAlign, type StackDirection, type StackGap, type StackJustify, type StackProps, StatCard, type StatCardProps, StateIndicator, type StateIndicatorProps, type StateStyle, StatusBar, type StatusBarProps, Switch, type SwitchProps, TERRAIN_COLORS, TILE_HEIGHT, TILE_WIDTH, type TabDefinition, type TabItem, TabbedContainer, type TabbedContainerProps, Table, type TableColumn, type TableProps, Tabs, type TabsProps, type TemplateProps, TerrainPalette, type TerrainPaletteProps, Text, TextHighlight, type TextHighlightProps, type TextProps, Textarea, type TextareaProps, ThemeSelector, ThemeToggle, type ThemeToggleProps, Timeline, type TimelineItem, type TimelineItemStatus, type TimelineProps, Toast, type ToastProps, ToastSlot, type ToastSlotProps, type ToastVariant, Tooltip, type TooltipProps, TraitSlot, type TraitSlotProps, type TraitStateMachineDefinition, TraitStateViewer, type TraitStateViewerProps, type TraitTransition, Typography, type TypographyProps, type TypographyVariant, UISlot, UISlotComponent, UISlotRenderer, type UISlotRendererProps, type UnitAnimationState, type UsePhysics2DOptions, type UsePhysics2DReturn, type UseSpriteAnimationsOptions, type UseSpriteAnimationsResult, VStack, type VStackProps, ViolationAlert, type ViolationAlertProps, type ViolationRecord, WizardContainer, type WizardContainerProps, WizardNavigation, type WizardNavigationProps, WizardProgress, type WizardProgressProps, type WizardProgressStep, type WizardStep, WorldMapBoard, type WorldMapBoardProps, type WorldMapEntity, type WorldMapSlotContext, WorldMapTemplate, type WorldMapTemplateProps, createUnitAnimationState, drawSprite, getCurrentFrame, inferDirection, isoToScreen, resolveFrame, resolveSheetDirection, screenToIso, tickAnimationState, transitionAnimation, useCamera, useImageCache, usePhysics2D, useSpriteAnimations };