@almadar/ui 5.83.0 → 5.85.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.
@@ -17,10 +17,12 @@ export interface ChoiceButtonProps {
17
17
  onClick?: () => void;
18
18
  /** Declarative event name — emits UI:{action} via eventBus on click */
19
19
  action?: EventKey;
20
+ /** Semantic payload emitted with the action (e.g. `{ nextId, choiceIndex }` for a branching choice). */
21
+ payload?: Record<string, string | number | boolean>;
20
22
  /** Additional CSS classes */
21
23
  className?: string;
22
24
  }
23
- export declare function ChoiceButton({ text, index, assetUrl, icon, disabled, selected, onClick, action, className, }: ChoiceButtonProps): import("react/jsx-runtime").JSX.Element;
25
+ export declare function ChoiceButton({ text, index, assetUrl, icon, disabled, selected, onClick, action, payload, className, }: ChoiceButtonProps): import("react/jsx-runtime").JSX.Element;
24
26
  export declare namespace ChoiceButton {
25
27
  var displayName: string;
26
28
  }
@@ -40,8 +40,6 @@ export { GameAudioProvider, GameAudioContext, useGameAudioContext, type GameAudi
40
40
  export { GameAudioToggle, type GameAudioToggleProps, } from '../atoms/GameAudioToggle';
41
41
  export { useGameAudio, type AudioManifest, type SoundEntry, type GameAudioControls, type UseGameAudioOptions, } from '../../shared/hooks/useGameAudio';
42
42
  export { useCamera } from '../../shared/hooks/useCamera';
43
- export { VisualNovelBoard, type VisualNovelBoardProps, type VisualNovelNode, type VisualNovelChoice, } from '../organisms/VisualNovelBoard';
44
- export { CardBattlerBoard, type CardBattlerBoardProps, type CardBattlerCard, } from '../organisms/CardBattlerBoard';
45
43
  export { TraitStateViewer, type TraitStateViewerProps, type TraitStateMachineDefinition, type TraitTransition, } from '../organisms/TraitStateViewer';
46
44
  export { TraitSlot, type TraitSlotProps, type SlotItemData, } from '../organisms/TraitSlot';
47
45
  export { CollapsibleSection, EditorSlider, EditorSelect, EditorCheckbox, EditorTextInput, StatusBar, TerrainPalette, EditorToolbar, TERRAIN_COLORS, FEATURE_TYPES, type EditorMode, type CollapsibleSectionProps, type EditorSliderProps, type EditorSelectProps, type EditorCheckboxProps, type EditorTextInputProps, type StatusBarProps, type TerrainPaletteProps, type EditorToolbarProps, } from '../../shared/lib/editorUtils';