@almadar/patterns 1.0.13 → 1.0.14
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/component-mapping.json +61 -36
- package/dist/event-contracts.json +61 -128
- package/dist/index.d.ts +8712 -8023
- package/dist/index.js +1366 -886
- package/dist/index.js.map +1 -1
- package/dist/patterns-registry.json +1144 -524
- package/dist/registry.json +1144 -524
- package/package.json +10 -9
- package/LICENSE +0 -72
package/dist/registry.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0.0",
|
|
3
|
-
"exportedAt": "2026-02-
|
|
3
|
+
"exportedAt": "2026-02-10T05:45:36.769Z",
|
|
4
4
|
"patterns": {
|
|
5
5
|
"entity-table": {
|
|
6
6
|
"type": "entity-table",
|
|
@@ -229,12 +229,6 @@
|
|
|
229
229
|
],
|
|
230
230
|
"description": "Data array - primary prop for data"
|
|
231
231
|
},
|
|
232
|
-
"type": {
|
|
233
|
-
"types": [
|
|
234
|
-
"string"
|
|
235
|
-
],
|
|
236
|
-
"description": "Entity type name for display"
|
|
237
|
-
},
|
|
238
232
|
"isLoading": {
|
|
239
233
|
"types": [
|
|
240
234
|
"boolean"
|
|
@@ -337,6 +331,12 @@
|
|
|
337
331
|
"string"
|
|
338
332
|
],
|
|
339
333
|
"description": "Query singleton binding for filter/sort state. When provided, syncs with the query singleton for filtering and sorting. Example: \"@TaskQuery\""
|
|
334
|
+
},
|
|
335
|
+
"entityType": {
|
|
336
|
+
"types": [
|
|
337
|
+
"string"
|
|
338
|
+
],
|
|
339
|
+
"description": "Entity type name for display"
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
342
|
},
|
|
@@ -2535,110 +2535,6 @@
|
|
|
2535
2535
|
}
|
|
2536
2536
|
}
|
|
2537
2537
|
},
|
|
2538
|
-
"game-canvas": {
|
|
2539
|
-
"type": "game-canvas",
|
|
2540
|
-
"category": "game",
|
|
2541
|
-
"description": "Main game rendering area (canvas)",
|
|
2542
|
-
"suggestedFor": [
|
|
2543
|
-
"game page",
|
|
2544
|
-
"main gameplay"
|
|
2545
|
-
],
|
|
2546
|
-
"typicalSize": "large",
|
|
2547
|
-
"propsSchema": {
|
|
2548
|
-
"renderEntities": {
|
|
2549
|
-
"types": [
|
|
2550
|
-
"array"
|
|
2551
|
-
],
|
|
2552
|
-
"description": "Entity type names to render (optional filter)"
|
|
2553
|
-
},
|
|
2554
|
-
"renderers": {
|
|
2555
|
-
"types": [
|
|
2556
|
-
"object"
|
|
2557
|
-
],
|
|
2558
|
-
"description": "Rendering functions per entity type"
|
|
2559
|
-
},
|
|
2560
|
-
"renderer": {
|
|
2561
|
-
"types": [
|
|
2562
|
-
"string"
|
|
2563
|
-
],
|
|
2564
|
-
"description": "Renderer type hint from schema (e.g., 'phaser', 'canvas'). Currently ignored - component uses Canvas2D. Reserved for future multi-renderer support."
|
|
2565
|
-
},
|
|
2566
|
-
"background": {
|
|
2567
|
-
"types": [
|
|
2568
|
-
"string"
|
|
2569
|
-
],
|
|
2570
|
-
"description": "Background color or gradient"
|
|
2571
|
-
},
|
|
2572
|
-
"width": {
|
|
2573
|
-
"types": [
|
|
2574
|
-
"number",
|
|
2575
|
-
"string"
|
|
2576
|
-
],
|
|
2577
|
-
"description": "Canvas width in pixels or 'full' for responsive"
|
|
2578
|
-
},
|
|
2579
|
-
"height": {
|
|
2580
|
-
"types": [
|
|
2581
|
-
"number",
|
|
2582
|
-
"string"
|
|
2583
|
-
],
|
|
2584
|
-
"description": "Canvas height in pixels or 'auto' for aspect ratio"
|
|
2585
|
-
},
|
|
2586
|
-
"aspectRatio": {
|
|
2587
|
-
"types": [
|
|
2588
|
-
"string"
|
|
2589
|
-
],
|
|
2590
|
-
"description": "Aspect ratio (e.g., '16:9', '4:3')"
|
|
2591
|
-
},
|
|
2592
|
-
"cameraOffset": {
|
|
2593
|
-
"types": [
|
|
2594
|
-
"object"
|
|
2595
|
-
],
|
|
2596
|
-
"description": "Camera offset for scrolling"
|
|
2597
|
-
},
|
|
2598
|
-
"debug": {
|
|
2599
|
-
"types": [
|
|
2600
|
-
"boolean"
|
|
2601
|
-
],
|
|
2602
|
-
"description": "Debug mode shows hitboxes and entity info"
|
|
2603
|
-
},
|
|
2604
|
-
"className": {
|
|
2605
|
-
"types": [
|
|
2606
|
-
"string"
|
|
2607
|
-
],
|
|
2608
|
-
"description": "Additional CSS classes"
|
|
2609
|
-
},
|
|
2610
|
-
"onClick": {
|
|
2611
|
-
"types": [
|
|
2612
|
-
"function"
|
|
2613
|
-
],
|
|
2614
|
-
"description": "Click handler for canvas"
|
|
2615
|
-
},
|
|
2616
|
-
"enableInput": {
|
|
2617
|
-
"types": [
|
|
2618
|
-
"boolean"
|
|
2619
|
-
],
|
|
2620
|
-
"description": "Enable keyboard input handling (updates Input entity)"
|
|
2621
|
-
},
|
|
2622
|
-
"inputBindings": {
|
|
2623
|
-
"types": [
|
|
2624
|
-
"array"
|
|
2625
|
-
],
|
|
2626
|
-
"description": "Custom input key bindings"
|
|
2627
|
-
},
|
|
2628
|
-
"collisions": {
|
|
2629
|
-
"types": [
|
|
2630
|
-
"array"
|
|
2631
|
-
],
|
|
2632
|
-
"description": "Collision definitions from schema"
|
|
2633
|
-
},
|
|
2634
|
-
"eventBus": {
|
|
2635
|
-
"types": [
|
|
2636
|
-
"object"
|
|
2637
|
-
],
|
|
2638
|
-
"description": "Event bus for emitting collision events"
|
|
2639
|
-
}
|
|
2640
|
-
}
|
|
2641
|
-
},
|
|
2642
2538
|
"game-hud": {
|
|
2643
2539
|
"type": "game-hud",
|
|
2644
2540
|
"category": "game",
|
|
@@ -2693,68 +2589,6 @@
|
|
|
2693
2589
|
}
|
|
2694
2590
|
}
|
|
2695
2591
|
},
|
|
2696
|
-
"game-controls": {
|
|
2697
|
-
"type": "game-controls",
|
|
2698
|
-
"category": "game",
|
|
2699
|
-
"description": "Touch/button controls for mobile/accessibility",
|
|
2700
|
-
"suggestedFor": [
|
|
2701
|
-
"mobile games",
|
|
2702
|
-
"touch controls"
|
|
2703
|
-
],
|
|
2704
|
-
"typicalSize": "small",
|
|
2705
|
-
"propsSchema": {
|
|
2706
|
-
"layout": {
|
|
2707
|
-
"types": [
|
|
2708
|
-
"string"
|
|
2709
|
-
],
|
|
2710
|
-
"description": "Control layout type",
|
|
2711
|
-
"required": true
|
|
2712
|
-
},
|
|
2713
|
-
"position": {
|
|
2714
|
-
"types": [
|
|
2715
|
-
"string"
|
|
2716
|
-
],
|
|
2717
|
-
"description": "Position on screen",
|
|
2718
|
-
"required": true
|
|
2719
|
-
},
|
|
2720
|
-
"controls": {
|
|
2721
|
-
"types": [
|
|
2722
|
-
"unknown"
|
|
2723
|
-
],
|
|
2724
|
-
"description": "Controls to display - accepts readonly for compatibility with generated const arrays"
|
|
2725
|
-
},
|
|
2726
|
-
"onControl": {
|
|
2727
|
-
"types": [
|
|
2728
|
-
"function"
|
|
2729
|
-
],
|
|
2730
|
-
"description": "Called when control is pressed/released"
|
|
2731
|
-
},
|
|
2732
|
-
"size": {
|
|
2733
|
-
"types": [
|
|
2734
|
-
"string"
|
|
2735
|
-
],
|
|
2736
|
-
"description": "Size variant"
|
|
2737
|
-
},
|
|
2738
|
-
"className": {
|
|
2739
|
-
"types": [
|
|
2740
|
-
"string"
|
|
2741
|
-
],
|
|
2742
|
-
"description": "Additional CSS classes"
|
|
2743
|
-
},
|
|
2744
|
-
"visible": {
|
|
2745
|
-
"types": [
|
|
2746
|
-
"boolean"
|
|
2747
|
-
],
|
|
2748
|
-
"description": "Whether controls are visible"
|
|
2749
|
-
},
|
|
2750
|
-
"opacity": {
|
|
2751
|
-
"types": [
|
|
2752
|
-
"number"
|
|
2753
|
-
],
|
|
2754
|
-
"description": "Opacity when visible"
|
|
2755
|
-
}
|
|
2756
|
-
}
|
|
2757
|
-
},
|
|
2758
2592
|
"game-menu": {
|
|
2759
2593
|
"type": "game-menu",
|
|
2760
2594
|
"category": "game",
|
|
@@ -2822,66 +2656,6 @@
|
|
|
2822
2656
|
}
|
|
2823
2657
|
}
|
|
2824
2658
|
},
|
|
2825
|
-
"game-pause-overlay": {
|
|
2826
|
-
"type": "game-pause-overlay",
|
|
2827
|
-
"category": "game",
|
|
2828
|
-
"description": "Pause menu that overlays the game",
|
|
2829
|
-
"suggestedFor": [
|
|
2830
|
-
"pause screen",
|
|
2831
|
-
"game overlay"
|
|
2832
|
-
],
|
|
2833
|
-
"typicalSize": "small",
|
|
2834
|
-
"propsSchema": {
|
|
2835
|
-
"options": {
|
|
2836
|
-
"types": [
|
|
2837
|
-
"array"
|
|
2838
|
-
],
|
|
2839
|
-
"description": "Pause menu options"
|
|
2840
|
-
},
|
|
2841
|
-
"menuItems": {
|
|
2842
|
-
"types": [
|
|
2843
|
-
"array"
|
|
2844
|
-
],
|
|
2845
|
-
"description": "Alias for options (schema compatibility)"
|
|
2846
|
-
},
|
|
2847
|
-
"onSelect": {
|
|
2848
|
-
"types": [
|
|
2849
|
-
"function"
|
|
2850
|
-
],
|
|
2851
|
-
"description": "Called when an option is selected (legacy callback, prefer event bus)"
|
|
2852
|
-
},
|
|
2853
|
-
"eventBus": {
|
|
2854
|
-
"types": [
|
|
2855
|
-
"eventbuscontexttype"
|
|
2856
|
-
],
|
|
2857
|
-
"description": "Event bus for emitting UI events (optional, uses hook if not provided)"
|
|
2858
|
-
},
|
|
2859
|
-
"title": {
|
|
2860
|
-
"types": [
|
|
2861
|
-
"string"
|
|
2862
|
-
],
|
|
2863
|
-
"description": "Title (default: \"PAUSED\")"
|
|
2864
|
-
},
|
|
2865
|
-
"className": {
|
|
2866
|
-
"types": [
|
|
2867
|
-
"string"
|
|
2868
|
-
],
|
|
2869
|
-
"description": "Additional CSS classes"
|
|
2870
|
-
},
|
|
2871
|
-
"visible": {
|
|
2872
|
-
"types": [
|
|
2873
|
-
"boolean"
|
|
2874
|
-
],
|
|
2875
|
-
"description": "Whether the pause menu is visible"
|
|
2876
|
-
},
|
|
2877
|
-
"onDismiss": {
|
|
2878
|
-
"types": [
|
|
2879
|
-
"function"
|
|
2880
|
-
],
|
|
2881
|
-
"description": "Called when clicking outside the menu"
|
|
2882
|
-
}
|
|
2883
|
-
}
|
|
2884
|
-
},
|
|
2885
2659
|
"game-over-screen": {
|
|
2886
2660
|
"type": "game-over-screen",
|
|
2887
2661
|
"category": "game",
|
|
@@ -2964,255 +2738,99 @@
|
|
|
2964
2738
|
}
|
|
2965
2739
|
}
|
|
2966
2740
|
},
|
|
2967
|
-
"
|
|
2968
|
-
"type": "
|
|
2741
|
+
"inventory-panel": {
|
|
2742
|
+
"type": "inventory-panel",
|
|
2969
2743
|
"category": "game",
|
|
2970
|
-
"description": "Grid
|
|
2744
|
+
"description": "Grid-based inventory UI for items, equipment, or resources",
|
|
2971
2745
|
"suggestedFor": [
|
|
2972
|
-
"
|
|
2973
|
-
"
|
|
2746
|
+
"rpg inventory",
|
|
2747
|
+
"item management",
|
|
2748
|
+
"crafting"
|
|
2974
2749
|
],
|
|
2975
|
-
"typicalSize": "
|
|
2750
|
+
"typicalSize": "medium",
|
|
2976
2751
|
"propsSchema": {
|
|
2977
|
-
"
|
|
2752
|
+
"items": {
|
|
2978
2753
|
"types": [
|
|
2979
2754
|
"array"
|
|
2980
2755
|
],
|
|
2981
|
-
"description": "
|
|
2982
|
-
|
|
2983
|
-
"entity": {
|
|
2984
|
-
"types": [
|
|
2985
|
-
"string"
|
|
2986
|
-
],
|
|
2987
|
-
"description": "Entity name (schema config)"
|
|
2756
|
+
"description": "Array of items in inventory",
|
|
2757
|
+
"required": true
|
|
2988
2758
|
},
|
|
2989
|
-
"
|
|
2759
|
+
"slots": {
|
|
2990
2760
|
"types": [
|
|
2991
|
-
"
|
|
2761
|
+
"number"
|
|
2992
2762
|
],
|
|
2993
|
-
"description": "
|
|
2763
|
+
"description": "Total number of slots",
|
|
2764
|
+
"required": true
|
|
2994
2765
|
},
|
|
2995
|
-
"
|
|
2766
|
+
"columns": {
|
|
2996
2767
|
"types": [
|
|
2997
|
-
"
|
|
2768
|
+
"number"
|
|
2998
2769
|
],
|
|
2999
|
-
"description": "
|
|
2770
|
+
"description": "Number of columns in grid",
|
|
2771
|
+
"required": true
|
|
3000
2772
|
},
|
|
3001
|
-
"
|
|
2773
|
+
"selectedSlot": {
|
|
3002
2774
|
"types": [
|
|
3003
|
-
"
|
|
2775
|
+
"number"
|
|
3004
2776
|
],
|
|
3005
|
-
"description": "
|
|
2777
|
+
"description": "Currently selected slot index"
|
|
3006
2778
|
},
|
|
3007
|
-
"
|
|
2779
|
+
"onSelectSlot": {
|
|
3008
2780
|
"types": [
|
|
3009
2781
|
"function"
|
|
3010
2782
|
],
|
|
3011
|
-
"description": "Called when a
|
|
2783
|
+
"description": "Called when a slot is selected",
|
|
2784
|
+
"required": true
|
|
3012
2785
|
},
|
|
3013
|
-
"
|
|
2786
|
+
"onUseItem": {
|
|
3014
2787
|
"types": [
|
|
3015
|
-
"
|
|
2788
|
+
"function"
|
|
3016
2789
|
],
|
|
3017
|
-
"description": "
|
|
2790
|
+
"description": "Called when an item is used (double-click or Enter)"
|
|
3018
2791
|
},
|
|
3019
|
-
"
|
|
2792
|
+
"onDropItem": {
|
|
3020
2793
|
"types": [
|
|
3021
|
-
"
|
|
2794
|
+
"function"
|
|
3022
2795
|
],
|
|
3023
|
-
"description": "
|
|
2796
|
+
"description": "Called when an item is dropped"
|
|
3024
2797
|
},
|
|
3025
|
-
"
|
|
2798
|
+
"showTooltips": {
|
|
3026
2799
|
"types": [
|
|
3027
|
-
"
|
|
2800
|
+
"boolean"
|
|
3028
2801
|
],
|
|
3029
|
-
"description": "
|
|
2802
|
+
"description": "Show item tooltips on hover"
|
|
3030
2803
|
},
|
|
3031
2804
|
"className": {
|
|
3032
2805
|
"types": [
|
|
3033
2806
|
"string"
|
|
3034
2807
|
],
|
|
3035
|
-
"description": "
|
|
2808
|
+
"description": "Optional className"
|
|
3036
2809
|
},
|
|
3037
|
-
"
|
|
2810
|
+
"slotSize": {
|
|
3038
2811
|
"types": [
|
|
3039
|
-
"
|
|
2812
|
+
"number"
|
|
3040
2813
|
],
|
|
3041
|
-
"description": "
|
|
2814
|
+
"description": "Slot size in pixels"
|
|
3042
2815
|
}
|
|
3043
2816
|
}
|
|
3044
2817
|
},
|
|
3045
|
-
"
|
|
3046
|
-
"type": "
|
|
2818
|
+
"dialogue-box": {
|
|
2819
|
+
"type": "dialogue-box",
|
|
3047
2820
|
"category": "game",
|
|
3048
|
-
"description": "
|
|
2821
|
+
"description": "RPG-style dialogue box with speaker, portrait, and choices",
|
|
3049
2822
|
"suggestedFor": [
|
|
3050
|
-
"
|
|
3051
|
-
"
|
|
3052
|
-
"
|
|
2823
|
+
"npc dialogue",
|
|
2824
|
+
"story sequences",
|
|
2825
|
+
"tutorials"
|
|
3053
2826
|
],
|
|
3054
|
-
"typicalSize": "
|
|
2827
|
+
"typicalSize": "small",
|
|
3055
2828
|
"propsSchema": {
|
|
3056
|
-
"
|
|
2829
|
+
"dialogue": {
|
|
3057
2830
|
"types": [
|
|
3058
|
-
"
|
|
2831
|
+
"dialoguenode"
|
|
3059
2832
|
],
|
|
3060
|
-
"description": "
|
|
3061
|
-
"required": true
|
|
3062
|
-
},
|
|
3063
|
-
"tileset": {
|
|
3064
|
-
"types": [
|
|
3065
|
-
"tileset"
|
|
3066
|
-
],
|
|
3067
|
-
"description": "Tileset configuration",
|
|
3068
|
-
"required": true
|
|
3069
|
-
},
|
|
3070
|
-
"camera": {
|
|
3071
|
-
"types": [
|
|
3072
|
-
"object"
|
|
3073
|
-
],
|
|
3074
|
-
"description": "Camera position",
|
|
3075
|
-
"required": true
|
|
3076
|
-
},
|
|
3077
|
-
"viewportWidth": {
|
|
3078
|
-
"types": [
|
|
3079
|
-
"number"
|
|
3080
|
-
],
|
|
3081
|
-
"description": "Viewport width in pixels",
|
|
3082
|
-
"required": true
|
|
3083
|
-
},
|
|
3084
|
-
"viewportHeight": {
|
|
3085
|
-
"types": [
|
|
3086
|
-
"number"
|
|
3087
|
-
],
|
|
3088
|
-
"description": "Viewport height in pixels",
|
|
3089
|
-
"required": true
|
|
3090
|
-
},
|
|
3091
|
-
"pixelArt": {
|
|
3092
|
-
"types": [
|
|
3093
|
-
"boolean"
|
|
3094
|
-
],
|
|
3095
|
-
"description": "Enable pixel art rendering (no smoothing)"
|
|
3096
|
-
},
|
|
3097
|
-
"parallaxLayers": {
|
|
3098
|
-
"types": [
|
|
3099
|
-
"array"
|
|
3100
|
-
],
|
|
3101
|
-
"description": "Parallax configuration per layer"
|
|
3102
|
-
},
|
|
3103
|
-
"className": {
|
|
3104
|
-
"types": [
|
|
3105
|
-
"string"
|
|
3106
|
-
],
|
|
3107
|
-
"description": "Optional className"
|
|
3108
|
-
},
|
|
3109
|
-
"scale": {
|
|
3110
|
-
"types": [
|
|
3111
|
-
"number"
|
|
3112
|
-
],
|
|
3113
|
-
"description": "Scale factor for rendering"
|
|
3114
|
-
},
|
|
3115
|
-
"debug": {
|
|
3116
|
-
"types": [
|
|
3117
|
-
"boolean"
|
|
3118
|
-
],
|
|
3119
|
-
"description": "Show debug grid"
|
|
3120
|
-
}
|
|
3121
|
-
}
|
|
3122
|
-
},
|
|
3123
|
-
"inventory-panel": {
|
|
3124
|
-
"type": "inventory-panel",
|
|
3125
|
-
"category": "game",
|
|
3126
|
-
"description": "Grid-based inventory UI for items, equipment, or resources",
|
|
3127
|
-
"suggestedFor": [
|
|
3128
|
-
"rpg inventory",
|
|
3129
|
-
"item management",
|
|
3130
|
-
"crafting"
|
|
3131
|
-
],
|
|
3132
|
-
"typicalSize": "medium",
|
|
3133
|
-
"propsSchema": {
|
|
3134
|
-
"items": {
|
|
3135
|
-
"types": [
|
|
3136
|
-
"array"
|
|
3137
|
-
],
|
|
3138
|
-
"description": "Array of items in inventory",
|
|
3139
|
-
"required": true
|
|
3140
|
-
},
|
|
3141
|
-
"slots": {
|
|
3142
|
-
"types": [
|
|
3143
|
-
"number"
|
|
3144
|
-
],
|
|
3145
|
-
"description": "Total number of slots",
|
|
3146
|
-
"required": true
|
|
3147
|
-
},
|
|
3148
|
-
"columns": {
|
|
3149
|
-
"types": [
|
|
3150
|
-
"number"
|
|
3151
|
-
],
|
|
3152
|
-
"description": "Number of columns in grid",
|
|
3153
|
-
"required": true
|
|
3154
|
-
},
|
|
3155
|
-
"selectedSlot": {
|
|
3156
|
-
"types": [
|
|
3157
|
-
"number"
|
|
3158
|
-
],
|
|
3159
|
-
"description": "Currently selected slot index"
|
|
3160
|
-
},
|
|
3161
|
-
"onSelectSlot": {
|
|
3162
|
-
"types": [
|
|
3163
|
-
"function"
|
|
3164
|
-
],
|
|
3165
|
-
"description": "Called when a slot is selected",
|
|
3166
|
-
"required": true
|
|
3167
|
-
},
|
|
3168
|
-
"onUseItem": {
|
|
3169
|
-
"types": [
|
|
3170
|
-
"function"
|
|
3171
|
-
],
|
|
3172
|
-
"description": "Called when an item is used (double-click or Enter)"
|
|
3173
|
-
},
|
|
3174
|
-
"onDropItem": {
|
|
3175
|
-
"types": [
|
|
3176
|
-
"function"
|
|
3177
|
-
],
|
|
3178
|
-
"description": "Called when an item is dropped"
|
|
3179
|
-
},
|
|
3180
|
-
"showTooltips": {
|
|
3181
|
-
"types": [
|
|
3182
|
-
"boolean"
|
|
3183
|
-
],
|
|
3184
|
-
"description": "Show item tooltips on hover"
|
|
3185
|
-
},
|
|
3186
|
-
"className": {
|
|
3187
|
-
"types": [
|
|
3188
|
-
"string"
|
|
3189
|
-
],
|
|
3190
|
-
"description": "Optional className"
|
|
3191
|
-
},
|
|
3192
|
-
"slotSize": {
|
|
3193
|
-
"types": [
|
|
3194
|
-
"number"
|
|
3195
|
-
],
|
|
3196
|
-
"description": "Slot size in pixels"
|
|
3197
|
-
}
|
|
3198
|
-
}
|
|
3199
|
-
},
|
|
3200
|
-
"dialogue-box": {
|
|
3201
|
-
"type": "dialogue-box",
|
|
3202
|
-
"category": "game",
|
|
3203
|
-
"description": "RPG-style dialogue box with speaker, portrait, and choices",
|
|
3204
|
-
"suggestedFor": [
|
|
3205
|
-
"npc dialogue",
|
|
3206
|
-
"story sequences",
|
|
3207
|
-
"tutorials"
|
|
3208
|
-
],
|
|
3209
|
-
"typicalSize": "small",
|
|
3210
|
-
"propsSchema": {
|
|
3211
|
-
"dialogue": {
|
|
3212
|
-
"types": [
|
|
3213
|
-
"dialoguenode"
|
|
3214
|
-
],
|
|
3215
|
-
"description": "Current dialogue node to display",
|
|
2833
|
+
"description": "Current dialogue node to display",
|
|
3216
2834
|
"required": true
|
|
3217
2835
|
},
|
|
3218
2836
|
"typewriterSpeed": {
|
|
@@ -3253,74 +2871,6 @@
|
|
|
3253
2871
|
}
|
|
3254
2872
|
}
|
|
3255
2873
|
},
|
|
3256
|
-
"input-listener": {
|
|
3257
|
-
"type": "input-listener",
|
|
3258
|
-
"category": "game",
|
|
3259
|
-
"description": "Invisible component that captures keyboard/mouse input and emits events",
|
|
3260
|
-
"suggestedFor": [
|
|
3261
|
-
"games",
|
|
3262
|
-
"interactive applications",
|
|
3263
|
-
"keyboard shortcuts"
|
|
3264
|
-
],
|
|
3265
|
-
"typicalSize": "tiny",
|
|
3266
|
-
"propsSchema": {
|
|
3267
|
-
"bindings": {
|
|
3268
|
-
"types": [
|
|
3269
|
-
"unknown"
|
|
3270
|
-
],
|
|
3271
|
-
"description": "Key bindings configuration"
|
|
3272
|
-
},
|
|
3273
|
-
"enabled": {
|
|
3274
|
-
"types": [
|
|
3275
|
-
"boolean"
|
|
3276
|
-
],
|
|
3277
|
-
"description": "Whether input listening is enabled"
|
|
3278
|
-
},
|
|
3279
|
-
"eventBus": {
|
|
3280
|
-
"types": [
|
|
3281
|
-
"eventbuscontexttype"
|
|
3282
|
-
],
|
|
3283
|
-
"description": "Event bus for emitting events (optional, uses hook if not provided)"
|
|
3284
|
-
}
|
|
3285
|
-
}
|
|
3286
|
-
},
|
|
3287
|
-
"collision-detector": {
|
|
3288
|
-
"type": "collision-detector",
|
|
3289
|
-
"category": "game",
|
|
3290
|
-
"description": "Invisible component that runs collision detection and emits collision events",
|
|
3291
|
-
"suggestedFor": [
|
|
3292
|
-
"games",
|
|
3293
|
-
"2D physics",
|
|
3294
|
-
"spatial interactions"
|
|
3295
|
-
],
|
|
3296
|
-
"typicalSize": "tiny",
|
|
3297
|
-
"propsSchema": {
|
|
3298
|
-
"algorithm": {
|
|
3299
|
-
"types": [
|
|
3300
|
-
"string"
|
|
3301
|
-
],
|
|
3302
|
-
"description": "Collision detection algorithm"
|
|
3303
|
-
},
|
|
3304
|
-
"rules": {
|
|
3305
|
-
"types": [
|
|
3306
|
-
"unknown"
|
|
3307
|
-
],
|
|
3308
|
-
"description": "Collision rules to check"
|
|
3309
|
-
},
|
|
3310
|
-
"enabled": {
|
|
3311
|
-
"types": [
|
|
3312
|
-
"boolean"
|
|
3313
|
-
],
|
|
3314
|
-
"description": "Whether collision detection is enabled"
|
|
3315
|
-
},
|
|
3316
|
-
"eventBus": {
|
|
3317
|
-
"types": [
|
|
3318
|
-
"eventbuscontexttype"
|
|
3319
|
-
],
|
|
3320
|
-
"description": "Event bus for emitting events (optional, uses hook if not provided)"
|
|
3321
|
-
}
|
|
3322
|
-
}
|
|
3323
|
-
},
|
|
3324
2874
|
"runtime-debugger": {
|
|
3325
2875
|
"type": "runtime-debugger",
|
|
3326
2876
|
"category": "debug",
|
|
@@ -3646,12 +3196,6 @@
|
|
|
3646
3196
|
],
|
|
3647
3197
|
"description": "Maximum value (for calculating percentage) @default 100"
|
|
3648
3198
|
},
|
|
3649
|
-
"type": {
|
|
3650
|
-
"types": [
|
|
3651
|
-
"progressbartype"
|
|
3652
|
-
],
|
|
3653
|
-
"description": "Type of the progress bar (linear, circular, stepped) @default 'linear'"
|
|
3654
|
-
},
|
|
3655
3199
|
"variant": {
|
|
3656
3200
|
"types": [
|
|
3657
3201
|
"progressbarvariant"
|
|
@@ -3699,6 +3243,12 @@
|
|
|
3699
3243
|
"string"
|
|
3700
3244
|
],
|
|
3701
3245
|
"description": "Additional CSS classes"
|
|
3246
|
+
},
|
|
3247
|
+
"progressType": {
|
|
3248
|
+
"types": [
|
|
3249
|
+
"progressbartype"
|
|
3250
|
+
],
|
|
3251
|
+
"description": "Type of the progress bar (linear, circular, stepped) @default 'linear'"
|
|
3702
3252
|
}
|
|
3703
3253
|
}
|
|
3704
3254
|
},
|
|
@@ -3731,12 +3281,6 @@
|
|
|
3731
3281
|
],
|
|
3732
3282
|
"typicalSize": "tiny",
|
|
3733
3283
|
"propsSchema": {
|
|
3734
|
-
"type": {
|
|
3735
|
-
"types": [
|
|
3736
|
-
"string"
|
|
3737
|
-
],
|
|
3738
|
-
"description": "Input type - supports 'select' and 'textarea' in addition to standard types"
|
|
3739
|
-
},
|
|
3740
3284
|
"error": {
|
|
3741
3285
|
"types": [
|
|
3742
3286
|
"string"
|
|
@@ -3790,6 +3334,12 @@
|
|
|
3790
3334
|
"react.changeeventhandler"
|
|
3791
3335
|
],
|
|
3792
3336
|
"description": "onChange handler - accepts events from input, select, or textarea"
|
|
3337
|
+
},
|
|
3338
|
+
"inputType": {
|
|
3339
|
+
"types": [
|
|
3340
|
+
"string"
|
|
3341
|
+
],
|
|
3342
|
+
"description": "Input type - supports 'select' and 'textarea' in addition to standard types"
|
|
3793
3343
|
}
|
|
3794
3344
|
}
|
|
3795
3345
|
},
|
|
@@ -4705,13 +4255,6 @@
|
|
|
4705
4255
|
],
|
|
4706
4256
|
"typicalSize": "small",
|
|
4707
4257
|
"propsSchema": {
|
|
4708
|
-
"type": {
|
|
4709
|
-
"types": [
|
|
4710
|
-
"highlighttype"
|
|
4711
|
-
],
|
|
4712
|
-
"description": "Type of highlight (determines color)",
|
|
4713
|
-
"required": true
|
|
4714
|
-
},
|
|
4715
4258
|
"isActive": {
|
|
4716
4259
|
"types": [
|
|
4717
4260
|
"boolean"
|
|
@@ -4754,6 +4297,13 @@
|
|
|
4754
4297
|
],
|
|
4755
4298
|
"description": "Highlighted text content",
|
|
4756
4299
|
"required": true
|
|
4300
|
+
},
|
|
4301
|
+
"highlightType": {
|
|
4302
|
+
"types": [
|
|
4303
|
+
"highlighttype"
|
|
4304
|
+
],
|
|
4305
|
+
"description": "Type of highlight (determines color)",
|
|
4306
|
+
"required": true
|
|
4757
4307
|
}
|
|
4758
4308
|
}
|
|
4759
4309
|
},
|
|
@@ -7802,6 +7352,1074 @@
|
|
|
7802
7352
|
"description": "Whether to show the minimal top bar (default: true)"
|
|
7803
7353
|
}
|
|
7804
7354
|
}
|
|
7355
|
+
},
|
|
7356
|
+
"chart": {
|
|
7357
|
+
"type": "chart",
|
|
7358
|
+
"category": "visualization",
|
|
7359
|
+
"description": "Data visualization chart supporting bar, line, pie, area, and donut types",
|
|
7360
|
+
"suggestedFor": [
|
|
7361
|
+
"dashboards",
|
|
7362
|
+
"analytics",
|
|
7363
|
+
"data visualization",
|
|
7364
|
+
"reporting"
|
|
7365
|
+
],
|
|
7366
|
+
"typicalSize": "medium",
|
|
7367
|
+
"propsSchema": {
|
|
7368
|
+
"title": {
|
|
7369
|
+
"types": [
|
|
7370
|
+
"string"
|
|
7371
|
+
],
|
|
7372
|
+
"description": "Chart title"
|
|
7373
|
+
},
|
|
7374
|
+
"subtitle": {
|
|
7375
|
+
"types": [
|
|
7376
|
+
"string"
|
|
7377
|
+
],
|
|
7378
|
+
"description": "Chart subtitle / description"
|
|
7379
|
+
},
|
|
7380
|
+
"chartType": {
|
|
7381
|
+
"types": [
|
|
7382
|
+
"charttype"
|
|
7383
|
+
],
|
|
7384
|
+
"description": "Chart type"
|
|
7385
|
+
},
|
|
7386
|
+
"series": {
|
|
7387
|
+
"types": [
|
|
7388
|
+
"unknown"
|
|
7389
|
+
],
|
|
7390
|
+
"description": "Data series"
|
|
7391
|
+
},
|
|
7392
|
+
"data": {
|
|
7393
|
+
"types": [
|
|
7394
|
+
"unknown"
|
|
7395
|
+
],
|
|
7396
|
+
"description": "Simple data (single series shorthand)"
|
|
7397
|
+
},
|
|
7398
|
+
"height": {
|
|
7399
|
+
"types": [
|
|
7400
|
+
"number"
|
|
7401
|
+
],
|
|
7402
|
+
"description": "Chart height in px"
|
|
7403
|
+
},
|
|
7404
|
+
"showLegend": {
|
|
7405
|
+
"types": [
|
|
7406
|
+
"boolean"
|
|
7407
|
+
],
|
|
7408
|
+
"description": "Show legend"
|
|
7409
|
+
},
|
|
7410
|
+
"showValues": {
|
|
7411
|
+
"types": [
|
|
7412
|
+
"boolean"
|
|
7413
|
+
],
|
|
7414
|
+
"description": "Show values on chart"
|
|
7415
|
+
},
|
|
7416
|
+
"actions": {
|
|
7417
|
+
"types": [
|
|
7418
|
+
"unknown"
|
|
7419
|
+
],
|
|
7420
|
+
"description": "Actions for chart interactions"
|
|
7421
|
+
},
|
|
7422
|
+
"entity": {
|
|
7423
|
+
"types": [
|
|
7424
|
+
"string"
|
|
7425
|
+
],
|
|
7426
|
+
"description": "Entity name for schema-driven auto-fetch"
|
|
7427
|
+
},
|
|
7428
|
+
"isLoading": {
|
|
7429
|
+
"types": [
|
|
7430
|
+
"boolean"
|
|
7431
|
+
],
|
|
7432
|
+
"description": "Loading state"
|
|
7433
|
+
},
|
|
7434
|
+
"error": {
|
|
7435
|
+
"types": [
|
|
7436
|
+
"error"
|
|
7437
|
+
],
|
|
7438
|
+
"description": "Error state"
|
|
7439
|
+
},
|
|
7440
|
+
"className": {
|
|
7441
|
+
"types": [
|
|
7442
|
+
"string"
|
|
7443
|
+
],
|
|
7444
|
+
"description": "Additional CSS classes"
|
|
7445
|
+
}
|
|
7446
|
+
}
|
|
7447
|
+
},
|
|
7448
|
+
"meter": {
|
|
7449
|
+
"type": "meter",
|
|
7450
|
+
"category": "visualization",
|
|
7451
|
+
"description": "Gauge/meter component for displaying a value within a range with thresholds",
|
|
7452
|
+
"suggestedFor": [
|
|
7453
|
+
"dashboards",
|
|
7454
|
+
"progress tracking",
|
|
7455
|
+
"credit/quota displays",
|
|
7456
|
+
"KPI indicators"
|
|
7457
|
+
],
|
|
7458
|
+
"typicalSize": "small",
|
|
7459
|
+
"propsSchema": {
|
|
7460
|
+
"value": {
|
|
7461
|
+
"types": [
|
|
7462
|
+
"number"
|
|
7463
|
+
],
|
|
7464
|
+
"description": "Current value",
|
|
7465
|
+
"required": true
|
|
7466
|
+
},
|
|
7467
|
+
"min": {
|
|
7468
|
+
"types": [
|
|
7469
|
+
"number"
|
|
7470
|
+
],
|
|
7471
|
+
"description": "Minimum value"
|
|
7472
|
+
},
|
|
7473
|
+
"max": {
|
|
7474
|
+
"types": [
|
|
7475
|
+
"number"
|
|
7476
|
+
],
|
|
7477
|
+
"description": "Maximum value"
|
|
7478
|
+
},
|
|
7479
|
+
"label": {
|
|
7480
|
+
"types": [
|
|
7481
|
+
"string"
|
|
7482
|
+
],
|
|
7483
|
+
"description": "Display label"
|
|
7484
|
+
},
|
|
7485
|
+
"unit": {
|
|
7486
|
+
"types": [
|
|
7487
|
+
"string"
|
|
7488
|
+
],
|
|
7489
|
+
"description": "Unit suffix (e.g., '%', 'MB', 'credits')"
|
|
7490
|
+
},
|
|
7491
|
+
"variant": {
|
|
7492
|
+
"types": [
|
|
7493
|
+
"metervariant"
|
|
7494
|
+
],
|
|
7495
|
+
"description": "Display variant"
|
|
7496
|
+
},
|
|
7497
|
+
"thresholds": {
|
|
7498
|
+
"types": [
|
|
7499
|
+
"unknown"
|
|
7500
|
+
],
|
|
7501
|
+
"description": "Color thresholds"
|
|
7502
|
+
},
|
|
7503
|
+
"segments": {
|
|
7504
|
+
"types": [
|
|
7505
|
+
"number"
|
|
7506
|
+
],
|
|
7507
|
+
"description": "Number of segments (for segmented variant)"
|
|
7508
|
+
},
|
|
7509
|
+
"showValue": {
|
|
7510
|
+
"types": [
|
|
7511
|
+
"boolean"
|
|
7512
|
+
],
|
|
7513
|
+
"description": "Show value text"
|
|
7514
|
+
},
|
|
7515
|
+
"size": {
|
|
7516
|
+
"types": [
|
|
7517
|
+
"string"
|
|
7518
|
+
],
|
|
7519
|
+
"description": "Size (for radial variant)"
|
|
7520
|
+
},
|
|
7521
|
+
"actions": {
|
|
7522
|
+
"types": [
|
|
7523
|
+
"unknown"
|
|
7524
|
+
],
|
|
7525
|
+
"description": "Actions"
|
|
7526
|
+
},
|
|
7527
|
+
"entity": {
|
|
7528
|
+
"types": [
|
|
7529
|
+
"string"
|
|
7530
|
+
],
|
|
7531
|
+
"description": "Entity name for schema-driven auto-fetch"
|
|
7532
|
+
},
|
|
7533
|
+
"isLoading": {
|
|
7534
|
+
"types": [
|
|
7535
|
+
"boolean"
|
|
7536
|
+
],
|
|
7537
|
+
"description": "Loading state"
|
|
7538
|
+
},
|
|
7539
|
+
"error": {
|
|
7540
|
+
"types": [
|
|
7541
|
+
"error"
|
|
7542
|
+
],
|
|
7543
|
+
"description": "Error state"
|
|
7544
|
+
},
|
|
7545
|
+
"className": {
|
|
7546
|
+
"types": [
|
|
7547
|
+
"string"
|
|
7548
|
+
],
|
|
7549
|
+
"description": "Additional CSS classes"
|
|
7550
|
+
}
|
|
7551
|
+
}
|
|
7552
|
+
},
|
|
7553
|
+
"timeline": {
|
|
7554
|
+
"type": "timeline",
|
|
7555
|
+
"category": "display",
|
|
7556
|
+
"description": "Vertical timeline for displaying chronological events with status indicators",
|
|
7557
|
+
"suggestedFor": [
|
|
7558
|
+
"activity logs",
|
|
7559
|
+
"process tracking",
|
|
7560
|
+
"history views",
|
|
7561
|
+
"workflow steps"
|
|
7562
|
+
],
|
|
7563
|
+
"typicalSize": "medium",
|
|
7564
|
+
"propsSchema": {
|
|
7565
|
+
"title": {
|
|
7566
|
+
"types": [
|
|
7567
|
+
"string"
|
|
7568
|
+
],
|
|
7569
|
+
"description": "Timeline title"
|
|
7570
|
+
},
|
|
7571
|
+
"items": {
|
|
7572
|
+
"types": [
|
|
7573
|
+
"unknown"
|
|
7574
|
+
],
|
|
7575
|
+
"description": "Timeline items"
|
|
7576
|
+
},
|
|
7577
|
+
"data": {
|
|
7578
|
+
"types": [
|
|
7579
|
+
"unknown"
|
|
7580
|
+
],
|
|
7581
|
+
"description": "Schema-driven data"
|
|
7582
|
+
},
|
|
7583
|
+
"fields": {
|
|
7584
|
+
"types": [
|
|
7585
|
+
"unknown"
|
|
7586
|
+
],
|
|
7587
|
+
"description": "Fields to display"
|
|
7588
|
+
},
|
|
7589
|
+
"itemActions": {
|
|
7590
|
+
"types": [
|
|
7591
|
+
"unknown"
|
|
7592
|
+
],
|
|
7593
|
+
"description": "Actions per item"
|
|
7594
|
+
},
|
|
7595
|
+
"entity": {
|
|
7596
|
+
"types": [
|
|
7597
|
+
"string"
|
|
7598
|
+
],
|
|
7599
|
+
"description": "Entity name for schema-driven auto-fetch"
|
|
7600
|
+
},
|
|
7601
|
+
"isLoading": {
|
|
7602
|
+
"types": [
|
|
7603
|
+
"boolean"
|
|
7604
|
+
],
|
|
7605
|
+
"description": "Loading state"
|
|
7606
|
+
},
|
|
7607
|
+
"error": {
|
|
7608
|
+
"types": [
|
|
7609
|
+
"error"
|
|
7610
|
+
],
|
|
7611
|
+
"description": "Error state"
|
|
7612
|
+
},
|
|
7613
|
+
"className": {
|
|
7614
|
+
"types": [
|
|
7615
|
+
"string"
|
|
7616
|
+
],
|
|
7617
|
+
"description": "Additional CSS classes"
|
|
7618
|
+
}
|
|
7619
|
+
}
|
|
7620
|
+
},
|
|
7621
|
+
"media-gallery": {
|
|
7622
|
+
"type": "media-gallery",
|
|
7623
|
+
"category": "media",
|
|
7624
|
+
"description": "Grid gallery for images and media with lightbox, selection, and upload",
|
|
7625
|
+
"suggestedFor": [
|
|
7626
|
+
"photo galleries",
|
|
7627
|
+
"image management",
|
|
7628
|
+
"media libraries",
|
|
7629
|
+
"portfolio displays"
|
|
7630
|
+
],
|
|
7631
|
+
"typicalSize": "medium",
|
|
7632
|
+
"propsSchema": {
|
|
7633
|
+
"title": {
|
|
7634
|
+
"types": [
|
|
7635
|
+
"string"
|
|
7636
|
+
],
|
|
7637
|
+
"description": "Gallery title"
|
|
7638
|
+
},
|
|
7639
|
+
"items": {
|
|
7640
|
+
"types": [
|
|
7641
|
+
"unknown"
|
|
7642
|
+
],
|
|
7643
|
+
"description": "Media items"
|
|
7644
|
+
},
|
|
7645
|
+
"data": {
|
|
7646
|
+
"types": [
|
|
7647
|
+
"unknown"
|
|
7648
|
+
],
|
|
7649
|
+
"description": "Schema-driven data"
|
|
7650
|
+
},
|
|
7651
|
+
"columns": {
|
|
7652
|
+
"types": [
|
|
7653
|
+
"number"
|
|
7654
|
+
],
|
|
7655
|
+
"description": "Column count"
|
|
7656
|
+
},
|
|
7657
|
+
"selectable": {
|
|
7658
|
+
"types": [
|
|
7659
|
+
"boolean"
|
|
7660
|
+
],
|
|
7661
|
+
"description": "Enable item selection"
|
|
7662
|
+
},
|
|
7663
|
+
"selectedItems": {
|
|
7664
|
+
"types": [
|
|
7665
|
+
"unknown"
|
|
7666
|
+
],
|
|
7667
|
+
"description": "Selected item IDs"
|
|
7668
|
+
},
|
|
7669
|
+
"onSelectionChange": {
|
|
7670
|
+
"types": [
|
|
7671
|
+
"function"
|
|
7672
|
+
],
|
|
7673
|
+
"description": "Selection change callback"
|
|
7674
|
+
},
|
|
7675
|
+
"showUpload": {
|
|
7676
|
+
"types": [
|
|
7677
|
+
"boolean"
|
|
7678
|
+
],
|
|
7679
|
+
"description": "Show upload button"
|
|
7680
|
+
},
|
|
7681
|
+
"actions": {
|
|
7682
|
+
"types": [
|
|
7683
|
+
"unknown"
|
|
7684
|
+
],
|
|
7685
|
+
"description": "Actions"
|
|
7686
|
+
},
|
|
7687
|
+
"aspectRatio": {
|
|
7688
|
+
"types": [
|
|
7689
|
+
"string"
|
|
7690
|
+
],
|
|
7691
|
+
"description": "Aspect ratio for thumbnails"
|
|
7692
|
+
},
|
|
7693
|
+
"entity": {
|
|
7694
|
+
"types": [
|
|
7695
|
+
"string"
|
|
7696
|
+
],
|
|
7697
|
+
"description": "Entity name for schema-driven auto-fetch"
|
|
7698
|
+
},
|
|
7699
|
+
"isLoading": {
|
|
7700
|
+
"types": [
|
|
7701
|
+
"boolean"
|
|
7702
|
+
],
|
|
7703
|
+
"description": "Loading state"
|
|
7704
|
+
},
|
|
7705
|
+
"error": {
|
|
7706
|
+
"types": [
|
|
7707
|
+
"error"
|
|
7708
|
+
],
|
|
7709
|
+
"description": "Error state"
|
|
7710
|
+
},
|
|
7711
|
+
"className": {
|
|
7712
|
+
"types": [
|
|
7713
|
+
"string"
|
|
7714
|
+
],
|
|
7715
|
+
"description": "Additional CSS classes"
|
|
7716
|
+
}
|
|
7717
|
+
}
|
|
7718
|
+
},
|
|
7719
|
+
"signature-pad": {
|
|
7720
|
+
"type": "signature-pad",
|
|
7721
|
+
"category": "form",
|
|
7722
|
+
"description": "Canvas-based signature capture pad with draw, clear, and confirm actions",
|
|
7723
|
+
"suggestedFor": [
|
|
7724
|
+
"form signing",
|
|
7725
|
+
"approval workflows",
|
|
7726
|
+
"document signing",
|
|
7727
|
+
"consent forms"
|
|
7728
|
+
],
|
|
7729
|
+
"typicalSize": "small",
|
|
7730
|
+
"propsSchema": {
|
|
7731
|
+
"label": {
|
|
7732
|
+
"types": [
|
|
7733
|
+
"string"
|
|
7734
|
+
],
|
|
7735
|
+
"description": "Label above the pad"
|
|
7736
|
+
},
|
|
7737
|
+
"helperText": {
|
|
7738
|
+
"types": [
|
|
7739
|
+
"string"
|
|
7740
|
+
],
|
|
7741
|
+
"description": "Helper text"
|
|
7742
|
+
},
|
|
7743
|
+
"strokeColor": {
|
|
7744
|
+
"types": [
|
|
7745
|
+
"string"
|
|
7746
|
+
],
|
|
7747
|
+
"description": "Stroke color"
|
|
7748
|
+
},
|
|
7749
|
+
"strokeWidth": {
|
|
7750
|
+
"types": [
|
|
7751
|
+
"number"
|
|
7752
|
+
],
|
|
7753
|
+
"description": "Stroke width"
|
|
7754
|
+
},
|
|
7755
|
+
"height": {
|
|
7756
|
+
"types": [
|
|
7757
|
+
"number"
|
|
7758
|
+
],
|
|
7759
|
+
"description": "Pad height"
|
|
7760
|
+
},
|
|
7761
|
+
"readOnly": {
|
|
7762
|
+
"types": [
|
|
7763
|
+
"boolean"
|
|
7764
|
+
],
|
|
7765
|
+
"description": "Whether the pad is read-only"
|
|
7766
|
+
},
|
|
7767
|
+
"value": {
|
|
7768
|
+
"types": [
|
|
7769
|
+
"string"
|
|
7770
|
+
],
|
|
7771
|
+
"description": "Existing signature image URL"
|
|
7772
|
+
},
|
|
7773
|
+
"onChange": {
|
|
7774
|
+
"types": [
|
|
7775
|
+
"function"
|
|
7776
|
+
],
|
|
7777
|
+
"description": "Callback when signature changes"
|
|
7778
|
+
},
|
|
7779
|
+
"signEvent": {
|
|
7780
|
+
"types": [
|
|
7781
|
+
"string"
|
|
7782
|
+
],
|
|
7783
|
+
"description": "Event to emit on sign"
|
|
7784
|
+
},
|
|
7785
|
+
"clearEvent": {
|
|
7786
|
+
"types": [
|
|
7787
|
+
"string"
|
|
7788
|
+
],
|
|
7789
|
+
"description": "Event to emit on clear"
|
|
7790
|
+
},
|
|
7791
|
+
"entity": {
|
|
7792
|
+
"types": [
|
|
7793
|
+
"string"
|
|
7794
|
+
],
|
|
7795
|
+
"description": "Entity name for schema-driven context"
|
|
7796
|
+
},
|
|
7797
|
+
"isLoading": {
|
|
7798
|
+
"types": [
|
|
7799
|
+
"boolean"
|
|
7800
|
+
],
|
|
7801
|
+
"description": "Loading state"
|
|
7802
|
+
},
|
|
7803
|
+
"error": {
|
|
7804
|
+
"types": [
|
|
7805
|
+
"error"
|
|
7806
|
+
],
|
|
7807
|
+
"description": "Error state"
|
|
7808
|
+
},
|
|
7809
|
+
"className": {
|
|
7810
|
+
"types": [
|
|
7811
|
+
"string"
|
|
7812
|
+
],
|
|
7813
|
+
"description": "Additional CSS classes"
|
|
7814
|
+
}
|
|
7815
|
+
}
|
|
7816
|
+
},
|
|
7817
|
+
"document-viewer": {
|
|
7818
|
+
"type": "document-viewer",
|
|
7819
|
+
"category": "display",
|
|
7820
|
+
"description": "Document viewer for PDFs, text, HTML, and markdown with zoom and pagination",
|
|
7821
|
+
"suggestedFor": [
|
|
7822
|
+
"document management",
|
|
7823
|
+
"PDF viewing",
|
|
7824
|
+
"content preview",
|
|
7825
|
+
"report viewing"
|
|
7826
|
+
],
|
|
7827
|
+
"typicalSize": "large",
|
|
7828
|
+
"propsSchema": {
|
|
7829
|
+
"title": {
|
|
7830
|
+
"types": [
|
|
7831
|
+
"string"
|
|
7832
|
+
],
|
|
7833
|
+
"description": "Document title"
|
|
7834
|
+
},
|
|
7835
|
+
"src": {
|
|
7836
|
+
"types": [
|
|
7837
|
+
"string"
|
|
7838
|
+
],
|
|
7839
|
+
"description": "Document URL (for PDF/external documents)"
|
|
7840
|
+
},
|
|
7841
|
+
"content": {
|
|
7842
|
+
"types": [
|
|
7843
|
+
"string"
|
|
7844
|
+
],
|
|
7845
|
+
"description": "Document content (for text/html/markdown)"
|
|
7846
|
+
},
|
|
7847
|
+
"documentType": {
|
|
7848
|
+
"types": [
|
|
7849
|
+
"documenttype"
|
|
7850
|
+
],
|
|
7851
|
+
"description": "Document type"
|
|
7852
|
+
},
|
|
7853
|
+
"currentPage": {
|
|
7854
|
+
"types": [
|
|
7855
|
+
"number"
|
|
7856
|
+
],
|
|
7857
|
+
"description": "Current page (for multi-page documents)"
|
|
7858
|
+
},
|
|
7859
|
+
"totalPages": {
|
|
7860
|
+
"types": [
|
|
7861
|
+
"number"
|
|
7862
|
+
],
|
|
7863
|
+
"description": "Total pages"
|
|
7864
|
+
},
|
|
7865
|
+
"height": {
|
|
7866
|
+
"types": [
|
|
7867
|
+
"number",
|
|
7868
|
+
"string"
|
|
7869
|
+
],
|
|
7870
|
+
"description": "Viewer height"
|
|
7871
|
+
},
|
|
7872
|
+
"showToolbar": {
|
|
7873
|
+
"types": [
|
|
7874
|
+
"boolean"
|
|
7875
|
+
],
|
|
7876
|
+
"description": "Show toolbar"
|
|
7877
|
+
},
|
|
7878
|
+
"showDownload": {
|
|
7879
|
+
"types": [
|
|
7880
|
+
"boolean"
|
|
7881
|
+
],
|
|
7882
|
+
"description": "Show download button"
|
|
7883
|
+
},
|
|
7884
|
+
"showPrint": {
|
|
7885
|
+
"types": [
|
|
7886
|
+
"boolean"
|
|
7887
|
+
],
|
|
7888
|
+
"description": "Show print button"
|
|
7889
|
+
},
|
|
7890
|
+
"actions": {
|
|
7891
|
+
"types": [
|
|
7892
|
+
"unknown"
|
|
7893
|
+
],
|
|
7894
|
+
"description": "Actions"
|
|
7895
|
+
},
|
|
7896
|
+
"documents": {
|
|
7897
|
+
"types": [
|
|
7898
|
+
"unknown"
|
|
7899
|
+
],
|
|
7900
|
+
"description": "Multiple documents (tabbed view)"
|
|
7901
|
+
},
|
|
7902
|
+
"entity": {
|
|
7903
|
+
"types": [
|
|
7904
|
+
"string"
|
|
7905
|
+
],
|
|
7906
|
+
"description": "Entity name for schema-driven auto-fetch"
|
|
7907
|
+
},
|
|
7908
|
+
"isLoading": {
|
|
7909
|
+
"types": [
|
|
7910
|
+
"boolean"
|
|
7911
|
+
],
|
|
7912
|
+
"description": "Loading state"
|
|
7913
|
+
},
|
|
7914
|
+
"error": {
|
|
7915
|
+
"types": [
|
|
7916
|
+
"error"
|
|
7917
|
+
],
|
|
7918
|
+
"description": "Error state"
|
|
7919
|
+
},
|
|
7920
|
+
"className": {
|
|
7921
|
+
"types": [
|
|
7922
|
+
"string"
|
|
7923
|
+
],
|
|
7924
|
+
"description": "Additional CSS classes"
|
|
7925
|
+
}
|
|
7926
|
+
}
|
|
7927
|
+
},
|
|
7928
|
+
"graph-canvas": {
|
|
7929
|
+
"type": "graph-canvas",
|
|
7930
|
+
"category": "visualization",
|
|
7931
|
+
"description": "Force-directed graph visualization for node-link data with interactive zoom, pan, and layout",
|
|
7932
|
+
"suggestedFor": [
|
|
7933
|
+
"knowledge graphs",
|
|
7934
|
+
"network visualization",
|
|
7935
|
+
"relationship mapping",
|
|
7936
|
+
"dependency graphs"
|
|
7937
|
+
],
|
|
7938
|
+
"typicalSize": "large",
|
|
7939
|
+
"propsSchema": {
|
|
7940
|
+
"title": {
|
|
7941
|
+
"types": [
|
|
7942
|
+
"string"
|
|
7943
|
+
],
|
|
7944
|
+
"description": "Graph title"
|
|
7945
|
+
},
|
|
7946
|
+
"nodes": {
|
|
7947
|
+
"types": [
|
|
7948
|
+
"unknown"
|
|
7949
|
+
],
|
|
7950
|
+
"description": "Graph nodes"
|
|
7951
|
+
},
|
|
7952
|
+
"edges": {
|
|
7953
|
+
"types": [
|
|
7954
|
+
"unknown"
|
|
7955
|
+
],
|
|
7956
|
+
"description": "Graph edges"
|
|
7957
|
+
},
|
|
7958
|
+
"height": {
|
|
7959
|
+
"types": [
|
|
7960
|
+
"number"
|
|
7961
|
+
],
|
|
7962
|
+
"description": "Canvas height"
|
|
7963
|
+
},
|
|
7964
|
+
"showLabels": {
|
|
7965
|
+
"types": [
|
|
7966
|
+
"boolean"
|
|
7967
|
+
],
|
|
7968
|
+
"description": "Show node labels"
|
|
7969
|
+
},
|
|
7970
|
+
"interactive": {
|
|
7971
|
+
"types": [
|
|
7972
|
+
"boolean"
|
|
7973
|
+
],
|
|
7974
|
+
"description": "Enable zoom/pan"
|
|
7975
|
+
},
|
|
7976
|
+
"draggable": {
|
|
7977
|
+
"types": [
|
|
7978
|
+
"boolean"
|
|
7979
|
+
],
|
|
7980
|
+
"description": "Enable node dragging"
|
|
7981
|
+
},
|
|
7982
|
+
"actions": {
|
|
7983
|
+
"types": [
|
|
7984
|
+
"unknown"
|
|
7985
|
+
],
|
|
7986
|
+
"description": "Actions"
|
|
7987
|
+
},
|
|
7988
|
+
"onNodeClick": {
|
|
7989
|
+
"types": [
|
|
7990
|
+
"function"
|
|
7991
|
+
],
|
|
7992
|
+
"description": "On node click"
|
|
7993
|
+
},
|
|
7994
|
+
"nodeClickEvent": {
|
|
7995
|
+
"types": [
|
|
7996
|
+
"string"
|
|
7997
|
+
],
|
|
7998
|
+
"description": "Node click event"
|
|
7999
|
+
},
|
|
8000
|
+
"layout": {
|
|
8001
|
+
"types": [
|
|
8002
|
+
"string"
|
|
8003
|
+
],
|
|
8004
|
+
"description": "Layout algorithm"
|
|
8005
|
+
},
|
|
8006
|
+
"entity": {
|
|
8007
|
+
"types": [
|
|
8008
|
+
"string"
|
|
8009
|
+
],
|
|
8010
|
+
"description": "Entity name for schema-driven auto-fetch"
|
|
8011
|
+
},
|
|
8012
|
+
"isLoading": {
|
|
8013
|
+
"types": [
|
|
8014
|
+
"boolean"
|
|
8015
|
+
],
|
|
8016
|
+
"description": "Loading state"
|
|
8017
|
+
},
|
|
8018
|
+
"error": {
|
|
8019
|
+
"types": [
|
|
8020
|
+
"error"
|
|
8021
|
+
],
|
|
8022
|
+
"description": "Error state"
|
|
8023
|
+
},
|
|
8024
|
+
"className": {
|
|
8025
|
+
"types": [
|
|
8026
|
+
"string"
|
|
8027
|
+
],
|
|
8028
|
+
"description": "Additional CSS classes"
|
|
8029
|
+
}
|
|
8030
|
+
}
|
|
8031
|
+
},
|
|
8032
|
+
"code-viewer": {
|
|
8033
|
+
"type": "code-viewer",
|
|
8034
|
+
"category": "display",
|
|
8035
|
+
"description": "Code and diff viewer with line numbers, copy, word-wrap, and multi-file tabs",
|
|
8036
|
+
"suggestedFor": [
|
|
8037
|
+
"code display",
|
|
8038
|
+
"diff viewing",
|
|
8039
|
+
"schema inspection",
|
|
8040
|
+
"log viewing"
|
|
8041
|
+
],
|
|
8042
|
+
"typicalSize": "medium",
|
|
8043
|
+
"propsSchema": {
|
|
8044
|
+
"title": {
|
|
8045
|
+
"types": [
|
|
8046
|
+
"string"
|
|
8047
|
+
],
|
|
8048
|
+
"description": "Viewer title"
|
|
8049
|
+
},
|
|
8050
|
+
"code": {
|
|
8051
|
+
"types": [
|
|
8052
|
+
"string"
|
|
8053
|
+
],
|
|
8054
|
+
"description": "Code content"
|
|
8055
|
+
},
|
|
8056
|
+
"language": {
|
|
8057
|
+
"types": [
|
|
8058
|
+
"string"
|
|
8059
|
+
],
|
|
8060
|
+
"description": "Language for display label"
|
|
8061
|
+
},
|
|
8062
|
+
"diff": {
|
|
8063
|
+
"types": [
|
|
8064
|
+
"unknown"
|
|
8065
|
+
],
|
|
8066
|
+
"description": "Diff lines (for diff mode)"
|
|
8067
|
+
},
|
|
8068
|
+
"oldValue": {
|
|
8069
|
+
"types": [
|
|
8070
|
+
"string"
|
|
8071
|
+
],
|
|
8072
|
+
"description": "Old value (for generating diff)"
|
|
8073
|
+
},
|
|
8074
|
+
"newValue": {
|
|
8075
|
+
"types": [
|
|
8076
|
+
"string"
|
|
8077
|
+
],
|
|
8078
|
+
"description": "New value (for generating diff)"
|
|
8079
|
+
},
|
|
8080
|
+
"mode": {
|
|
8081
|
+
"types": [
|
|
8082
|
+
"codeviewermode"
|
|
8083
|
+
],
|
|
8084
|
+
"description": "Display mode"
|
|
8085
|
+
},
|
|
8086
|
+
"showLineNumbers": {
|
|
8087
|
+
"types": [
|
|
8088
|
+
"boolean"
|
|
8089
|
+
],
|
|
8090
|
+
"description": "Show line numbers"
|
|
8091
|
+
},
|
|
8092
|
+
"showCopy": {
|
|
8093
|
+
"types": [
|
|
8094
|
+
"boolean"
|
|
8095
|
+
],
|
|
8096
|
+
"description": "Show copy button"
|
|
8097
|
+
},
|
|
8098
|
+
"wordWrap": {
|
|
8099
|
+
"types": [
|
|
8100
|
+
"boolean"
|
|
8101
|
+
],
|
|
8102
|
+
"description": "Enable word wrap"
|
|
8103
|
+
},
|
|
8104
|
+
"maxHeight": {
|
|
8105
|
+
"types": [
|
|
8106
|
+
"number",
|
|
8107
|
+
"string"
|
|
8108
|
+
],
|
|
8109
|
+
"description": "Max height before scrolling"
|
|
8110
|
+
},
|
|
8111
|
+
"files": {
|
|
8112
|
+
"types": [
|
|
8113
|
+
"unknown"
|
|
8114
|
+
],
|
|
8115
|
+
"description": "Multiple files (tabbed view)"
|
|
8116
|
+
},
|
|
8117
|
+
"actions": {
|
|
8118
|
+
"types": [
|
|
8119
|
+
"unknown"
|
|
8120
|
+
],
|
|
8121
|
+
"description": "Actions"
|
|
8122
|
+
},
|
|
8123
|
+
"entity": {
|
|
8124
|
+
"types": [
|
|
8125
|
+
"string"
|
|
8126
|
+
],
|
|
8127
|
+
"description": "Entity name for schema-driven auto-fetch"
|
|
8128
|
+
},
|
|
8129
|
+
"isLoading": {
|
|
8130
|
+
"types": [
|
|
8131
|
+
"boolean"
|
|
8132
|
+
],
|
|
8133
|
+
"description": "Loading state"
|
|
8134
|
+
},
|
|
8135
|
+
"error": {
|
|
8136
|
+
"types": [
|
|
8137
|
+
"error"
|
|
8138
|
+
],
|
|
8139
|
+
"description": "Error state"
|
|
8140
|
+
},
|
|
8141
|
+
"className": {
|
|
8142
|
+
"types": [
|
|
8143
|
+
"string"
|
|
8144
|
+
],
|
|
8145
|
+
"description": "Additional CSS classes"
|
|
8146
|
+
}
|
|
8147
|
+
}
|
|
8148
|
+
},
|
|
8149
|
+
"canvas-effect": {
|
|
8150
|
+
"type": "canvas-effect",
|
|
8151
|
+
"category": "game",
|
|
8152
|
+
"description": "CanvasEffect Component Renders animated visual effects as DOM overlays on the canvas. Maps combat action types to particle/flash effects that play at a specified position and auto-dismiss. Pattern: canvas-effect",
|
|
8153
|
+
"suggestedFor": [
|
|
8154
|
+
"canvas",
|
|
8155
|
+
"effect",
|
|
8156
|
+
"canvas effect"
|
|
8157
|
+
],
|
|
8158
|
+
"typicalSize": "large",
|
|
8159
|
+
"propsSchema": {
|
|
8160
|
+
"actionType": {
|
|
8161
|
+
"types": [
|
|
8162
|
+
"combatactiontype"
|
|
8163
|
+
],
|
|
8164
|
+
"description": "The type of combat action to visualise",
|
|
8165
|
+
"required": true
|
|
8166
|
+
},
|
|
8167
|
+
"x": {
|
|
8168
|
+
"types": [
|
|
8169
|
+
"number"
|
|
8170
|
+
],
|
|
8171
|
+
"description": "Screen-space X position (center of the effect)",
|
|
8172
|
+
"required": true
|
|
8173
|
+
},
|
|
8174
|
+
"y": {
|
|
8175
|
+
"types": [
|
|
8176
|
+
"number"
|
|
8177
|
+
],
|
|
8178
|
+
"description": "Screen-space Y position (center of the effect)",
|
|
8179
|
+
"required": true
|
|
8180
|
+
},
|
|
8181
|
+
"duration": {
|
|
8182
|
+
"types": [
|
|
8183
|
+
"number"
|
|
8184
|
+
],
|
|
8185
|
+
"description": "Duration in ms before auto-dismiss (default 800)"
|
|
8186
|
+
},
|
|
8187
|
+
"intensity": {
|
|
8188
|
+
"types": [
|
|
8189
|
+
"number"
|
|
8190
|
+
],
|
|
8191
|
+
"description": "Optional intensity multiplier (1 = normal, 2 = double size/brightness)"
|
|
8192
|
+
},
|
|
8193
|
+
"onComplete": {
|
|
8194
|
+
"types": [
|
|
8195
|
+
"function"
|
|
8196
|
+
],
|
|
8197
|
+
"description": "Callback when the effect animation completes"
|
|
8198
|
+
},
|
|
8199
|
+
"className": {
|
|
8200
|
+
"types": [
|
|
8201
|
+
"string"
|
|
8202
|
+
],
|
|
8203
|
+
"description": "Additional CSS classes"
|
|
8204
|
+
},
|
|
8205
|
+
"isLoading": {
|
|
8206
|
+
"types": [
|
|
8207
|
+
"boolean"
|
|
8208
|
+
],
|
|
8209
|
+
"description": "Loading state indicator"
|
|
8210
|
+
},
|
|
8211
|
+
"error": {
|
|
8212
|
+
"types": [
|
|
8213
|
+
"error"
|
|
8214
|
+
],
|
|
8215
|
+
"description": "Error state"
|
|
8216
|
+
},
|
|
8217
|
+
"effectSpriteUrl": {
|
|
8218
|
+
"types": [
|
|
8219
|
+
"string"
|
|
8220
|
+
],
|
|
8221
|
+
"description": "--- Remote asset loading ---"
|
|
8222
|
+
},
|
|
8223
|
+
"assetBaseUrl": {
|
|
8224
|
+
"types": [
|
|
8225
|
+
"string"
|
|
8226
|
+
],
|
|
8227
|
+
"description": "Base URL for remote assets. Prepended to relative effectSpriteUrl paths."
|
|
8228
|
+
}
|
|
8229
|
+
}
|
|
8230
|
+
},
|
|
8231
|
+
"isometric-canvas": {
|
|
8232
|
+
"type": "isometric-canvas",
|
|
8233
|
+
"category": "game",
|
|
8234
|
+
"description": "IsometricCanvas Core isometric game renderer. Maps to the `game-canvas` pattern. Adapted from projects/trait-wars/design-system/organisms/IsometricGameCanvas.tsx with full closed-circuit pattern compliance (className, isLoading, error, entity). Architecture: - 2:1 diamond isometric projection - Painter's algorithm (tile → feature → unit depth sort) - Camera pan/zoom with lerp - Off-screen culling - Minimap on separate canvas - Sprite sheet animation via resolveUnitFrame - Event bus–friendly handlers (onTileClick, onUnitClick, etc.)",
|
|
8235
|
+
"suggestedFor": [
|
|
8236
|
+
"isometric",
|
|
8237
|
+
"canvas",
|
|
8238
|
+
"isometric canvas"
|
|
8239
|
+
],
|
|
8240
|
+
"typicalSize": "large",
|
|
8241
|
+
"propsSchema": {
|
|
8242
|
+
"className": {
|
|
8243
|
+
"types": [
|
|
8244
|
+
"string"
|
|
8245
|
+
],
|
|
8246
|
+
"description": "--- Closed-circuit props (MANDATORY) ---"
|
|
8247
|
+
},
|
|
8248
|
+
"isLoading": {
|
|
8249
|
+
"types": [
|
|
8250
|
+
"boolean"
|
|
8251
|
+
],
|
|
8252
|
+
"description": "Loading state indicator"
|
|
8253
|
+
},
|
|
8254
|
+
"error": {
|
|
8255
|
+
"types": [
|
|
8256
|
+
"error"
|
|
8257
|
+
],
|
|
8258
|
+
"description": "Error state"
|
|
8259
|
+
},
|
|
8260
|
+
"entity": {
|
|
8261
|
+
"types": [
|
|
8262
|
+
"string"
|
|
8263
|
+
],
|
|
8264
|
+
"description": "Entity name for schema-driven auto-fetch"
|
|
8265
|
+
},
|
|
8266
|
+
"tiles": {
|
|
8267
|
+
"types": [
|
|
8268
|
+
"array"
|
|
8269
|
+
],
|
|
8270
|
+
"description": "--- Grid data ---"
|
|
8271
|
+
},
|
|
8272
|
+
"units": {
|
|
8273
|
+
"types": [
|
|
8274
|
+
"array"
|
|
8275
|
+
],
|
|
8276
|
+
"description": "Array of units on the board"
|
|
8277
|
+
},
|
|
8278
|
+
"features": {
|
|
8279
|
+
"types": [
|
|
8280
|
+
"array"
|
|
8281
|
+
],
|
|
8282
|
+
"description": "Array of features (resources, portals, buildings, etc.)"
|
|
8283
|
+
},
|
|
8284
|
+
"selectedUnitId": {
|
|
8285
|
+
"types": [
|
|
8286
|
+
"string"
|
|
8287
|
+
],
|
|
8288
|
+
"description": "--- Interaction state ---"
|
|
8289
|
+
},
|
|
8290
|
+
"validMoves": {
|
|
8291
|
+
"types": [
|
|
8292
|
+
"array"
|
|
8293
|
+
],
|
|
8294
|
+
"description": "Valid move positions (shown as pulsing green highlights)"
|
|
8295
|
+
},
|
|
8296
|
+
"attackTargets": {
|
|
8297
|
+
"types": [
|
|
8298
|
+
"array"
|
|
8299
|
+
],
|
|
8300
|
+
"description": "Attack target positions (shown as pulsing red highlights)"
|
|
8301
|
+
},
|
|
8302
|
+
"hoveredTile": {
|
|
8303
|
+
"types": [
|
|
8304
|
+
"object"
|
|
8305
|
+
],
|
|
8306
|
+
"description": "Hovered tile position"
|
|
8307
|
+
},
|
|
8308
|
+
"onTileClick": {
|
|
8309
|
+
"types": [
|
|
8310
|
+
"function"
|
|
8311
|
+
],
|
|
8312
|
+
"description": "--- Event handlers ---"
|
|
8313
|
+
},
|
|
8314
|
+
"onUnitClick": {
|
|
8315
|
+
"types": [
|
|
8316
|
+
"function"
|
|
8317
|
+
],
|
|
8318
|
+
"description": "Unit click handler"
|
|
8319
|
+
},
|
|
8320
|
+
"onTileHover": {
|
|
8321
|
+
"types": [
|
|
8322
|
+
"function"
|
|
8323
|
+
],
|
|
8324
|
+
"description": "Tile hover handler"
|
|
8325
|
+
},
|
|
8326
|
+
"onTileLeave": {
|
|
8327
|
+
"types": [
|
|
8328
|
+
"function"
|
|
8329
|
+
],
|
|
8330
|
+
"description": "Tile leave handler"
|
|
8331
|
+
},
|
|
8332
|
+
"scale": {
|
|
8333
|
+
"types": [
|
|
8334
|
+
"number"
|
|
8335
|
+
],
|
|
8336
|
+
"description": "--- Rendering options ---"
|
|
8337
|
+
},
|
|
8338
|
+
"debug": {
|
|
8339
|
+
"types": [
|
|
8340
|
+
"boolean"
|
|
8341
|
+
],
|
|
8342
|
+
"description": "Show debug grid lines and coordinates"
|
|
8343
|
+
},
|
|
8344
|
+
"backgroundImage": {
|
|
8345
|
+
"types": [
|
|
8346
|
+
"string"
|
|
8347
|
+
],
|
|
8348
|
+
"description": "Background image URL tiled behind the isometric grid"
|
|
8349
|
+
},
|
|
8350
|
+
"showMinimap": {
|
|
8351
|
+
"types": [
|
|
8352
|
+
"boolean"
|
|
8353
|
+
],
|
|
8354
|
+
"description": "Toggle minimap overlay"
|
|
8355
|
+
},
|
|
8356
|
+
"enableCamera": {
|
|
8357
|
+
"types": [
|
|
8358
|
+
"boolean"
|
|
8359
|
+
],
|
|
8360
|
+
"description": "Enable camera pan/zoom controls"
|
|
8361
|
+
},
|
|
8362
|
+
"unitScale": {
|
|
8363
|
+
"types": [
|
|
8364
|
+
"number"
|
|
8365
|
+
],
|
|
8366
|
+
"description": "Extra scale multiplier for unit draw size. 1 = default."
|
|
8367
|
+
},
|
|
8368
|
+
"getTerrainSprite": {
|
|
8369
|
+
"types": [
|
|
8370
|
+
"function"
|
|
8371
|
+
],
|
|
8372
|
+
"description": "--- Asset resolution (project-agnostic) ---"
|
|
8373
|
+
},
|
|
8374
|
+
"getFeatureSprite": {
|
|
8375
|
+
"types": [
|
|
8376
|
+
"function"
|
|
8377
|
+
],
|
|
8378
|
+
"description": "Resolve feature sprite URL from feature type key"
|
|
8379
|
+
},
|
|
8380
|
+
"getUnitSprite": {
|
|
8381
|
+
"types": [
|
|
8382
|
+
"function"
|
|
8383
|
+
],
|
|
8384
|
+
"description": "Resolve unit static sprite URL"
|
|
8385
|
+
},
|
|
8386
|
+
"resolveUnitFrame": {
|
|
8387
|
+
"types": [
|
|
8388
|
+
"function"
|
|
8389
|
+
],
|
|
8390
|
+
"description": "Resolve animated sprite sheet frame for a unit"
|
|
8391
|
+
},
|
|
8392
|
+
"effectSpriteUrls": {
|
|
8393
|
+
"types": [
|
|
8394
|
+
"array"
|
|
8395
|
+
],
|
|
8396
|
+
"description": "Additional sprite URLs to preload (e.g., effect sprites)"
|
|
8397
|
+
},
|
|
8398
|
+
"onDrawEffects": {
|
|
8399
|
+
"types": [
|
|
8400
|
+
"function"
|
|
8401
|
+
],
|
|
8402
|
+
"description": "Callback to draw canvas effects after units"
|
|
8403
|
+
},
|
|
8404
|
+
"hasActiveEffects": {
|
|
8405
|
+
"types": [
|
|
8406
|
+
"boolean"
|
|
8407
|
+
],
|
|
8408
|
+
"description": "Whether there are active effects — keeps RAF loop alive"
|
|
8409
|
+
},
|
|
8410
|
+
"assetBaseUrl": {
|
|
8411
|
+
"types": [
|
|
8412
|
+
"string"
|
|
8413
|
+
],
|
|
8414
|
+
"description": "--- Remote asset loading ---"
|
|
8415
|
+
},
|
|
8416
|
+
"assetManifest": {
|
|
8417
|
+
"types": [
|
|
8418
|
+
"object"
|
|
8419
|
+
],
|
|
8420
|
+
"description": "Manifest mapping entity keys to relative sprite paths. Combined with assetBaseUrl to produce full URLs. Used as a fallback when inline URLs and callbacks don't resolve."
|
|
8421
|
+
}
|
|
8422
|
+
}
|
|
7805
8423
|
}
|
|
7806
8424
|
},
|
|
7807
8425
|
"categories": [
|
|
@@ -7818,6 +8436,8 @@
|
|
|
7818
8436
|
"debug",
|
|
7819
8437
|
"meta",
|
|
7820
8438
|
"component",
|
|
7821
|
-
"template"
|
|
8439
|
+
"template",
|
|
8440
|
+
"visualization",
|
|
8441
|
+
"media"
|
|
7822
8442
|
]
|
|
7823
8443
|
}
|