@almadar/std 16.9.1 → 16.10.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 (252) hide show
  1. package/behaviors/registry/core/atoms/std-app-layout.orb +81 -78
  2. package/behaviors/registry/core/atoms/std-approval-gate.orb +84 -83
  3. package/behaviors/registry/core/atoms/std-audit-capture.orb +16 -15
  4. package/behaviors/registry/core/atoms/std-billable-hour.orb +125 -125
  5. package/behaviors/registry/core/atoms/std-board.orb +289 -288
  6. package/behaviors/registry/core/atoms/std-branching-logic.orb +118 -118
  7. package/behaviors/registry/core/atoms/std-browse.orb +118 -115
  8. package/behaviors/registry/core/atoms/std-cache-aside.orb +120 -120
  9. package/behaviors/registry/core/atoms/std-calendar.orb +119 -60
  10. package/behaviors/registry/core/atoms/std-cascade-on-delete.orb +7 -7
  11. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +210 -210
  12. package/behaviors/registry/core/atoms/std-confirmation.orb +33 -32
  13. package/behaviors/registry/core/atoms/std-cross-reference.orb +19 -19
  14. package/behaviors/registry/core/atoms/std-dashboard-grid-embedded.orb +81 -81
  15. package/behaviors/registry/core/atoms/std-dashboard-grid-layout.orb +84 -84
  16. package/behaviors/registry/core/atoms/std-dashboard-summary.orb +84 -84
  17. package/behaviors/registry/core/atoms/std-data-erasure.orb +71 -71
  18. package/behaviors/registry/core/atoms/std-date-range.orb +24 -24
  19. package/behaviors/registry/core/atoms/std-drawer.orb +12 -9
  20. package/behaviors/registry/core/atoms/std-esign-request.orb +32 -32
  21. package/behaviors/registry/core/atoms/std-event-log.orb +170 -170
  22. package/behaviors/registry/core/atoms/std-export.orb +63 -63
  23. package/behaviors/registry/core/atoms/std-file-store.orb +157 -157
  24. package/behaviors/registry/core/atoms/std-filter.orb +36 -36
  25. package/behaviors/registry/core/atoms/std-flag.orb +92 -92
  26. package/behaviors/registry/core/atoms/std-form-advanced.orb +66 -66
  27. package/behaviors/registry/core/atoms/std-gallery.orb +30 -29
  28. package/behaviors/registry/core/atoms/std-geosearch.orb +27 -27
  29. package/behaviors/registry/core/atoms/std-graphs.orb +180 -180
  30. package/behaviors/registry/core/atoms/std-hero-banner.orb +22 -22
  31. package/behaviors/registry/core/atoms/std-image-upload-multi.orb +63 -63
  32. package/behaviors/registry/core/atoms/std-lifecycle.orb +28 -28
  33. package/behaviors/registry/core/atoms/std-mod-queue.orb +53 -53
  34. package/behaviors/registry/core/atoms/std-modal.orb +39 -36
  35. package/behaviors/registry/core/atoms/std-multi-party-flow.orb +598 -597
  36. package/behaviors/registry/core/atoms/std-notify-on-event.orb +37 -31
  37. package/behaviors/registry/core/atoms/std-page-tree.orb +132 -132
  38. package/behaviors/registry/core/atoms/std-pagination.orb +11 -11
  39. package/behaviors/registry/core/atoms/std-push.orb +43 -43
  40. package/behaviors/registry/core/atoms/std-rate-limiter.orb +216 -216
  41. package/behaviors/registry/core/atoms/std-rating-review.orb +647 -647
  42. package/behaviors/registry/core/atoms/std-recurrence.orb +169 -169
  43. package/behaviors/registry/core/atoms/std-related.orb +34 -31
  44. package/behaviors/registry/core/atoms/std-reminder-scheduler.orb +9 -9
  45. package/behaviors/registry/core/atoms/std-rich-editor.orb +113 -113
  46. package/behaviors/registry/core/atoms/std-row-access-control.orb +21 -20
  47. package/behaviors/registry/core/atoms/std-saved-search.orb +89 -89
  48. package/behaviors/registry/core/atoms/std-scatter.orb +85 -85
  49. package/behaviors/registry/core/atoms/std-search.orb +11 -11
  50. package/behaviors/registry/core/atoms/std-selection.orb +103 -100
  51. package/behaviors/registry/core/atoms/std-sidebar-meta.orb +77 -77
  52. package/behaviors/registry/core/atoms/std-signature-capture.orb +85 -85
  53. package/behaviors/registry/core/atoms/std-stack-layout.orb +17 -17
  54. package/behaviors/registry/core/atoms/std-stats.orb +326 -325
  55. package/behaviors/registry/core/atoms/std-step-flow.orb +150 -149
  56. package/behaviors/registry/core/atoms/std-tabs.orb +47 -46
  57. package/behaviors/registry/core/atoms/std-tag-taxonomy.orb +63 -63
  58. package/behaviors/registry/core/atoms/std-thread.orb +64 -63
  59. package/behaviors/registry/core/atoms/std-version-history.orb +155 -155
  60. package/behaviors/registry/core/atoms/std-vote.orb +39 -39
  61. package/behaviors/registry/core/atoms/std-wizard-form.orb +177 -177
  62. package/behaviors/registry/core/atoms/std-wizard.orb +183 -183
  63. package/behaviors/registry/core-variations/atoms/std-board-kanban-classic.orb +65 -65
  64. package/behaviors/registry/core-variations/atoms/std-board-swim-lanes.orb +65 -65
  65. package/behaviors/registry/core-variations/atoms/std-board-timeline-roadmap.orb +79 -73
  66. package/behaviors/registry/core-variations/atoms/std-browse-command-palette.orb +61 -61
  67. package/behaviors/registry/core-variations/atoms/std-browse-dense.orb +52 -58
  68. package/behaviors/registry/core-variations/atoms/std-browse-feed.orb +48 -47
  69. package/behaviors/registry/core-variations/atoms/std-browse-gallery.orb +38 -38
  70. package/behaviors/registry/core-variations/atoms/std-browse-triage.orb +64 -84
  71. package/behaviors/registry/core-variations/atoms/std-calendar-agenda-list.orb +46 -46
  72. package/behaviors/registry/core-variations/atoms/std-calendar-week-timeline.orb +40 -40
  73. package/behaviors/registry/core-variations/atoms/std-stats-hero-metric.orb +30 -30
  74. package/behaviors/registry/core-variations/atoms/std-stats-kpi-tiles.orb +91 -91
  75. package/behaviors/registry/core-variations/atoms/std-stats-sparkline-row.orb +83 -83
  76. package/behaviors/registry/core-variations/atoms/std-step-flow-cards-deck.orb +42 -42
  77. package/behaviors/registry/core-variations/atoms/std-step-flow-progress-vertical.orb +56 -56
  78. package/behaviors/registry/core-variations/atoms/std-step-flow-stepper-horizontal.orb +28 -28
  79. package/behaviors/registry/core-variations/atoms/std-tabs-segmented-pills.orb +21 -21
  80. package/behaviors/registry/core-variations/atoms/std-tabs-sidebar-rail.orb +22 -22
  81. package/behaviors/registry/core-variations/atoms/std-thread-chat-bubbles.orb +50 -50
  82. package/behaviors/registry/core-variations/atoms/std-thread-comments-linear.orb +114 -114
  83. package/behaviors/registry/core-variations/atoms/std-thread-email-threaded.orb +101 -101
  84. package/dist/behaviors/behaviors-registry.json +3 -3
  85. package/dist/behaviors/registry/core/atoms/std-app-layout.orb +81 -78
  86. package/dist/behaviors/registry/core/atoms/std-approval-gate.orb +84 -83
  87. package/dist/behaviors/registry/core/atoms/std-audit-capture.orb +16 -15
  88. package/dist/behaviors/registry/core/atoms/std-billable-hour.orb +125 -125
  89. package/dist/behaviors/registry/core/atoms/std-board.orb +289 -288
  90. package/dist/behaviors/registry/core/atoms/std-branching-logic.orb +118 -118
  91. package/dist/behaviors/registry/core/atoms/std-browse.orb +118 -115
  92. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +120 -120
  93. package/dist/behaviors/registry/core/atoms/std-calendar.orb +119 -60
  94. package/dist/behaviors/registry/core/atoms/std-cascade-on-delete.orb +7 -7
  95. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +210 -210
  96. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +33 -32
  97. package/dist/behaviors/registry/core/atoms/std-cross-reference.orb +19 -19
  98. package/dist/behaviors/registry/core/atoms/std-dashboard-grid-embedded.orb +81 -81
  99. package/dist/behaviors/registry/core/atoms/std-dashboard-grid-layout.orb +84 -84
  100. package/dist/behaviors/registry/core/atoms/std-dashboard-summary.orb +84 -84
  101. package/dist/behaviors/registry/core/atoms/std-data-erasure.orb +71 -71
  102. package/dist/behaviors/registry/core/atoms/std-date-range.orb +24 -24
  103. package/dist/behaviors/registry/core/atoms/std-drawer.orb +12 -9
  104. package/dist/behaviors/registry/core/atoms/std-esign-request.orb +32 -32
  105. package/dist/behaviors/registry/core/atoms/std-event-log.orb +170 -170
  106. package/dist/behaviors/registry/core/atoms/std-export.orb +63 -63
  107. package/dist/behaviors/registry/core/atoms/std-file-store.orb +157 -157
  108. package/dist/behaviors/registry/core/atoms/std-filter.orb +36 -36
  109. package/dist/behaviors/registry/core/atoms/std-flag.orb +92 -92
  110. package/dist/behaviors/registry/core/atoms/std-form-advanced.orb +66 -66
  111. package/dist/behaviors/registry/core/atoms/std-gallery.orb +30 -29
  112. package/dist/behaviors/registry/core/atoms/std-geosearch.orb +27 -27
  113. package/dist/behaviors/registry/core/atoms/std-graphs.orb +180 -180
  114. package/dist/behaviors/registry/core/atoms/std-hero-banner.orb +22 -22
  115. package/dist/behaviors/registry/core/atoms/std-image-upload-multi.orb +63 -63
  116. package/dist/behaviors/registry/core/atoms/std-lifecycle.orb +28 -28
  117. package/dist/behaviors/registry/core/atoms/std-mod-queue.orb +53 -53
  118. package/dist/behaviors/registry/core/atoms/std-modal.orb +39 -36
  119. package/dist/behaviors/registry/core/atoms/std-multi-party-flow.orb +598 -597
  120. package/dist/behaviors/registry/core/atoms/std-notify-on-event.orb +37 -31
  121. package/dist/behaviors/registry/core/atoms/std-page-tree.orb +132 -132
  122. package/dist/behaviors/registry/core/atoms/std-pagination.orb +11 -11
  123. package/dist/behaviors/registry/core/atoms/std-push.orb +43 -43
  124. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +216 -216
  125. package/dist/behaviors/registry/core/atoms/std-rating-review.orb +647 -647
  126. package/dist/behaviors/registry/core/atoms/std-recurrence.orb +169 -169
  127. package/dist/behaviors/registry/core/atoms/std-related.orb +34 -31
  128. package/dist/behaviors/registry/core/atoms/std-reminder-scheduler.orb +9 -9
  129. package/dist/behaviors/registry/core/atoms/std-rich-editor.orb +113 -113
  130. package/dist/behaviors/registry/core/atoms/std-row-access-control.orb +21 -20
  131. package/dist/behaviors/registry/core/atoms/std-saved-search.orb +89 -89
  132. package/dist/behaviors/registry/core/atoms/std-scatter.orb +85 -85
  133. package/dist/behaviors/registry/core/atoms/std-search.orb +11 -11
  134. package/dist/behaviors/registry/core/atoms/std-selection.orb +103 -100
  135. package/dist/behaviors/registry/core/atoms/std-sidebar-meta.orb +77 -77
  136. package/dist/behaviors/registry/core/atoms/std-signature-capture.orb +85 -85
  137. package/dist/behaviors/registry/core/atoms/std-stack-layout.orb +17 -17
  138. package/dist/behaviors/registry/core/atoms/std-stats.orb +326 -325
  139. package/dist/behaviors/registry/core/atoms/std-step-flow.orb +150 -149
  140. package/dist/behaviors/registry/core/atoms/std-tabs.orb +47 -46
  141. package/dist/behaviors/registry/core/atoms/std-tag-taxonomy.orb +63 -63
  142. package/dist/behaviors/registry/core/atoms/std-thread.orb +64 -63
  143. package/dist/behaviors/registry/core/atoms/std-version-history.orb +155 -155
  144. package/dist/behaviors/registry/core/atoms/std-vote.orb +39 -39
  145. package/dist/behaviors/registry/core/atoms/std-wizard-form.orb +177 -177
  146. package/dist/behaviors/registry/core/atoms/std-wizard.orb +183 -183
  147. package/dist/behaviors/registry/core-variations/atoms/std-board-kanban-classic.orb +65 -65
  148. package/dist/behaviors/registry/core-variations/atoms/std-board-swim-lanes.orb +65 -65
  149. package/dist/behaviors/registry/core-variations/atoms/std-board-timeline-roadmap.orb +79 -73
  150. package/dist/behaviors/registry/core-variations/atoms/std-browse-command-palette.orb +61 -61
  151. package/dist/behaviors/registry/core-variations/atoms/std-browse-dense.orb +52 -58
  152. package/dist/behaviors/registry/core-variations/atoms/std-browse-feed.orb +48 -47
  153. package/dist/behaviors/registry/core-variations/atoms/std-browse-gallery.orb +38 -38
  154. package/dist/behaviors/registry/core-variations/atoms/std-browse-triage.orb +64 -84
  155. package/dist/behaviors/registry/core-variations/atoms/std-calendar-agenda-list.orb +46 -46
  156. package/dist/behaviors/registry/core-variations/atoms/std-calendar-week-timeline.orb +40 -40
  157. package/dist/behaviors/registry/core-variations/atoms/std-stats-hero-metric.orb +30 -30
  158. package/dist/behaviors/registry/core-variations/atoms/std-stats-kpi-tiles.orb +91 -91
  159. package/dist/behaviors/registry/core-variations/atoms/std-stats-sparkline-row.orb +83 -83
  160. package/dist/behaviors/registry/core-variations/atoms/std-step-flow-cards-deck.orb +42 -42
  161. package/dist/behaviors/registry/core-variations/atoms/std-step-flow-progress-vertical.orb +56 -56
  162. package/dist/behaviors/registry/core-variations/atoms/std-step-flow-stepper-horizontal.orb +28 -28
  163. package/dist/behaviors/registry/core-variations/atoms/std-tabs-segmented-pills.orb +21 -21
  164. package/dist/behaviors/registry/core-variations/atoms/std-tabs-sidebar-rail.orb +22 -22
  165. package/dist/behaviors/registry/core-variations/atoms/std-thread-chat-bubbles.orb +50 -50
  166. package/dist/behaviors/registry/core-variations/atoms/std-thread-comments-linear.orb +114 -114
  167. package/dist/behaviors/registry/core-variations/atoms/std-thread-email-threaded.orb +101 -101
  168. package/dist/behaviors-registry.json +3 -3
  169. package/dist/registry/core/atoms/std-app-layout.orb +81 -78
  170. package/dist/registry/core/atoms/std-approval-gate.orb +84 -83
  171. package/dist/registry/core/atoms/std-audit-capture.orb +16 -15
  172. package/dist/registry/core/atoms/std-billable-hour.orb +125 -125
  173. package/dist/registry/core/atoms/std-board.orb +289 -288
  174. package/dist/registry/core/atoms/std-branching-logic.orb +118 -118
  175. package/dist/registry/core/atoms/std-browse.orb +118 -115
  176. package/dist/registry/core/atoms/std-cache-aside.orb +120 -120
  177. package/dist/registry/core/atoms/std-calendar.orb +119 -60
  178. package/dist/registry/core/atoms/std-cascade-on-delete.orb +7 -7
  179. package/dist/registry/core/atoms/std-circuit-breaker.orb +210 -210
  180. package/dist/registry/core/atoms/std-confirmation.orb +33 -32
  181. package/dist/registry/core/atoms/std-cross-reference.orb +19 -19
  182. package/dist/registry/core/atoms/std-dashboard-grid-embedded.orb +81 -81
  183. package/dist/registry/core/atoms/std-dashboard-grid-layout.orb +84 -84
  184. package/dist/registry/core/atoms/std-dashboard-summary.orb +84 -84
  185. package/dist/registry/core/atoms/std-data-erasure.orb +71 -71
  186. package/dist/registry/core/atoms/std-date-range.orb +24 -24
  187. package/dist/registry/core/atoms/std-drawer.orb +12 -9
  188. package/dist/registry/core/atoms/std-esign-request.orb +32 -32
  189. package/dist/registry/core/atoms/std-event-log.orb +170 -170
  190. package/dist/registry/core/atoms/std-export.orb +63 -63
  191. package/dist/registry/core/atoms/std-file-store.orb +157 -157
  192. package/dist/registry/core/atoms/std-filter.orb +36 -36
  193. package/dist/registry/core/atoms/std-flag.orb +92 -92
  194. package/dist/registry/core/atoms/std-form-advanced.orb +66 -66
  195. package/dist/registry/core/atoms/std-gallery.orb +30 -29
  196. package/dist/registry/core/atoms/std-geosearch.orb +27 -27
  197. package/dist/registry/core/atoms/std-graphs.orb +180 -180
  198. package/dist/registry/core/atoms/std-hero-banner.orb +22 -22
  199. package/dist/registry/core/atoms/std-image-upload-multi.orb +63 -63
  200. package/dist/registry/core/atoms/std-lifecycle.orb +28 -28
  201. package/dist/registry/core/atoms/std-mod-queue.orb +53 -53
  202. package/dist/registry/core/atoms/std-modal.orb +39 -36
  203. package/dist/registry/core/atoms/std-multi-party-flow.orb +598 -597
  204. package/dist/registry/core/atoms/std-notify-on-event.orb +37 -31
  205. package/dist/registry/core/atoms/std-page-tree.orb +132 -132
  206. package/dist/registry/core/atoms/std-pagination.orb +11 -11
  207. package/dist/registry/core/atoms/std-push.orb +43 -43
  208. package/dist/registry/core/atoms/std-rate-limiter.orb +216 -216
  209. package/dist/registry/core/atoms/std-rating-review.orb +647 -647
  210. package/dist/registry/core/atoms/std-recurrence.orb +169 -169
  211. package/dist/registry/core/atoms/std-related.orb +34 -31
  212. package/dist/registry/core/atoms/std-reminder-scheduler.orb +9 -9
  213. package/dist/registry/core/atoms/std-rich-editor.orb +113 -113
  214. package/dist/registry/core/atoms/std-row-access-control.orb +21 -20
  215. package/dist/registry/core/atoms/std-saved-search.orb +89 -89
  216. package/dist/registry/core/atoms/std-scatter.orb +85 -85
  217. package/dist/registry/core/atoms/std-search.orb +11 -11
  218. package/dist/registry/core/atoms/std-selection.orb +103 -100
  219. package/dist/registry/core/atoms/std-sidebar-meta.orb +77 -77
  220. package/dist/registry/core/atoms/std-signature-capture.orb +85 -85
  221. package/dist/registry/core/atoms/std-stack-layout.orb +17 -17
  222. package/dist/registry/core/atoms/std-stats.orb +326 -325
  223. package/dist/registry/core/atoms/std-step-flow.orb +150 -149
  224. package/dist/registry/core/atoms/std-tabs.orb +47 -46
  225. package/dist/registry/core/atoms/std-tag-taxonomy.orb +63 -63
  226. package/dist/registry/core/atoms/std-thread.orb +64 -63
  227. package/dist/registry/core/atoms/std-version-history.orb +155 -155
  228. package/dist/registry/core/atoms/std-vote.orb +39 -39
  229. package/dist/registry/core/atoms/std-wizard-form.orb +177 -177
  230. package/dist/registry/core/atoms/std-wizard.orb +183 -183
  231. package/dist/registry/core-variations/atoms/std-board-kanban-classic.orb +65 -65
  232. package/dist/registry/core-variations/atoms/std-board-swim-lanes.orb +65 -65
  233. package/dist/registry/core-variations/atoms/std-board-timeline-roadmap.orb +79 -73
  234. package/dist/registry/core-variations/atoms/std-browse-command-palette.orb +61 -61
  235. package/dist/registry/core-variations/atoms/std-browse-dense.orb +52 -58
  236. package/dist/registry/core-variations/atoms/std-browse-feed.orb +48 -47
  237. package/dist/registry/core-variations/atoms/std-browse-gallery.orb +38 -38
  238. package/dist/registry/core-variations/atoms/std-browse-triage.orb +64 -84
  239. package/dist/registry/core-variations/atoms/std-calendar-agenda-list.orb +46 -46
  240. package/dist/registry/core-variations/atoms/std-calendar-week-timeline.orb +40 -40
  241. package/dist/registry/core-variations/atoms/std-stats-hero-metric.orb +30 -30
  242. package/dist/registry/core-variations/atoms/std-stats-kpi-tiles.orb +91 -91
  243. package/dist/registry/core-variations/atoms/std-stats-sparkline-row.orb +83 -83
  244. package/dist/registry/core-variations/atoms/std-step-flow-cards-deck.orb +42 -42
  245. package/dist/registry/core-variations/atoms/std-step-flow-progress-vertical.orb +56 -56
  246. package/dist/registry/core-variations/atoms/std-step-flow-stepper-horizontal.orb +28 -28
  247. package/dist/registry/core-variations/atoms/std-tabs-segmented-pills.orb +21 -21
  248. package/dist/registry/core-variations/atoms/std-tabs-sidebar-rail.orb +22 -22
  249. package/dist/registry/core-variations/atoms/std-thread-chat-bubbles.orb +50 -50
  250. package/dist/registry/core-variations/atoms/std-thread-comments-linear.orb +114 -114
  251. package/dist/registry/core-variations/atoms/std-thread-email-threaded.orb +101 -101
  252. package/package.json +1 -1
@@ -68,6 +68,7 @@
68
68
  "name": "ThreadPostBrowse",
69
69
  "entityRebindable": true,
70
70
  "entityContract": {
71
+ "requires": [],
71
72
  "provides": [
72
73
  "content",
73
74
  "parentId"
@@ -320,21 +321,21 @@
320
321
  "fetch",
321
322
  "ThreadPost",
322
323
  {
324
+ "include": [
325
+ "replies"
326
+ ],
323
327
  "emit": {
324
328
  "success": "ThreadPostLoaded",
325
329
  "failure": "ThreadPostLoadFailed"
326
- },
327
- "include": [
328
- "replies"
329
- ]
330
+ }
330
331
  }
331
332
  ],
332
333
  [
333
334
  "render-ui",
334
335
  "main",
335
336
  {
336
- "size": "sm",
337
- "type": "spinner"
337
+ "type": "spinner",
338
+ "size": "sm"
338
339
  }
339
340
  ]
340
341
  ]
@@ -360,9 +361,9 @@
360
361
  "render-ui",
361
362
  "main",
362
363
  {
364
+ "type": "alert",
363
365
  "variant": "error",
364
- "message": "@payload.error",
365
- "type": "alert"
366
+ "message": "@payload.error"
366
367
  }
367
368
  ]
368
369
  ]
@@ -423,39 +424,39 @@
423
424
  {
424
425
  "direction": "vertical",
425
426
  "gap": "md",
426
- "type": "stack",
427
427
  "children": [
428
428
  {
429
- "variant": "h4",
430
429
  "content": "Write a reply",
431
- "type": "typography"
430
+ "type": "typography",
431
+ "variant": "h4"
432
432
  },
433
433
  {
434
- "type": "textarea",
435
434
  "placeholder": "Your reply…",
436
- "action": "EDIT_REPLY"
435
+ "action": "EDIT_REPLY",
436
+ "type": "textarea"
437
437
  },
438
438
  {
439
- "type": "stack",
440
439
  "children": [
441
440
  {
442
- "action": "SUBMIT_REPLY",
441
+ "variant": "primary",
443
442
  "label": "Submit",
444
- "icon": "send",
445
443
  "type": "button",
446
- "variant": "primary"
444
+ "action": "SUBMIT_REPLY",
445
+ "icon": "send"
447
446
  },
448
447
  {
449
- "action": "CANCEL_REPLY",
450
- "type": "button",
451
448
  "label": "Cancel",
452
- "variant": "secondary"
449
+ "action": "CANCEL_REPLY",
450
+ "variant": "secondary",
451
+ "type": "button"
453
452
  }
454
453
  ],
454
+ "type": "stack",
455
455
  "direction": "horizontal",
456
456
  "gap": "sm"
457
457
  }
458
- ]
458
+ ],
459
+ "type": "stack"
459
460
  }
460
461
  ]
461
462
  ]
@@ -484,8 +485,8 @@
484
485
  "@payload.data",
485
486
  {
486
487
  "emit": {
487
- "success": "ThreadPostCreated",
488
- "failure": "ThreadPostCreateFailed"
488
+ "failure": "ThreadPostCreateFailed",
489
+ "success": "ThreadPostCreated"
489
490
  }
490
491
  }
491
492
  ]
@@ -527,13 +528,13 @@
527
528
  "fetch",
528
529
  "ThreadPost",
529
530
  {
531
+ "include": [
532
+ "replies"
533
+ ],
530
534
  "emit": {
531
535
  "failure": "ThreadPostLoadFailed",
532
536
  "success": "ThreadPostLoaded"
533
- },
534
- "include": [
535
- "replies"
536
- ]
537
+ }
537
538
  }
538
539
  ]
539
540
  ]
@@ -563,21 +564,21 @@
563
564
  "fetch",
564
565
  "ThreadPost",
565
566
  {
566
- "emit": {
567
- "failure": "ThreadPostLoadFailed",
568
- "success": "ThreadPostLoaded"
569
- },
570
567
  "include": [
571
568
  "replies"
572
- ]
569
+ ],
570
+ "emit": {
571
+ "success": "ThreadPostLoaded",
572
+ "failure": "ThreadPostLoadFailed"
573
+ }
573
574
  }
574
575
  ],
575
576
  [
576
577
  "render-ui",
577
578
  "main",
578
579
  {
579
- "size": "sm",
580
- "type": "spinner"
580
+ "type": "spinner",
581
+ "size": "sm"
581
582
  }
582
583
  ]
583
584
  ]
@@ -592,59 +593,45 @@
592
593
  "description": "Top-level post whose descendants are loaded (blank = all roots)",
593
594
  "tier": "domain"
594
595
  },
595
- "tableLook": {
596
- "type": "string",
597
- "default": "dense",
598
- "label": "Table look",
599
- "description": "Layer 2 visual treatment for the data table rendered by this atom.",
600
- "tier": "presentation",
601
- "values": [
602
- "dense",
603
- "spacious",
604
- "striped",
605
- "borderless",
606
- "card-rows"
607
- ]
608
- },
609
596
  "bodyContent": {
610
597
  "type": "render-ui",
611
598
  "default": {
612
- "direction": "vertical",
613
599
  "type": "stack",
614
- "gap": "md",
615
600
  "children": [
616
601
  {
617
- "look": "@config.tableLook",
618
602
  "variant": "card",
619
- "gap": "sm",
620
- "type": "data-list",
603
+ "entity": "@payload.data",
604
+ "look": "@config.tableLook",
621
605
  "fields": [
622
606
  {
623
607
  "label": "Author",
624
- "name": "authorName",
625
- "variant": "h4"
608
+ "variant": "h4",
609
+ "name": "authorName"
626
610
  },
627
611
  {
612
+ "name": "content",
628
613
  "label": "",
629
- "variant": "body",
630
- "name": "content"
614
+ "variant": "body"
631
615
  },
632
616
  {
633
- "variant": "caption",
617
+ "name": "voteCount",
634
618
  "label": "Votes",
635
- "name": "voteCount"
619
+ "variant": "caption"
636
620
  }
637
621
  ],
638
622
  "itemActions": [
639
623
  {
640
624
  "icon": "message-square",
641
- "label": "Reply",
642
- "event": "REPLY"
625
+ "event": "REPLY",
626
+ "label": "Reply"
643
627
  }
644
628
  ],
645
- "entity": "@payload.data"
629
+ "gap": "sm",
630
+ "type": "data-list"
646
631
  }
647
- ]
632
+ ],
633
+ "gap": "md",
634
+ "direction": "vertical"
648
635
  },
649
636
  "label": "Body content tree",
650
637
  "description": "Render-ui SExpr rendered after thread posts load. Default is the canonical forum-style data-list. Layer 3 variants override this with their own tree (chat bubbles, email-threaded cards, linear comment stacks, etc.) to deliver entirely different thread UX while inheriting the same trait, state machine, emits, and listens.",
@@ -656,6 +643,20 @@
656
643
  "label": "Flat thread",
657
644
  "description": "Render replies as a linear list instead of nested tree",
658
645
  "tier": "presentation"
646
+ },
647
+ "tableLook": {
648
+ "type": "string",
649
+ "default": "dense",
650
+ "label": "Table look",
651
+ "description": "Layer 2 visual treatment for the data table rendered by this atom.",
652
+ "tier": "presentation",
653
+ "values": [
654
+ "dense",
655
+ "spacious",
656
+ "striped",
657
+ "borderless",
658
+ "card-rows"
659
+ ]
659
660
  }
660
661
  },
661
662
  "scope": "collection"