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