@almadar/std 16.232.0 → 16.234.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 (44) hide show
  1. package/behaviors/behaviors-registry.json +1422 -133
  2. package/behaviors/lolo/ui/avl/atoms/ui-avl-glyph.lolo +54 -0
  3. package/behaviors/lolo/ui/avl/atoms/ui-avl-state-machine.lolo +132 -0
  4. package/behaviors/lolo/ui/avl/atoms/ui-behavior-view.lolo +5 -6
  5. package/behaviors/lolo/ui/avl/atoms/ui-module-card.lolo +7 -8
  6. package/behaviors/lolo/ui/core/atoms/std-board.lolo +6 -1
  7. package/behaviors/lolo/ui/core/atoms/std-event-log.lolo +12 -2
  8. package/behaviors/lolo/ui/core/atoms/ui-box.lolo +2 -2
  9. package/behaviors/lolo/ui/core/atoms/ui-button.lolo +1 -1
  10. package/behaviors/lolo/ui/core/molecules/ui-breadcrumb.lolo +1 -1
  11. package/behaviors/lolo/ui/core/molecules/ui-code-block.lolo +74 -0
  12. package/behaviors/lolo/ui/core/molecules/ui-file-tree.lolo +17 -0
  13. package/behaviors/lolo/ui/core/organisms/ui-state-machine-view.lolo +104 -2
  14. package/behaviors/lolo/ui/game/atoms/ui-draw-skinned-mesh.lolo +1 -1
  15. package/behaviors/lolo-behavior-contracts.json +1 -1
  16. package/behaviors/registry/factory-signatures.json +1 -1
  17. package/behaviors/registry/ui/avl/atoms/ui-avl-glyph.orb +211 -0
  18. package/behaviors/registry/ui/avl/atoms/ui-avl-state-machine.orb +761 -0
  19. package/behaviors/registry/ui/avl/atoms/ui-behavior-view.orb +157 -66
  20. package/behaviors/registry/ui/avl/atoms/ui-module-card.orb +158 -67
  21. package/behaviors/registry/ui/core/atoms/std-board.orb +9 -1
  22. package/behaviors/registry/ui/core/atoms/std-event-log.orb +19 -3
  23. package/behaviors/registry/ui/core/atoms/ui-box.orb +2 -2
  24. package/behaviors/registry/ui/core/atoms/ui-button.orb +1 -0
  25. package/behaviors/registry/ui/core/molecules/ui-breadcrumb.orb +9 -1
  26. package/behaviors/registry/ui/core/molecules/ui-code-block.orb +185 -0
  27. package/behaviors/registry/ui/core/molecules/ui-file-tree.orb +81 -0
  28. package/behaviors/registry/ui/core/organisms/ui-state-machine-view.orb +487 -2
  29. package/behaviors/registry/ui/game/atoms/ui-draw-skinned-mesh.orb +1 -2
  30. package/dist/behaviors/exports-reader.js +1891 -1476
  31. package/dist/behaviors/functions/index.d.ts +251 -10
  32. package/dist/behaviors/functions/index.js +1886 -1477
  33. package/dist/behaviors/index.d.ts +1 -1
  34. package/dist/behaviors/index.js +1892 -1477
  35. package/dist/behaviors/query.js +1891 -1476
  36. package/dist/behaviors-embeddings.hash.json +3 -3
  37. package/dist/behaviors-embeddings.json +19 -11
  38. package/dist/behaviors-registry.json +1422 -133
  39. package/dist/index.d.ts +1 -1
  40. package/dist/index.js +1892 -1477
  41. package/dist/knob-embeddings.hash.json +3 -3
  42. package/dist/knob-embeddings.json +171 -7
  43. package/dist/registry/factory-signatures.json +1 -1
  44. package/package.json +2 -2
@@ -28,6 +28,15 @@
28
28
  "parent": "trt_01KXG04NVWDQQWWZ4WSN5EYEV0",
29
29
  "renames": []
30
30
  },
31
+ "evt_01M3KVGWPG3XD19A0QREZ70WG3": {
32
+ "bakedName": "@config.onNodeExpand",
33
+ "curName": "@config.onNodeExpand",
34
+ "id": "evt_01M3KVGWPG3XD19A0QREZ70WG3",
35
+ "kind": "event",
36
+ "owner": "workspace",
37
+ "parent": "trt_01KXG04NVWDQQWWZ4WSN5EYEV0",
38
+ "renames": []
39
+ },
31
40
  "orb_01KXG04NVWH7AX67H597E423W6": {
32
41
  "bakedName": "FileTreeOrbital",
33
42
  "curName": "FileTreeOrbital",
@@ -95,6 +104,16 @@
95
104
  "tier": "presentation",
96
105
  "type": "string"
97
106
  },
107
+ "expandedPaths": {
108
+ "default": [],
109
+ "description": "Paths to show expanded (e.g. to reveal a node): each is expanded when it appears here, loading its children if needed.",
110
+ "items": {
111
+ "type": "string"
112
+ },
113
+ "label": "Expanded Paths",
114
+ "tier": "presentation",
115
+ "type": "[string]"
116
+ },
98
117
  "indent": {
99
118
  "default": 16.0,
100
119
  "description": "Indent size per level in px (default: 16)",
@@ -171,6 +190,13 @@
171
190
  "tier": "presentation",
172
191
  "type": "event"
173
192
  },
193
+ "onNodeExpand": {
194
+ "default": "NODE_EXPAND",
195
+ "description": "Called the first time a node marked `expandable` is expanded, with its path, so its children can be loaded.",
196
+ "label": "On Node Expand",
197
+ "tier": "presentation",
198
+ "type": "event"
199
+ },
174
200
  "onNodeReorder": {
175
201
  "default": "",
176
202
  "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.",
@@ -213,6 +239,11 @@
213
239
  "required": false,
214
240
  "type": "array"
215
241
  },
242
+ "expandable": {
243
+ "name": "expandable",
244
+ "required": false,
245
+ "type": "boolean"
246
+ },
216
247
  "language": {
217
248
  "name": "language",
218
249
  "required": false,
@@ -223,6 +254,11 @@
223
254
  "required": true,
224
255
  "type": "string"
225
256
  },
257
+ "note": {
258
+ "name": "note",
259
+ "required": false,
260
+ "type": "string"
261
+ },
226
262
  "path": {
227
263
  "name": "path",
228
264
  "required": true,
@@ -270,6 +306,20 @@
270
306
  ],
271
307
  "scope": "external",
272
308
  "tier": "essential"
309
+ },
310
+ {
311
+ "definerKnob": "onNodeExpand",
312
+ "description": "Called the first time a node marked `expandable` is expanded, with its path, so its children can be loaded.",
313
+ "event": "@config.onNodeExpand",
314
+ "eventId": "evt_01M3KVGWPG3XD19A0QREZ70WG3",
315
+ "payloadSchema": [
316
+ {
317
+ "name": "path",
318
+ "type": "string"
319
+ }
320
+ ],
321
+ "scope": "external",
322
+ "tier": "essential"
273
323
  }
274
324
  ],
275
325
  "entityContract": {
@@ -304,6 +354,19 @@
304
354
  }
305
355
  ],
306
356
  "tier": "essential"
357
+ },
358
+ {
359
+ "description": "Called the first time a node marked `expandable` is expanded, with its path, so its children can be loaded.",
360
+ "id": "evt_01M3KVGWPG3XD19A0QREZ70WG3",
361
+ "key": "@config.onNodeExpand",
362
+ "name": "@config.on node expand",
363
+ "payloadSchema": [
364
+ {
365
+ "name": "path",
366
+ "type": "string"
367
+ }
368
+ ],
369
+ "tier": "essential"
307
370
  }
308
371
  ],
309
372
  "states": [
@@ -320,6 +383,7 @@
320
383
  "main",
321
384
  {
322
385
  "className": "@config.className",
386
+ "expandedPaths": "@config.expandedPaths",
323
387
  "indent": "@config.indent",
324
388
  "items": "@config.items",
325
389
  "look": "@config.look",
@@ -327,6 +391,7 @@
327
391
  "nodeActionLabel": "@config.nodeActionLabel",
328
392
  "onFileSelect": "@config.onFileSelect",
329
393
  "onNodeAction": "@config.onNodeAction",
394
+ "onNodeExpand": "@config.onNodeExpand",
330
395
  "onNodeReorder": "@config.onNodeReorder",
331
396
  "onNodeSelect": "@config.onNodeSelect",
332
397
  "selectedId": "@config.selectedId",
@@ -405,6 +470,14 @@
405
470
  "properties": [],
406
471
  "type": "[FileTreeTreeItem]"
407
472
  },
473
+ {
474
+ "name": "note",
475
+ "type": "string"
476
+ },
477
+ {
478
+ "name": "expandable",
479
+ "type": "boolean"
480
+ },
408
481
  {
409
482
  "name": "size",
410
483
  "type": "number"
@@ -416,6 +489,14 @@
416
489
  ],
417
490
  "type": "[object]"
418
491
  },
492
+ {
493
+ "name": "note",
494
+ "type": "string"
495
+ },
496
+ {
497
+ "name": "expandable",
498
+ "type": "boolean"
499
+ },
419
500
  {
420
501
  "name": "size",
421
502
  "type": "number"