@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
@@ -365,8 +365,8 @@
365
365
  "Revision",
366
366
  {
367
367
  "emit": {
368
- "success": "RevisionLoaded",
369
- "failure": "RevisionLoadFailed"
368
+ "failure": "RevisionLoadFailed",
369
+ "success": "RevisionLoaded"
370
370
  }
371
371
  }
372
372
  ],
@@ -374,22 +374,22 @@
374
374
  "render-ui",
375
375
  "main",
376
376
  {
377
+ "direction": "vertical",
378
+ "gap": "md",
379
+ "align": "center",
377
380
  "type": "stack",
381
+ "className": "py-12",
378
382
  "children": [
379
383
  {
380
384
  "type": "spinner"
381
385
  },
382
386
  {
383
- "color": "muted",
387
+ "content": "Loading version history…",
384
388
  "variant": "caption",
385
389
  "type": "typography",
386
- "content": "Loading version history…"
390
+ "color": "muted"
387
391
  }
388
- ],
389
- "gap": "md",
390
- "align": "center",
391
- "className": "py-12",
392
- "direction": "vertical"
392
+ ]
393
393
  }
394
394
  ]
395
395
  ]
@@ -406,7 +406,7 @@
406
406
  "type": "stack",
407
407
  "children": [
408
408
  {
409
- "type": "stack",
409
+ "gap": "sm",
410
410
  "children": [
411
411
  {
412
412
  "type": "icon",
@@ -418,93 +418,93 @@
418
418
  "variant": "h3"
419
419
  }
420
420
  ],
421
- "gap": "sm",
421
+ "type": "stack",
422
422
  "direction": "horizontal",
423
423
  "align": "center"
424
424
  },
425
425
  {
426
- "cols": 4.0,
427
426
  "children": [
428
427
  {
429
428
  "value": "@payload.data.length",
429
+ "icon": "history",
430
430
  "type": "stat-display",
431
431
  "look": "@config.statLook",
432
- "label": "Total revisions",
433
- "icon": "history"
432
+ "label": "Total revisions"
434
433
  },
435
434
  {
436
435
  "label": "Authors",
437
- "type": "stat-display",
438
436
  "value": "6",
437
+ "type": "stat-display",
439
438
  "look": "@config.statLook",
440
439
  "icon": "users"
441
440
  },
442
441
  {
442
+ "icon": "save",
443
443
  "type": "stat-display",
444
+ "label": "Saves this week",
444
445
  "look": "@config.statLook",
445
- "value": "14",
446
- "icon": "save",
447
- "label": "Saves this week"
446
+ "value": "14"
448
447
  },
449
448
  {
450
- "label": "Rollbacks",
451
449
  "value": "2",
452
- "type": "stat-display",
450
+ "icon": "rotate-ccw",
451
+ "label": "Rollbacks",
453
452
  "look": "@config.statLook",
454
- "icon": "rotate-ccw"
453
+ "type": "stat-display"
455
454
  }
456
455
  ],
457
- "type": "simple-grid"
456
+ "type": "simple-grid",
457
+ "cols": 4.0
458
458
  },
459
459
  {
460
460
  "type": "divider"
461
461
  },
462
462
  {
463
+ "itemActions": [
464
+ {
465
+ "icon": "arrow-right",
466
+ "label": "Open",
467
+ "variant": "primary",
468
+ "event": "OPEN_REVISION"
469
+ },
470
+ {
471
+ "icon": "rotate-ccw",
472
+ "label": "Rollback",
473
+ "event": "ROLLBACK",
474
+ "variant": "danger"
475
+ }
476
+ ],
477
+ "look": "@config.tableLook",
463
478
  "cols": 1.0,
479
+ "entity": "@payload.data",
464
480
  "type": "data-grid",
481
+ "gap": "sm",
465
482
  "fields": [
466
483
  {
467
- "name": "versionNumber",
468
484
  "label": "Version",
485
+ "name": "versionNumber",
469
486
  "variant": "badge"
470
487
  },
471
488
  {
472
- "variant": "caption",
489
+ "name": "authorName",
473
490
  "label": "Author",
474
- "name": "authorName"
491
+ "variant": "caption"
475
492
  },
476
493
  {
477
494
  "name": "summary",
478
- "label": "Summary",
479
- "variant": "caption"
495
+ "variant": "caption",
496
+ "label": "Summary"
480
497
  },
481
498
  {
482
499
  "variant": "caption",
483
500
  "name": "createdAt",
484
501
  "label": "Saved"
485
502
  }
486
- ],
487
- "look": "@config.tableLook",
488
- "gap": "sm",
489
- "entity": "@payload.data",
490
- "itemActions": [
491
- {
492
- "icon": "arrow-right",
493
- "variant": "primary",
494
- "label": "Open",
495
- "event": "OPEN_REVISION"
496
- },
497
- {
498
- "icon": "rotate-ccw",
499
- "label": "Rollback",
500
- "event": "ROLLBACK",
501
- "variant": "danger"
502
- }
503
503
  ]
504
504
  }
505
505
  ],
506
- "direction": "vertical",
507
- "gap": "md"
506
+ "gap": "md",
507
+ "direction": "vertical"
508
508
  }
509
509
  ]
510
510
  ]
@@ -519,8 +519,8 @@
519
519
  "Revision",
520
520
  {
521
521
  "emit": {
522
- "success": "RevisionLoaded",
523
- "failure": "RevisionLoadFailed"
522
+ "failure": "RevisionLoadFailed",
523
+ "success": "RevisionLoaded"
524
524
  }
525
525
  }
526
526
  ]
@@ -536,8 +536,8 @@
536
536
  "main",
537
537
  {
538
538
  "variant": "error",
539
- "type": "alert",
540
- "message": "@payload.error"
539
+ "message": "@payload.error",
540
+ "type": "alert"
541
541
  }
542
542
  ]
543
543
  ]
@@ -552,8 +552,8 @@
552
552
  "main",
553
553
  {
554
554
  "message": "@payload.error",
555
- "type": "alert",
556
- "variant": "error"
555
+ "variant": "error",
556
+ "type": "alert"
557
557
  }
558
558
  ]
559
559
  ]
@@ -612,19 +612,17 @@
612
612
  "render-ui",
613
613
  "main",
614
614
  {
615
- "gap": "md",
616
615
  "type": "stack",
616
+ "direction": "vertical",
617
+ "gap": "md",
617
618
  "children": [
618
619
  {
619
620
  "gap": "sm",
620
- "direction": "horizontal",
621
- "type": "stack",
622
- "align": "center",
623
621
  "children": [
624
622
  {
625
- "action": "CLOSE_VIEW",
626
- "variant": "ghost",
627
623
  "type": "button",
624
+ "variant": "ghost",
625
+ "action": "CLOSE_VIEW",
628
626
  "label": "Back"
629
627
  },
630
628
  {
@@ -632,80 +630,83 @@
632
630
  "type": "icon"
633
631
  },
634
632
  {
635
- "variant": "h3",
636
633
  "content": "@entity.summary",
634
+ "variant": "h3",
637
635
  "type": "typography"
638
636
  },
639
637
  {
640
- "variant": "default",
638
+ "type": "badge",
641
639
  "label": "@entity.versionNumber",
642
- "type": "badge"
640
+ "variant": "default"
643
641
  }
644
- ]
642
+ ],
643
+ "type": "stack",
644
+ "align": "center",
645
+ "direction": "horizontal"
645
646
  },
646
647
  {
647
648
  "type": "divider"
648
649
  },
649
650
  {
650
651
  "type": "stack",
651
- "direction": "vertical",
652
652
  "gap": "sm",
653
653
  "children": [
654
654
  {
655
- "type": "stack",
655
+ "direction": "horizontal",
656
656
  "children": [
657
657
  {
658
658
  "variant": "caption",
659
- "color": "muted",
660
659
  "content": "Author",
660
+ "color": "muted",
661
661
  "type": "typography"
662
662
  },
663
663
  {
664
- "variant": "body",
665
664
  "type": "typography",
665
+ "variant": "body",
666
666
  "content": "@entity.authorName"
667
667
  }
668
668
  ],
669
- "direction": "horizontal",
669
+ "type": "stack",
670
670
  "gap": "md"
671
671
  },
672
672
  {
673
673
  "type": "stack",
674
+ "gap": "md",
674
675
  "children": [
675
676
  {
676
- "type": "typography",
677
- "color": "muted",
678
677
  "content": "Saved",
679
- "variant": "caption"
678
+ "variant": "caption",
679
+ "type": "typography",
680
+ "color": "muted"
680
681
  },
681
682
  {
682
- "content": "@entity.createdAt",
683
+ "variant": "body",
683
684
  "type": "typography",
684
- "variant": "body"
685
+ "content": "@entity.createdAt"
685
686
  }
686
687
  ],
687
- "gap": "md",
688
688
  "direction": "horizontal"
689
689
  },
690
690
  {
691
+ "direction": "horizontal",
692
+ "type": "stack",
693
+ "gap": "md",
691
694
  "children": [
692
695
  {
693
- "content": "Content",
696
+ "type": "typography",
694
697
  "color": "muted",
695
698
  "variant": "caption",
696
- "type": "typography"
699
+ "content": "Content"
697
700
  },
698
701
  {
699
- "content": "@entity.content",
700
702
  "variant": "body",
701
- "type": "typography"
703
+ "type": "typography",
704
+ "content": "@entity.content"
702
705
  }
703
- ],
704
- "type": "stack",
705
- "direction": "horizontal",
706
- "gap": "md"
706
+ ]
707
707
  }
708
- ]
708
+ ],
709
+ "direction": "vertical"
709
710
  },
710
711
  {
711
712
  "type": "divider"
@@ -718,53 +719,52 @@
718
719
  "type": "stat-display",
719
720
  "icon": "tag",
720
721
  "label": "Version",
721
- "look": "@config.statLook",
722
- "value": "@entity.versionNumber"
722
+ "value": "@entity.versionNumber",
723
+ "look": "@config.statLook"
723
724
  },
724
725
  {
726
+ "icon": "file",
727
+ "type": "stat-display",
725
728
  "label": "Document",
726
729
  "look": "@config.statLook",
727
- "type": "stat-display",
728
- "value": "@entity.documentId",
729
- "icon": "file"
730
+ "value": "@entity.documentId"
730
731
  },
731
732
  {
732
- "look": "@config.statLook",
733
733
  "type": "stat-display",
734
- "label": "Type",
734
+ "value": "@entity.documentType",
735
+ "look": "@config.statLook",
735
736
  "icon": "layers",
736
- "value": "@entity.documentType"
737
+ "label": "Type"
737
738
  }
738
739
  ]
739
740
  },
740
741
  {
741
- "type": "stack",
742
+ "align": "center",
742
743
  "direction": "horizontal",
743
744
  "gap": "sm",
744
- "align": "center",
745
+ "type": "stack",
745
746
  "children": [
746
747
  {
748
+ "label": "Compare",
747
749
  "variant": "secondary",
748
750
  "type": "button",
749
751
  "action": "COMPARE",
750
752
  "actionPayload": {
751
753
  "id": "@entity.id"
752
- },
753
- "label": "Compare"
754
+ }
754
755
  },
755
756
  {
756
757
  "action": "ROLLBACK",
758
+ "variant": "danger",
757
759
  "actionPayload": {
758
760
  "id": "@entity.id"
759
761
  },
760
762
  "type": "button",
761
- "label": "Rollback",
762
- "variant": "danger"
763
+ "label": "Rollback"
763
764
  }
764
765
  ]
765
766
  }
766
- ],
767
- "direction": "vertical"
767
+ ]
768
768
  }
769
769
  ]
770
770
  ]
@@ -784,8 +784,8 @@
784
784
  "Revision",
785
785
  {
786
786
  "emit": {
787
- "failure": "RevisionLoadFailed",
788
- "success": "RevisionLoaded"
787
+ "success": "RevisionLoaded",
788
+ "failure": "RevisionLoadFailed"
789
789
  }
790
790
  }
791
791
  ],
@@ -793,20 +793,20 @@
793
793
  "render-ui",
794
794
  "main",
795
795
  {
796
- "direction": "vertical",
797
- "gap": "md",
798
796
  "align": "center",
797
+ "direction": "vertical",
799
798
  "type": "stack",
799
+ "gap": "md",
800
800
  "className": "py-12",
801
801
  "children": [
802
802
  {
803
803
  "type": "spinner"
804
804
  },
805
805
  {
806
- "variant": "caption",
806
+ "color": "muted",
807
807
  "type": "typography",
808
808
  "content": "Rolling back…",
809
- "color": "muted"
809
+ "variant": "caption"
810
810
  }
811
811
  ]
812
812
  }
@@ -823,8 +823,8 @@
823
823
  "Revision",
824
824
  {
825
825
  "emit": {
826
- "failure": "RevisionLoadFailed",
827
- "success": "RevisionLoaded"
826
+ "success": "RevisionLoaded",
827
+ "failure": "RevisionLoadFailed"
828
828
  }
829
829
  }
830
830
  ],
@@ -832,22 +832,22 @@
832
832
  "render-ui",
833
833
  "main",
834
834
  {
835
- "className": "py-12",
836
- "type": "stack",
837
835
  "gap": "md",
838
836
  "direction": "vertical",
839
837
  "align": "center",
838
+ "className": "py-12",
840
839
  "children": [
841
840
  {
842
841
  "type": "spinner"
843
842
  },
844
843
  {
845
- "type": "typography",
846
- "variant": "caption",
844
+ "content": "Loading version history…",
847
845
  "color": "muted",
848
- "content": "Loading version history…"
846
+ "type": "typography",
847
+ "variant": "caption"
849
848
  }
850
- ]
849
+ ],
850
+ "type": "stack"
851
851
  }
852
852
  ]
853
853
  ]
@@ -867,17 +867,18 @@
867
867
  "main",
868
868
  {
869
869
  "gap": "md",
870
- "type": "stack",
871
870
  "direction": "vertical",
872
871
  "children": [
873
872
  {
874
- "gap": "sm",
875
873
  "direction": "horizontal",
874
+ "type": "stack",
875
+ "gap": "sm",
876
+ "align": "center",
876
877
  "children": [
877
878
  {
878
- "variant": "ghost",
879
879
  "type": "button",
880
880
  "label": "Back",
881
+ "variant": "ghost",
881
882
  "action": "CLOSE_VIEW"
882
883
  },
883
884
  {
@@ -886,42 +887,41 @@
886
887
  },
887
888
  {
888
889
  "variant": "h3",
889
- "content": "Compare versions",
890
- "type": "typography"
890
+ "type": "typography",
891
+ "content": "Compare versions"
891
892
  }
892
- ],
893
- "type": "stack",
894
- "align": "center"
893
+ ]
895
894
  },
896
895
  {
897
896
  "type": "divider"
898
897
  },
899
898
  {
900
- "type": "version-diff",
901
899
  "view": "side-by-side",
902
900
  "revisions": "@payload.revisions",
903
- "onRevert": "ROLLBACK",
901
+ "type": "version-diff",
902
+ "beforeId": "@payload.beforeId",
904
903
  "afterId": "@payload.afterId",
905
- "beforeId": "@payload.beforeId"
904
+ "onRevert": "ROLLBACK"
906
905
  },
907
906
  {
908
- "type": "stack",
909
- "gap": "sm",
910
- "direction": "horizontal",
911
907
  "align": "center",
912
908
  "children": [
913
909
  {
910
+ "variant": "danger",
914
911
  "action": "ROLLBACK",
915
912
  "label": "Rollback",
916
913
  "actionPayload": {
917
914
  "id": "@entity.id"
918
915
  },
919
- "variant": "danger",
920
916
  "type": "button"
921
917
  }
922
- ]
918
+ ],
919
+ "gap": "sm",
920
+ "type": "stack",
921
+ "direction": "horizontal"
923
922
  }
924
- ]
923
+ ],
924
+ "type": "stack"
925
925
  }
926
926
  ]
927
927
  ]
@@ -950,6 +950,10 @@
950
950
  "render-ui",
951
951
  "main",
952
952
  {
953
+ "align": "center",
954
+ "className": "py-12",
955
+ "type": "stack",
956
+ "gap": "md",
953
957
  "children": [
954
958
  {
955
959
  "type": "spinner"
@@ -957,15 +961,11 @@
957
961
  {
958
962
  "variant": "caption",
959
963
  "type": "typography",
960
- "content": "Rolling back…",
961
- "color": "muted"
964
+ "color": "muted",
965
+ "content": "Rolling back…"
962
966
  }
963
967
  ],
964
- "type": "stack",
965
- "gap": "md",
966
- "align": "center",
967
- "direction": "vertical",
968
- "className": "py-12"
968
+ "direction": "vertical"
969
969
  }
970
970
  ]
971
971
  ]
@@ -989,22 +989,22 @@
989
989
  "render-ui",
990
990
  "main",
991
991
  {
992
+ "direction": "vertical",
993
+ "align": "center",
994
+ "className": "py-12",
995
+ "gap": "md",
992
996
  "children": [
993
997
  {
994
998
  "type": "spinner"
995
999
  },
996
1000
  {
997
- "variant": "caption",
998
- "type": "typography",
999
1001
  "color": "muted",
1002
+ "type": "typography",
1003
+ "variant": "caption",
1000
1004
  "content": "Loading version history…"
1001
1005
  }
1002
1006
  ],
1003
- "direction": "vertical",
1004
- "className": "py-12",
1005
- "type": "stack",
1006
- "gap": "md",
1007
- "align": "center"
1007
+ "type": "stack"
1008
1008
  }
1009
1009
  ]
1010
1010
  ]
@@ -1024,8 +1024,8 @@
1024
1024
  "Revision",
1025
1025
  {
1026
1026
  "emit": {
1027
- "success": "RevisionLoaded",
1028
- "failure": "RevisionLoadFailed"
1027
+ "failure": "RevisionLoadFailed",
1028
+ "success": "RevisionLoaded"
1029
1029
  }
1030
1030
  }
1031
1031
  ],
@@ -1033,22 +1033,22 @@
1033
1033
  "render-ui",
1034
1034
  "main",
1035
1035
  {
1036
- "align": "center",
1037
1036
  "className": "py-12",
1038
1037
  "children": [
1039
1038
  {
1040
1039
  "type": "spinner"
1041
1040
  },
1042
1041
  {
1043
- "variant": "caption",
1044
- "type": "typography",
1045
1042
  "content": "Rolling back…",
1046
- "color": "muted"
1043
+ "color": "muted",
1044
+ "type": "typography",
1045
+ "variant": "caption"
1047
1046
  }
1048
1047
  ],
1048
+ "direction": "vertical",
1049
+ "align": "center",
1049
1050
  "type": "stack",
1050
- "gap": "md",
1051
- "direction": "vertical"
1051
+ "gap": "md"
1052
1052
  }
1053
1053
  ]
1054
1054
  ]
@@ -1063,8 +1063,8 @@
1063
1063
  "Revision",
1064
1064
  {
1065
1065
  "emit": {
1066
- "success": "RevisionLoaded",
1067
- "failure": "RevisionLoadFailed"
1066
+ "failure": "RevisionLoadFailed",
1067
+ "success": "RevisionLoaded"
1068
1068
  }
1069
1069
  }
1070
1070
  ],
@@ -1072,8 +1072,8 @@
1072
1072
  "render-ui",
1073
1073
  "main",
1074
1074
  {
1075
- "size": "sm",
1076
- "type": "spinner"
1075
+ "type": "spinner",
1076
+ "size": "sm"
1077
1077
  }
1078
1078
  ]
1079
1079
  ]