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