@almadar/std 16.148.0 → 16.149.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/behaviors/lolo/ui/core/atoms/std-app-search.lolo +1 -1
  2. package/behaviors/lolo/ui/core/atoms/std-billable-hour.lolo +86 -41
  3. package/behaviors/lolo/ui/core/atoms/std-board.lolo +29 -16
  4. package/behaviors/lolo/ui/core/atoms/std-browse.lolo +187 -83
  5. package/behaviors/lolo/ui/core/atoms/std-dashboard-grid-embedded.lolo +8 -0
  6. package/behaviors/lolo/ui/core/atoms/std-file-store.lolo +1 -1
  7. package/behaviors/lolo/ui/core/atoms/std-stats.lolo +14 -10
  8. package/behaviors/lolo/ui/core/atoms/std-version-history.lolo +1 -29
  9. package/behaviors/registry/factory-signatures.json +9 -13
  10. package/behaviors/registry/ui/core/atoms/std-app-search.orb +9 -1
  11. package/behaviors/registry/ui/core/atoms/std-billable-hour.orb +242 -50
  12. package/behaviors/registry/ui/core/atoms/std-board.orb +86 -20
  13. package/behaviors/registry/ui/core/atoms/std-browse.orb +377 -119
  14. package/behaviors/registry/ui/core/atoms/std-dashboard-grid-embedded.orb +41 -29
  15. package/behaviors/registry/ui/core/atoms/std-file-store.orb +0 -3
  16. package/behaviors/registry/ui/core/atoms/std-stats.orb +267 -238
  17. package/behaviors/registry/ui/core/atoms/std-version-history.orb +1 -38
  18. package/dist/behaviors/behaviors-embeddings.json +475 -475
  19. package/dist/behaviors/behaviors-registry.json +10 -12
  20. package/dist/behaviors/knob-embeddings.json +1 -1
  21. package/dist/behaviors/registry/factory-signatures.json +9 -13
  22. package/dist/behaviors/registry/ui/core/atoms/std-app-search.orb +9 -1
  23. package/dist/behaviors/registry/ui/core/atoms/std-billable-hour.orb +242 -50
  24. package/dist/behaviors/registry/ui/core/atoms/std-board.orb +86 -20
  25. package/dist/behaviors/registry/ui/core/atoms/std-browse.orb +377 -119
  26. package/dist/behaviors/registry/ui/core/atoms/std-dashboard-grid-embedded.orb +41 -29
  27. package/dist/behaviors/registry/ui/core/atoms/std-file-store.orb +0 -3
  28. package/dist/behaviors/registry/ui/core/atoms/std-stats.orb +267 -238
  29. package/dist/behaviors/registry/ui/core/atoms/std-version-history.orb +1 -38
  30. package/dist/behaviors-embeddings.json +475 -475
  31. package/dist/behaviors-registry.json +10 -12
  32. package/dist/knob-embeddings.json +1 -1
  33. package/dist/registry/factory-signatures.json +9 -13
  34. package/package.json +8 -1
@@ -136,6 +136,15 @@
136
136
  "parent": "trt_01KXG04FS55WPDV86JDDX2KA6Z",
137
137
  "renames": []
138
138
  },
139
+ "evt_01KYGS1AQ7993STR00N8D46PQ5": {
140
+ "bakedName": "EDIT_CARD",
141
+ "curName": "EDIT_CARD",
142
+ "id": "evt_01KYGS1AQ7993STR00N8D46PQ5",
143
+ "kind": "event",
144
+ "owner": "workspace",
145
+ "parent": "trt_01KXG04FS55WPDV86JDDX2KA6Z",
146
+ "renames": []
147
+ },
139
148
  "orb_01KXG04FS58SZN66P0EVZEDT70": {
140
149
  "bakedName": "BoardOrbital",
141
150
  "curName": "BoardOrbital",
@@ -328,6 +337,12 @@
328
337
  "name": "currentNotes",
329
338
  "type": "string"
330
339
  },
340
+ {
341
+ "default": {},
342
+ "intrinsic": true,
343
+ "name": "currentRow",
344
+ "type": "object"
345
+ },
331
346
  {
332
347
  "default": "",
333
348
  "intrinsic": true,
@@ -518,6 +533,30 @@
518
533
  "tier": "internal",
519
534
  "type": "render-ui"
520
535
  },
536
+ "cardActionsContent": {
537
+ "default": {
538
+ "align": "center",
539
+ "children": [
540
+ {
541
+ "action": "DELETE_CARD",
542
+ "actionPayload": {
543
+ "id": "@entity.currentId"
544
+ },
545
+ "icon": "trash-2",
546
+ "label": "Delete",
547
+ "type": "button",
548
+ "variant": "danger"
549
+ }
550
+ ],
551
+ "direction": "horizontal",
552
+ "gap": "sm",
553
+ "type": "stack"
554
+ },
555
+ "description": "Actions row of the open-card panel. Default is the Delete button only. Override to add consumer-wired actions — e.g. an Edit button with action: EDIT_CARD and actionPayload: { id: @entity.currentId, row: @entity.currentRow }, listened to by the organism's edit modal. Never leave a button here without a listener.",
556
+ "label": "Card panel actions",
557
+ "tier": "presentation",
558
+ "type": "render-ui"
559
+ },
521
560
  "cardDescriptionBinding": {
522
561
  "default": "@item.description",
523
562
  "description": "Per-card binding for the description slot.",
@@ -772,7 +811,7 @@
772
811
  }
773
812
  ],
774
813
  "className": "cursor-grab hover:shadow-lg transition-shadow",
775
- "look": "elevated",
814
+ "look": "@config.cardLook",
776
815
  "padding": "sm",
777
816
  "type": "card"
778
817
  }
@@ -809,7 +848,7 @@
809
848
  "gap": "md",
810
849
  "type": "stack"
811
850
  },
812
- "description": "Render-ui SExpr for boardLook='kanban-classic' — Trello-style wide elevated columns with sticky headers, dense cards with a status badge, always-elevated card look.",
851
+ "description": "Render-ui SExpr for boardLook='kanban-classic' — Trello-style wide elevated columns with sticky headers, dense cards with a status badge; per-item cards honor config.cardLook (the column wrapper stays elevated — it is column chrome, not a card).",
813
852
  "label": "Kanban classic body content tree",
814
853
  "tier": "internal",
815
854
  "type": "render-ui"
@@ -940,6 +979,25 @@
940
979
  "synonyms": "remove, delete, discard",
941
980
  "tier": "presentation"
942
981
  },
982
+ {
983
+ "description": "Signals a request to edit the currently open card. The board renders no edit form itself — consumers override cardActionsContent with an Edit button and wire this emit to their edit modal/form trait.",
984
+ "event": "EDIT_CARD",
985
+ "eventId": "evt_01KYGS1AQ7993STR00N8D46PQ5",
986
+ "payloadSchema": [
987
+ {
988
+ "name": "id",
989
+ "required": true,
990
+ "type": "string"
991
+ },
992
+ {
993
+ "name": "row",
994
+ "type": "object"
995
+ }
996
+ ],
997
+ "scope": "external",
998
+ "synonyms": "edit, modify, update, change",
999
+ "tier": "domain"
1000
+ },
943
1001
  {
944
1002
  "description": "Signals that board items have been successfully loaded.",
945
1003
  "event": "BoardItemsLoaded",
@@ -1007,6 +1065,7 @@
1007
1065
  "currentDescription",
1008
1066
  "currentId",
1009
1067
  "currentNotes",
1068
+ "currentRow",
1010
1069
  "currentStage",
1011
1070
  "currentTitle",
1012
1071
  "errorMessage"
@@ -1249,6 +1308,25 @@
1249
1308
  "name": "Cancel Add",
1250
1309
  "synonyms": "discard, undo, reset",
1251
1310
  "tier": "presentation"
1311
+ },
1312
+ {
1313
+ "description": "Signals a request to edit the currently open card. The board renders no edit form itself — consumers override cardActionsContent with an Edit button and wire this emit to their edit modal/form trait.",
1314
+ "id": "evt_01KYGS1AQ7993STR00N8D46PQ5",
1315
+ "key": "EDIT_CARD",
1316
+ "name": "Edit Card",
1317
+ "payloadSchema": [
1318
+ {
1319
+ "name": "id",
1320
+ "required": true,
1321
+ "type": "string"
1322
+ },
1323
+ {
1324
+ "name": "row",
1325
+ "type": "object"
1326
+ }
1327
+ ],
1328
+ "synonyms": "edit, modify, update, change",
1329
+ "tier": "domain"
1252
1330
  }
1253
1331
  ],
1254
1332
  "states": [
@@ -1530,6 +1608,11 @@
1530
1608
  "@entity.currentNotes",
1531
1609
  "@payload.row.notes"
1532
1610
  ],
1611
+ [
1612
+ "set",
1613
+ "@entity.currentRow",
1614
+ "@payload.row"
1615
+ ],
1533
1616
  [
1534
1617
  "render-ui",
1535
1618
  "main",
@@ -1636,24 +1719,7 @@
1636
1719
  "type": "data-list",
1637
1720
  "variant": "default"
1638
1721
  },
1639
- {
1640
- "align": "center",
1641
- "children": [
1642
- {
1643
- "action": "DELETE_CARD",
1644
- "actionPayload": {
1645
- "id": "@entity.currentId"
1646
- },
1647
- "icon": "trash-2",
1648
- "label": "Delete",
1649
- "type": "button",
1650
- "variant": "danger"
1651
- }
1652
- ],
1653
- "direction": "horizontal",
1654
- "gap": "sm",
1655
- "type": "stack"
1656
- }
1722
+ "@config.cardActionsContent"
1657
1723
  ],
1658
1724
  "direction": "vertical",
1659
1725
  "gap": "md",