@almadar/std 13.6.0 → 13.8.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 (174) hide show
  1. package/behaviors/registry/agent/atoms/std-agent-activity-log.orb +69 -69
  2. package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +120 -120
  3. package/behaviors/registry/agent/atoms/std-agent-classifier.orb +114 -114
  4. package/behaviors/registry/agent/atoms/std-agent-completion.orb +124 -114
  5. package/behaviors/registry/agent/atoms/std-agent-context-window.orb +410 -395
  6. package/behaviors/registry/agent/atoms/std-agent-conversation.orb +93 -93
  7. package/behaviors/registry/agent/atoms/std-agent-memory.orb +67 -117
  8. package/behaviors/registry/agent/atoms/std-agent-provider.orb +149 -134
  9. package/behaviors/registry/agent/atoms/std-agent-search.orb +64 -64
  10. package/behaviors/registry/agent/atoms/std-agent-session.orb +106 -106
  11. package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +194 -189
  12. package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +360 -355
  13. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +69 -69
  14. package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +204 -199
  15. package/behaviors/registry/agent/molecules/std-agent-learner.orb +174 -174
  16. package/behaviors/registry/agent/molecules/std-agent-planner.orb +125 -125
  17. package/behaviors/registry/agent/molecules/std-agent-rag.orb +127 -109
  18. package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +190 -185
  19. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1209 -1155
  20. package/behaviors/registry/agent/organisms/std-agent-builder.orb +3021 -3001
  21. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2184 -2249
  22. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1029 -1050
  23. package/behaviors/registry/agent/organisms/std-agent-tutor.orb +842 -804
  24. package/behaviors/registry/app/organisms/std-cms.orb +547 -547
  25. package/behaviors/registry/core/atoms/std-browse.orb +36 -36
  26. package/behaviors/registry/core/atoms/std-cache-aside.orb +111 -111
  27. package/behaviors/registry/core/atoms/std-calendar.orb +56 -51
  28. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +202 -187
  29. package/behaviors/registry/core/atoms/std-confirmation.orb +24 -27
  30. package/behaviors/registry/core/atoms/std-display.orb +2 -2
  31. package/behaviors/registry/core/atoms/std-drawer.orb +58 -58
  32. package/behaviors/registry/core/atoms/std-filter.orb +6 -9
  33. package/behaviors/registry/core/atoms/std-gallery.orb +46 -46
  34. package/behaviors/registry/core/atoms/std-graphs.orb +24 -24
  35. package/behaviors/registry/core/atoms/std-modal.orb +19 -19
  36. package/behaviors/registry/core/atoms/std-pagination.orb +14 -14
  37. package/behaviors/registry/core/atoms/std-push.orb +48 -90
  38. package/behaviors/registry/core/atoms/std-rate-limiter.orb +205 -190
  39. package/behaviors/registry/core/atoms/std-related.orb +31 -31
  40. package/behaviors/registry/core/atoms/std-search.orb +3 -3
  41. package/behaviors/registry/core/atoms/std-selection.orb +102 -102
  42. package/behaviors/registry/core/atoms/std-stats.orb +64 -64
  43. package/behaviors/registry/core/atoms/std-tabs.orb +18 -18
  44. package/behaviors/registry/core/molecules/std-cart.orb +64 -64
  45. package/behaviors/registry/core/molecules/std-dashboard.orb +46 -46
  46. package/behaviors/registry/core/molecules/std-filtered-list.orb +21 -21
  47. package/behaviors/registry/core/molecules/std-form-advanced.orb +172 -127
  48. package/behaviors/registry/core/molecules/std-list.orb +63 -63
  49. package/behaviors/registry/core/molecules/std-wizard-form.orb +145 -130
  50. package/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
  51. package/behaviors/registry/game/atoms/std-game-canvas2d.orb +42 -42
  52. package/behaviors/registry/game/atoms/std-overworld.orb +57 -57
  53. package/behaviors/registry/game/atoms/std-physics2d.orb +74 -74
  54. package/behaviors/registry/game/atoms/std-quest.orb +137 -137
  55. package/behaviors/registry/game/atoms/std-timer.orb +291 -291
  56. package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +31 -31
  57. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +93 -78
  58. package/behaviors/registry/service/atoms/std-service-email.orb +91 -76
  59. package/behaviors/registry/service/atoms/std-service-github.orb +103 -83
  60. package/behaviors/registry/service/atoms/std-service-llm.orb +117 -112
  61. package/behaviors/registry/service/atoms/std-service-oauth.orb +131 -126
  62. package/behaviors/registry/service/atoms/std-service-redis.orb +123 -108
  63. package/behaviors/registry/service/atoms/std-service-storage.orb +125 -105
  64. package/behaviors/registry/service/atoms/std-service-stripe.orb +113 -103
  65. package/behaviors/registry/service/atoms/std-service-twilio.orb +102 -92
  66. package/behaviors/registry/service/atoms/std-service-youtube.orb +119 -114
  67. package/behaviors/registry/service/organisms/std-service-marketplace.orb +985 -873
  68. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +1027 -972
  69. package/dist/behaviors/behaviors-registry.json +2913 -322
  70. package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +69 -69
  71. package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +120 -120
  72. package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +114 -114
  73. package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +124 -114
  74. package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +410 -395
  75. package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +93 -93
  76. package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +67 -117
  77. package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +149 -134
  78. package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +64 -64
  79. package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +106 -106
  80. package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +194 -189
  81. package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +360 -355
  82. package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +69 -69
  83. package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +204 -199
  84. package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +174 -174
  85. package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +125 -125
  86. package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +127 -109
  87. package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +190 -185
  88. package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1209 -1155
  89. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +3021 -3001
  90. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2184 -2249
  91. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1029 -1050
  92. package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +842 -804
  93. package/dist/behaviors/registry/app/organisms/std-cms.orb +547 -547
  94. package/dist/behaviors/registry/core/atoms/std-browse.orb +36 -36
  95. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +111 -111
  96. package/dist/behaviors/registry/core/atoms/std-calendar.orb +56 -51
  97. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +202 -187
  98. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +24 -27
  99. package/dist/behaviors/registry/core/atoms/std-display.orb +2 -2
  100. package/dist/behaviors/registry/core/atoms/std-drawer.orb +58 -58
  101. package/dist/behaviors/registry/core/atoms/std-filter.orb +6 -9
  102. package/dist/behaviors/registry/core/atoms/std-gallery.orb +46 -46
  103. package/dist/behaviors/registry/core/atoms/std-graphs.orb +24 -24
  104. package/dist/behaviors/registry/core/atoms/std-modal.orb +19 -19
  105. package/dist/behaviors/registry/core/atoms/std-pagination.orb +14 -14
  106. package/dist/behaviors/registry/core/atoms/std-push.orb +48 -90
  107. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +205 -190
  108. package/dist/behaviors/registry/core/atoms/std-related.orb +31 -31
  109. package/dist/behaviors/registry/core/atoms/std-search.orb +3 -3
  110. package/dist/behaviors/registry/core/atoms/std-selection.orb +102 -102
  111. package/dist/behaviors/registry/core/atoms/std-stats.orb +64 -64
  112. package/dist/behaviors/registry/core/atoms/std-tabs.orb +18 -18
  113. package/dist/behaviors/registry/core/molecules/std-cart.orb +64 -64
  114. package/dist/behaviors/registry/core/molecules/std-dashboard.orb +46 -46
  115. package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +21 -21
  116. package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +172 -127
  117. package/dist/behaviors/registry/core/molecules/std-list.orb +63 -63
  118. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +145 -130
  119. package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
  120. package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +42 -42
  121. package/dist/behaviors/registry/game/atoms/std-overworld.orb +57 -57
  122. package/dist/behaviors/registry/game/atoms/std-physics2d.orb +74 -74
  123. package/dist/behaviors/registry/game/atoms/std-quest.orb +137 -137
  124. package/dist/behaviors/registry/game/atoms/std-timer.orb +291 -291
  125. package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +31 -31
  126. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +93 -78
  127. package/dist/behaviors/registry/service/atoms/std-service-email.orb +91 -76
  128. package/dist/behaviors/registry/service/atoms/std-service-github.orb +103 -83
  129. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +117 -112
  130. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +131 -126
  131. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +123 -108
  132. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +125 -105
  133. package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +113 -103
  134. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +102 -92
  135. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +119 -114
  136. package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +985 -873
  137. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +1027 -972
  138. package/dist/behaviors-registry.json +2913 -322
  139. package/dist/index.d.ts +2 -2
  140. package/dist/index.js +26 -13
  141. package/dist/index.js.map +1 -1
  142. package/dist/modules/agent.d.ts +1 -1
  143. package/dist/modules/array.d.ts +1 -1
  144. package/dist/modules/array.js +16 -8
  145. package/dist/modules/array.js.map +1 -1
  146. package/dist/modules/async.d.ts +1 -1
  147. package/dist/modules/composition.d.ts +1 -1
  148. package/dist/modules/contract.d.ts +1 -1
  149. package/dist/modules/core.d.ts +1 -1
  150. package/dist/modules/core.js +6 -3
  151. package/dist/modules/core.js.map +1 -1
  152. package/dist/modules/data.d.ts +1 -1
  153. package/dist/modules/format.d.ts +1 -1
  154. package/dist/modules/graph.d.ts +1 -1
  155. package/dist/modules/index.d.ts +1 -1
  156. package/dist/modules/index.js +26 -13
  157. package/dist/modules/index.js.map +1 -1
  158. package/dist/modules/math.d.ts +1 -1
  159. package/dist/modules/nn.d.ts +1 -1
  160. package/dist/modules/object.d.ts +1 -1
  161. package/dist/modules/object.js +4 -2
  162. package/dist/modules/object.js.map +1 -1
  163. package/dist/modules/os.d.ts +1 -1
  164. package/dist/modules/prob.d.ts +1 -1
  165. package/dist/modules/str.d.ts +1 -1
  166. package/dist/modules/tensor.d.ts +1 -1
  167. package/dist/modules/time.d.ts +1 -1
  168. package/dist/modules/train.d.ts +1 -1
  169. package/dist/modules/validate.d.ts +1 -1
  170. package/dist/registry.d.ts +1 -1
  171. package/dist/registry.js +26 -13
  172. package/dist/registry.js.map +1 -1
  173. package/dist/{types-D7dG8fBF.d.ts → types-CdSN5hnD.d.ts} +43 -0
  174. package/package.json +1 -1
@@ -117,22 +117,22 @@
117
117
  "render-ui",
118
118
  "main",
119
119
  {
120
- "direction": "vertical",
120
+ "type": "stack",
121
+ "gap": "sm",
121
122
  "children": [
122
123
  {
123
124
  "type": "spinner"
124
125
  },
125
126
  {
126
- "variant": "caption",
127
127
  "content": "Loading related…",
128
+ "color": "muted",
128
129
  "type": "typography",
129
- "color": "muted"
130
+ "variant": "caption"
130
131
  }
131
132
  ],
133
+ "align": "center",
132
134
  "className": "py-8",
133
- "gap": "sm",
134
- "type": "stack",
135
- "align": "center"
135
+ "direction": "vertical"
136
136
  }
137
137
  ]
138
138
  ]
@@ -149,7 +149,9 @@
149
149
  "gap": "md",
150
150
  "children": [
151
151
  {
152
+ "type": "stack",
152
153
  "direction": "horizontal",
154
+ "gap": "sm",
153
155
  "align": "center",
154
156
  "children": [
155
157
  {
@@ -157,23 +159,24 @@
157
159
  "name": "link"
158
160
  },
159
161
  {
160
- "variant": "h3",
162
+ "content": "Related",
161
163
  "type": "typography",
162
- "content": "Related"
164
+ "variant": "h3"
163
165
  }
164
- ],
165
- "type": "stack",
166
- "gap": "sm"
166
+ ]
167
167
  },
168
168
  {
169
169
  "type": "divider"
170
170
  },
171
171
  {
172
172
  "type": "data-list",
173
+ "entity": "@payload.data",
174
+ "fields": [],
173
175
  "renderItem": [
174
176
  "fn",
175
177
  "item",
176
178
  {
179
+ "type": "stack",
177
180
  "direction": "vertical",
178
181
  "gap": "xs",
179
182
  "children": [
@@ -182,12 +185,9 @@
182
185
  "variant": "body",
183
186
  "content": "@item.name"
184
187
  }
185
- ],
186
- "type": "stack"
188
+ ]
187
189
  }
188
- ],
189
- "fields": [],
190
- "entity": "@payload.data"
190
+ ]
191
191
  }
192
192
  ],
193
193
  "type": "stack",
@@ -205,35 +205,35 @@
205
205
  "render-ui",
206
206
  "main",
207
207
  {
208
- "gap": "sm",
209
- "type": "stack",
210
- "align": "center",
211
208
  "children": [
212
209
  {
213
- "name": "alert-triangle",
214
210
  "type": "icon",
211
+ "name": "alert-triangle",
215
212
  "color": "destructive"
216
213
  },
217
214
  {
215
+ "variant": "body",
218
216
  "content": "Failed to load related",
219
- "type": "typography",
220
- "variant": "body"
217
+ "type": "typography"
221
218
  },
222
219
  {
223
- "type": "typography",
220
+ "variant": "caption",
224
221
  "content": "@payload.error",
225
222
  "color": "muted",
226
- "variant": "caption"
223
+ "type": "typography"
227
224
  },
228
225
  {
229
- "type": "button",
230
- "label": "Retry",
231
- "action": "INIT",
226
+ "icon": "rotate-ccw",
232
227
  "variant": "ghost",
233
- "icon": "rotate-ccw"
228
+ "action": "INIT",
229
+ "type": "button",
230
+ "label": "Retry"
234
231
  }
235
232
  ],
233
+ "align": "center",
234
+ "type": "stack",
236
235
  "direction": "vertical",
236
+ "gap": "sm",
237
237
  "className": "py-8"
238
238
  }
239
239
  ]
@@ -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
  ],
@@ -305,4 +305,4 @@
305
305
  ]
306
306
  }
307
307
  ]
308
- }
308
+ }
@@ -72,8 +72,8 @@
72
72
  "main",
73
73
  {
74
74
  "type": "search-input",
75
- "placeholder": "@config.placeholder",
76
- "event": "@config.event"
75
+ "event": "@config.event",
76
+ "placeholder": "@config.placeholder"
77
77
  }
78
78
  ]
79
79
  ]
@@ -92,8 +92,8 @@
92
92
  "render-ui",
93
93
  "main",
94
94
  {
95
- "event": "@config.event",
96
95
  "type": "search-input",
96
+ "event": "@config.event",
97
97
  "placeholder": "@config.placeholder"
98
98
  }
99
99
  ]
@@ -158,8 +158,8 @@
158
158
  "SelectableItem",
159
159
  {
160
160
  "emit": {
161
- "success": "SelectableItemLoaded",
162
- "failure": "SelectableItemLoadFailed"
161
+ "failure": "SelectableItemLoadFailed",
162
+ "success": "SelectableItemLoaded"
163
163
  }
164
164
  }
165
165
  ],
@@ -167,22 +167,22 @@
167
167
  "render-ui",
168
168
  "main",
169
169
  {
170
+ "type": "stack",
170
171
  "children": [
171
172
  {
172
173
  "type": "spinner"
173
174
  },
174
175
  {
175
- "color": "muted",
176
176
  "variant": "caption",
177
- "type": "typography",
178
- "content": "Loading…"
177
+ "content": "Loading…",
178
+ "color": "muted",
179
+ "type": "typography"
179
180
  }
180
181
  ],
181
- "type": "stack",
182
+ "gap": "md",
182
183
  "direction": "vertical",
183
184
  "align": "center",
184
- "className": "py-12",
185
- "gap": "md"
185
+ "className": "py-12"
186
186
  }
187
187
  ]
188
188
  ]
@@ -198,19 +198,19 @@
198
198
  {
199
199
  "children": [
200
200
  {
201
- "gap": "sm",
202
- "direction": "horizontal",
203
- "type": "stack",
204
201
  "align": "center",
202
+ "type": "stack",
203
+ "direction": "horizontal",
204
+ "gap": "sm",
205
205
  "children": [
206
206
  {
207
- "name": "check-square",
208
- "type": "icon"
207
+ "type": "icon",
208
+ "name": "check-square"
209
209
  },
210
210
  {
211
+ "type": "typography",
211
212
  "content": "SelectableItems",
212
- "variant": "h2",
213
- "type": "typography"
213
+ "variant": "h2"
214
214
  }
215
215
  ]
216
216
  },
@@ -218,44 +218,44 @@
218
218
  "type": "divider"
219
219
  },
220
220
  {
221
- "color": "muted",
222
221
  "type": "typography",
223
- "variant": "caption",
224
- "content": "Choose a selectableitem to continue."
222
+ "color": "muted",
223
+ "content": "Choose a selectableitem to continue.",
224
+ "variant": "caption"
225
225
  },
226
226
  {
227
- "fields": [],
228
- "entity": "@payload.data",
227
+ "type": "data-grid",
229
228
  "className": "transition-shadow hover:shadow-md cursor-pointer",
230
- "itemActions": [
231
- {
232
- "icon": "check",
233
- "event": "SELECT",
234
- "label": "Select"
235
- }
236
- ],
229
+ "fields": [],
237
230
  "renderItem": [
238
231
  "fn",
239
232
  "item",
240
233
  {
241
234
  "direction": "horizontal",
242
- "gap": "sm",
243
235
  "type": "stack",
236
+ "gap": "sm",
244
237
  "children": [
245
238
  {
246
- "label": "@item.name",
247
- "type": "checkbox"
239
+ "type": "checkbox",
240
+ "label": "@item.name"
248
241
  }
249
242
  ],
250
243
  "align": "center"
251
244
  }
252
245
  ],
253
- "type": "data-grid"
246
+ "entity": "@payload.data",
247
+ "itemActions": [
248
+ {
249
+ "label": "Select",
250
+ "event": "SELECT",
251
+ "icon": "check"
252
+ }
253
+ ]
254
254
  }
255
255
  ],
256
- "gap": "lg",
257
256
  "type": "stack",
258
- "direction": "vertical"
257
+ "direction": "vertical",
258
+ "gap": "lg"
259
259
  }
260
260
  ]
261
261
  ]
@@ -269,36 +269,36 @@
269
269
  "render-ui",
270
270
  "main",
271
271
  {
272
+ "type": "stack",
273
+ "direction": "vertical",
274
+ "gap": "md",
275
+ "align": "center",
272
276
  "className": "py-12",
273
277
  "children": [
274
278
  {
279
+ "type": "icon",
275
280
  "name": "alert-triangle",
276
- "color": "destructive",
277
- "type": "icon"
281
+ "color": "destructive"
278
282
  },
279
283
  {
284
+ "variant": "h3",
280
285
  "type": "typography",
281
- "content": "Failed to load",
282
- "variant": "h3"
286
+ "content": "Failed to load"
283
287
  },
284
288
  {
285
289
  "type": "typography",
286
- "color": "muted",
287
290
  "variant": "body",
291
+ "color": "muted",
288
292
  "content": "@payload.error"
289
293
  },
290
294
  {
291
- "label": "Retry",
292
- "action": "INIT",
293
- "variant": "primary",
294
295
  "icon": "rotate-ccw",
295
- "type": "button"
296
+ "variant": "primary",
297
+ "type": "button",
298
+ "label": "Retry",
299
+ "action": "INIT"
296
300
  }
297
- ],
298
- "direction": "vertical",
299
- "type": "stack",
300
- "align": "center",
301
- "gap": "md"
301
+ ]
302
302
  }
303
303
  ]
304
304
  ]
@@ -312,17 +312,23 @@
312
312
  "render-ui",
313
313
  "main",
314
314
  {
315
+ "direction": "vertical",
315
316
  "type": "stack",
317
+ "gap": "lg",
316
318
  "children": [
317
319
  {
320
+ "direction": "horizontal",
321
+ "justify": "between",
318
322
  "align": "center",
319
323
  "children": [
320
324
  {
325
+ "gap": "md",
326
+ "type": "stack",
321
327
  "align": "center",
322
328
  "children": [
323
329
  {
324
- "name": "check-square",
325
- "type": "icon"
330
+ "type": "icon",
331
+ "name": "check-square"
326
332
  },
327
333
  {
328
334
  "type": "typography",
@@ -330,32 +336,28 @@
330
336
  "variant": "h2"
331
337
  }
332
338
  ],
333
- "direction": "horizontal",
334
- "gap": "md",
335
- "type": "stack"
339
+ "direction": "horizontal"
336
340
  },
337
341
  {
338
- "gap": "sm",
339
- "direction": "horizontal",
340
- "align": "center",
341
342
  "children": [
342
343
  {
343
344
  "label": "Selecting",
344
345
  "type": "badge"
345
346
  },
346
347
  {
347
- "type": "button",
348
+ "action": "CLEAR",
349
+ "variant": "ghost",
348
350
  "icon": "x",
349
351
  "label": "Clear",
350
- "action": "CLEAR",
351
- "variant": "ghost"
352
+ "type": "button"
352
353
  }
353
354
  ],
355
+ "direction": "horizontal",
356
+ "gap": "sm",
357
+ "align": "center",
354
358
  "type": "stack"
355
359
  }
356
360
  ],
357
- "direction": "horizontal",
358
- "justify": "between",
359
361
  "type": "stack",
360
362
  "gap": "md"
361
363
  },
@@ -368,25 +370,23 @@
368
370
  "message": "@payload.id"
369
371
  },
370
372
  {
373
+ "direction": "horizontal",
374
+ "type": "stack",
375
+ "gap": "sm",
371
376
  "children": [
372
377
  {
373
- "label": "Confirm",
374
378
  "type": "button",
379
+ "variant": "primary",
380
+ "label": "Confirm",
381
+ "action": "CONFIRM_SELECTION",
375
382
  "actionPayload": {
376
383
  "id": "@payload.id"
377
384
  },
378
- "icon": "check",
379
- "variant": "primary",
380
- "action": "CONFIRM_SELECTION"
385
+ "icon": "check"
381
386
  }
382
- ],
383
- "direction": "horizontal",
384
- "gap": "sm",
385
- "type": "stack"
387
+ ]
386
388
  }
387
- ],
388
- "direction": "vertical",
389
- "gap": "lg"
389
+ ]
390
390
  }
391
391
  ]
392
392
  ]
@@ -400,74 +400,74 @@
400
400
  "render-ui",
401
401
  "main",
402
402
  {
403
- "gap": "lg",
404
403
  "type": "stack",
404
+ "direction": "vertical",
405
405
  "children": [
406
406
  {
407
- "gap": "md",
408
- "justify": "between",
409
- "align": "center",
410
407
  "children": [
411
408
  {
409
+ "type": "stack",
410
+ "align": "center",
411
+ "direction": "horizontal",
412
+ "gap": "md",
412
413
  "children": [
413
414
  {
414
415
  "type": "icon",
415
416
  "name": "check-circle"
416
417
  },
417
418
  {
419
+ "type": "typography",
418
420
  "content": "Selection Confirmed",
419
- "variant": "h2",
420
- "type": "typography"
421
+ "variant": "h2"
421
422
  }
422
- ],
423
- "gap": "md",
424
- "type": "stack",
425
- "direction": "horizontal",
426
- "align": "center"
423
+ ]
427
424
  },
428
425
  {
429
- "label": "Confirmed",
430
- "type": "badge"
426
+ "type": "badge",
427
+ "label": "Confirmed"
431
428
  }
432
429
  ],
433
430
  "type": "stack",
434
- "direction": "horizontal"
431
+ "direction": "horizontal",
432
+ "justify": "between",
433
+ "align": "center",
434
+ "gap": "md"
435
435
  },
436
436
  {
437
437
  "type": "divider"
438
438
  },
439
439
  {
440
- "variant": "success",
440
+ "message": "Selection confirmed successfully.",
441
441
  "type": "alert",
442
- "message": "Selection confirmed successfully."
442
+ "variant": "success"
443
443
  },
444
444
  {
445
- "gap": "md",
446
- "align": "center",
447
- "type": "stack",
448
445
  "direction": "horizontal",
446
+ "align": "center",
449
447
  "children": [
450
448
  {
449
+ "type": "typography",
451
450
  "content": "Selected ID:",
452
- "variant": "caption",
453
- "type": "typography"
451
+ "variant": "caption"
454
452
  },
455
453
  {
454
+ "type": "typography",
456
455
  "variant": "body",
457
- "content": "@payload.id",
458
- "type": "typography"
456
+ "content": "@payload.id"
459
457
  }
460
- ]
458
+ ],
459
+ "gap": "md",
460
+ "type": "stack"
461
461
  },
462
462
  {
463
463
  "label": "Clear Selection",
464
- "type": "button",
465
- "action": "CLEAR",
464
+ "variant": "ghost",
466
465
  "icon": "rotate-ccw",
467
- "variant": "ghost"
466
+ "type": "button",
467
+ "action": "CLEAR"
468
468
  }
469
469
  ],
470
- "direction": "vertical"
470
+ "gap": "lg"
471
471
  }
472
472
  ]
473
473
  ]
@@ -506,8 +506,8 @@
506
506
  "SelectableItem",
507
507
  {
508
508
  "emit": {
509
- "failure": "SelectableItemLoadFailed",
510
- "success": "SelectableItemLoaded"
509
+ "success": "SelectableItemLoaded",
510
+ "failure": "SelectableItemLoadFailed"
511
511
  }
512
512
  }
513
513
  ],
@@ -562,4 +562,4 @@
562
562
  ]
563
563
  }
564
564
  ]
565
- }
565
+ }