@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
@@ -213,15 +213,16 @@
213
213
  "render-ui",
214
214
  "main",
215
215
  {
216
+ "type": "stack",
217
+ "gap": "lg",
216
218
  "children": [
217
219
  {
218
- "type": "stack",
219
220
  "direction": "horizontal",
220
- "justify": "between",
221
- "gap": "md",
222
221
  "children": [
223
222
  {
223
+ "type": "stack",
224
224
  "gap": "md",
225
+ "direction": "horizontal",
225
226
  "children": [
226
227
  {
227
228
  "type": "icon",
@@ -232,32 +233,31 @@
232
233
  "content": "Cache (empty)",
233
234
  "variant": "h2"
234
235
  }
235
- ],
236
- "direction": "horizontal",
237
- "type": "stack"
236
+ ]
238
237
  },
239
238
  {
240
- "variant": "primary",
241
239
  "action": "FETCH",
240
+ "type": "button",
242
241
  "label": "Fetch",
243
- "icon": "download",
244
- "type": "button"
242
+ "variant": "primary",
243
+ "icon": "download"
245
244
  }
246
- ]
245
+ ],
246
+ "justify": "between",
247
+ "type": "stack",
248
+ "gap": "md"
247
249
  },
248
250
  {
249
251
  "type": "divider"
250
252
  },
251
253
  {
252
- "type": "empty-state",
253
- "look": "@config.emptyLook",
254
254
  "icon": "inbox",
255
+ "type": "empty-state",
255
256
  "title": "Cache is empty",
257
+ "look": "@config.emptyLook",
256
258
  "description": "Fetch data to populate the cache."
257
259
  }
258
260
  ],
259
- "gap": "lg",
260
- "type": "stack",
261
261
  "direction": "vertical"
262
262
  }
263
263
  ]
@@ -273,8 +273,8 @@
273
273
  "CacheEntry",
274
274
  {
275
275
  "emit": {
276
- "failure": "CacheEntryLoadFailed",
277
- "success": "CacheEntryLoaded"
276
+ "success": "CacheEntryLoaded",
277
+ "failure": "CacheEntryLoadFailed"
278
278
  }
279
279
  }
280
280
  ],
@@ -282,22 +282,22 @@
282
282
  "render-ui",
283
283
  "main",
284
284
  {
285
+ "gap": "md",
286
+ "align": "center",
285
287
  "className": "py-12",
286
288
  "type": "stack",
287
- "gap": "md",
289
+ "direction": "vertical",
288
290
  "children": [
289
291
  {
290
292
  "type": "spinner"
291
293
  },
292
294
  {
293
- "color": "muted",
294
- "content": "Fetching cache…",
295
295
  "type": "typography",
296
- "variant": "caption"
296
+ "content": "Fetching cache…",
297
+ "variant": "caption",
298
+ "color": "muted"
297
299
  }
298
- ],
299
- "align": "center",
300
- "direction": "vertical"
300
+ ]
301
301
  }
302
302
  ]
303
303
  ]
@@ -313,8 +313,12 @@
313
313
  {
314
314
  "children": [
315
315
  {
316
+ "type": "stack",
317
+ "direction": "horizontal",
318
+ "justify": "between",
316
319
  "children": [
317
320
  {
321
+ "type": "stack",
318
322
  "gap": "md",
319
323
  "children": [
320
324
  {
@@ -327,7 +331,6 @@
327
331
  "content": "Cache (hot)"
328
332
  }
329
333
  ],
330
- "type": "stack",
331
334
  "direction": "horizontal"
332
335
  },
333
336
  {
@@ -337,48 +340,46 @@
337
340
  "align": "center",
338
341
  "children": [
339
342
  {
340
- "status": "online",
343
+ "pulse": false,
341
344
  "type": "status-dot",
342
345
  "label": "Cached",
343
- "pulse": false
346
+ "status": "online"
344
347
  },
345
348
  {
346
- "icon": "trash",
347
349
  "variant": "ghost",
350
+ "icon": "trash",
351
+ "action": "INVALIDATE",
348
352
  "label": "Invalidate",
349
- "type": "button",
350
- "action": "INVALIDATE"
353
+ "type": "button"
351
354
  }
352
355
  ]
353
356
  }
354
357
  ],
355
- "gap": "md",
356
- "type": "stack",
357
- "direction": "horizontal",
358
- "justify": "between"
358
+ "gap": "md"
359
359
  },
360
360
  {
361
361
  "type": "divider"
362
362
  },
363
363
  {
364
364
  "look": "@config.tableLook",
365
- "fields": [],
366
- "entity": "@payload.data",
367
365
  "type": "data-grid",
366
+ "entity": "@payload.data",
367
+ "fields": [],
368
368
  "renderItem": [
369
369
  "fn",
370
370
  "item",
371
371
  {
372
+ "direction": "vertical",
373
+ "gap": "sm",
374
+ "type": "stack",
372
375
  "children": [
373
376
  {
374
- "direction": "horizontal",
375
- "justify": "between",
376
377
  "children": [
377
378
  {
378
- "align": "center",
379
- "type": "stack",
380
- "gap": "sm",
381
379
  "direction": "horizontal",
380
+ "gap": "sm",
381
+ "type": "stack",
382
+ "align": "center",
382
383
  "children": [
383
384
  {
384
385
  "name": "database",
@@ -386,8 +387,8 @@
386
387
  },
387
388
  {
388
389
  "type": "typography",
389
- "content": "@item.name",
390
- "variant": "h4"
390
+ "variant": "h4",
391
+ "content": "@item.name"
391
392
  }
392
393
  ]
393
394
  },
@@ -396,24 +397,23 @@
396
397
  "type": "badge"
397
398
  }
398
399
  ],
400
+ "align": "center",
399
401
  "type": "stack",
400
- "align": "center"
402
+ "direction": "horizontal",
403
+ "justify": "between"
401
404
  },
402
405
  {
403
- "type": "typography",
404
406
  "content": "@item.status",
405
- "variant": "caption"
407
+ "variant": "caption",
408
+ "type": "typography"
406
409
  }
407
- ],
408
- "direction": "vertical",
409
- "type": "stack",
410
- "gap": "sm"
410
+ ]
411
411
  }
412
412
  ]
413
413
  }
414
414
  ],
415
- "type": "stack",
416
415
  "gap": "lg",
416
+ "type": "stack",
417
417
  "direction": "vertical"
418
418
  }
419
419
  ]
@@ -429,10 +429,9 @@
429
429
  "main",
430
430
  {
431
431
  "type": "stack",
432
- "gap": "md",
433
- "direction": "vertical",
434
- "align": "center",
435
432
  "className": "py-12",
433
+ "align": "center",
434
+ "gap": "md",
436
435
  "children": [
437
436
  {
438
437
  "name": "alert-triangle",
@@ -440,24 +439,25 @@
440
439
  "color": "destructive"
441
440
  },
442
441
  {
442
+ "type": "typography",
443
443
  "variant": "h3",
444
- "content": "Failed to load",
445
- "type": "typography"
444
+ "content": "Failed to load"
446
445
  },
447
446
  {
448
- "variant": "body",
449
- "content": "@payload.error",
447
+ "type": "typography",
450
448
  "color": "muted",
451
- "type": "typography"
449
+ "variant": "body",
450
+ "content": "@payload.error"
452
451
  },
453
452
  {
454
- "type": "button",
455
- "action": "FETCH",
456
453
  "icon": "rotate-ccw",
454
+ "type": "button",
457
455
  "label": "Retry",
456
+ "action": "FETCH",
458
457
  "variant": "primary"
459
458
  }
460
- ]
459
+ ],
460
+ "direction": "vertical"
461
461
  }
462
462
  ]
463
463
  ]
@@ -471,16 +471,16 @@
471
471
  "render-ui",
472
472
  "main",
473
473
  {
474
+ "type": "stack",
474
475
  "children": [
475
476
  {
477
+ "direction": "horizontal",
476
478
  "justify": "between",
477
- "type": "stack",
478
- "gap": "md",
479
479
  "children": [
480
480
  {
481
+ "direction": "horizontal",
481
482
  "type": "stack",
482
483
  "gap": "md",
483
- "direction": "horizontal",
484
484
  "children": [
485
485
  {
486
486
  "name": "database",
@@ -488,46 +488,46 @@
488
488
  },
489
489
  {
490
490
  "content": "Cache (stale)",
491
- "variant": "h2",
492
- "type": "typography"
491
+ "type": "typography",
492
+ "variant": "h2"
493
493
  }
494
494
  ]
495
495
  },
496
496
  {
497
- "gap": "sm",
498
- "type": "stack",
499
- "direction": "horizontal",
500
497
  "align": "center",
498
+ "direction": "horizontal",
501
499
  "children": [
502
500
  {
503
- "type": "status-dot",
504
- "pulse": true,
501
+ "status": "warning",
505
502
  "label": "Stale",
506
- "status": "warning"
503
+ "type": "status-dot",
504
+ "pulse": true
507
505
  },
508
506
  {
509
- "action": "REFRESH",
510
- "variant": "primary",
511
507
  "type": "button",
508
+ "variant": "primary",
509
+ "action": "REFRESH",
512
510
  "icon": "refresh-cw",
513
511
  "label": "Refresh"
514
512
  }
515
- ]
513
+ ],
514
+ "gap": "sm",
515
+ "type": "stack"
516
516
  }
517
517
  ],
518
- "direction": "horizontal"
518
+ "gap": "md",
519
+ "type": "stack"
519
520
  },
520
521
  {
521
522
  "type": "divider"
522
523
  },
523
524
  {
525
+ "type": "alert",
524
526
  "variant": "warning",
525
- "message": "Cache data is stale. Refresh to get the latest data.",
526
- "type": "alert"
527
+ "message": "Cache data is stale. Refresh to get the latest data."
527
528
  }
528
529
  ],
529
530
  "gap": "lg",
530
- "type": "stack",
531
531
  "direction": "vertical"
532
532
  }
533
533
  ]
@@ -555,8 +555,8 @@
555
555
  "CacheEntry",
556
556
  {
557
557
  "emit": {
558
- "success": "CacheEntryLoaded",
559
- "failure": "CacheEntryLoadFailed"
558
+ "failure": "CacheEntryLoadFailed",
559
+ "success": "CacheEntryLoaded"
560
560
  }
561
561
  }
562
562
  ],
@@ -579,8 +579,8 @@
579
579
  "CacheEntry",
580
580
  {
581
581
  "emit": {
582
- "failure": "CacheEntryLoadFailed",
583
- "success": "CacheEntryLoaded"
582
+ "success": "CacheEntryLoaded",
583
+ "failure": "CacheEntryLoadFailed"
584
584
  }
585
585
  }
586
586
  ],
@@ -603,8 +603,8 @@
603
603
  "CacheEntry",
604
604
  {
605
605
  "emit": {
606
- "failure": "CacheEntryLoadFailed",
607
- "success": "CacheEntryLoaded"
606
+ "success": "CacheEntryLoaded",
607
+ "failure": "CacheEntryLoadFailed"
608
608
  }
609
609
  }
610
610
  ],
@@ -626,11 +626,11 @@
626
626
  "render-ui",
627
627
  "main",
628
628
  {
629
- "title": "Cache is empty",
630
629
  "description": "Fetch data to populate the cache.",
631
630
  "type": "empty-state",
631
+ "icon": "inbox",
632
632
  "look": "@config.emptyLook",
633
- "icon": "inbox"
633
+ "title": "Cache is empty"
634
634
  }
635
635
  ]
636
636
  ]
@@ -645,8 +645,8 @@
645
645
  "CacheEntry",
646
646
  {
647
647
  "emit": {
648
- "failure": "CacheEntryLoadFailed",
649
- "success": "CacheEntryLoaded"
648
+ "success": "CacheEntryLoaded",
649
+ "failure": "CacheEntryLoadFailed"
650
650
  }
651
651
  }
652
652
  ],
@@ -662,6 +662,19 @@
662
662
  ]
663
663
  },
664
664
  "config": {
665
+ "emptyLook": {
666
+ "type": "string",
667
+ "default": "icon-only",
668
+ "label": "Empty-state look",
669
+ "description": "Layer 2 visual treatment for the empty-state placeholder.",
670
+ "tier": "presentation",
671
+ "values": [
672
+ "illustrated",
673
+ "icon-only",
674
+ "text-only",
675
+ "mascot"
676
+ ]
677
+ },
665
678
  "staleWhileRevalidate": {
666
679
  "type": "boolean",
667
680
  "default": true,
@@ -670,20 +683,6 @@
670
683
  "synonyms": "SWR, stale serving",
671
684
  "tier": "domain"
672
685
  },
673
- "evictionPolicy": {
674
- "type": "string",
675
- "default": "lru",
676
- "label": "Eviction policy",
677
- "description": "How entries are evicted when the cache fills: least-recently-used, least-frequently-used, first-in-first-out, or TTL-only (never evict early).",
678
- "synonyms": "cache replacement, eviction strategy",
679
- "tier": "domain",
680
- "values": [
681
- "lru",
682
- "lfu",
683
- "fifo",
684
- "ttl-only"
685
- ]
686
- },
687
686
  "ttlSeconds": {
688
687
  "type": "number",
689
688
  "default": 300.0,
@@ -692,14 +691,6 @@
692
691
  "synonyms": "expiration, time to live, cache duration",
693
692
  "tier": "domain"
694
693
  },
695
- "maxCacheSize": {
696
- "type": "number",
697
- "default": 1000.0,
698
- "label": "Max cache entries",
699
- "description": "Hard cap on cached entries before eviction. 0 = unlimited.",
700
- "synonyms": "cache capacity, max entries",
701
- "tier": "domain"
702
- },
703
694
  "tableLook": {
704
695
  "type": "string",
705
696
  "default": "dense",
@@ -714,18 +705,27 @@
714
705
  "card-rows"
715
706
  ]
716
707
  },
717
- "emptyLook": {
708
+ "evictionPolicy": {
718
709
  "type": "string",
719
- "default": "icon-only",
720
- "label": "Empty-state look",
721
- "description": "Layer 2 visual treatment for the empty-state placeholder.",
722
- "tier": "presentation",
710
+ "default": "lru",
711
+ "label": "Eviction policy",
712
+ "description": "How entries are evicted when the cache fills: least-recently-used, least-frequently-used, first-in-first-out, or TTL-only (never evict early).",
713
+ "synonyms": "cache replacement, eviction strategy",
714
+ "tier": "domain",
723
715
  "values": [
724
- "illustrated",
725
- "icon-only",
726
- "text-only",
727
- "mascot"
716
+ "lru",
717
+ "lfu",
718
+ "fifo",
719
+ "ttl-only"
728
720
  ]
721
+ },
722
+ "maxCacheSize": {
723
+ "type": "number",
724
+ "default": 1000.0,
725
+ "label": "Max cache entries",
726
+ "description": "Hard cap on cached entries before eviction. 0 = unlimited.",
727
+ "synonyms": "cache capacity, max entries",
728
+ "tier": "domain"
729
729
  }
730
730
  },
731
731
  "scope": "collection"