@almadar/core 10.80.0 → 10.82.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.
Files changed (34) hide show
  1. package/dist/builders.d.ts +3 -3
  2. package/dist/builders.js +38 -0
  3. package/dist/builders.js.map +1 -1
  4. package/dist/{effect-C4uehm-r.d.ts → effect-Baldm2vM.d.ts} +369 -4
  5. package/dist/{entityAccess-BMKFgmsc.d.ts → entityAccess-CDYT7WWR.d.ts} +1 -1
  6. package/dist/factory/index.d.ts +4 -4
  7. package/dist/factory/index.js +980 -10
  8. package/dist/factory/index.js.map +1 -1
  9. package/dist/factory-runtime/index.d.ts +3 -3
  10. package/dist/factory-runtime/index.js +38 -0
  11. package/dist/factory-runtime/index.js.map +1 -1
  12. package/dist/{index-DqUnw2Oo.d.ts → index-R8PyPrGg.d.ts} +4 -4
  13. package/dist/index.d.ts +10 -10
  14. package/dist/index.js +2135 -406
  15. package/dist/index.js.map +1 -1
  16. package/dist/mock/index.d.ts +4 -4
  17. package/dist/mock/index.js +38 -0
  18. package/dist/mock/index.js.map +1 -1
  19. package/dist/patterns/component-mapping.json +21 -1
  20. package/dist/patterns/event-contracts.json +1 -1
  21. package/dist/patterns/index.d.ts +4045 -608
  22. package/dist/patterns/index.js +1963 -405
  23. package/dist/patterns/index.js.map +1 -1
  24. package/dist/patterns/integrators-registry.json +1004 -402
  25. package/dist/patterns/patterns-registry.json +933 -1
  26. package/dist/patterns/registry.json +933 -1
  27. package/dist/patterns/services-registry.json +1171 -424
  28. package/dist/{schema-Cma07_18.d.ts → schema-1KQUz2pE.d.ts} +2 -2
  29. package/dist/{trait-BXkQKZbO.d.ts → trait-Dsp0vmGp.d.ts} +1 -1
  30. package/dist/types/index.d.ts +5 -5
  31. package/dist/types/index.js +176 -1
  32. package/dist/types/index.js.map +1 -1
  33. package/dist/{types-DoAKLgCZ.d.ts → types-DJYozDXK.d.ts} +2 -2
  34. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "1.0.0",
3
- "exportedAt": "2026-09-02T20:03:03.703Z",
3
+ "exportedAt": "2026-09-03T18:48:23.816Z",
4
4
  "patterns": {
5
5
  "entity-table": {
6
6
  "type": "entity-table",
@@ -26138,6 +26138,28 @@
26138
26138
  ],
26139
26139
  "description": "Accessible label/tooltip for the row hover action."
26140
26140
  },
26141
+ "onNodeReorder": {
26142
+ "types": [
26143
+ "function"
26144
+ ],
26145
+ "description": "Called when a row is dropped onto another, in flat `items` mode; carries the moved node's id, its new parent id (`null` for a root drop), and its index within the new parent's children. Presence-gated: binding this prop is what turns on row dragging.",
26146
+ "kind": "callback",
26147
+ "callbackArgs": [
26148
+ {
26149
+ "name": "id",
26150
+ "type": "string"
26151
+ },
26152
+ {
26153
+ "name": "newParentId",
26154
+ "type": "string"
26155
+ },
26156
+ {
26157
+ "name": "index",
26158
+ "type": "number"
26159
+ }
26160
+ ],
26161
+ "default": ""
26162
+ },
26141
26163
  "className": {
26142
26164
  "types": [
26143
26165
  "string"
@@ -32686,6 +32708,20 @@
32686
32708
  "role",
32687
32709
  "category"
32688
32710
  ]
32711
+ },
32712
+ "toggleEvent": {
32713
+ "types": [
32714
+ "string"
32715
+ ],
32716
+ "description": "Event dispatched via event bus on toggle, carrying the new muted state.",
32717
+ "kind": "event-ref",
32718
+ "emitPayloadSchema": [
32719
+ {
32720
+ "name": "muted",
32721
+ "type": "boolean",
32722
+ "required": true
32723
+ }
32724
+ ]
32689
32725
  }
32690
32726
  }
32691
32727
  },
@@ -35157,6 +35193,19 @@
35157
35193
  "string"
35158
35194
  ],
35159
35195
  "description": "Class for right/bottom pane"
35196
+ },
35197
+ "onRatioChange": {
35198
+ "types": [
35199
+ "function"
35200
+ ],
35201
+ "description": "Called with the new ratio while dragging. Providing this makes `ratio` controlled — the rendered split always tracks the prop instead of internal state, mirroring a controlled input. Omit for uncontrolled (self-tracked) behavior.",
35202
+ "kind": "callback",
35203
+ "callbackArgs": [
35204
+ {
35205
+ "name": "ratio",
35206
+ "type": "number"
35207
+ }
35208
+ ]
35160
35209
  }
35161
35210
  }
35162
35211
  },
@@ -37775,6 +37824,92 @@
37775
37824
  ]
37776
37825
  }
37777
37826
  },
37827
+ "editable": {
37828
+ "types": [
37829
+ "boolean"
37830
+ ],
37831
+ "description": "--- Scene-edit mode (a game studio selecting/dragging drawables). Purely",
37832
+ "default": false
37833
+ },
37834
+ "selectedId": {
37835
+ "types": [
37836
+ "string"
37837
+ ],
37838
+ "description": "The currently-selected drawable id (controlled); `null`/undefined = none.",
37839
+ "default": null
37840
+ },
37841
+ "onSelect": {
37842
+ "types": [
37843
+ "function"
37844
+ ],
37845
+ "description": "Fired on a click that changes selection — before `selectEvent`.",
37846
+ "kind": "callback",
37847
+ "callbackArgs": [
37848
+ {
37849
+ "name": "id",
37850
+ "type": "string"
37851
+ }
37852
+ ]
37853
+ },
37854
+ "onMove": {
37855
+ "types": [
37856
+ "function"
37857
+ ],
37858
+ "description": "Fired once per drag gesture, on drop — before `moveEvent`.",
37859
+ "kind": "callback",
37860
+ "callbackArgs": [
37861
+ {
37862
+ "name": "id",
37863
+ "type": "string"
37864
+ },
37865
+ {
37866
+ "name": "x",
37867
+ "type": "number"
37868
+ },
37869
+ {
37870
+ "name": "y",
37871
+ "type": "number"
37872
+ }
37873
+ ]
37874
+ },
37875
+ "selectEvent": {
37876
+ "types": [
37877
+ "string"
37878
+ ],
37879
+ "description": "Declarative selection event, `UI:{selectEvent} { id }`.",
37880
+ "kind": "event-ref",
37881
+ "emitPayloadSchema": [
37882
+ {
37883
+ "name": "id",
37884
+ "type": "string",
37885
+ "required": true
37886
+ }
37887
+ ]
37888
+ },
37889
+ "moveEvent": {
37890
+ "types": [
37891
+ "string"
37892
+ ],
37893
+ "description": "Declarative move event, `UI:{moveEvent} { id, x, y }` — fired once on drop.",
37894
+ "kind": "event-ref",
37895
+ "emitPayloadSchema": [
37896
+ {
37897
+ "name": "id",
37898
+ "type": "string",
37899
+ "required": true
37900
+ },
37901
+ {
37902
+ "name": "x",
37903
+ "type": "number",
37904
+ "required": true
37905
+ },
37906
+ {
37907
+ "name": "y",
37908
+ "type": "number",
37909
+ "required": true
37910
+ }
37911
+ ]
37912
+ },
37778
37913
  "camera": {
37779
37914
  "types": [
37780
37915
  "string"
@@ -38950,6 +39085,12 @@
38950
39085
  ],
38951
39086
  "description": "Background color (default transparent)."
38952
39087
  },
39088
+ "fontFamily": {
39089
+ "types": [
39090
+ "string"
39091
+ ],
39092
+ "description": "Canvas text font family. Falls back to the theme's --font-family-body."
39093
+ },
38953
39094
  "shapes": {
38954
39095
  "types": [
38955
39096
  "array"
@@ -39074,6 +39215,11 @@
39074
39215
  "number"
39075
39216
  ]
39076
39217
  },
39218
+ "fontFamily": {
39219
+ "types": [
39220
+ "string"
39221
+ ]
39222
+ },
39077
39223
  "align": {
39078
39224
  "types": [
39079
39225
  "string"
@@ -40446,6 +40592,11 @@
40446
40592
  "number"
40447
40593
  ]
40448
40594
  },
40595
+ "fontFamily": {
40596
+ "types": [
40597
+ "string"
40598
+ ]
40599
+ },
40449
40600
  "align": {
40450
40601
  "types": [
40451
40602
  "string"
@@ -41721,6 +41872,11 @@
41721
41872
  "number"
41722
41873
  ]
41723
41874
  },
41875
+ "fontFamily": {
41876
+ "types": [
41877
+ "string"
41878
+ ]
41879
+ },
41724
41880
  "align": {
41725
41881
  "types": [
41726
41882
  "string"
@@ -42183,6 +42339,26 @@
42183
42339
  "description": "Draw numeric labels on grid lines (default false).",
42184
42340
  "default": false
42185
42341
  },
42342
+ "tickLabelFontSize": {
42343
+ "types": [
42344
+ "number"
42345
+ ],
42346
+ "description": "Font size in px for axis tick labels (default 10).",
42347
+ "default": 10
42348
+ },
42349
+ "labelFontSize": {
42350
+ "types": [
42351
+ "number"
42352
+ ],
42353
+ "description": "Base font size in px for all other canvas annotations (points, vectors, guides, curves, regions, angles, hops; default 12).",
42354
+ "default": 12
42355
+ },
42356
+ "fontFamily": {
42357
+ "types": [
42358
+ "string"
42359
+ ],
42360
+ "description": "Canvas text font family. Accepts a known game-font key (e.g. \"future-narrow\") or a CSS font-family string."
42361
+ },
42186
42362
  "showCurveLabels": {
42187
42363
  "types": [
42188
42364
  "boolean"
@@ -42760,6 +42936,11 @@
42760
42936
  "number"
42761
42937
  ]
42762
42938
  },
42939
+ "fontFamily": {
42940
+ "types": [
42941
+ "string"
42942
+ ]
42943
+ },
42763
42944
  "align": {
42764
42945
  "types": [
42765
42946
  "string"
@@ -44295,6 +44476,11 @@
44295
44476
  "number"
44296
44477
  ]
44297
44478
  },
44479
+ "fontFamily": {
44480
+ "types": [
44481
+ "string"
44482
+ ]
44483
+ },
44298
44484
  "align": {
44299
44485
  "types": [
44300
44486
  "string"
@@ -45504,6 +45690,11 @@
45504
45690
  "number"
45505
45691
  ]
45506
45692
  },
45693
+ "fontFamily": {
45694
+ "types": [
45695
+ "string"
45696
+ ]
45697
+ },
45507
45698
  "align": {
45508
45699
  "types": [
45509
45700
  "string"
@@ -48786,6 +48977,90 @@
48786
48977
  ]
48787
48978
  }
48788
48979
  },
48980
+ "editable": {
48981
+ "types": [
48982
+ "boolean"
48983
+ ],
48984
+ "description": "--- Scene-edit mode (a game studio selecting/dragging drawables). Purely"
48985
+ },
48986
+ "selectedId": {
48987
+ "types": [
48988
+ "string"
48989
+ ],
48990
+ "description": "The currently-selected drawable id (controlled); `null`/undefined = none."
48991
+ },
48992
+ "onSelect": {
48993
+ "types": [
48994
+ "function"
48995
+ ],
48996
+ "description": "Fired on a click that changes selection — before `selectEvent`.",
48997
+ "kind": "callback",
48998
+ "callbackArgs": [
48999
+ {
49000
+ "name": "id",
49001
+ "type": "string"
49002
+ }
49003
+ ]
49004
+ },
49005
+ "onMove": {
49006
+ "types": [
49007
+ "function"
49008
+ ],
49009
+ "description": "Fired once per drag gesture, on drop — before `moveEvent`.",
49010
+ "kind": "callback",
49011
+ "callbackArgs": [
49012
+ {
49013
+ "name": "id",
49014
+ "type": "string"
49015
+ },
49016
+ {
49017
+ "name": "x",
49018
+ "type": "number"
49019
+ },
49020
+ {
49021
+ "name": "y",
49022
+ "type": "number"
49023
+ }
49024
+ ]
49025
+ },
49026
+ "selectEvent": {
49027
+ "types": [
49028
+ "string"
49029
+ ],
49030
+ "description": "Declarative selection event, `UI:{selectEvent} { id }`.",
49031
+ "kind": "event-ref",
49032
+ "emitPayloadSchema": [
49033
+ {
49034
+ "name": "id",
49035
+ "type": "string",
49036
+ "required": true
49037
+ }
49038
+ ]
49039
+ },
49040
+ "moveEvent": {
49041
+ "types": [
49042
+ "string"
49043
+ ],
49044
+ "description": "Declarative move event, `UI:{moveEvent} { id, x, y }` — fired once on drop.",
49045
+ "kind": "event-ref",
49046
+ "emitPayloadSchema": [
49047
+ {
49048
+ "name": "id",
49049
+ "type": "string",
49050
+ "required": true
49051
+ },
49052
+ {
49053
+ "name": "x",
49054
+ "type": "number",
49055
+ "required": true
49056
+ },
49057
+ {
49058
+ "name": "y",
49059
+ "type": "number",
49060
+ "required": true
49061
+ }
49062
+ ]
49063
+ },
48789
49064
  "children": {
48790
49065
  "types": [
48791
49066
  "node"
@@ -50314,6 +50589,11 @@
50314
50589
  "number"
50315
50590
  ]
50316
50591
  },
50592
+ "fontFamily": {
50593
+ "types": [
50594
+ "string"
50595
+ ]
50596
+ },
50317
50597
  "align": {
50318
50598
  "types": [
50319
50599
  "string"
@@ -51563,6 +51843,658 @@
51563
51843
  "description": "className prop"
51564
51844
  }
51565
51845
  }
51846
+ },
51847
+ "floating-toolbar": {
51848
+ "type": "floating-toolbar",
51849
+ "category": "component",
51850
+ "tier": "molecules",
51851
+ "family": "core",
51852
+ "description": "FloatingToolbar component",
51853
+ "suggestedFor": [
51854
+ "floating",
51855
+ "toolbar",
51856
+ "floating toolbar"
51857
+ ],
51858
+ "typicalSize": "medium",
51859
+ "propsSchema": {
51860
+ "items": {
51861
+ "types": [
51862
+ "array"
51863
+ ],
51864
+ "description": "Tool items rendered as icon buttons",
51865
+ "required": true,
51866
+ "items": {
51867
+ "types": [
51868
+ "object"
51869
+ ],
51870
+ "properties": {
51871
+ "id": {
51872
+ "types": [
51873
+ "string"
51874
+ ]
51875
+ },
51876
+ "icon": {
51877
+ "types": [
51878
+ "icon",
51879
+ "string"
51880
+ ]
51881
+ },
51882
+ "label": {
51883
+ "types": [
51884
+ "string"
51885
+ ]
51886
+ },
51887
+ "event": {
51888
+ "types": [
51889
+ "string"
51890
+ ]
51891
+ },
51892
+ "action": {
51893
+ "types": [
51894
+ "string"
51895
+ ]
51896
+ },
51897
+ "actionPayload": {
51898
+ "types": [
51899
+ "object"
51900
+ ],
51901
+ "freeform": true,
51902
+ "eventPayloadBrand": true
51903
+ },
51904
+ "active": {
51905
+ "types": [
51906
+ "boolean"
51907
+ ]
51908
+ },
51909
+ "disabled": {
51910
+ "types": [
51911
+ "boolean"
51912
+ ]
51913
+ },
51914
+ "testId": {
51915
+ "types": [
51916
+ "string"
51917
+ ]
51918
+ }
51919
+ },
51920
+ "required": [
51921
+ "id",
51922
+ "icon",
51923
+ "label"
51924
+ ]
51925
+ }
51926
+ },
51927
+ "position": {
51928
+ "types": [
51929
+ "string"
51930
+ ],
51931
+ "description": "Strip position within the app frame.",
51932
+ "enumValues": [
51933
+ "bottom-center",
51934
+ "bottom-left",
51935
+ "bottom-right"
51936
+ ],
51937
+ "default": "bottom-center"
51938
+ },
51939
+ "children": {
51940
+ "types": [
51941
+ "node"
51942
+ ],
51943
+ "description": "Custom cells appended after the items, separated by a divider"
51944
+ },
51945
+ "className": {
51946
+ "types": [
51947
+ "string"
51948
+ ],
51949
+ "description": "Additional CSS classes on the positioned root"
51950
+ }
51951
+ }
51952
+ },
51953
+ "dock-layout": {
51954
+ "type": "dock-layout",
51955
+ "category": "layout",
51956
+ "tier": "organisms",
51957
+ "family": "core",
51958
+ "description": "DockLayout component",
51959
+ "suggestedFor": [
51960
+ "dock",
51961
+ "layout",
51962
+ "dock layout"
51963
+ ],
51964
+ "typicalSize": "large",
51965
+ "propsSchema": {
51966
+ "rail": {
51967
+ "types": [
51968
+ "node"
51969
+ ],
51970
+ "description": "Fixed-width far-left vertical strip (e.g. an icon nav rail)."
51971
+ },
51972
+ "sidebar": {
51973
+ "types": [
51974
+ "node"
51975
+ ],
51976
+ "description": "Collapsible, resizable left sidebar."
51977
+ },
51978
+ "main": {
51979
+ "types": [
51980
+ "node"
51981
+ ],
51982
+ "description": "Required center region.",
51983
+ "required": true
51984
+ },
51985
+ "bottomPanel": {
51986
+ "types": [
51987
+ "node"
51988
+ ],
51989
+ "description": "Collapsible, resizable-height bottom panel."
51990
+ },
51991
+ "statusBar": {
51992
+ "types": [
51993
+ "node"
51994
+ ],
51995
+ "description": "Slim strip pinned to the bottom of the frame, below the bottom panel."
51996
+ },
51997
+ "secondarySidebar": {
51998
+ "types": [
51999
+ "node"
52000
+ ],
52001
+ "description": "Collapsible right sidebar."
52002
+ },
52003
+ "railWidth": {
52004
+ "types": [
52005
+ "number"
52006
+ ],
52007
+ "description": "Width of `rail` in pixels. @default 56",
52008
+ "default": 56
52009
+ },
52010
+ "secondarySidebarWidth": {
52011
+ "types": [
52012
+ "number"
52013
+ ],
52014
+ "description": "Width of `secondarySidebar` in pixels (fixed — not resizable). @default 280",
52015
+ "default": 280
52016
+ },
52017
+ "sidebarCollapsed": {
52018
+ "types": [
52019
+ "boolean"
52020
+ ],
52021
+ "description": "Whether `sidebar` is collapsed. @default false",
52022
+ "default": false
52023
+ },
52024
+ "onSidebarCollapsedChange": {
52025
+ "types": [
52026
+ "function"
52027
+ ],
52028
+ "description": "onSidebarCollapsedChange prop",
52029
+ "kind": "callback",
52030
+ "callbackArgs": [
52031
+ {
52032
+ "name": "collapsed",
52033
+ "type": "boolean"
52034
+ }
52035
+ ]
52036
+ },
52037
+ "sidebarWidth": {
52038
+ "types": [
52039
+ "number"
52040
+ ],
52041
+ "description": "Sidebar size as a SplitPane ratio (0-100, percentage of the sidebar/main split). @default 20",
52042
+ "default": 20
52043
+ },
52044
+ "onSidebarWidthChange": {
52045
+ "types": [
52046
+ "function"
52047
+ ],
52048
+ "description": "onSidebarWidthChange prop",
52049
+ "kind": "callback",
52050
+ "callbackArgs": [
52051
+ {
52052
+ "name": "width",
52053
+ "type": "number"
52054
+ }
52055
+ ]
52056
+ },
52057
+ "sidebarMinSize": {
52058
+ "types": [
52059
+ "number"
52060
+ ],
52061
+ "description": "Minimum sidebar size in pixels, forwarded to SplitPane's `minSize`. @default 160",
52062
+ "default": 160
52063
+ },
52064
+ "bottomPanelCollapsed": {
52065
+ "types": [
52066
+ "boolean"
52067
+ ],
52068
+ "description": "Whether `bottomPanel` is collapsed. @default false",
52069
+ "default": false
52070
+ },
52071
+ "onBottomPanelCollapsedChange": {
52072
+ "types": [
52073
+ "function"
52074
+ ],
52075
+ "description": "onBottomPanelCollapsedChange prop",
52076
+ "kind": "callback",
52077
+ "callbackArgs": [
52078
+ {
52079
+ "name": "collapsed",
52080
+ "type": "boolean"
52081
+ }
52082
+ ]
52083
+ },
52084
+ "bottomPanelHeight": {
52085
+ "types": [
52086
+ "number"
52087
+ ],
52088
+ "description": "Bottom panel size as a SplitPane ratio (0-100, percentage given to the panel). @default 30",
52089
+ "default": 30
52090
+ },
52091
+ "onBottomPanelHeightChange": {
52092
+ "types": [
52093
+ "function"
52094
+ ],
52095
+ "description": "onBottomPanelHeightChange prop",
52096
+ "kind": "callback",
52097
+ "callbackArgs": [
52098
+ {
52099
+ "name": "height",
52100
+ "type": "number"
52101
+ }
52102
+ ]
52103
+ },
52104
+ "bottomPanelMinSize": {
52105
+ "types": [
52106
+ "number"
52107
+ ],
52108
+ "description": "Minimum bottom panel size in pixels, forwarded to SplitPane's `minSize`. @default 120",
52109
+ "default": 120
52110
+ },
52111
+ "secondarySidebarCollapsed": {
52112
+ "types": [
52113
+ "boolean"
52114
+ ],
52115
+ "description": "Whether `secondarySidebar` is collapsed. @default false",
52116
+ "default": false
52117
+ },
52118
+ "onSecondarySidebarCollapsedChange": {
52119
+ "types": [
52120
+ "function"
52121
+ ],
52122
+ "description": "onSecondarySidebarCollapsedChange prop",
52123
+ "kind": "callback",
52124
+ "callbackArgs": [
52125
+ {
52126
+ "name": "collapsed",
52127
+ "type": "boolean"
52128
+ }
52129
+ ]
52130
+ },
52131
+ "className": {
52132
+ "types": [
52133
+ "string"
52134
+ ],
52135
+ "description": "Additional CSS classes on the root frame."
52136
+ },
52137
+ "railClassName": {
52138
+ "types": [
52139
+ "string"
52140
+ ],
52141
+ "description": "railClassName prop"
52142
+ },
52143
+ "sidebarClassName": {
52144
+ "types": [
52145
+ "string"
52146
+ ],
52147
+ "description": "sidebarClassName prop"
52148
+ },
52149
+ "mainClassName": {
52150
+ "types": [
52151
+ "string"
52152
+ ],
52153
+ "description": "mainClassName prop"
52154
+ },
52155
+ "bottomPanelClassName": {
52156
+ "types": [
52157
+ "string"
52158
+ ],
52159
+ "description": "bottomPanelClassName prop"
52160
+ },
52161
+ "statusBarClassName": {
52162
+ "types": [
52163
+ "string"
52164
+ ],
52165
+ "description": "statusBarClassName prop"
52166
+ },
52167
+ "secondarySidebarClassName": {
52168
+ "types": [
52169
+ "string"
52170
+ ],
52171
+ "description": "secondarySidebarClassName prop"
52172
+ }
52173
+ }
52174
+ },
52175
+ "command-palette": {
52176
+ "type": "command-palette",
52177
+ "category": "component",
52178
+ "tier": "molecules",
52179
+ "family": "core",
52180
+ "description": "CommandPalette component",
52181
+ "suggestedFor": [
52182
+ "command",
52183
+ "palette",
52184
+ "command palette"
52185
+ ],
52186
+ "typicalSize": "medium",
52187
+ "propsSchema": {
52188
+ "open": {
52189
+ "types": [
52190
+ "boolean"
52191
+ ],
52192
+ "description": "Whether the palette overlay is open",
52193
+ "required": true
52194
+ },
52195
+ "onOpenChange": {
52196
+ "types": [
52197
+ "function"
52198
+ ],
52199
+ "description": "Called to open/close the overlay (Escape, overlay click, or a selection)",
52200
+ "required": true,
52201
+ "kind": "callback",
52202
+ "callbackArgs": [
52203
+ {
52204
+ "name": "open",
52205
+ "type": "boolean"
52206
+ }
52207
+ ]
52208
+ },
52209
+ "commands": {
52210
+ "types": [
52211
+ "array"
52212
+ ],
52213
+ "description": "Commands listed in the palette, filtered as the user types",
52214
+ "required": true,
52215
+ "items": {
52216
+ "types": [
52217
+ "object"
52218
+ ],
52219
+ "properties": {
52220
+ "id": {
52221
+ "types": [
52222
+ "string"
52223
+ ]
52224
+ },
52225
+ "label": {
52226
+ "types": [
52227
+ "string"
52228
+ ]
52229
+ },
52230
+ "icon": {
52231
+ "types": [
52232
+ "icon",
52233
+ "string"
52234
+ ]
52235
+ },
52236
+ "shortcut": {
52237
+ "types": [
52238
+ "string"
52239
+ ]
52240
+ },
52241
+ "keywords": {
52242
+ "types": [
52243
+ "array"
52244
+ ],
52245
+ "items": {
52246
+ "types": [
52247
+ "string"
52248
+ ]
52249
+ }
52250
+ },
52251
+ "group": {
52252
+ "types": [
52253
+ "string"
52254
+ ]
52255
+ },
52256
+ "disabled": {
52257
+ "types": [
52258
+ "boolean"
52259
+ ]
52260
+ },
52261
+ "event": {
52262
+ "types": [
52263
+ "string"
52264
+ ]
52265
+ },
52266
+ "action": {
52267
+ "types": [
52268
+ "string"
52269
+ ]
52270
+ },
52271
+ "actionPayload": {
52272
+ "types": [
52273
+ "object"
52274
+ ],
52275
+ "freeform": true,
52276
+ "eventPayloadBrand": true
52277
+ }
52278
+ },
52279
+ "required": [
52280
+ "id",
52281
+ "label"
52282
+ ]
52283
+ }
52284
+ },
52285
+ "onSelect": {
52286
+ "types": [
52287
+ "function"
52288
+ ],
52289
+ "description": "Called with the selected command (click, or Enter on the highlighted row)",
52290
+ "kind": "callback",
52291
+ "callbackArgs": [
52292
+ {
52293
+ "name": "command",
52294
+ "type": "object",
52295
+ "schema": {
52296
+ "types": [
52297
+ "object"
52298
+ ],
52299
+ "properties": {
52300
+ "id": {
52301
+ "types": [
52302
+ "string"
52303
+ ]
52304
+ },
52305
+ "label": {
52306
+ "types": [
52307
+ "string"
52308
+ ]
52309
+ },
52310
+ "icon": {
52311
+ "types": [
52312
+ "icon",
52313
+ "string"
52314
+ ]
52315
+ },
52316
+ "shortcut": {
52317
+ "types": [
52318
+ "string"
52319
+ ]
52320
+ },
52321
+ "keywords": {
52322
+ "types": [
52323
+ "array"
52324
+ ],
52325
+ "items": {
52326
+ "types": [
52327
+ "string"
52328
+ ]
52329
+ }
52330
+ },
52331
+ "group": {
52332
+ "types": [
52333
+ "string"
52334
+ ]
52335
+ },
52336
+ "disabled": {
52337
+ "types": [
52338
+ "boolean"
52339
+ ]
52340
+ },
52341
+ "event": {
52342
+ "types": [
52343
+ "string"
52344
+ ]
52345
+ },
52346
+ "action": {
52347
+ "types": [
52348
+ "string"
52349
+ ]
52350
+ },
52351
+ "actionPayload": {
52352
+ "types": [
52353
+ "object"
52354
+ ],
52355
+ "freeform": true,
52356
+ "eventPayloadBrand": true
52357
+ }
52358
+ },
52359
+ "required": [
52360
+ "id",
52361
+ "label"
52362
+ ]
52363
+ }
52364
+ }
52365
+ ]
52366
+ },
52367
+ "placeholder": {
52368
+ "types": [
52369
+ "string"
52370
+ ],
52371
+ "description": "Search field placeholder. Consumers own i18n — plain string prop, no package-internal translation (matches FloatingToolbar's convention).",
52372
+ "default": "Type a command..."
52373
+ },
52374
+ "emptyLabel": {
52375
+ "types": [
52376
+ "string"
52377
+ ],
52378
+ "description": "Label shown when no command matches the query",
52379
+ "default": "No matching commands"
52380
+ },
52381
+ "className": {
52382
+ "types": [
52383
+ "string"
52384
+ ],
52385
+ "description": "Additional CSS classes on the overlay's dialog"
52386
+ }
52387
+ }
52388
+ },
52389
+ "game-audio-cue": {
52390
+ "type": "game-audio-cue",
52391
+ "category": "game",
52392
+ "tier": "atoms",
52393
+ "family": "game",
52394
+ "description": "GameAudioCue component",
52395
+ "suggestedFor": [
52396
+ "game",
52397
+ "audio",
52398
+ "cue",
52399
+ "game audio cue"
52400
+ ],
52401
+ "typicalSize": "small",
52402
+ "propsSchema": {
52403
+ "cue": {
52404
+ "types": [
52405
+ "string"
52406
+ ],
52407
+ "description": "Manifest key played as a one-shot SFX each time `cueSeq` advances."
52408
+ },
52409
+ "cueSeq": {
52410
+ "types": [
52411
+ "number"
52412
+ ],
52413
+ "description": "Monotonically increasing counter — bumping it re-triggers `cue`."
52414
+ },
52415
+ "music": {
52416
+ "types": [
52417
+ "string"
52418
+ ],
52419
+ "description": "Manifest key to crossfade to as looping background music; unset/empty stops music."
52420
+ },
52421
+ "muted": {
52422
+ "types": [
52423
+ "boolean"
52424
+ ],
52425
+ "description": "Muted state, owned externally and mirrored into the hook."
52426
+ },
52427
+ "volume": {
52428
+ "types": [
52429
+ "number"
52430
+ ],
52431
+ "description": "Master volume 0-1, owned externally and mirrored into the hook."
52432
+ },
52433
+ "manifest": {
52434
+ "types": [
52435
+ "object"
52436
+ ],
52437
+ "description": "Sound manifest — keys mapped to sound definitions (path, volume, loop, ...).",
52438
+ "required": true,
52439
+ "mapValue": {
52440
+ "types": [
52441
+ "object"
52442
+ ],
52443
+ "properties": {
52444
+ "path": {
52445
+ "types": [
52446
+ "string",
52447
+ "array"
52448
+ ],
52449
+ "items": {
52450
+ "types": [
52451
+ "string"
52452
+ ]
52453
+ }
52454
+ },
52455
+ "volume": {
52456
+ "types": [
52457
+ "number"
52458
+ ]
52459
+ },
52460
+ "loop": {
52461
+ "types": [
52462
+ "boolean"
52463
+ ]
52464
+ },
52465
+ "poolSize": {
52466
+ "types": [
52467
+ "number"
52468
+ ]
52469
+ },
52470
+ "autostart": {
52471
+ "types": [
52472
+ "boolean"
52473
+ ]
52474
+ },
52475
+ "crossfade": {
52476
+ "types": [
52477
+ "boolean"
52478
+ ]
52479
+ },
52480
+ "crossfadeDurationMs": {
52481
+ "types": [
52482
+ "number"
52483
+ ]
52484
+ }
52485
+ },
52486
+ "required": [
52487
+ "path"
52488
+ ]
52489
+ }
52490
+ },
52491
+ "baseUrl": {
52492
+ "types": [
52493
+ "string"
52494
+ ],
52495
+ "description": "Base URL prepended to every manifest path."
52496
+ }
52497
+ }
51566
52498
  }
51567
52499
  },
51568
52500
  "categories": [