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