@almadar/core 10.81.0 → 10.83.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 +10 -0
  3. package/dist/builders.js.map +1 -1
  4. package/dist/{effect-BHoSW19_.d.ts → effect-DruTSW2O.d.ts} +123 -4
  5. package/dist/{entityAccess-0POr1WuY.d.ts → entityAccess-BoYVXf3b.d.ts} +1 -1
  6. package/dist/factory/index.d.ts +4 -4
  7. package/dist/factory/index.js +863 -5
  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 +10 -0
  11. package/dist/factory-runtime/index.js.map +1 -1
  12. package/dist/{index-rVlLkZJu.d.ts → index-76Ff6JCE.d.ts} +4 -4
  13. package/dist/index.d.ts +10 -10
  14. package/dist/index.js +894 -10
  15. package/dist/index.js.map +1 -1
  16. package/dist/mock/index.d.ts +4 -4
  17. package/dist/mock/index.js +10 -0
  18. package/dist/mock/index.js.map +1 -1
  19. package/dist/patterns/component-mapping.json +11 -1
  20. package/dist/patterns/event-contracts.json +15 -1
  21. package/dist/patterns/index.d.ts +1861 -23
  22. package/dist/patterns/index.js +883 -9
  23. package/dist/patterns/index.js.map +1 -1
  24. package/dist/patterns/integrators-registry.json +1 -1
  25. package/dist/patterns/patterns-registry.json +854 -6
  26. package/dist/patterns/registry.json +854 -6
  27. package/dist/patterns/services-registry.json +1 -1
  28. package/dist/{schema-CkTTGH6l.d.ts → schema-BdeZ8R35.d.ts} +4482 -4482
  29. package/dist/{trait-D269f6pt.d.ts → trait-DKJWX0Ru.d.ts} +1 -1
  30. package/dist/types/index.d.ts +5 -5
  31. package/dist/types/index.js +13 -1
  32. package/dist/types/index.js.map +1 -1
  33. package/dist/{types-7PHjoE7m.d.ts → types-CRr2IuTj.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-03T03:26:05.097Z",
3
+ "exportedAt": "2026-09-04T03:53:29.561Z",
4
4
  "patterns": {
5
5
  "entity-table": {
6
6
  "type": "entity-table",
@@ -16401,7 +16401,7 @@
16401
16401
  "types": [
16402
16402
  "object"
16403
16403
  ],
16404
- "description": "GAP-80: line-level error/warning highlights for editable mode. Map of 1-based line number → severity. The overlay paints a colored background on each line: error = red, warning = yellow. Pass undefined (default) to disable. The consumer is responsible for computing the path → line map from the schema + validation results.",
16404
+ "description": "GAP-80: line-level error/warning highlights. Map of 1-based line number → severity. Paints a colored background on each line: error = red, warning = yellow. Honored by the editable overlay and (GAP-84) by viewer mode's non-diff highlight; pass undefined (default) to disable. The consumer is responsible for computing the path → line map from the schema + validation results.",
16405
16405
  "nonAuthorable": true
16406
16406
  },
16407
16407
  "title": {
@@ -16690,6 +16690,265 @@
16690
16690
  "boolean"
16691
16691
  ],
16692
16692
  "description": "Show copy button (viewer alias for showCopyButton)"
16693
+ },
16694
+ "editorId": {
16695
+ "types": [
16696
+ "string"
16697
+ ],
16698
+ "description": "Stable identity for the keyboard router / plugin host to target this editor. Unset = this instance never receives capability events.",
16699
+ "tier": "presentation"
16700
+ },
16701
+ "onEditorFocus": {
16702
+ "types": [
16703
+ "string"
16704
+ ],
16705
+ "description": "Declarative bus emit fired when this editor gains focus.",
16706
+ "kind": "event-ref",
16707
+ "emitPayloadSchema": [
16708
+ {
16709
+ "name": "editorId",
16710
+ "type": "string",
16711
+ "required": true
16712
+ }
16713
+ ],
16714
+ "default": "EDITOR_FOCUS",
16715
+ "tier": "presentation"
16716
+ },
16717
+ "onEditorBlur": {
16718
+ "types": [
16719
+ "string"
16720
+ ],
16721
+ "description": "Declarative bus emit fired when this editor loses focus.",
16722
+ "kind": "event-ref",
16723
+ "emitPayloadSchema": [
16724
+ {
16725
+ "name": "editorId",
16726
+ "type": "string",
16727
+ "required": true
16728
+ }
16729
+ ],
16730
+ "default": "EDITOR_BLUR",
16731
+ "tier": "presentation"
16732
+ },
16733
+ "onMotion": {
16734
+ "types": [
16735
+ "string"
16736
+ ],
16737
+ "description": "Declarative bus listen: move the cursor per the vim-style motion vocabulary.",
16738
+ "kind": "event-listen",
16739
+ "listenPayloadSchema": [
16740
+ {
16741
+ "name": "editorId",
16742
+ "type": "string",
16743
+ "required": true
16744
+ },
16745
+ {
16746
+ "name": "motion",
16747
+ "type": "string",
16748
+ "required": true,
16749
+ "enumValues": [
16750
+ "left",
16751
+ "right",
16752
+ "up",
16753
+ "down",
16754
+ "word-forward",
16755
+ "word-back",
16756
+ "word-end",
16757
+ "line-start",
16758
+ "line-end",
16759
+ "first-nonblank",
16760
+ "doc-start",
16761
+ "doc-end",
16762
+ "paragraph-forward",
16763
+ "paragraph-back",
16764
+ "line",
16765
+ "selection"
16766
+ ]
16767
+ },
16768
+ {
16769
+ "name": "count",
16770
+ "type": "number",
16771
+ "required": true
16772
+ }
16773
+ ],
16774
+ "default": "MOTION",
16775
+ "tier": "presentation"
16776
+ },
16777
+ "onOperate": {
16778
+ "types": [
16779
+ "string"
16780
+ ],
16781
+ "description": "Declarative bus listen: apply a text operator over a motion's range.",
16782
+ "kind": "event-listen",
16783
+ "listenPayloadSchema": [
16784
+ {
16785
+ "name": "editorId",
16786
+ "type": "string",
16787
+ "required": true
16788
+ },
16789
+ {
16790
+ "name": "operator",
16791
+ "type": "string",
16792
+ "required": true,
16793
+ "enumValues": [
16794
+ "delete",
16795
+ "yank",
16796
+ "change"
16797
+ ]
16798
+ },
16799
+ {
16800
+ "name": "motion",
16801
+ "type": "string",
16802
+ "required": true,
16803
+ "enumValues": [
16804
+ "left",
16805
+ "right",
16806
+ "up",
16807
+ "down",
16808
+ "word-forward",
16809
+ "word-back",
16810
+ "word-end",
16811
+ "line-start",
16812
+ "line-end",
16813
+ "first-nonblank",
16814
+ "doc-start",
16815
+ "doc-end",
16816
+ "paragraph-forward",
16817
+ "paragraph-back",
16818
+ "line",
16819
+ "selection"
16820
+ ]
16821
+ },
16822
+ {
16823
+ "name": "count",
16824
+ "type": "number",
16825
+ "required": true
16826
+ }
16827
+ ],
16828
+ "default": "OPERATE",
16829
+ "tier": "presentation"
16830
+ },
16831
+ "onInsertText": {
16832
+ "types": [
16833
+ "string"
16834
+ ],
16835
+ "description": "Declarative bus listen: insert literal text at the cursor.",
16836
+ "kind": "event-listen",
16837
+ "listenPayloadSchema": [
16838
+ {
16839
+ "name": "editorId",
16840
+ "type": "string",
16841
+ "required": true
16842
+ },
16843
+ {
16844
+ "name": "text",
16845
+ "type": "string",
16846
+ "required": true
16847
+ }
16848
+ ],
16849
+ "default": "INSERT_TEXT",
16850
+ "tier": "presentation"
16851
+ },
16852
+ "onSetMode": {
16853
+ "types": [
16854
+ "string"
16855
+ ],
16856
+ "description": "Declarative bus listen: switch editor mode and caret style.",
16857
+ "kind": "event-listen",
16858
+ "listenPayloadSchema": [
16859
+ {
16860
+ "name": "editorId",
16861
+ "type": "string",
16862
+ "required": true
16863
+ },
16864
+ {
16865
+ "name": "mode",
16866
+ "type": "string",
16867
+ "required": true
16868
+ },
16869
+ {
16870
+ "name": "caret",
16871
+ "type": "string",
16872
+ "required": true,
16873
+ "enumValues": [
16874
+ "bar",
16875
+ "block",
16876
+ "underline"
16877
+ ]
16878
+ }
16879
+ ],
16880
+ "default": "SET_MODE",
16881
+ "tier": "presentation"
16882
+ },
16883
+ "motions": {
16884
+ "types": [
16885
+ "array"
16886
+ ],
16887
+ "description": "Motion vocabulary this editor accepts. Default: the full `EditorMotion` set.",
16888
+ "items": {
16889
+ "types": [
16890
+ "string"
16891
+ ],
16892
+ "enumValues": [
16893
+ "left",
16894
+ "right",
16895
+ "up",
16896
+ "down",
16897
+ "word-forward",
16898
+ "word-back",
16899
+ "word-end",
16900
+ "line-start",
16901
+ "line-end",
16902
+ "first-nonblank",
16903
+ "doc-start",
16904
+ "doc-end",
16905
+ "paragraph-forward",
16906
+ "paragraph-back",
16907
+ "line",
16908
+ "selection"
16909
+ ]
16910
+ },
16911
+ "default": [
16912
+ "left",
16913
+ "right",
16914
+ "up",
16915
+ "down",
16916
+ "word-forward",
16917
+ "word-back",
16918
+ "word-end",
16919
+ "line-start",
16920
+ "line-end",
16921
+ "first-nonblank",
16922
+ "doc-start",
16923
+ "doc-end",
16924
+ "paragraph-forward",
16925
+ "paragraph-back",
16926
+ "line",
16927
+ "selection"
16928
+ ],
16929
+ "tier": "presentation"
16930
+ },
16931
+ "operators": {
16932
+ "types": [
16933
+ "array"
16934
+ ],
16935
+ "description": "Operator vocabulary this editor accepts. Default: the full `EditorOperator` set.",
16936
+ "items": {
16937
+ "types": [
16938
+ "string"
16939
+ ],
16940
+ "enumValues": [
16941
+ "delete",
16942
+ "yank",
16943
+ "change"
16944
+ ]
16945
+ },
16946
+ "default": [
16947
+ "delete",
16948
+ "yank",
16949
+ "change"
16950
+ ],
16951
+ "tier": "presentation"
16693
16952
  }
16694
16953
  }
16695
16954
  },
@@ -26752,7 +27011,12 @@
26752
27011
  {
26753
27012
  "name": "next",
26754
27013
  "type": "string",
26755
- "required": true
27014
+ "required": true,
27015
+ "enumValues": [
27016
+ "up",
27017
+ "down",
27018
+ "none"
27019
+ ]
26756
27020
  }
26757
27021
  ]
26758
27022
  },
@@ -27220,7 +27484,12 @@
27220
27484
  {
27221
27485
  "name": "vote",
27222
27486
  "type": "string",
27223
- "required": true
27487
+ "required": true,
27488
+ "enumValues": [
27489
+ "up",
27490
+ "down",
27491
+ "none"
27492
+ ]
27224
27493
  }
27225
27494
  ]
27226
27495
  },
@@ -32708,6 +32977,20 @@
32708
32977
  "role",
32709
32978
  "category"
32710
32979
  ]
32980
+ },
32981
+ "toggleEvent": {
32982
+ "types": [
32983
+ "string"
32984
+ ],
32985
+ "description": "Event dispatched via event bus on toggle, carrying the new muted state.",
32986
+ "kind": "event-ref",
32987
+ "emitPayloadSchema": [
32988
+ {
32989
+ "name": "muted",
32990
+ "type": "boolean",
32991
+ "required": true
32992
+ }
32993
+ ]
32711
32994
  }
32712
32995
  }
32713
32996
  },
@@ -36280,7 +36563,11 @@
36280
36563
  {
36281
36564
  "name": "direction",
36282
36565
  "type": "string",
36283
- "required": true
36566
+ "required": true,
36567
+ "enumValues": [
36568
+ "asc",
36569
+ "desc"
36570
+ ]
36284
36571
  }
36285
36572
  ]
36286
36573
  },
@@ -37810,6 +38097,92 @@
37810
38097
  ]
37811
38098
  }
37812
38099
  },
38100
+ "editable": {
38101
+ "types": [
38102
+ "boolean"
38103
+ ],
38104
+ "description": "--- Scene-edit mode (a game studio selecting/dragging drawables). Purely",
38105
+ "default": false
38106
+ },
38107
+ "selectedId": {
38108
+ "types": [
38109
+ "string"
38110
+ ],
38111
+ "description": "The currently-selected drawable id (controlled); `null`/undefined = none.",
38112
+ "default": null
38113
+ },
38114
+ "onSelect": {
38115
+ "types": [
38116
+ "function"
38117
+ ],
38118
+ "description": "Fired on a click that changes selection — before `selectEvent`.",
38119
+ "kind": "callback",
38120
+ "callbackArgs": [
38121
+ {
38122
+ "name": "id",
38123
+ "type": "string"
38124
+ }
38125
+ ]
38126
+ },
38127
+ "onMove": {
38128
+ "types": [
38129
+ "function"
38130
+ ],
38131
+ "description": "Fired once per drag gesture, on drop — before `moveEvent`.",
38132
+ "kind": "callback",
38133
+ "callbackArgs": [
38134
+ {
38135
+ "name": "id",
38136
+ "type": "string"
38137
+ },
38138
+ {
38139
+ "name": "x",
38140
+ "type": "number"
38141
+ },
38142
+ {
38143
+ "name": "y",
38144
+ "type": "number"
38145
+ }
38146
+ ]
38147
+ },
38148
+ "selectEvent": {
38149
+ "types": [
38150
+ "string"
38151
+ ],
38152
+ "description": "Declarative selection event, `UI:{selectEvent} { id }`.",
38153
+ "kind": "event-ref",
38154
+ "emitPayloadSchema": [
38155
+ {
38156
+ "name": "id",
38157
+ "type": "string",
38158
+ "required": true
38159
+ }
38160
+ ]
38161
+ },
38162
+ "moveEvent": {
38163
+ "types": [
38164
+ "string"
38165
+ ],
38166
+ "description": "Declarative move event, `UI:{moveEvent} { id, x, y }` — fired once on drop.",
38167
+ "kind": "event-ref",
38168
+ "emitPayloadSchema": [
38169
+ {
38170
+ "name": "id",
38171
+ "type": "string",
38172
+ "required": true
38173
+ },
38174
+ {
38175
+ "name": "x",
38176
+ "type": "number",
38177
+ "required": true
38178
+ },
38179
+ {
38180
+ "name": "y",
38181
+ "type": "number",
38182
+ "required": true
38183
+ }
38184
+ ]
38185
+ },
37813
38186
  "camera": {
37814
38187
  "types": [
37815
38188
  "string"
@@ -38158,7 +38531,13 @@
38158
38531
  {
38159
38532
  "name": "direction",
38160
38533
  "type": "string",
38161
- "required": true
38534
+ "required": true,
38535
+ "enumValues": [
38536
+ "up",
38537
+ "down",
38538
+ "left",
38539
+ "right"
38540
+ ]
38162
38541
  },
38163
38542
  {
38164
38543
  "name": "pressed",
@@ -38985,6 +39364,12 @@
38985
39364
  ],
38986
39365
  "description": "Background color (default transparent)."
38987
39366
  },
39367
+ "fontFamily": {
39368
+ "types": [
39369
+ "string"
39370
+ ],
39371
+ "description": "Canvas text font family. Falls back to the theme's --font-family-body."
39372
+ },
38988
39373
  "shapes": {
38989
39374
  "types": [
38990
39375
  "array"
@@ -39109,6 +39494,11 @@
39109
39494
  "number"
39110
39495
  ]
39111
39496
  },
39497
+ "fontFamily": {
39498
+ "types": [
39499
+ "string"
39500
+ ]
39501
+ },
39112
39502
  "align": {
39113
39503
  "types": [
39114
39504
  "string"
@@ -39178,6 +39568,7 @@
39178
39568
  "string"
39179
39569
  ],
39180
39570
  "enumValues": [
39571
+ "solid",
39181
39572
  "dashed",
39182
39573
  "dotted"
39183
39574
  ]
@@ -40481,6 +40872,11 @@
40481
40872
  "number"
40482
40873
  ]
40483
40874
  },
40875
+ "fontFamily": {
40876
+ "types": [
40877
+ "string"
40878
+ ]
40879
+ },
40484
40880
  "align": {
40485
40881
  "types": [
40486
40882
  "string"
@@ -40550,6 +40946,7 @@
40550
40946
  "string"
40551
40947
  ],
40552
40948
  "enumValues": [
40949
+ "solid",
40553
40950
  "dashed",
40554
40951
  "dotted"
40555
40952
  ]
@@ -41756,6 +42153,11 @@
41756
42153
  "number"
41757
42154
  ]
41758
42155
  },
42156
+ "fontFamily": {
42157
+ "types": [
42158
+ "string"
42159
+ ]
42160
+ },
41759
42161
  "align": {
41760
42162
  "types": [
41761
42163
  "string"
@@ -41825,6 +42227,7 @@
41825
42227
  "string"
41826
42228
  ],
41827
42229
  "enumValues": [
42230
+ "solid",
41828
42231
  "dashed",
41829
42232
  "dotted"
41830
42233
  ]
@@ -42232,6 +42635,12 @@
42232
42635
  "description": "Base font size in px for all other canvas annotations (points, vectors, guides, curves, regions, angles, hops; default 12).",
42233
42636
  "default": 12
42234
42637
  },
42638
+ "fontFamily": {
42639
+ "types": [
42640
+ "string"
42641
+ ],
42642
+ "description": "Canvas text font family. Accepts a known game-font key (e.g. \"future-narrow\") or a CSS font-family string."
42643
+ },
42235
42644
  "showCurveLabels": {
42236
42645
  "types": [
42237
42646
  "boolean"
@@ -42290,6 +42699,7 @@
42290
42699
  "string"
42291
42700
  ],
42292
42701
  "enumValues": [
42702
+ "solid",
42293
42703
  "dashed",
42294
42704
  "dotted"
42295
42705
  ]
@@ -42575,6 +42985,7 @@
42575
42985
  "string"
42576
42986
  ],
42577
42987
  "enumValues": [
42988
+ "solid",
42578
42989
  "dashed",
42579
42990
  "dotted"
42580
42991
  ]
@@ -42809,6 +43220,11 @@
42809
43220
  "number"
42810
43221
  ]
42811
43222
  },
43223
+ "fontFamily": {
43224
+ "types": [
43225
+ "string"
43226
+ ]
43227
+ },
42812
43228
  "align": {
42813
43229
  "types": [
42814
43230
  "string"
@@ -42878,6 +43294,7 @@
42878
43294
  "string"
42879
43295
  ],
42880
43296
  "enumValues": [
43297
+ "solid",
42881
43298
  "dashed",
42882
43299
  "dotted"
42883
43300
  ]
@@ -44344,6 +44761,11 @@
44344
44761
  "number"
44345
44762
  ]
44346
44763
  },
44764
+ "fontFamily": {
44765
+ "types": [
44766
+ "string"
44767
+ ]
44768
+ },
44347
44769
  "align": {
44348
44770
  "types": [
44349
44771
  "string"
@@ -44413,6 +44835,7 @@
44413
44835
  "string"
44414
44836
  ],
44415
44837
  "enumValues": [
44838
+ "solid",
44416
44839
  "dashed",
44417
44840
  "dotted"
44418
44841
  ]
@@ -45553,6 +45976,11 @@
45553
45976
  "number"
45554
45977
  ]
45555
45978
  },
45979
+ "fontFamily": {
45980
+ "types": [
45981
+ "string"
45982
+ ]
45983
+ },
45556
45984
  "align": {
45557
45985
  "types": [
45558
45986
  "string"
@@ -45622,6 +46050,7 @@
45622
46050
  "string"
45623
46051
  ],
45624
46052
  "enumValues": [
46053
+ "solid",
45625
46054
  "dashed",
45626
46055
  "dotted"
45627
46056
  ]
@@ -48835,6 +49264,90 @@
48835
49264
  ]
48836
49265
  }
48837
49266
  },
49267
+ "editable": {
49268
+ "types": [
49269
+ "boolean"
49270
+ ],
49271
+ "description": "--- Scene-edit mode (a game studio selecting/dragging drawables). Purely"
49272
+ },
49273
+ "selectedId": {
49274
+ "types": [
49275
+ "string"
49276
+ ],
49277
+ "description": "The currently-selected drawable id (controlled); `null`/undefined = none."
49278
+ },
49279
+ "onSelect": {
49280
+ "types": [
49281
+ "function"
49282
+ ],
49283
+ "description": "Fired on a click that changes selection — before `selectEvent`.",
49284
+ "kind": "callback",
49285
+ "callbackArgs": [
49286
+ {
49287
+ "name": "id",
49288
+ "type": "string"
49289
+ }
49290
+ ]
49291
+ },
49292
+ "onMove": {
49293
+ "types": [
49294
+ "function"
49295
+ ],
49296
+ "description": "Fired once per drag gesture, on drop — before `moveEvent`.",
49297
+ "kind": "callback",
49298
+ "callbackArgs": [
49299
+ {
49300
+ "name": "id",
49301
+ "type": "string"
49302
+ },
49303
+ {
49304
+ "name": "x",
49305
+ "type": "number"
49306
+ },
49307
+ {
49308
+ "name": "y",
49309
+ "type": "number"
49310
+ }
49311
+ ]
49312
+ },
49313
+ "selectEvent": {
49314
+ "types": [
49315
+ "string"
49316
+ ],
49317
+ "description": "Declarative selection event, `UI:{selectEvent} { id }`.",
49318
+ "kind": "event-ref",
49319
+ "emitPayloadSchema": [
49320
+ {
49321
+ "name": "id",
49322
+ "type": "string",
49323
+ "required": true
49324
+ }
49325
+ ]
49326
+ },
49327
+ "moveEvent": {
49328
+ "types": [
49329
+ "string"
49330
+ ],
49331
+ "description": "Declarative move event, `UI:{moveEvent} { id, x, y }` — fired once on drop.",
49332
+ "kind": "event-ref",
49333
+ "emitPayloadSchema": [
49334
+ {
49335
+ "name": "id",
49336
+ "type": "string",
49337
+ "required": true
49338
+ },
49339
+ {
49340
+ "name": "x",
49341
+ "type": "number",
49342
+ "required": true
49343
+ },
49344
+ {
49345
+ "name": "y",
49346
+ "type": "number",
49347
+ "required": true
49348
+ }
49349
+ ]
49350
+ },
48838
49351
  "children": {
48839
49352
  "types": [
48840
49353
  "node"
@@ -50363,6 +50876,11 @@
50363
50876
  "number"
50364
50877
  ]
50365
50878
  },
50879
+ "fontFamily": {
50880
+ "types": [
50881
+ "string"
50882
+ ]
50883
+ },
50366
50884
  "align": {
50367
50885
  "types": [
50368
50886
  "string"
@@ -50432,6 +50950,7 @@
50432
50950
  "string"
50433
50951
  ],
50434
50952
  "enumValues": [
50953
+ "solid",
50435
50954
  "dashed",
50436
50955
  "dotted"
50437
50956
  ]
@@ -51679,6 +52198,11 @@
51679
52198
  "types": [
51680
52199
  "boolean"
51681
52200
  ]
52201
+ },
52202
+ "testId": {
52203
+ "types": [
52204
+ "string"
52205
+ ]
51682
52206
  }
51683
52207
  },
51684
52208
  "required": [
@@ -51935,6 +52459,330 @@
51935
52459
  "description": "secondarySidebarClassName prop"
51936
52460
  }
51937
52461
  }
52462
+ },
52463
+ "command-palette": {
52464
+ "type": "command-palette",
52465
+ "category": "component",
52466
+ "tier": "molecules",
52467
+ "family": "core",
52468
+ "description": "CommandPalette component",
52469
+ "suggestedFor": [
52470
+ "command",
52471
+ "palette",
52472
+ "command palette"
52473
+ ],
52474
+ "typicalSize": "medium",
52475
+ "propsSchema": {
52476
+ "open": {
52477
+ "types": [
52478
+ "boolean"
52479
+ ],
52480
+ "description": "Whether the palette overlay is open",
52481
+ "required": true
52482
+ },
52483
+ "onOpenChange": {
52484
+ "types": [
52485
+ "function"
52486
+ ],
52487
+ "description": "Called to open/close the overlay (Escape, overlay click, or a selection)",
52488
+ "required": true,
52489
+ "kind": "callback",
52490
+ "callbackArgs": [
52491
+ {
52492
+ "name": "open",
52493
+ "type": "boolean"
52494
+ }
52495
+ ]
52496
+ },
52497
+ "commands": {
52498
+ "types": [
52499
+ "array"
52500
+ ],
52501
+ "description": "Commands listed in the palette, filtered as the user types",
52502
+ "required": true,
52503
+ "items": {
52504
+ "types": [
52505
+ "object"
52506
+ ],
52507
+ "properties": {
52508
+ "id": {
52509
+ "types": [
52510
+ "string"
52511
+ ]
52512
+ },
52513
+ "label": {
52514
+ "types": [
52515
+ "string"
52516
+ ]
52517
+ },
52518
+ "icon": {
52519
+ "types": [
52520
+ "icon",
52521
+ "string"
52522
+ ]
52523
+ },
52524
+ "shortcut": {
52525
+ "types": [
52526
+ "string"
52527
+ ]
52528
+ },
52529
+ "keywords": {
52530
+ "types": [
52531
+ "array"
52532
+ ],
52533
+ "items": {
52534
+ "types": [
52535
+ "string"
52536
+ ]
52537
+ }
52538
+ },
52539
+ "group": {
52540
+ "types": [
52541
+ "string"
52542
+ ]
52543
+ },
52544
+ "disabled": {
52545
+ "types": [
52546
+ "boolean"
52547
+ ]
52548
+ },
52549
+ "event": {
52550
+ "types": [
52551
+ "string"
52552
+ ]
52553
+ },
52554
+ "action": {
52555
+ "types": [
52556
+ "string"
52557
+ ]
52558
+ },
52559
+ "actionPayload": {
52560
+ "types": [
52561
+ "object"
52562
+ ],
52563
+ "freeform": true,
52564
+ "eventPayloadBrand": true
52565
+ }
52566
+ },
52567
+ "required": [
52568
+ "id",
52569
+ "label"
52570
+ ]
52571
+ }
52572
+ },
52573
+ "onSelect": {
52574
+ "types": [
52575
+ "function"
52576
+ ],
52577
+ "description": "Called with the selected command (click, or Enter on the highlighted row)",
52578
+ "kind": "callback",
52579
+ "callbackArgs": [
52580
+ {
52581
+ "name": "command",
52582
+ "type": "object",
52583
+ "schema": {
52584
+ "types": [
52585
+ "object"
52586
+ ],
52587
+ "properties": {
52588
+ "id": {
52589
+ "types": [
52590
+ "string"
52591
+ ]
52592
+ },
52593
+ "label": {
52594
+ "types": [
52595
+ "string"
52596
+ ]
52597
+ },
52598
+ "icon": {
52599
+ "types": [
52600
+ "icon",
52601
+ "string"
52602
+ ]
52603
+ },
52604
+ "shortcut": {
52605
+ "types": [
52606
+ "string"
52607
+ ]
52608
+ },
52609
+ "keywords": {
52610
+ "types": [
52611
+ "array"
52612
+ ],
52613
+ "items": {
52614
+ "types": [
52615
+ "string"
52616
+ ]
52617
+ }
52618
+ },
52619
+ "group": {
52620
+ "types": [
52621
+ "string"
52622
+ ]
52623
+ },
52624
+ "disabled": {
52625
+ "types": [
52626
+ "boolean"
52627
+ ]
52628
+ },
52629
+ "event": {
52630
+ "types": [
52631
+ "string"
52632
+ ]
52633
+ },
52634
+ "action": {
52635
+ "types": [
52636
+ "string"
52637
+ ]
52638
+ },
52639
+ "actionPayload": {
52640
+ "types": [
52641
+ "object"
52642
+ ],
52643
+ "freeform": true,
52644
+ "eventPayloadBrand": true
52645
+ }
52646
+ },
52647
+ "required": [
52648
+ "id",
52649
+ "label"
52650
+ ]
52651
+ }
52652
+ }
52653
+ ]
52654
+ },
52655
+ "placeholder": {
52656
+ "types": [
52657
+ "string"
52658
+ ],
52659
+ "description": "Search field placeholder. Consumers own i18n — plain string prop, no package-internal translation (matches FloatingToolbar's convention).",
52660
+ "default": "Type a command..."
52661
+ },
52662
+ "emptyLabel": {
52663
+ "types": [
52664
+ "string"
52665
+ ],
52666
+ "description": "Label shown when no command matches the query",
52667
+ "default": "No matching commands"
52668
+ },
52669
+ "className": {
52670
+ "types": [
52671
+ "string"
52672
+ ],
52673
+ "description": "Additional CSS classes on the overlay's dialog"
52674
+ }
52675
+ }
52676
+ },
52677
+ "game-audio-cue": {
52678
+ "type": "game-audio-cue",
52679
+ "category": "game",
52680
+ "tier": "atoms",
52681
+ "family": "game",
52682
+ "description": "GameAudioCue component",
52683
+ "suggestedFor": [
52684
+ "game",
52685
+ "audio",
52686
+ "cue",
52687
+ "game audio cue"
52688
+ ],
52689
+ "typicalSize": "small",
52690
+ "propsSchema": {
52691
+ "cue": {
52692
+ "types": [
52693
+ "string"
52694
+ ],
52695
+ "description": "Manifest key played as a one-shot SFX each time `cueSeq` advances."
52696
+ },
52697
+ "cueSeq": {
52698
+ "types": [
52699
+ "number"
52700
+ ],
52701
+ "description": "Monotonically increasing counter — bumping it re-triggers `cue`."
52702
+ },
52703
+ "music": {
52704
+ "types": [
52705
+ "string"
52706
+ ],
52707
+ "description": "Manifest key to crossfade to as looping background music; unset/empty stops music."
52708
+ },
52709
+ "muted": {
52710
+ "types": [
52711
+ "boolean"
52712
+ ],
52713
+ "description": "Muted state, owned externally and mirrored into the hook."
52714
+ },
52715
+ "volume": {
52716
+ "types": [
52717
+ "number"
52718
+ ],
52719
+ "description": "Master volume 0-1, owned externally and mirrored into the hook."
52720
+ },
52721
+ "manifest": {
52722
+ "types": [
52723
+ "object"
52724
+ ],
52725
+ "description": "Sound manifest — keys mapped to sound definitions (path, volume, loop, ...).",
52726
+ "required": true,
52727
+ "mapValue": {
52728
+ "types": [
52729
+ "object"
52730
+ ],
52731
+ "properties": {
52732
+ "path": {
52733
+ "types": [
52734
+ "string",
52735
+ "array"
52736
+ ],
52737
+ "items": {
52738
+ "types": [
52739
+ "string"
52740
+ ]
52741
+ }
52742
+ },
52743
+ "volume": {
52744
+ "types": [
52745
+ "number"
52746
+ ]
52747
+ },
52748
+ "loop": {
52749
+ "types": [
52750
+ "boolean"
52751
+ ]
52752
+ },
52753
+ "poolSize": {
52754
+ "types": [
52755
+ "number"
52756
+ ]
52757
+ },
52758
+ "autostart": {
52759
+ "types": [
52760
+ "boolean"
52761
+ ]
52762
+ },
52763
+ "crossfade": {
52764
+ "types": [
52765
+ "boolean"
52766
+ ]
52767
+ },
52768
+ "crossfadeDurationMs": {
52769
+ "types": [
52770
+ "number"
52771
+ ]
52772
+ }
52773
+ },
52774
+ "required": [
52775
+ "path"
52776
+ ]
52777
+ }
52778
+ },
52779
+ "baseUrl": {
52780
+ "types": [
52781
+ "string"
52782
+ ],
52783
+ "description": "Base URL prepended to every manifest path."
52784
+ }
52785
+ }
51938
52786
  }
51939
52787
  },
51940
52788
  "categories": [