@almadar/ui 2.2.0 → 2.5.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/{chunk-CC3UOKHI.js → chunk-FYYU3CHN.js} +2180 -383
- package/dist/chunk-K2D5D3WK.js +1033 -0
- package/dist/{chunk-DKQN5FVU.js → chunk-YLKXEXBP.js} +24 -24
- package/dist/components/index.d.ts +623 -48
- package/dist/components/index.js +300 -91
- package/dist/context/index.js +2 -2
- package/dist/providers/index.js +3 -3
- package/dist/renderer/index.d.ts +1 -1
- package/dist/renderer/index.js +1 -612
- package/package.json +36 -33
- package/dist/chunk-PL7MD6GF.js +0 -426
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
2
|
import React__default, { ReactNode, ErrorInfo } from 'react';
|
|
3
3
|
import { LucideIcon } from 'lucide-react';
|
|
4
|
-
import { SExpr } from '@almadar/evaluator';
|
|
5
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
|
+
import { SExpr } from '@almadar/evaluator';
|
|
6
6
|
import { OrbitalEntity } from '@almadar/core';
|
|
7
7
|
import { b as DomLayoutData, d as DomStateNode, V as VisualizerConfig, e as DomTransitionLabel, C as ContentSegment } from '../cn-BoBXsxuX.js';
|
|
8
8
|
export { h as cn } from '../cn-BoBXsxuX.js';
|
|
@@ -26,10 +26,10 @@ interface ButtonProps extends React__default.ButtonHTMLAttributes<HTMLButtonElem
|
|
|
26
26
|
leftIcon?: React__default.ReactNode;
|
|
27
27
|
/** Right icon as ReactNode (preferred) */
|
|
28
28
|
rightIcon?: React__default.ReactNode;
|
|
29
|
-
/** Left icon as Lucide icon component
|
|
30
|
-
icon?: LucideIcon;
|
|
31
|
-
/** Right icon as Lucide icon component
|
|
32
|
-
iconRight?: LucideIcon;
|
|
29
|
+
/** Left icon as Lucide icon component or string name (e.g. "plus", "trash") */
|
|
30
|
+
icon?: LucideIcon | string;
|
|
31
|
+
/** Right icon as Lucide icon component or string name */
|
|
32
|
+
iconRight?: LucideIcon | string;
|
|
33
33
|
/** Declarative event name — emits UI:{action} via eventBus on click */
|
|
34
34
|
action?: string;
|
|
35
35
|
/** Payload to include with the action event */
|
|
@@ -116,6 +116,10 @@ interface BadgeProps extends React__default.HTMLAttributes<HTMLSpanElement> {
|
|
|
116
116
|
size?: BadgeSize;
|
|
117
117
|
/** Numeric count or amount to display in badge */
|
|
118
118
|
amount?: number;
|
|
119
|
+
/** Badge label text (alternative to children for schema-driven rendering) */
|
|
120
|
+
label?: string;
|
|
121
|
+
/** Icon name (Lucide icon string) or React node */
|
|
122
|
+
icon?: React__default.ReactNode;
|
|
119
123
|
}
|
|
120
124
|
declare const Badge: React__default.ForwardRefExoticComponent<BadgeProps & React__default.RefAttributes<HTMLSpanElement>>;
|
|
121
125
|
|
|
@@ -588,7 +592,7 @@ declare const TextHighlight: React__default.FC<TextHighlightProps>;
|
|
|
588
592
|
* Text elements following the KFlow design system with theme-aware styling.
|
|
589
593
|
*/
|
|
590
594
|
|
|
591
|
-
type TypographyVariant = "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "body1" | "body2" | "body" | "caption" | "overline" | "small" | "large" | "label";
|
|
595
|
+
type TypographyVariant = "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "heading" | "subheading" | "body1" | "body2" | "body" | "caption" | "overline" | "small" | "large" | "label";
|
|
592
596
|
type TypographySize = "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl";
|
|
593
597
|
interface TypographyProps {
|
|
594
598
|
/** Typography variant */
|
|
@@ -711,6 +715,21 @@ interface OverlayProps {
|
|
|
711
715
|
}
|
|
712
716
|
declare const Overlay: React__default.FC<OverlayProps>;
|
|
713
717
|
|
|
718
|
+
interface FlipContainerProps {
|
|
719
|
+
/** Whether the container is flipped (rotateY 180deg) */
|
|
720
|
+
flipped: boolean;
|
|
721
|
+
/** Optional className for the outer wrapper */
|
|
722
|
+
className?: string;
|
|
723
|
+
/** The two face elements (front and back) */
|
|
724
|
+
children: React__default.ReactNode;
|
|
725
|
+
/** Click handler on the outer wrapper */
|
|
726
|
+
onClick?: () => void;
|
|
727
|
+
}
|
|
728
|
+
declare const FlipContainer: {
|
|
729
|
+
({ flipped, className, children, onClick, }: FlipContainerProps): react_jsx_runtime.JSX.Element;
|
|
730
|
+
displayName: string;
|
|
731
|
+
};
|
|
732
|
+
|
|
714
733
|
/**
|
|
715
734
|
* ConditionalWrapper Atom Component
|
|
716
735
|
*
|
|
@@ -828,6 +847,52 @@ interface LawReferenceTooltipProps {
|
|
|
828
847
|
*/
|
|
829
848
|
declare const LawReferenceTooltip: React__default.FC<LawReferenceTooltipProps>;
|
|
830
849
|
|
|
850
|
+
/**
|
|
851
|
+
* DayCell
|
|
852
|
+
*
|
|
853
|
+
* Calendar day header atom. Renders day abbreviation and date number
|
|
854
|
+
* with optional today highlight.
|
|
855
|
+
*/
|
|
856
|
+
|
|
857
|
+
interface DayCellProps {
|
|
858
|
+
/** The date this cell represents */
|
|
859
|
+
date: Date;
|
|
860
|
+
/** Whether this date is today */
|
|
861
|
+
isToday?: boolean;
|
|
862
|
+
/** Called when the day is clicked */
|
|
863
|
+
onClick?: (date: Date) => void;
|
|
864
|
+
/** Additional CSS classes */
|
|
865
|
+
className?: string;
|
|
866
|
+
}
|
|
867
|
+
declare function DayCell({ date, isToday, onClick, className, }: DayCellProps): React__default.JSX.Element;
|
|
868
|
+
declare namespace DayCell {
|
|
869
|
+
var displayName: string;
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
/**
|
|
873
|
+
* TimeSlotCell
|
|
874
|
+
*
|
|
875
|
+
* Calendar time slot atom. Renders a clickable container for a single
|
|
876
|
+
* time slot that can hold event content via children.
|
|
877
|
+
*/
|
|
878
|
+
|
|
879
|
+
interface TimeSlotCellProps {
|
|
880
|
+
/** Time label for this slot (e.g. "09:00") */
|
|
881
|
+
time: string;
|
|
882
|
+
/** Called when the slot is clicked */
|
|
883
|
+
onClick?: (time: string) => void;
|
|
884
|
+
/** Additional CSS classes */
|
|
885
|
+
className?: string;
|
|
886
|
+
/** Event content placed inside the slot */
|
|
887
|
+
children?: React__default.ReactNode;
|
|
888
|
+
/** Whether this slot contains an event */
|
|
889
|
+
isOccupied?: boolean;
|
|
890
|
+
}
|
|
891
|
+
declare function TimeSlotCell({ time, onClick, className, children, isOccupied, }: TimeSlotCellProps): React__default.JSX.Element;
|
|
892
|
+
declare namespace TimeSlotCell {
|
|
893
|
+
var displayName: string;
|
|
894
|
+
}
|
|
895
|
+
|
|
831
896
|
interface HealthBarProps {
|
|
832
897
|
/** Current health value */
|
|
833
898
|
current: number;
|
|
@@ -2375,6 +2440,42 @@ interface ScaledDiagramProps {
|
|
|
2375
2440
|
}
|
|
2376
2441
|
declare const ScaledDiagram: React__default.FC<ScaledDiagramProps>;
|
|
2377
2442
|
|
|
2443
|
+
/**
|
|
2444
|
+
* CalendarGrid
|
|
2445
|
+
*
|
|
2446
|
+
* Pure presentational weekly calendar grid molecule.
|
|
2447
|
+
* No entity binding, no event bus, no translations.
|
|
2448
|
+
* Composes DayCell and TimeSlotCell atoms into a 7-day grid.
|
|
2449
|
+
*/
|
|
2450
|
+
|
|
2451
|
+
interface CalendarEvent {
|
|
2452
|
+
id: string;
|
|
2453
|
+
title: string;
|
|
2454
|
+
startTime: string | Date;
|
|
2455
|
+
endTime?: string | Date;
|
|
2456
|
+
color?: string;
|
|
2457
|
+
}
|
|
2458
|
+
interface CalendarGridProps {
|
|
2459
|
+
/** Start of the week (defaults to current week's Monday) */
|
|
2460
|
+
weekStart?: Date;
|
|
2461
|
+
/** Time slot labels (defaults to 09:00-17:00) */
|
|
2462
|
+
timeSlots?: string[];
|
|
2463
|
+
/** Events to display on the grid */
|
|
2464
|
+
events?: CalendarEvent[];
|
|
2465
|
+
/** Called when a time slot is clicked */
|
|
2466
|
+
onSlotClick?: (day: Date, time: string) => void;
|
|
2467
|
+
/** Called when a day header is clicked */
|
|
2468
|
+
onDayClick?: (day: Date) => void;
|
|
2469
|
+
/** Called when an event is clicked */
|
|
2470
|
+
onEventClick?: (event: CalendarEvent) => void;
|
|
2471
|
+
/** Additional CSS classes */
|
|
2472
|
+
className?: string;
|
|
2473
|
+
}
|
|
2474
|
+
declare function CalendarGrid({ weekStart, timeSlots, events, onSlotClick, onDayClick, onEventClick, className, }: CalendarGridProps): React__default.JSX.Element;
|
|
2475
|
+
declare namespace CalendarGrid {
|
|
2476
|
+
var displayName: string;
|
|
2477
|
+
}
|
|
2478
|
+
|
|
2378
2479
|
/**
|
|
2379
2480
|
* RepeatableFormSection
|
|
2380
2481
|
*
|
|
@@ -2515,6 +2616,417 @@ interface FormSectionHeaderProps {
|
|
|
2515
2616
|
}
|
|
2516
2617
|
declare const FormSectionHeader: React__default.FC<FormSectionHeaderProps>;
|
|
2517
2618
|
|
|
2619
|
+
interface FlipCardProps {
|
|
2620
|
+
/** Content rendered on the front face */
|
|
2621
|
+
front: React__default.ReactNode;
|
|
2622
|
+
/** Content rendered on the back face */
|
|
2623
|
+
back: React__default.ReactNode;
|
|
2624
|
+
/** Controlled flip state */
|
|
2625
|
+
flipped?: boolean;
|
|
2626
|
+
/** Callback when the card is clicked to flip */
|
|
2627
|
+
onFlip?: () => void;
|
|
2628
|
+
/** Optional className for the outer container */
|
|
2629
|
+
className?: string;
|
|
2630
|
+
/** Card height as a Tailwind class (default: 'h-64') */
|
|
2631
|
+
height?: string;
|
|
2632
|
+
}
|
|
2633
|
+
declare const FlipCard: {
|
|
2634
|
+
({ front, back, flipped, onFlip, className, height, }: FlipCardProps): react_jsx_runtime.JSX.Element;
|
|
2635
|
+
displayName: string;
|
|
2636
|
+
};
|
|
2637
|
+
|
|
2638
|
+
/**
|
|
2639
|
+
* DateRangeSelector Molecule Component
|
|
2640
|
+
*
|
|
2641
|
+
* Button group for selecting time range periods.
|
|
2642
|
+
* Pure UI molecule with no entity binding.
|
|
2643
|
+
*/
|
|
2644
|
+
|
|
2645
|
+
interface DateRangeSelectorOption {
|
|
2646
|
+
label: string;
|
|
2647
|
+
value: string;
|
|
2648
|
+
}
|
|
2649
|
+
interface DateRangeSelectorProps {
|
|
2650
|
+
/** Available range options */
|
|
2651
|
+
options?: DateRangeSelectorOption[];
|
|
2652
|
+
/** Currently selected value */
|
|
2653
|
+
selected?: string;
|
|
2654
|
+
/** Callback when a range is selected */
|
|
2655
|
+
onSelect?: (value: string) => void;
|
|
2656
|
+
/** Additional CSS classes */
|
|
2657
|
+
className?: string;
|
|
2658
|
+
}
|
|
2659
|
+
declare const DateRangeSelector: React__default.FC<DateRangeSelectorProps>;
|
|
2660
|
+
|
|
2661
|
+
/**
|
|
2662
|
+
* ChartLegend Molecule Component
|
|
2663
|
+
*
|
|
2664
|
+
* Color-coded legend for chart data series.
|
|
2665
|
+
* Pure UI molecule with no entity binding.
|
|
2666
|
+
*/
|
|
2667
|
+
|
|
2668
|
+
interface ChartLegendItem {
|
|
2669
|
+
label: string;
|
|
2670
|
+
color: string;
|
|
2671
|
+
}
|
|
2672
|
+
interface ChartLegendProps {
|
|
2673
|
+
/** Legend items with label and color */
|
|
2674
|
+
items: ChartLegendItem[];
|
|
2675
|
+
/** Additional CSS classes */
|
|
2676
|
+
className?: string;
|
|
2677
|
+
/** Layout direction */
|
|
2678
|
+
direction?: 'horizontal' | 'vertical';
|
|
2679
|
+
}
|
|
2680
|
+
declare const ChartLegend: React__default.FC<ChartLegendProps>;
|
|
2681
|
+
|
|
2682
|
+
/**
|
|
2683
|
+
* LineChart Molecule Component
|
|
2684
|
+
*
|
|
2685
|
+
* SVG-based line/area chart for time-series data.
|
|
2686
|
+
* Pure UI molecule with no entity binding.
|
|
2687
|
+
*/
|
|
2688
|
+
|
|
2689
|
+
interface ChartDataPoint$1 {
|
|
2690
|
+
date: string | Date;
|
|
2691
|
+
value: number;
|
|
2692
|
+
label?: string;
|
|
2693
|
+
}
|
|
2694
|
+
interface LineChartProps {
|
|
2695
|
+
/** Data points to plot */
|
|
2696
|
+
data: ChartDataPoint$1[];
|
|
2697
|
+
/** SVG viewBox width */
|
|
2698
|
+
width?: number;
|
|
2699
|
+
/** SVG viewBox height */
|
|
2700
|
+
height?: number;
|
|
2701
|
+
/** Show horizontal grid lines at 25/50/75% */
|
|
2702
|
+
showGrid?: boolean;
|
|
2703
|
+
/** Show value labels near data points */
|
|
2704
|
+
showValues?: boolean;
|
|
2705
|
+
/** Fill area under line with gradient */
|
|
2706
|
+
showArea?: boolean;
|
|
2707
|
+
/** Line stroke color */
|
|
2708
|
+
lineColor?: string;
|
|
2709
|
+
/** Area fill color (used for gradient) */
|
|
2710
|
+
areaColor?: string;
|
|
2711
|
+
/** Additional CSS classes */
|
|
2712
|
+
className?: string;
|
|
2713
|
+
}
|
|
2714
|
+
declare const LineChart: React__default.FC<LineChartProps>;
|
|
2715
|
+
|
|
2716
|
+
/**
|
|
2717
|
+
* ProgressDots Molecule Component
|
|
2718
|
+
*
|
|
2719
|
+
* Step indicator dots for multi-step flows.
|
|
2720
|
+
* Pure UI molecule with no entity binding.
|
|
2721
|
+
*/
|
|
2722
|
+
|
|
2723
|
+
type DotState = 'active' | 'complete' | 'pending';
|
|
2724
|
+
type DotSize = 'sm' | 'md' | 'lg';
|
|
2725
|
+
interface ProgressDotsProps {
|
|
2726
|
+
/** Total number of dots */
|
|
2727
|
+
count: number;
|
|
2728
|
+
/** Current active index (0-based) */
|
|
2729
|
+
currentIndex: number;
|
|
2730
|
+
/** Custom state resolver per dot index */
|
|
2731
|
+
getState?: (index: number) => DotState;
|
|
2732
|
+
/** Callback when a dot is clicked */
|
|
2733
|
+
onDotClick?: (index: number) => void;
|
|
2734
|
+
/** Additional CSS classes */
|
|
2735
|
+
className?: string;
|
|
2736
|
+
/** Dot size */
|
|
2737
|
+
size?: DotSize;
|
|
2738
|
+
}
|
|
2739
|
+
declare const ProgressDots: React__default.FC<ProgressDotsProps>;
|
|
2740
|
+
|
|
2741
|
+
type DPadDirection = 'up' | 'down' | 'left' | 'right';
|
|
2742
|
+
/** Event Contract:
|
|
2743
|
+
* Emits: UI:DIRECTION
|
|
2744
|
+
*/
|
|
2745
|
+
interface DPadProps {
|
|
2746
|
+
/** Called when a direction is pressed/released */
|
|
2747
|
+
onDirection?: (direction: DPadDirection, pressed: boolean) => void;
|
|
2748
|
+
/** Declarative event name emitted on direction press/release via useEventBus */
|
|
2749
|
+
directionEvent?: string;
|
|
2750
|
+
/** Size variant */
|
|
2751
|
+
size?: 'sm' | 'md' | 'lg';
|
|
2752
|
+
/** Whether to include diagonal buttons */
|
|
2753
|
+
includeDiagonals?: boolean;
|
|
2754
|
+
/** Additional CSS classes */
|
|
2755
|
+
className?: string;
|
|
2756
|
+
/** Disabled state */
|
|
2757
|
+
disabled?: boolean;
|
|
2758
|
+
}
|
|
2759
|
+
declare function DPad({ onDirection, directionEvent, size, includeDiagonals, className, disabled, }: DPadProps): react_jsx_runtime.JSX.Element;
|
|
2760
|
+
declare namespace DPad {
|
|
2761
|
+
var displayName: string;
|
|
2762
|
+
}
|
|
2763
|
+
|
|
2764
|
+
interface ActionButtonConfig {
|
|
2765
|
+
/** Unique identifier */
|
|
2766
|
+
id: string;
|
|
2767
|
+
/** Display label */
|
|
2768
|
+
label?: string;
|
|
2769
|
+
/** Icon component or emoji */
|
|
2770
|
+
icon?: React$1.ReactNode;
|
|
2771
|
+
/** Button variant */
|
|
2772
|
+
variant?: 'primary' | 'secondary' | 'ghost' | string;
|
|
2773
|
+
}
|
|
2774
|
+
/** Event Contract:
|
|
2775
|
+
* Emits: UI:ACTION
|
|
2776
|
+
*/
|
|
2777
|
+
interface ActionButtonsProps {
|
|
2778
|
+
/** Button configurations */
|
|
2779
|
+
buttons: ActionButtonConfig[];
|
|
2780
|
+
/** Called when a button is pressed/released */
|
|
2781
|
+
onAction?: (id: string, pressed: boolean) => void;
|
|
2782
|
+
/** Declarative event name emitted on action via useEventBus */
|
|
2783
|
+
actionEvent?: string;
|
|
2784
|
+
/** Layout variant */
|
|
2785
|
+
layout?: 'horizontal' | 'vertical' | 'diamond';
|
|
2786
|
+
/** Size variant */
|
|
2787
|
+
size?: 'sm' | 'md' | 'lg';
|
|
2788
|
+
/** Additional CSS classes */
|
|
2789
|
+
className?: string;
|
|
2790
|
+
/** Disabled state */
|
|
2791
|
+
disabled?: boolean;
|
|
2792
|
+
}
|
|
2793
|
+
declare function ActionButtons({ buttons, onAction, actionEvent, layout, size, className, disabled, }: ActionButtonsProps): react_jsx_runtime.JSX.Element;
|
|
2794
|
+
declare namespace ActionButtons {
|
|
2795
|
+
var displayName: string;
|
|
2796
|
+
}
|
|
2797
|
+
|
|
2798
|
+
interface StatBadgeProps {
|
|
2799
|
+
/** Stat label */
|
|
2800
|
+
label: string;
|
|
2801
|
+
/** Current value (defaults to 0 if not provided) */
|
|
2802
|
+
value?: number | string;
|
|
2803
|
+
/** Maximum value (for bar/hearts format) */
|
|
2804
|
+
max?: number;
|
|
2805
|
+
/** Data source entity name (for schema config) */
|
|
2806
|
+
source?: string;
|
|
2807
|
+
/** Field name in the source (for schema config) */
|
|
2808
|
+
field?: string;
|
|
2809
|
+
/** Display format */
|
|
2810
|
+
format?: 'number' | 'hearts' | 'bar' | 'text' | string;
|
|
2811
|
+
/** Icon component or emoji */
|
|
2812
|
+
icon?: React$1.ReactNode;
|
|
2813
|
+
/** Size variant */
|
|
2814
|
+
size?: 'sm' | 'md' | 'lg' | string;
|
|
2815
|
+
/** Visual variant */
|
|
2816
|
+
variant?: 'default' | 'primary' | 'success' | 'warning' | 'danger' | string;
|
|
2817
|
+
/** Additional CSS classes */
|
|
2818
|
+
className?: string;
|
|
2819
|
+
}
|
|
2820
|
+
declare function StatBadge({ label, value, max, format, icon, size, variant, className, source: _source, field: _field, }: StatBadgeProps): react_jsx_runtime.JSX.Element;
|
|
2821
|
+
declare namespace StatBadge {
|
|
2822
|
+
var displayName: string;
|
|
2823
|
+
}
|
|
2824
|
+
|
|
2825
|
+
/**
|
|
2826
|
+
* GraphView Molecule Component
|
|
2827
|
+
*
|
|
2828
|
+
* Pure presentational force-directed graph visualization using SVG.
|
|
2829
|
+
* Entity-less, no event bus, no translations. Accepts raw nodes and edges.
|
|
2830
|
+
*
|
|
2831
|
+
* Uses a simple force simulation (repulsion + attraction + centering)
|
|
2832
|
+
* to lay out nodes, then renders via SVG circles and lines.
|
|
2833
|
+
*/
|
|
2834
|
+
|
|
2835
|
+
interface GraphViewNode {
|
|
2836
|
+
id: string;
|
|
2837
|
+
label?: string;
|
|
2838
|
+
color?: string;
|
|
2839
|
+
size?: number;
|
|
2840
|
+
group?: string;
|
|
2841
|
+
}
|
|
2842
|
+
interface GraphViewEdge {
|
|
2843
|
+
source: string;
|
|
2844
|
+
target: string;
|
|
2845
|
+
color?: string;
|
|
2846
|
+
label?: string;
|
|
2847
|
+
}
|
|
2848
|
+
interface GraphViewProps {
|
|
2849
|
+
/** Graph nodes */
|
|
2850
|
+
nodes: GraphViewNode[];
|
|
2851
|
+
/** Graph edges */
|
|
2852
|
+
edges: GraphViewEdge[];
|
|
2853
|
+
/** Callback when a node is clicked */
|
|
2854
|
+
onNodeClick?: (node: GraphViewNode) => void;
|
|
2855
|
+
/** Callback when a node is hovered (null on leave) */
|
|
2856
|
+
onNodeHover?: (node: GraphViewNode | null) => void;
|
|
2857
|
+
/** Width in pixels */
|
|
2858
|
+
width?: number;
|
|
2859
|
+
/** Height in pixels */
|
|
2860
|
+
height?: number;
|
|
2861
|
+
/** Additional CSS classes */
|
|
2862
|
+
className?: string;
|
|
2863
|
+
/** Show node labels (default true) */
|
|
2864
|
+
showLabels?: boolean;
|
|
2865
|
+
/** Auto zoom-to-fit after layout settles (default true) */
|
|
2866
|
+
zoomToFit?: boolean;
|
|
2867
|
+
}
|
|
2868
|
+
declare const GraphView: React__default.FC<GraphViewProps>;
|
|
2869
|
+
|
|
2870
|
+
interface MapMarkerData {
|
|
2871
|
+
/** Unique marker identifier */
|
|
2872
|
+
id: string | number;
|
|
2873
|
+
/** Latitude */
|
|
2874
|
+
lat: number;
|
|
2875
|
+
/** Longitude */
|
|
2876
|
+
lng: number;
|
|
2877
|
+
/** Label shown in popup */
|
|
2878
|
+
label?: string;
|
|
2879
|
+
/** Optional category for styling */
|
|
2880
|
+
category?: string;
|
|
2881
|
+
}
|
|
2882
|
+
interface MapViewProps {
|
|
2883
|
+
/** Array of markers to display */
|
|
2884
|
+
markers?: MapMarkerData[];
|
|
2885
|
+
/** Map center latitude */
|
|
2886
|
+
centerLat?: number;
|
|
2887
|
+
/** Map center longitude */
|
|
2888
|
+
centerLng?: number;
|
|
2889
|
+
/** Zoom level (1-18, default 13) */
|
|
2890
|
+
zoom?: number;
|
|
2891
|
+
/** Height of the map container (default "400px") */
|
|
2892
|
+
height?: string;
|
|
2893
|
+
/** Callback when a marker is clicked (programmatic use) */
|
|
2894
|
+
onMarkerClick?: (marker: MapMarkerData) => void;
|
|
2895
|
+
/** Callback when the map is clicked (programmatic use) */
|
|
2896
|
+
onMapClick?: (lat: number, lng: number) => void;
|
|
2897
|
+
/** Event name dispatched via event bus when the map is clicked. Payload: { latitude, longitude } */
|
|
2898
|
+
mapClickEvent?: string;
|
|
2899
|
+
/** Event name dispatched via event bus when a marker is clicked. Payload: marker data */
|
|
2900
|
+
markerClickEvent?: string;
|
|
2901
|
+
/** Whether to show a pin at the clicked location */
|
|
2902
|
+
showClickedPin?: boolean;
|
|
2903
|
+
/** Additional CSS classes */
|
|
2904
|
+
className?: string;
|
|
2905
|
+
/** Show attribution (default true) */
|
|
2906
|
+
showAttribution?: boolean;
|
|
2907
|
+
}
|
|
2908
|
+
declare function MapView({ markers, centerLat, centerLng, zoom, height, onMarkerClick, onMapClick, mapClickEvent, markerClickEvent, showClickedPin, className, showAttribution, }: MapViewProps): react_jsx_runtime.JSX.Element;
|
|
2909
|
+
|
|
2910
|
+
/**
|
|
2911
|
+
* DataGrid Molecule
|
|
2912
|
+
*
|
|
2913
|
+
* A simplified, schema-driven card grid for iterating over entity data.
|
|
2914
|
+
* Extracted from the CardGrid organism with all complexity removed:
|
|
2915
|
+
* no built-in search, sort, filter, pagination, selection, or bulk actions.
|
|
2916
|
+
*
|
|
2917
|
+
* Accepts `fields` config for per-field rendering control (icon, variant, format)
|
|
2918
|
+
* and `itemActions` for per-item event bus wiring.
|
|
2919
|
+
*
|
|
2920
|
+
* Uses atoms only internally: Box, VStack, HStack, Typography, Badge, Button, Icon.
|
|
2921
|
+
*/
|
|
2922
|
+
|
|
2923
|
+
interface DataGridField {
|
|
2924
|
+
/** Entity field name (dot-notation supported) */
|
|
2925
|
+
name: string;
|
|
2926
|
+
/** Display label (auto-generated from name if omitted) */
|
|
2927
|
+
label?: string;
|
|
2928
|
+
/** Lucide icon name to show beside the field */
|
|
2929
|
+
icon?: string;
|
|
2930
|
+
/** Rendering variant: 'h3' for title, 'body' for text, 'caption' for small,
|
|
2931
|
+
* 'badge' for status badge, 'progress' for progress display */
|
|
2932
|
+
variant?: 'h3' | 'h4' | 'body' | 'caption' | 'badge' | 'small' | 'progress';
|
|
2933
|
+
/** Optional format function name: 'date', 'currency', 'number', 'boolean' */
|
|
2934
|
+
format?: 'date' | 'currency' | 'number' | 'boolean' | 'percent';
|
|
2935
|
+
}
|
|
2936
|
+
interface DataGridItemAction {
|
|
2937
|
+
/** Button label */
|
|
2938
|
+
label: string;
|
|
2939
|
+
/** Event name to emit (dispatched as UI:{event} with { row: itemData }) */
|
|
2940
|
+
event: string;
|
|
2941
|
+
/** Lucide icon name */
|
|
2942
|
+
icon?: string;
|
|
2943
|
+
/** Button variant */
|
|
2944
|
+
variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
|
|
2945
|
+
}
|
|
2946
|
+
interface DataGridProps {
|
|
2947
|
+
/** Entity data array */
|
|
2948
|
+
entity?: unknown | readonly unknown[];
|
|
2949
|
+
/** Field definitions for rendering each card */
|
|
2950
|
+
fields?: readonly DataGridField[];
|
|
2951
|
+
/** Alias for fields (compiler generates `columns` for field definitions) */
|
|
2952
|
+
columns?: readonly DataGridField[];
|
|
2953
|
+
/** Per-item action buttons */
|
|
2954
|
+
itemActions?: readonly DataGridItemAction[];
|
|
2955
|
+
/** Number of columns (uses auto-fit if omitted) */
|
|
2956
|
+
cols?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
2957
|
+
/** Gap between cards */
|
|
2958
|
+
gap?: 'none' | 'sm' | 'md' | 'lg' | 'xl';
|
|
2959
|
+
/** Minimum card width in pixels (used when cols is not set, default 280) */
|
|
2960
|
+
minCardWidth?: number;
|
|
2961
|
+
/** Additional CSS classes */
|
|
2962
|
+
className?: string;
|
|
2963
|
+
/** Loading state */
|
|
2964
|
+
isLoading?: boolean;
|
|
2965
|
+
/** Error state */
|
|
2966
|
+
error?: Error | null;
|
|
2967
|
+
/** Entity field name containing an image URL for card thumbnails */
|
|
2968
|
+
imageField?: string;
|
|
2969
|
+
}
|
|
2970
|
+
declare const DataGrid: React__default.FC<DataGridProps>;
|
|
2971
|
+
|
|
2972
|
+
/**
|
|
2973
|
+
* DataList Molecule
|
|
2974
|
+
*
|
|
2975
|
+
* A simplified, schema-driven list for iterating over entity data.
|
|
2976
|
+
* Extracted from the List organism with all complexity removed:
|
|
2977
|
+
* no built-in search, sort, filter, selection, bulk actions, or custom renderers.
|
|
2978
|
+
*
|
|
2979
|
+
* Accepts `fields` config for per-field rendering control (icon, variant, format)
|
|
2980
|
+
* and `itemActions` for per-item event bus wiring.
|
|
2981
|
+
*
|
|
2982
|
+
* Uses atoms only internally: Box, VStack, HStack, Typography, Badge, Button, Icon.
|
|
2983
|
+
*/
|
|
2984
|
+
|
|
2985
|
+
interface DataListField {
|
|
2986
|
+
/** Entity field name (dot-notation supported) */
|
|
2987
|
+
name: string;
|
|
2988
|
+
/** Display label (auto-generated from name if omitted) */
|
|
2989
|
+
label?: string;
|
|
2990
|
+
/** Lucide icon name to show beside the field */
|
|
2991
|
+
icon?: string;
|
|
2992
|
+
/** Rendering variant: 'h3'/'h4' for title, 'body' for text, 'caption' for small,
|
|
2993
|
+
* 'badge' for status badge, 'progress' for progress bar */
|
|
2994
|
+
variant?: 'h3' | 'h4' | 'body' | 'caption' | 'badge' | 'small' | 'progress';
|
|
2995
|
+
/** Optional format: 'date', 'currency', 'number', 'boolean', 'percent' */
|
|
2996
|
+
format?: 'date' | 'currency' | 'number' | 'boolean' | 'percent';
|
|
2997
|
+
}
|
|
2998
|
+
interface DataListItemAction {
|
|
2999
|
+
/** Button label */
|
|
3000
|
+
label: string;
|
|
3001
|
+
/** Event name to emit (dispatched as UI:{event} with { row: itemData }) */
|
|
3002
|
+
event: string;
|
|
3003
|
+
/** Lucide icon name */
|
|
3004
|
+
icon?: string;
|
|
3005
|
+
/** Button variant */
|
|
3006
|
+
variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
|
|
3007
|
+
}
|
|
3008
|
+
interface DataListProps {
|
|
3009
|
+
/** Entity data array */
|
|
3010
|
+
entity?: unknown | readonly unknown[];
|
|
3011
|
+
/** Field definitions for rendering each row */
|
|
3012
|
+
fields?: readonly DataListField[];
|
|
3013
|
+
/** Alias for fields (compiler may generate `columns` for field definitions) */
|
|
3014
|
+
columns?: readonly DataListField[];
|
|
3015
|
+
/** Per-item action buttons */
|
|
3016
|
+
itemActions?: readonly DataListItemAction[];
|
|
3017
|
+
/** Gap between rows */
|
|
3018
|
+
gap?: 'none' | 'sm' | 'md' | 'lg';
|
|
3019
|
+
/** Visual variant */
|
|
3020
|
+
variant?: 'default' | 'card' | 'compact';
|
|
3021
|
+
/** Additional CSS classes */
|
|
3022
|
+
className?: string;
|
|
3023
|
+
/** Loading state */
|
|
3024
|
+
isLoading?: boolean;
|
|
3025
|
+
/** Error state */
|
|
3026
|
+
error?: Error | null;
|
|
3027
|
+
}
|
|
3028
|
+
declare const DataList: React__default.FC<DataListProps>;
|
|
3029
|
+
|
|
2518
3030
|
/**
|
|
2519
3031
|
* Shared types for entity-display organisms.
|
|
2520
3032
|
*
|
|
@@ -2582,6 +3094,10 @@ interface EntityDisplayProps<T = unknown> {
|
|
|
2582
3094
|
interface Column<T> {
|
|
2583
3095
|
key: keyof T | string;
|
|
2584
3096
|
header: string;
|
|
3097
|
+
/** Alias for key (used by compiler-generated fields) */
|
|
3098
|
+
name?: string;
|
|
3099
|
+
/** Alias for header (used by compiler-generated fields) */
|
|
3100
|
+
label?: string;
|
|
2585
3101
|
width?: string;
|
|
2586
3102
|
sortable?: boolean;
|
|
2587
3103
|
render?: (value: unknown, row: T, index: number) => React__default.ReactNode;
|
|
@@ -2598,7 +3114,7 @@ interface DataTableProps<T extends {
|
|
|
2598
3114
|
id: string | number;
|
|
2599
3115
|
}> extends EntityDisplayProps<T> {
|
|
2600
3116
|
/** Fields to display - accepts string[] or Column[] for unified interface. Alias for columns */
|
|
2601
|
-
fields
|
|
3117
|
+
fields: readonly Column<T>[] | readonly string[];
|
|
2602
3118
|
/** Columns can be Column objects or simple string field names */
|
|
2603
3119
|
columns?: readonly Column<T>[] | readonly string[];
|
|
2604
3120
|
/** Item actions from generated code - maps to rowActions */
|
|
@@ -2673,8 +3189,8 @@ interface StatCardProps extends EntityDisplayProps {
|
|
|
2673
3189
|
trendDirection?: "up" | "down" | "neutral";
|
|
2674
3190
|
/** Whether up is good (green) or bad (red) */
|
|
2675
3191
|
invertTrend?: boolean;
|
|
2676
|
-
/** Icon to display */
|
|
2677
|
-
icon?: LucideIcon;
|
|
3192
|
+
/** Icon to display (Lucide component or icon name string) */
|
|
3193
|
+
icon?: LucideIcon | string;
|
|
2678
3194
|
/** Icon background color */
|
|
2679
3195
|
iconBg?: string;
|
|
2680
3196
|
/** Icon color */
|
|
@@ -2790,11 +3306,14 @@ interface DetailPanelAction {
|
|
|
2790
3306
|
variant?: "primary" | "secondary" | "ghost" | "danger";
|
|
2791
3307
|
}
|
|
2792
3308
|
/**
|
|
2793
|
-
* Field definition for unified interface - can be a simple string or object
|
|
3309
|
+
* Field definition for unified interface - can be a simple string, key/header object, or typed object
|
|
2794
3310
|
*/
|
|
2795
3311
|
type FieldDef$2 = string | {
|
|
2796
3312
|
key: string;
|
|
2797
3313
|
header?: string;
|
|
3314
|
+
} | {
|
|
3315
|
+
name: string;
|
|
3316
|
+
type: string;
|
|
2798
3317
|
};
|
|
2799
3318
|
interface DetailPanelProps extends EntityDisplayProps {
|
|
2800
3319
|
title?: string;
|
|
@@ -2810,7 +3329,7 @@ interface DetailPanelProps extends EntityDisplayProps {
|
|
|
2810
3329
|
footer?: React__default.ReactNode;
|
|
2811
3330
|
slideOver?: boolean;
|
|
2812
3331
|
/** Fields to display - accepts string[], {key, header}[], or DetailField[] */
|
|
2813
|
-
fields
|
|
3332
|
+
fields: readonly (FieldDef$2 | DetailField)[];
|
|
2814
3333
|
/** Alias for fields - backwards compatibility */
|
|
2815
3334
|
fieldNames?: readonly string[];
|
|
2816
3335
|
/** Initial data for edit mode (passed by compiler) */
|
|
@@ -3006,7 +3525,7 @@ interface FormProps extends Omit<React__default.FormHTMLAttributes<HTMLFormEleme
|
|
|
3006
3525
|
/** Form mode - 'create' for new records, 'edit' for updating existing */
|
|
3007
3526
|
mode?: "create" | "edit";
|
|
3008
3527
|
/** Fields definition (schema format) - accepts readonly for generated const arrays */
|
|
3009
|
-
fields
|
|
3528
|
+
fields: readonly Readonly<SchemaField>[];
|
|
3010
3529
|
/** Initial form data */
|
|
3011
3530
|
initialData?: Record<string, unknown> | unknown;
|
|
3012
3531
|
/** Loading state */
|
|
@@ -3025,6 +3544,8 @@ interface FormProps extends Omit<React__default.FormHTMLAttributes<HTMLFormEleme
|
|
|
3025
3544
|
submitEvent?: string;
|
|
3026
3545
|
/** Event to dispatch on cancel (defaults to 'CANCEL') */
|
|
3027
3546
|
cancelEvent?: string;
|
|
3547
|
+
/** Entity ID binding for edit mode (triggers initialData from selectedEntity in compiled code) */
|
|
3548
|
+
entityId?: string;
|
|
3028
3549
|
/** Data for relation fields: { fieldName: RelationOption[] } */
|
|
3029
3550
|
relationsData?: Record<string, readonly RelationOption[]>;
|
|
3030
3551
|
/** Loading state for relation data: { fieldName: boolean } */
|
|
@@ -3516,11 +4037,13 @@ interface SchemaItemAction {
|
|
|
3516
4037
|
onClick?: (row: unknown) => void;
|
|
3517
4038
|
}
|
|
3518
4039
|
/**
|
|
3519
|
-
* Field definition - can be a simple string or object with key/header
|
|
4040
|
+
* Field definition - can be a simple string or object with key/header or name/label
|
|
3520
4041
|
*/
|
|
3521
4042
|
type FieldDef$1 = string | {
|
|
3522
|
-
key
|
|
4043
|
+
key?: string;
|
|
3523
4044
|
header?: string;
|
|
4045
|
+
name?: string;
|
|
4046
|
+
label?: string;
|
|
3524
4047
|
};
|
|
3525
4048
|
interface ListProps extends EntityDisplayProps {
|
|
3526
4049
|
/** Entity type name for display */
|
|
@@ -3534,7 +4057,7 @@ interface ListProps extends EntityDisplayProps {
|
|
|
3534
4057
|
renderItem?: (item: ListItem, index: number) => React__default.ReactNode;
|
|
3535
4058
|
children?: React__default.ReactNode;
|
|
3536
4059
|
/** Fields to display - accepts string[] or {key, header}[] for unified interface */
|
|
3537
|
-
fields
|
|
4060
|
+
fields: readonly FieldDef$1[];
|
|
3538
4061
|
/** Alias for fields - backwards compatibility */
|
|
3539
4062
|
fieldNames?: readonly string[];
|
|
3540
4063
|
}
|
|
@@ -3547,7 +4070,7 @@ declare const List: React__default.FC<ListProps>;
|
|
|
3547
4070
|
* Uses CSS Grid auto-fit for automatic responsive columns.
|
|
3548
4071
|
*
|
|
3549
4072
|
* Data comes exclusively from the `entity` prop (injected by the runtime).
|
|
3550
|
-
* All user interactions emit events via useEventBus
|
|
4073
|
+
* All user interactions emit events via useEventBus. Never manages internal state
|
|
3551
4074
|
* for pagination, filtering, or search. All state is owned by the trait state machine.
|
|
3552
4075
|
*/
|
|
3553
4076
|
|
|
@@ -3572,11 +4095,13 @@ interface CardItemAction {
|
|
|
3572
4095
|
variant?: 'primary' | 'secondary' | 'ghost' | 'danger' | string;
|
|
3573
4096
|
}
|
|
3574
4097
|
/**
|
|
3575
|
-
* Field definition - can be a simple string or object with key/header
|
|
4098
|
+
* Field definition - can be a simple string or object with key/header or name/label
|
|
3576
4099
|
*/
|
|
3577
4100
|
type FieldDef = string | {
|
|
3578
|
-
key
|
|
4101
|
+
key?: string;
|
|
3579
4102
|
header?: string;
|
|
4103
|
+
name?: string;
|
|
4104
|
+
label?: string;
|
|
3580
4105
|
};
|
|
3581
4106
|
interface CardGridProps extends EntityDisplayProps {
|
|
3582
4107
|
/** Minimum width of each card (default: 280px) */
|
|
@@ -3589,8 +4114,8 @@ interface CardGridProps extends EntityDisplayProps {
|
|
|
3589
4114
|
alignItems?: 'start' | 'center' | 'end' | 'stretch';
|
|
3590
4115
|
/** Children elements (cards) - optional when using entity prop */
|
|
3591
4116
|
children?: React__default.ReactNode;
|
|
3592
|
-
/** Fields to display -
|
|
3593
|
-
fields
|
|
4117
|
+
/** Fields to display - required for schema-driven rendering */
|
|
4118
|
+
fields: readonly FieldDef[];
|
|
3594
4119
|
/** Alias for fields - backwards compatibility */
|
|
3595
4120
|
fieldNames?: readonly string[];
|
|
3596
4121
|
/** Alias for fields - backwards compatibility */
|
|
@@ -3603,13 +4128,15 @@ interface CardGridProps extends EntityDisplayProps {
|
|
|
3603
4128
|
showAvatar?: boolean;
|
|
3604
4129
|
/** Visual variant for the card grid */
|
|
3605
4130
|
variant?: string;
|
|
4131
|
+
/** Entity field name containing an image URL to display as card thumbnail */
|
|
4132
|
+
imageField?: string;
|
|
3606
4133
|
}
|
|
3607
4134
|
/**
|
|
3608
4135
|
* CardGrid - Responsive card collection layout
|
|
3609
4136
|
*
|
|
3610
4137
|
* Can be used in two ways:
|
|
3611
4138
|
* 1. With children: <CardGrid><Card>...</Card></CardGrid>
|
|
3612
|
-
* 2. With entity data: <CardGrid entity={tasks}
|
|
4139
|
+
* 2. With entity data: <CardGrid entity={tasks} fields={['title', 'status']} />
|
|
3613
4140
|
*
|
|
3614
4141
|
* All data comes from the `entity` prop. Pagination display hints come from
|
|
3615
4142
|
* `page`, `pageSize`, and `totalCount` props (set by the trait via render-ui).
|
|
@@ -3633,7 +4160,7 @@ interface MasterDetailProps<T extends {
|
|
|
3633
4160
|
id: string | number;
|
|
3634
4161
|
}> extends EntityDisplayProps<T> {
|
|
3635
4162
|
/** Fields to show in the master list (maps to DataTable columns) */
|
|
3636
|
-
masterFields
|
|
4163
|
+
masterFields: readonly string[];
|
|
3637
4164
|
/** Fields for detail view (passed through but typically handled by separate render_ui) */
|
|
3638
4165
|
detailFields?: readonly string[];
|
|
3639
4166
|
/** Loading state (alias for isLoading) */
|
|
@@ -4496,6 +5023,53 @@ declare namespace IsometricCanvas {
|
|
|
4496
5023
|
var displayName: string;
|
|
4497
5024
|
}
|
|
4498
5025
|
|
|
5026
|
+
interface PlatformerPlatform {
|
|
5027
|
+
x: number;
|
|
5028
|
+
y: number;
|
|
5029
|
+
width: number;
|
|
5030
|
+
height: number;
|
|
5031
|
+
type?: 'ground' | 'platform' | 'hazard' | 'goal';
|
|
5032
|
+
}
|
|
5033
|
+
interface PlatformerPlayer {
|
|
5034
|
+
x: number;
|
|
5035
|
+
y: number;
|
|
5036
|
+
width?: number;
|
|
5037
|
+
height?: number;
|
|
5038
|
+
vx?: number;
|
|
5039
|
+
vy?: number;
|
|
5040
|
+
grounded?: boolean;
|
|
5041
|
+
facingRight?: boolean;
|
|
5042
|
+
}
|
|
5043
|
+
interface PlatformerCanvasProps {
|
|
5044
|
+
/** Player entity data */
|
|
5045
|
+
player?: PlatformerPlayer;
|
|
5046
|
+
/** Static platforms / level geometry */
|
|
5047
|
+
platforms?: readonly PlatformerPlatform[];
|
|
5048
|
+
/** World dimensions */
|
|
5049
|
+
worldWidth?: number;
|
|
5050
|
+
worldHeight?: number;
|
|
5051
|
+
/** Canvas display size */
|
|
5052
|
+
canvasWidth?: number;
|
|
5053
|
+
canvasHeight?: number;
|
|
5054
|
+
/** Camera follows player */
|
|
5055
|
+
followCamera?: boolean;
|
|
5056
|
+
/** Background color */
|
|
5057
|
+
bgColor?: string;
|
|
5058
|
+
/** Event names for keyboard controls */
|
|
5059
|
+
leftEvent?: string;
|
|
5060
|
+
rightEvent?: string;
|
|
5061
|
+
jumpEvent?: string;
|
|
5062
|
+
stopEvent?: string;
|
|
5063
|
+
/** Additional CSS classes */
|
|
5064
|
+
className?: string;
|
|
5065
|
+
/** Entity data (schema binding) */
|
|
5066
|
+
entity?: Record<string, unknown>;
|
|
5067
|
+
}
|
|
5068
|
+
declare function PlatformerCanvas({ player, platforms, worldWidth, worldHeight, canvasWidth, canvasHeight, followCamera, bgColor, leftEvent, rightEvent, jumpEvent, stopEvent, className, entity, }: PlatformerCanvasProps): react_jsx_runtime.JSX.Element;
|
|
5069
|
+
declare namespace PlatformerCanvas {
|
|
5070
|
+
var displayName: string;
|
|
5071
|
+
}
|
|
5072
|
+
|
|
4499
5073
|
/**
|
|
4500
5074
|
* Combat action types that map to effect compositions.
|
|
4501
5075
|
* Superset of trait-wars types + almadar-ui originals.
|
|
@@ -5108,29 +5682,6 @@ declare const SHEET_COLUMNS = 8;
|
|
|
5108
5682
|
*/
|
|
5109
5683
|
declare const SPRITE_SHEET_LAYOUT: Record<AnimationName, AnimationDef>;
|
|
5110
5684
|
|
|
5111
|
-
interface StatBadgeProps {
|
|
5112
|
-
/** Stat label */
|
|
5113
|
-
label: string;
|
|
5114
|
-
/** Current value (defaults to 0 if not provided) */
|
|
5115
|
-
value?: number | string;
|
|
5116
|
-
/** Maximum value (for bar/hearts format) */
|
|
5117
|
-
max?: number;
|
|
5118
|
-
/** Data source entity name (for schema config) */
|
|
5119
|
-
source?: string;
|
|
5120
|
-
/** Field name in the source (for schema config) */
|
|
5121
|
-
field?: string;
|
|
5122
|
-
/** Display format */
|
|
5123
|
-
format?: 'number' | 'hearts' | 'bar' | 'text' | string;
|
|
5124
|
-
/** Icon component or emoji */
|
|
5125
|
-
icon?: React$1.ReactNode;
|
|
5126
|
-
/** Size variant */
|
|
5127
|
-
size?: 'sm' | 'md' | 'lg' | string;
|
|
5128
|
-
/** Visual variant */
|
|
5129
|
-
variant?: 'default' | 'primary' | 'success' | 'warning' | 'danger' | string;
|
|
5130
|
-
/** Additional CSS classes */
|
|
5131
|
-
className?: string;
|
|
5132
|
-
}
|
|
5133
|
-
|
|
5134
5685
|
interface GameHudStat extends Omit<StatBadgeProps, "size"> {
|
|
5135
5686
|
/** Data source entity name */
|
|
5136
5687
|
source?: string;
|
|
@@ -5142,10 +5693,18 @@ interface GameHudStat extends Omit<StatBadgeProps, "size"> {
|
|
|
5142
5693
|
* Used when elements are passed from schema render_ui effects.
|
|
5143
5694
|
*/
|
|
5144
5695
|
interface GameHudElement {
|
|
5145
|
-
type
|
|
5696
|
+
type?: string;
|
|
5146
5697
|
bind?: string;
|
|
5147
5698
|
position?: string;
|
|
5148
5699
|
label?: string;
|
|
5700
|
+
/** Direct value (from compiled render-ui effects) */
|
|
5701
|
+
value?: number | string;
|
|
5702
|
+
/** Icon name or node */
|
|
5703
|
+
icon?: React$1.ReactNode;
|
|
5704
|
+
/** Display format */
|
|
5705
|
+
format?: string;
|
|
5706
|
+
/** Max value (for bars/hearts) */
|
|
5707
|
+
max?: number;
|
|
5149
5708
|
}
|
|
5150
5709
|
interface GameHudProps {
|
|
5151
5710
|
/** Position of the HUD */
|
|
@@ -7380,6 +7939,22 @@ interface ToastSlotProps {
|
|
|
7380
7939
|
*/
|
|
7381
7940
|
declare const ToastSlot: React__default.FC<ToastSlotProps>;
|
|
7382
7941
|
|
|
7942
|
+
/**
|
|
7943
|
+
* NotifyListener Component
|
|
7944
|
+
*
|
|
7945
|
+
* Listens for UI:NOTIFY events on the event bus and renders toast notifications.
|
|
7946
|
+
* Mount once at the app root level (inside EventBusProvider).
|
|
7947
|
+
*
|
|
7948
|
+
* The compiler transpiles `notify("message", severity)` effects into
|
|
7949
|
+
* `eventBus.emit('UI:NOTIFY', { message, severity })` calls.
|
|
7950
|
+
* This component picks those up and renders them as Toast overlays.
|
|
7951
|
+
*/
|
|
7952
|
+
|
|
7953
|
+
declare function NotifyListener(): React__default.ReactElement | null;
|
|
7954
|
+
declare namespace NotifyListener {
|
|
7955
|
+
var displayName: string;
|
|
7956
|
+
}
|
|
7957
|
+
|
|
7383
7958
|
/**
|
|
7384
7959
|
* Chart Organism Component
|
|
7385
7960
|
*
|
|
@@ -7541,7 +8116,7 @@ interface TimelineProps extends EntityDisplayProps<TimelineItem> {
|
|
|
7541
8116
|
/** Timeline items */
|
|
7542
8117
|
items?: readonly TimelineItem[];
|
|
7543
8118
|
/** Fields to display */
|
|
7544
|
-
fields
|
|
8119
|
+
fields: readonly string[];
|
|
7545
8120
|
/** Actions per item */
|
|
7546
8121
|
itemActions?: readonly TimelineAction[];
|
|
7547
8122
|
}
|
|
@@ -8128,4 +8703,4 @@ declare namespace WorldMapTemplate {
|
|
|
8128
8703
|
var displayName: string;
|
|
8129
8704
|
}
|
|
8130
8705
|
|
|
8131
|
-
export { ALL_PRESETS, AR_BOOK_FIELDS, Accordion, type AccordionItem, type AccordionProps, Card as ActionCard, type CardProps as ActionCardProps, ActionPalette, type ActionPaletteProps, ActionTile, type ActionTileProps, Alert, type AlertProps, type AlertVariant, type AnimationDef, type AnimationName, type AudioManifest, AuthLayout, type AuthLayoutProps, Avatar, type AvatarProps, type AvatarSize, type AvatarStatus, Badge, type BadgeProps, type BadgeVariant, BattleBoard, type BattleBoardProps, type BattleEntity, type BattlePhase, type BattleSlotContext, type BattleStateCallbacks, type BattleStateEventConfig, type BattleStateResult, BattleTemplate, type BattleTemplateProps, type BattleTile, type BattleUnit, type BoardTile, type BookChapter, BookChapterView, type BookChapterViewProps, BookCoverPage, type BookCoverPageProps, type BookData, type BookFieldMap, BookNavBar, type BookNavBarProps, type BookPart, BookTableOfContents, type BookTableOfContentsProps, BookViewer, type BookViewerProps, Box, type BoxBg, type BoxMargin, type BoxPadding, type BoxProps, type BoxRounded, type BoxShadow, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, BuilderBoard, type BuilderBoardProps, type BuilderComponent, type BuilderPuzzleEntity, type BuilderSlot, 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, ClassifierBoard, type ClassifierBoardProps, type ClassifierCategory, type ClassifierItem, type ClassifierPuzzleEntity, CodeBlock, type CodeBlockProps, CodeView, type CodeViewProps, CodeViewer, type CodeViewerMode, type CodeViewerProps, CollapsibleSection, type CollapsibleSectionProps, type Column, type CombatActionType, type CombatEffect, type CombatEvent, type CombatEventData, type CombatEventType, CombatLog, type CombatLogEventType, type CombatLogProps, type ConditionalContext, ConditionalWrapper, type ConditionalWrapperProps, ConfirmDialog, type ConfirmDialogProps, type ConfirmDialogVariant, Container, type ContainerProps, ContentRenderer, type ContentRendererProps, ControlButton, type ControlButtonProps, type CounterSize, CounterTemplate, type CounterTemplateProps, type CounterVariant, DIAMOND_TOP_Y, type DamageResult, DashboardGrid, type DashboardGridCell, type DashboardGridProps, DashboardLayout, type DashboardLayoutProps, DataTable, type DataTableProps, DebuggerBoard, type DebuggerBoardProps, type DebuggerLine, type DebuggerPuzzleEntity, 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, StateMachineView as DomStateMachineVisualizer, 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, EntityDisplayEvents, type EntityDisplayProps, ErrorBoundary, type ErrorBoundaryProps, ErrorState, type ErrorStateProps, EventBusContextType, EventHandlerBoard, type EventHandlerBoardProps, type EventHandlerPuzzleEntity, EventLog, type EventLogEntry, type EventLogProps, FEATURE_COLORS, FEATURE_TYPES, FLOOR_HEIGHT, type FacingDirection, type FilterDefinition, FilterGroup, type FilterGroupProps, type FilterPayload, 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, type GameAction, GameAudioContext, type GameAudioContextValue, type GameAudioControls, GameAudioProvider, type GameAudioProviderProps, GameAudioToggle, type GameAudioToggleProps, GameHud, type GameHudElement, type GameHudProps, type GameHudStat, GameMenu, type GameMenuProps, type GameOverAction, GameOverScreen, type GameOverScreenProps, type GameOverStat, type GamePhase, GameShell, type GameShellProps, type GameState, GameTemplate, type GameTemplateProps, type GameUnit, 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, IDENTITY_BOOK_FIELDS, Icon, type IconAnimation, type IconProps, type IconSize, Input, InputGroup, type InputGroupProps, type InputProps, type InventoryItem, InventoryPanel, type InventoryPanelProps, IsometricCanvas, type IsometricCanvasProps, IsometricFeature, IsometricTile, IsometricUnit, JazariStateMachine, type JazariStateMachineProps, Label, type LabelProps, type LawReference, LawReferenceTooltip, type LawReferenceTooltipProps, List, type ListItem, type ListProps, LoadingState, type LoadingStateProps, type MapHero, type MapHex, MarkdownContent, type MarkdownContentProps, MasterDetail, type MasterDetailProps, type MeasurementPoint, 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, type NegotiatorAction, NegotiatorBoard, type NegotiatorBoardProps, type NegotiatorPuzzleEntity, ObjectRulePanel, type ObjectRulePanelProps, StateMachineView as OrbitalStateMachineView, OrbitalVisualization, type OrbitalVisualizationProps, Overlay, type OverlayProps, type PageBreadcrumb, PageHeader, type PageHeaderProps, type PaginatePayload, Pagination, type PaginationProps, type PayoffEntry, type Physics2DState, type PhysicsBody, type PhysicsBounds, type PhysicsConfig, type PhysicsConstraint, PhysicsManager, type PhysicsPreset, Popover, type PopoverProps, type Position, ProgressBar, type ProgressBarColor, type ProgressBarProps, type ProgressBarVariant, type PuzzleObjectDef, QuizBlock, type QuizBlockProps, Radio, type RadioProps, type RelationOption, RelationSelect, type RelationSelectProps, RepeatableFormSection, type RepeatableFormSectionProps, type RepeatableItem, type ResolvedFrame, type RowAction, type RuleDefinition, RuleEditor, type RuleEditorProps, SHEET_COLUMNS, SPRITE_SHEET_LAYOUT, ScaledDiagram, type ScaledDiagramProps, ScoreDisplay, type ScoreDisplayProps, SearchInput, type SearchInputProps, type SearchPayload, Section, type SectionProps, Select, type SelectOption, type SelectPayload, type SelectProps, SequenceBar, type SequenceBarProps, SequencerBoard, type SequencerBoardProps, type SequencerPuzzleEntity, type SheetUrlResolver, SidePanel, type SidePanelProps, Sidebar, type SidebarItem, type SidebarProps, SignaturePad, type SignaturePadProps, SimpleGrid, type SimpleGridProps, SimulationCanvas, type SimulationCanvasProps, SimulationControls, type SimulationControlsProps, SimulationGraph, type SimulationGraphProps, SimulatorBoard, type SimulatorBoardProps, type SimulatorParameter, type SimulatorPuzzleEntity, Skeleton, type SkeletonProps, type SkeletonVariant, SlotContent, SlotContentRenderer, type SlotItemData, type SortDirection, type SortPayload, type SoundEntry, 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, StateArchitectBoard, type StateArchitectBoardProps, type StateArchitectPuzzleEntity, type StateArchitectTransition, StateIndicator, type StateIndicatorProps, StateMachineView, type StateMachineViewProps, StateNode, type StateNodeProps, 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, type TestCase, 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, TransitionArrow, type TransitionArrowProps, type TransitionBundle, Typography, type TypographyProps, type TypographyVariant, UISlot, UISlotComponent, UISlotRenderer, type UISlotRendererProps, UncontrolledBattleBoard, type UncontrolledBattleBoardProps, type UnitAnimationState, type UnitTrait, type UseGameAudioOptions, type UsePhysics2DOptions, type UsePhysics2DReturn, type UseSpriteAnimationsOptions, type UseSpriteAnimationsResult, VStack, type VStackProps, type VariableDef, VariablePanel, type VariablePanelProps, 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, applyTemporaryEffect, calculateAttackTargets, calculateDamage, calculateValidMoves, combatAnimations, combatClasses, combatEffects, createInitialGameState, createUnitAnimationState, drawSprite, generateCombatMessage, getCurrentFrame, inferDirection, isoToScreen, mapBookData, pendulum, projectileMotion, resolveFieldMap, resolveFrame, resolveSheetDirection, screenToIso, springOscillator, tickAnimationState, transitionAnimation, useBattleState, useCamera, useGameAudio, useGameAudioContext, useImageCache, usePhysics2D, useSpriteAnimations };
|
|
8706
|
+
export { ALL_PRESETS, AR_BOOK_FIELDS, Accordion, type AccordionItem, type AccordionProps, type ActionButtonConfig, ActionButtons, type ActionButtonsProps, Card as ActionCard, type CardProps as ActionCardProps, ActionPalette, type ActionPaletteProps, ActionTile, type ActionTileProps, Alert, type AlertProps, type AlertVariant, type AnimationDef, type AnimationName, type AudioManifest, AuthLayout, type AuthLayoutProps, Avatar, type AvatarProps, type AvatarSize, type AvatarStatus, Badge, type BadgeProps, type BadgeVariant, BattleBoard, type BattleBoardProps, type BattleEntity, type BattlePhase, type BattleSlotContext, type BattleStateCallbacks, type BattleStateEventConfig, type BattleStateResult, BattleTemplate, type BattleTemplateProps, type BattleTile, type BattleUnit, type BoardTile, type BookChapter, BookChapterView, type BookChapterViewProps, BookCoverPage, type BookCoverPageProps, type BookData, type BookFieldMap, BookNavBar, type BookNavBarProps, type BookPart, BookTableOfContents, type BookTableOfContentsProps, BookViewer, type BookViewerProps, Box, type BoxBg, type BoxMargin, type BoxPadding, type BoxProps, type BoxRounded, type BoxShadow, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, BuilderBoard, type BuilderBoardProps, type BuilderComponent, type BuilderPuzzleEntity, type BuilderSlot, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, type CalendarEvent, CalendarGrid, type CalendarGridProps, 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$1 as ChartDataPoint, ChartLegend, type ChartLegendItem, type ChartLegendProps, type ChartProps, type ChartSeries, type ChartType, Checkbox, type CheckboxProps, ClassifierBoard, type ClassifierBoardProps, type ClassifierCategory, type ClassifierItem, type ClassifierPuzzleEntity, CodeBlock, type CodeBlockProps, CodeView, type CodeViewProps, CodeViewer, type CodeViewerMode, type CodeViewerProps, CollapsibleSection, type CollapsibleSectionProps, type Column, type CombatActionType, type CombatEffect, type CombatEvent, type CombatEventData, type CombatEventType, CombatLog, type CombatLogEventType, type CombatLogProps, type ConditionalContext, ConditionalWrapper, type ConditionalWrapperProps, ConfirmDialog, type ConfirmDialogProps, type ConfirmDialogVariant, Container, type ContainerProps, ContentRenderer, type ContentRendererProps, ControlButton, type ControlButtonProps, type CounterSize, CounterTemplate, type CounterTemplateProps, type CounterVariant, DIAMOND_TOP_Y, DPad, type DPadDirection, type DPadProps, type DamageResult, DashboardGrid, type DashboardGridCell, type DashboardGridProps, DashboardLayout, type DashboardLayoutProps, DataGrid, type DataGridField, type DataGridItemAction, type DataGridProps, DataList, type DataListField, type DataListItemAction, type DataListProps, DataTable, type DataTableProps, DateRangeSelector, type DateRangeSelectorOption, type DateRangeSelectorProps, DayCell, type DayCellProps, DebuggerBoard, type DebuggerBoardProps, type DebuggerLine, type DebuggerPuzzleEntity, 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, StateMachineView as DomStateMachineVisualizer, type DotSize, type DotState, 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, EntityDisplayEvents, type EntityDisplayProps, ErrorBoundary, type ErrorBoundaryProps, ErrorState, type ErrorStateProps, EventBusContextType, EventHandlerBoard, type EventHandlerBoardProps, type EventHandlerPuzzleEntity, EventLog, type EventLogEntry, type EventLogProps, FEATURE_COLORS, FEATURE_TYPES, FLOOR_HEIGHT, type FacingDirection, type FilterDefinition, FilterGroup, type FilterGroupProps, type FilterPayload, Flex, type FlexProps, FlipCard, type FlipCardProps, FlipContainer, type FlipContainerProps, 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, type GameAction, GameAudioContext, type GameAudioContextValue, type GameAudioControls, GameAudioProvider, type GameAudioProviderProps, GameAudioToggle, type GameAudioToggleProps, GameHud, type GameHudElement, type GameHudProps, type GameHudStat, GameMenu, type GameMenuProps, type GameOverAction, GameOverScreen, type GameOverScreenProps, type GameOverStat, type GamePhase, GameShell, type GameShellProps, type GameState, GameTemplate, type GameTemplateProps, type GameUnit, GenericAppTemplate, type GenericAppTemplateProps, GraphCanvas, type GraphCanvasProps, type GraphEdge, type GraphNode, GraphView, type GraphViewEdge, type GraphViewNode, type GraphViewProps, Grid, type GridProps, HStack, type HStackProps, Header, type HeaderProps, Heading, type HeadingProps, HealthBar, type HealthBarProps, type HighlightType, IDENTITY_BOOK_FIELDS, Icon, type IconAnimation, type IconProps, type IconSize, Input, InputGroup, type InputGroupProps, type InputProps, type InventoryItem, InventoryPanel, type InventoryPanelProps, IsometricCanvas, type IsometricCanvasProps, IsometricFeature, IsometricTile, IsometricUnit, JazariStateMachine, type JazariStateMachineProps, Label, type LabelProps, type LawReference, LawReferenceTooltip, type LawReferenceTooltipProps, LineChart, type LineChartProps, List, type ListItem, type ListProps, LoadingState, type LoadingStateProps, type MapHero, type MapHex, type MapMarkerData, MapView, type MapViewProps, MarkdownContent, type MarkdownContentProps, MasterDetail, type MasterDetailProps, type MeasurementPoint, 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, type NegotiatorAction, NegotiatorBoard, type NegotiatorBoardProps, type NegotiatorPuzzleEntity, NotifyListener, ObjectRulePanel, type ObjectRulePanelProps, StateMachineView as OrbitalStateMachineView, OrbitalVisualization, type OrbitalVisualizationProps, Overlay, type OverlayProps, type PageBreadcrumb, PageHeader, type PageHeaderProps, type PaginatePayload, Pagination, type PaginationProps, type PayoffEntry, type Physics2DState, type PhysicsBody, type PhysicsBounds, type PhysicsConfig, type PhysicsConstraint, PhysicsManager, type PhysicsPreset, PlatformerCanvas, type PlatformerCanvasProps, type PlatformerPlatform, type PlatformerPlayer, Popover, type PopoverProps, type Position, ProgressBar, type ProgressBarColor, type ProgressBarProps, type ProgressBarVariant, ProgressDots, type ProgressDotsProps, type PuzzleObjectDef, QuizBlock, type QuizBlockProps, Radio, type RadioProps, type RelationOption, RelationSelect, type RelationSelectProps, RepeatableFormSection, type RepeatableFormSectionProps, type RepeatableItem, type ResolvedFrame, type RowAction, type RuleDefinition, RuleEditor, type RuleEditorProps, SHEET_COLUMNS, SPRITE_SHEET_LAYOUT, ScaledDiagram, type ScaledDiagramProps, ScoreDisplay, type ScoreDisplayProps, SearchInput, type SearchInputProps, type SearchPayload, Section, type SectionProps, Select, type SelectOption, type SelectPayload, type SelectProps, SequenceBar, type SequenceBarProps, SequencerBoard, type SequencerBoardProps, type SequencerPuzzleEntity, type SheetUrlResolver, SidePanel, type SidePanelProps, Sidebar, type SidebarItem, type SidebarProps, SignaturePad, type SignaturePadProps, SimpleGrid, type SimpleGridProps, SimulationCanvas, type SimulationCanvasProps, SimulationControls, type SimulationControlsProps, SimulationGraph, type SimulationGraphProps, SimulatorBoard, type SimulatorBoardProps, type SimulatorParameter, type SimulatorPuzzleEntity, Skeleton, type SkeletonProps, type SkeletonVariant, SlotContent, SlotContentRenderer, type SlotItemData, type SortDirection, type SortPayload, type SoundEntry, 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, StatBadge, type StatBadgeProps, StatCard, type StatCardProps, StateArchitectBoard, type StateArchitectBoardProps, type StateArchitectPuzzleEntity, type StateArchitectTransition, StateIndicator, type StateIndicatorProps, StateMachineView, type StateMachineViewProps, StateNode, type StateNodeProps, 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, type TestCase, Text, TextHighlight, type TextHighlightProps, type TextProps, Textarea, type TextareaProps, ThemeSelector, ThemeToggle, type ThemeToggleProps, TimeSlotCell, type TimeSlotCellProps, 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, TransitionArrow, type TransitionArrowProps, type TransitionBundle, Typography, type TypographyProps, type TypographyVariant, UISlot, UISlotComponent, UISlotRenderer, type UISlotRendererProps, UncontrolledBattleBoard, type UncontrolledBattleBoardProps, type UnitAnimationState, type UnitTrait, type UseGameAudioOptions, type UsePhysics2DOptions, type UsePhysics2DReturn, type UseSpriteAnimationsOptions, type UseSpriteAnimationsResult, VStack, type VStackProps, type VariableDef, VariablePanel, type VariablePanelProps, 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, applyTemporaryEffect, calculateAttackTargets, calculateDamage, calculateValidMoves, combatAnimations, combatClasses, combatEffects, createInitialGameState, createUnitAnimationState, drawSprite, generateCombatMessage, getCurrentFrame, inferDirection, isoToScreen, mapBookData, pendulum, projectileMotion, resolveFieldMap, resolveFrame, resolveSheetDirection, screenToIso, springOscillator, tickAnimationState, transitionAnimation, useBattleState, useCamera, useGameAudio, useGameAudioContext, useImageCache, usePhysics2D, useSpriteAnimations };
|