@almadar/std 8.3.0 → 8.4.1

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