@almadar/std 8.2.0 → 8.3.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 (187) hide show
  1. package/behaviors/registry/agent/atoms/std-agent-activity-log.orb +83 -83
  2. package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +112 -112
  3. package/behaviors/registry/agent/atoms/std-agent-classifier.orb +107 -101
  4. package/behaviors/registry/agent/atoms/std-agent-completion.orb +131 -116
  5. package/behaviors/registry/agent/atoms/std-agent-context-window.orb +408 -402
  6. package/behaviors/registry/agent/atoms/std-agent-conversation.orb +82 -82
  7. package/behaviors/registry/agent/atoms/std-agent-memory.orb +81 -81
  8. package/behaviors/registry/agent/atoms/std-agent-provider.orb +124 -118
  9. package/behaviors/registry/agent/atoms/std-agent-search.orb +74 -74
  10. package/behaviors/registry/agent/atoms/std-agent-session.orb +129 -129
  11. package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +202 -202
  12. package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +312 -312
  13. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +59 -59
  14. package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +206 -206
  15. package/behaviors/registry/agent/molecules/std-agent-learner.orb +186 -186
  16. package/behaviors/registry/agent/molecules/std-agent-planner.orb +136 -136
  17. package/behaviors/registry/agent/molecules/std-agent-rag.orb +116 -116
  18. package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +206 -206
  19. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1131 -1131
  20. package/behaviors/registry/agent/organisms/std-agent-builder.orb +3061 -3061
  21. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2114 -2114
  22. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1007 -1007
  23. package/behaviors/registry/agent/organisms/std-agent-tutor.orb +735 -735
  24. package/behaviors/registry/app/organisms/std-api-gateway.orb +805 -805
  25. package/behaviors/registry/app/organisms/std-booking-system.orb +1178 -1178
  26. package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +781 -781
  27. package/behaviors/registry/app/organisms/std-cms.orb +445 -445
  28. package/behaviors/registry/app/organisms/std-coding-academy.orb +368 -368
  29. package/behaviors/registry/app/organisms/std-crm.orb +781 -781
  30. package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1344 -1344
  31. package/behaviors/registry/app/organisms/std-ecommerce.orb +968 -968
  32. package/behaviors/registry/app/organisms/std-finance-tracker.orb +626 -626
  33. package/behaviors/registry/app/organisms/std-healthcare.orb +1286 -1286
  34. package/behaviors/registry/app/organisms/std-helpdesk.orb +636 -636
  35. package/behaviors/registry/app/organisms/std-hr-portal.orb +1160 -1160
  36. package/behaviors/registry/app/organisms/std-iot-dashboard.orb +828 -828
  37. package/behaviors/registry/app/organisms/std-lms.orb +863 -863
  38. package/behaviors/registry/app/organisms/std-project-manager.orb +686 -686
  39. package/behaviors/registry/app/organisms/std-realtime-chat.orb +739 -739
  40. package/behaviors/registry/app/organisms/std-social-feed.orb +239 -239
  41. package/behaviors/registry/app/organisms/std-trading-dashboard.orb +661 -661
  42. package/behaviors/registry/core/atoms/std-browse.orb +60 -60
  43. package/behaviors/registry/core/atoms/std-cache-aside.orb +92 -92
  44. package/behaviors/registry/core/atoms/std-calendar.orb +55 -55
  45. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +176 -176
  46. package/behaviors/registry/core/atoms/std-confirmation.orb +24 -42
  47. package/behaviors/registry/core/atoms/std-display.orb +371 -371
  48. package/behaviors/registry/core/atoms/std-drawer.orb +56 -56
  49. package/behaviors/registry/core/atoms/std-filter.orb +46 -46
  50. package/behaviors/registry/core/atoms/std-gallery.orb +50 -50
  51. package/behaviors/registry/core/atoms/std-modal.orb +14 -32
  52. package/behaviors/registry/core/atoms/std-pagination.orb +45 -45
  53. package/behaviors/registry/core/atoms/std-push.orb +42 -42
  54. package/behaviors/registry/core/atoms/std-rate-limiter.orb +172 -172
  55. package/behaviors/registry/core/atoms/std-related.orb +36 -36
  56. package/behaviors/registry/core/atoms/std-search.orb +71 -71
  57. package/behaviors/registry/core/atoms/std-selection.orb +89 -89
  58. package/behaviors/registry/core/atoms/std-tabs.orb +49 -49
  59. package/behaviors/registry/core/molecules/std-cart.orb +54 -54
  60. package/behaviors/registry/core/molecules/std-filtered-list.orb +5 -5
  61. package/behaviors/registry/core/molecules/std-form-advanced.orb +116 -116
  62. package/behaviors/registry/core/molecules/std-list.orb +60 -60
  63. package/behaviors/registry/core/molecules/std-wizard-form.orb +140 -140
  64. package/behaviors/registry/game/atoms/std-collision.orb +143 -143
  65. package/behaviors/registry/game/atoms/std-combat.orb +80 -80
  66. package/behaviors/registry/game/atoms/std-dialogue-box.orb +26 -26
  67. package/behaviors/registry/game/atoms/std-game-canvas2d.orb +43 -43
  68. package/behaviors/registry/game/atoms/std-gameflow.orb +35 -35
  69. package/behaviors/registry/game/atoms/std-movement.orb +300 -300
  70. package/behaviors/registry/game/atoms/std-overworld.orb +63 -63
  71. package/behaviors/registry/game/atoms/std-physics2d.orb +76 -76
  72. package/behaviors/registry/game/atoms/std-quest.orb +124 -124
  73. package/behaviors/registry/game/atoms/std-timer.orb +251 -260
  74. package/behaviors/registry/game/organisms/std-arcade-game.orb +149 -149
  75. package/behaviors/registry/game/organisms/std-logic-training.orb +77 -77
  76. package/behaviors/registry/game/organisms/std-platformer-app.orb +230 -230
  77. package/behaviors/registry/game/organisms/std-puzzle-app.orb +105 -105
  78. package/behaviors/registry/game/organisms/std-rpg-game.orb +350 -350
  79. package/behaviors/registry/game/organisms/std-stem-lab.orb +377 -377
  80. package/behaviors/registry/game/organisms/std-strategy-game.orb +529 -529
  81. package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +12 -12
  82. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +70 -70
  83. package/behaviors/registry/service/atoms/std-service-email.orb +84 -84
  84. package/behaviors/registry/service/atoms/std-service-github.orb +99 -99
  85. package/behaviors/registry/service/atoms/std-service-llm.orb +115 -115
  86. package/behaviors/registry/service/atoms/std-service-oauth.orb +116 -116
  87. package/behaviors/registry/service/atoms/std-service-redis.orb +95 -95
  88. package/behaviors/registry/service/atoms/std-service-storage.orb +105 -105
  89. package/behaviors/registry/service/atoms/std-service-stripe.orb +98 -98
  90. package/behaviors/registry/service/atoms/std-service-twilio.orb +99 -99
  91. package/behaviors/registry/service/atoms/std-service-youtube.orb +115 -115
  92. package/behaviors/registry/service/organisms/std-service-marketplace.orb +917 -917
  93. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +933 -933
  94. package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +83 -83
  95. package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +112 -112
  96. package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +107 -101
  97. package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +131 -116
  98. package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +408 -402
  99. package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +82 -82
  100. package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +81 -81
  101. package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +124 -118
  102. package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +74 -74
  103. package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +129 -129
  104. package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +202 -202
  105. package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +312 -312
  106. package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +59 -59
  107. package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +206 -206
  108. package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +186 -186
  109. package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +136 -136
  110. package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +116 -116
  111. package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +206 -206
  112. package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1131 -1131
  113. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +3061 -3061
  114. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2114 -2114
  115. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1007 -1007
  116. package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +735 -735
  117. package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +805 -805
  118. package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1178 -1178
  119. package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +781 -781
  120. package/dist/behaviors/registry/app/organisms/std-cms.orb +445 -445
  121. package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +368 -368
  122. package/dist/behaviors/registry/app/organisms/std-crm.orb +781 -781
  123. package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1344 -1344
  124. package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +968 -968
  125. package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +626 -626
  126. package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1286 -1286
  127. package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +636 -636
  128. package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1160 -1160
  129. package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +828 -828
  130. package/dist/behaviors/registry/app/organisms/std-lms.orb +863 -863
  131. package/dist/behaviors/registry/app/organisms/std-project-manager.orb +686 -686
  132. package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +739 -739
  133. package/dist/behaviors/registry/app/organisms/std-social-feed.orb +239 -239
  134. package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +661 -661
  135. package/dist/behaviors/registry/core/atoms/std-browse.orb +60 -60
  136. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +92 -92
  137. package/dist/behaviors/registry/core/atoms/std-calendar.orb +55 -55
  138. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +176 -176
  139. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +24 -42
  140. package/dist/behaviors/registry/core/atoms/std-display.orb +371 -371
  141. package/dist/behaviors/registry/core/atoms/std-drawer.orb +56 -56
  142. package/dist/behaviors/registry/core/atoms/std-filter.orb +46 -46
  143. package/dist/behaviors/registry/core/atoms/std-gallery.orb +50 -50
  144. package/dist/behaviors/registry/core/atoms/std-modal.orb +14 -32
  145. package/dist/behaviors/registry/core/atoms/std-pagination.orb +45 -45
  146. package/dist/behaviors/registry/core/atoms/std-push.orb +42 -42
  147. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +172 -172
  148. package/dist/behaviors/registry/core/atoms/std-related.orb +36 -36
  149. package/dist/behaviors/registry/core/atoms/std-search.orb +71 -71
  150. package/dist/behaviors/registry/core/atoms/std-selection.orb +89 -89
  151. package/dist/behaviors/registry/core/atoms/std-tabs.orb +49 -49
  152. package/dist/behaviors/registry/core/molecules/std-cart.orb +54 -54
  153. package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +5 -5
  154. package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +116 -116
  155. package/dist/behaviors/registry/core/molecules/std-list.orb +60 -60
  156. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +140 -140
  157. package/dist/behaviors/registry/game/atoms/std-collision.orb +143 -143
  158. package/dist/behaviors/registry/game/atoms/std-combat.orb +80 -80
  159. package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +26 -26
  160. package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +43 -43
  161. package/dist/behaviors/registry/game/atoms/std-gameflow.orb +35 -35
  162. package/dist/behaviors/registry/game/atoms/std-movement.orb +300 -300
  163. package/dist/behaviors/registry/game/atoms/std-overworld.orb +63 -63
  164. package/dist/behaviors/registry/game/atoms/std-physics2d.orb +76 -76
  165. package/dist/behaviors/registry/game/atoms/std-quest.orb +124 -124
  166. package/dist/behaviors/registry/game/atoms/std-timer.orb +251 -260
  167. package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +149 -149
  168. package/dist/behaviors/registry/game/organisms/std-logic-training.orb +77 -77
  169. package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +230 -230
  170. package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +105 -105
  171. package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +350 -350
  172. package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +377 -377
  173. package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +529 -529
  174. package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +12 -12
  175. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +70 -70
  176. package/dist/behaviors/registry/service/atoms/std-service-email.orb +84 -84
  177. package/dist/behaviors/registry/service/atoms/std-service-github.orb +99 -99
  178. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +115 -115
  179. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +116 -116
  180. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +95 -95
  181. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +105 -105
  182. package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +98 -98
  183. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +99 -99
  184. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +115 -115
  185. package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +917 -917
  186. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +933 -933
  187. package/package.json +1 -1
@@ -108,8 +108,8 @@
108
108
  "RelatedItem",
109
109
  {
110
110
  "emit": {
111
- "success": "RelatedItemLoaded",
112
- "failure": "RelatedItemLoadFailed"
111
+ "failure": "RelatedItemLoadFailed",
112
+ "success": "RelatedItemLoaded"
113
113
  }
114
114
  }
115
115
  ],
@@ -117,20 +117,20 @@
117
117
  "render-ui",
118
118
  "main",
119
119
  {
120
- "type": "stack",
121
- "direction": "vertical",
122
120
  "children": [
123
121
  {
124
122
  "type": "spinner"
125
123
  },
126
124
  {
127
- "type": "typography",
128
- "variant": "caption",
125
+ "content": "Loading related…",
129
126
  "color": "muted",
130
- "content": "Loading related…"
127
+ "variant": "caption",
128
+ "type": "typography"
131
129
  }
132
130
  ],
133
131
  "className": "py-8",
132
+ "type": "stack",
133
+ "direction": "vertical",
134
134
  "gap": "sm",
135
135
  "align": "center"
136
136
  }
@@ -147,8 +147,10 @@
147
147
  "main",
148
148
  {
149
149
  "gap": "md",
150
+ "type": "stack",
150
151
  "children": [
151
152
  {
153
+ "type": "stack",
152
154
  "children": [
153
155
  {
154
156
  "type": "icon",
@@ -156,41 +158,39 @@
156
158
  },
157
159
  {
158
160
  "variant": "h3",
159
- "content": "Related",
160
- "type": "typography"
161
+ "type": "typography",
162
+ "content": "Related"
161
163
  }
162
164
  ],
163
- "type": "stack",
164
- "align": "center",
165
165
  "direction": "horizontal",
166
- "gap": "sm"
166
+ "gap": "sm",
167
+ "align": "center"
167
168
  },
168
169
  {
169
170
  "type": "divider"
170
171
  },
171
172
  {
172
173
  "type": "data-list",
173
- "entity": "@payload.data",
174
- "fields": [],
175
174
  "renderItem": [
176
175
  "fn",
177
176
  "item",
178
177
  {
178
+ "type": "stack",
179
179
  "gap": "xs",
180
+ "direction": "vertical",
180
181
  "children": [
181
182
  {
182
- "variant": "body",
183
183
  "content": "@item.name",
184
+ "variant": "body",
184
185
  "type": "typography"
185
186
  }
186
- ],
187
- "direction": "vertical",
188
- "type": "stack"
187
+ ]
189
188
  }
190
- ]
189
+ ],
190
+ "fields": [],
191
+ "entity": "@payload.data"
191
192
  }
192
193
  ],
193
- "type": "stack",
194
194
  "direction": "vertical"
195
195
  }
196
196
  ]
@@ -205,36 +205,36 @@
205
205
  "render-ui",
206
206
  "main",
207
207
  {
208
- "align": "center",
209
- "direction": "vertical",
210
208
  "gap": "sm",
211
- "type": "stack",
212
- "className": "py-8",
213
209
  "children": [
214
210
  {
215
- "color": "destructive",
216
211
  "type": "icon",
217
- "name": "alert-triangle"
212
+ "name": "alert-triangle",
213
+ "color": "destructive"
218
214
  },
219
215
  {
220
- "type": "typography",
216
+ "variant": "body",
221
217
  "content": "Failed to load related",
222
- "variant": "body"
218
+ "type": "typography"
223
219
  },
224
220
  {
225
221
  "color": "muted",
226
- "variant": "caption",
227
222
  "content": "@payload.error",
228
- "type": "typography"
223
+ "type": "typography",
224
+ "variant": "caption"
229
225
  },
230
226
  {
231
- "variant": "ghost",
232
- "type": "button",
233
227
  "label": "Retry",
234
228
  "action": "INIT",
229
+ "variant": "ghost",
230
+ "type": "button",
235
231
  "icon": "rotate-ccw"
236
232
  }
237
- ]
233
+ ],
234
+ "type": "stack",
235
+ "className": "py-8",
236
+ "direction": "vertical",
237
+ "align": "center"
238
238
  }
239
239
  ]
240
240
  ]
@@ -273,8 +273,8 @@
273
273
  "RelatedItem",
274
274
  {
275
275
  "emit": {
276
- "success": "RelatedItemLoaded",
277
- "failure": "RelatedItemLoadFailed"
276
+ "failure": "RelatedItemLoadFailed",
277
+ "success": "RelatedItemLoaded"
278
278
  }
279
279
  }
280
280
  ],
@@ -305,4 +305,4 @@
305
305
  ]
306
306
  }
307
307
  ]
308
- }
308
+ }
@@ -151,8 +151,6 @@
151
151
  "render-ui",
152
152
  "main",
153
153
  {
154
- "direction": "vertical",
155
- "type": "stack",
156
154
  "children": [
157
155
  {
158
156
  "type": "stack",
@@ -162,9 +160,9 @@
162
160
  "type": "icon"
163
161
  },
164
162
  {
165
- "content": "Search SearchResults",
163
+ "variant": "h2",
166
164
  "type": "typography",
167
- "variant": "h2"
165
+ "content": "Search SearchResults"
168
166
  }
169
167
  ],
170
168
  "direction": "horizontal",
@@ -175,17 +173,19 @@
175
173
  "type": "divider"
176
174
  },
177
175
  {
176
+ "type": "search-input",
178
177
  "placeholder": "Search...",
179
- "event": "SEARCH",
180
- "type": "search-input"
178
+ "event": "SEARCH"
181
179
  },
182
180
  {
183
181
  "type": "empty-state",
184
- "icon": "search",
182
+ "description": "Type a query to search across searchresults.",
185
183
  "title": "Search to find results",
186
- "description": "Type a query to search across searchresults."
184
+ "icon": "search"
187
185
  }
188
186
  ],
187
+ "type": "stack",
188
+ "direction": "vertical",
189
189
  "gap": "lg"
190
190
  }
191
191
  ]
@@ -201,8 +201,8 @@
201
201
  "SearchResult",
202
202
  {
203
203
  "emit": {
204
- "success": "SearchResultLoaded",
205
- "failure": "SearchResultLoadFailed"
204
+ "failure": "SearchResultLoadFailed",
205
+ "success": "SearchResultLoaded"
206
206
  }
207
207
  }
208
208
  ],
@@ -210,27 +210,27 @@
210
210
  "render-ui",
211
211
  "main",
212
212
  {
213
+ "direction": "vertical",
214
+ "align": "center",
215
+ "className": "py-8",
216
+ "type": "stack",
213
217
  "children": [
214
218
  {
215
219
  "type": "spinner"
216
220
  },
217
221
  {
218
222
  "content": [
219
- "concat",
223
+ "str/concat",
220
224
  "Searching for \"",
221
225
  "@payload.query",
222
226
  "\"…"
223
227
  ],
224
- "type": "typography",
228
+ "color": "muted",
225
229
  "variant": "caption",
226
- "color": "muted"
230
+ "type": "typography"
227
231
  }
228
232
  ],
229
- "gap": "md",
230
- "direction": "vertical",
231
- "type": "stack",
232
- "align": "center",
233
- "className": "py-8"
233
+ "gap": "md"
234
234
  }
235
235
  ]
236
236
  ]
@@ -244,68 +244,68 @@
244
244
  "render-ui",
245
245
  "main",
246
246
  {
247
+ "gap": "lg",
247
248
  "type": "stack",
248
249
  "direction": "vertical",
249
250
  "children": [
250
251
  {
251
- "type": "stack",
252
- "direction": "horizontal",
253
252
  "gap": "md",
254
- "justify": "between",
255
- "align": "center",
256
253
  "children": [
257
254
  {
258
- "type": "stack",
259
255
  "children": [
260
256
  {
261
- "name": "search",
262
- "type": "icon"
257
+ "type": "icon",
258
+ "name": "search"
263
259
  },
264
260
  {
265
- "variant": "h2",
261
+ "content": "Results",
266
262
  "type": "typography",
267
- "content": "Results"
263
+ "variant": "h2"
268
264
  }
269
265
  ],
270
- "gap": "md",
271
266
  "direction": "horizontal",
272
- "align": "center"
267
+ "align": "center",
268
+ "gap": "md",
269
+ "type": "stack"
273
270
  },
274
271
  {
275
- "icon": "x",
276
- "variant": "ghost",
277
272
  "label": "Clear",
278
273
  "action": "CLEAR",
279
- "type": "button"
274
+ "type": "button",
275
+ "variant": "ghost",
276
+ "icon": "x"
280
277
  }
281
- ]
278
+ ],
279
+ "type": "stack",
280
+ "direction": "horizontal",
281
+ "justify": "between",
282
+ "align": "center"
282
283
  },
283
284
  {
284
285
  "type": "divider"
285
286
  },
286
287
  {
287
288
  "entity": "@payload.data",
288
- "type": "data-grid",
289
289
  "fields": [],
290
290
  "renderItem": [
291
291
  "fn",
292
292
  "item",
293
293
  {
294
- "direction": "vertical",
295
- "gap": "sm",
296
- "type": "stack",
297
294
  "children": [
298
295
  {
299
296
  "type": "typography",
300
- "variant": "h4",
301
- "content": "@item.name"
297
+ "content": "@item.name",
298
+ "variant": "h4"
302
299
  }
303
- ]
300
+ ],
301
+ "type": "stack",
302
+ "gap": "sm",
303
+ "direction": "vertical"
304
304
  }
305
- ]
305
+ ],
306
+ "type": "data-grid"
306
307
  }
307
- ],
308
- "gap": "lg"
308
+ ]
309
309
  }
310
310
  ]
311
311
  ]
@@ -319,36 +319,36 @@
319
319
  "render-ui",
320
320
  "main",
321
321
  {
322
- "align": "center",
323
- "direction": "vertical",
324
322
  "className": "py-8",
325
- "gap": "md",
326
- "type": "stack",
323
+ "direction": "vertical",
327
324
  "children": [
328
325
  {
329
326
  "name": "alert-triangle",
330
- "type": "icon",
331
- "color": "destructive"
327
+ "color": "destructive",
328
+ "type": "icon"
332
329
  },
333
330
  {
334
- "content": "Search failed",
335
331
  "type": "typography",
332
+ "content": "Search failed",
336
333
  "variant": "body"
337
334
  },
338
335
  {
336
+ "content": "@payload.error",
339
337
  "type": "typography",
340
- "color": "muted",
341
338
  "variant": "caption",
342
- "content": "@payload.error"
339
+ "color": "muted"
343
340
  },
344
341
  {
345
- "action": "SEARCH",
346
- "type": "button",
347
342
  "icon": "rotate-ccw",
343
+ "type": "button",
348
344
  "variant": "ghost",
349
- "label": "Retry"
345
+ "label": "Retry",
346
+ "action": "SEARCH"
350
347
  }
351
- ]
348
+ ],
349
+ "align": "center",
350
+ "gap": "md",
351
+ "type": "stack"
352
352
  }
353
353
  ]
354
354
  ]
@@ -387,8 +387,8 @@
387
387
  "SearchResult",
388
388
  {
389
389
  "emit": {
390
- "success": "SearchResultLoaded",
391
- "failure": "SearchResultLoadFailed"
390
+ "failure": "SearchResultLoadFailed",
391
+ "success": "SearchResultLoaded"
392
392
  }
393
393
  }
394
394
  ],
@@ -420,42 +420,42 @@
420
420
  "render-ui",
421
421
  "main",
422
422
  {
423
- "gap": "lg",
424
- "type": "stack",
425
423
  "direction": "vertical",
424
+ "gap": "lg",
426
425
  "children": [
427
426
  {
428
- "gap": "md",
429
427
  "align": "center",
428
+ "direction": "horizontal",
429
+ "gap": "md",
430
430
  "children": [
431
431
  {
432
432
  "type": "icon",
433
433
  "name": "search"
434
434
  },
435
435
  {
436
- "variant": "h2",
437
436
  "type": "typography",
437
+ "variant": "h2",
438
438
  "content": "Search SearchResults"
439
439
  }
440
440
  ],
441
- "type": "stack",
442
- "direction": "horizontal"
441
+ "type": "stack"
443
442
  },
444
443
  {
445
444
  "type": "divider"
446
445
  },
447
446
  {
448
- "event": "SEARCH",
447
+ "type": "search-input",
449
448
  "placeholder": "Search...",
450
- "type": "search-input"
449
+ "event": "SEARCH"
451
450
  },
452
451
  {
453
- "title": "Search to find results",
454
- "icon": "search",
455
452
  "type": "empty-state",
456
- "description": "Type a query to search across searchresults."
453
+ "description": "Type a query to search across searchresults.",
454
+ "title": "Search to find results",
455
+ "icon": "search"
457
456
  }
458
- ]
457
+ ],
458
+ "type": "stack"
459
459
  }
460
460
  ]
461
461
  ]
@@ -502,4 +502,4 @@
502
502
  ]
503
503
  }
504
504
  ]
505
- }
505
+ }