@almadar/std 3.2.2 → 3.2.3

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 (199) hide show
  1. package/behaviors/exports/atoms/std-browse.orb +38 -45
  2. package/behaviors/exports/atoms/std-calendar.orb +770 -0
  3. package/behaviors/exports/atoms/std-display.orb +1175 -510
  4. package/behaviors/exports/atoms/std-drawer.orb +235 -133
  5. package/behaviors/exports/atoms/std-flip-card.orb +596 -0
  6. package/behaviors/exports/atoms/std-gallery.orb +382 -0
  7. package/behaviors/exports/atoms/std-loading.orb +131 -103
  8. package/behaviors/exports/atoms/std-modal.orb +5 -24
  9. package/behaviors/exports/atoms/std-notification.orb +71 -0
  10. package/behaviors/exports/atoms/std-pagination.orb +32 -40
  11. package/behaviors/exports/atoms/std-rating.orb +328 -0
  12. package/behaviors/exports/atoms/std-score.orb +41 -0
  13. package/behaviors/exports/atoms/std-search.orb +44 -30
  14. package/behaviors/exports/atoms/std-selection.orb +26 -34
  15. package/behaviors/exports/atoms/std-sort.orb +82 -60
  16. package/behaviors/exports/atoms/std-text-effects.orb +658 -0
  17. package/behaviors/exports/atoms/std-theme.orb +573 -0
  18. package/behaviors/exports/atoms/std-upload.orb +535 -0
  19. package/behaviors/exports/atoms/std-wizard.orb +664 -224
  20. package/behaviors/exports/molecules/std-builder-game.orb +43 -3
  21. package/behaviors/exports/molecules/std-cart.orb +319 -101
  22. package/behaviors/exports/molecules/std-classifier-game.orb +43 -3
  23. package/behaviors/exports/molecules/std-debugger-game.orb +43 -3
  24. package/behaviors/exports/molecules/std-detail.orb +46 -49
  25. package/behaviors/exports/molecules/std-event-handler-game.orb +43 -3
  26. package/behaviors/exports/molecules/std-form-advanced.orb +654 -0
  27. package/behaviors/exports/molecules/std-geospatial.orb +48 -48
  28. package/behaviors/exports/molecules/std-inventory.orb +70 -50
  29. package/behaviors/exports/molecules/std-list.orb +174 -197
  30. package/behaviors/exports/molecules/std-messaging.orb +35 -50
  31. package/behaviors/exports/molecules/std-negotiator-game.orb +43 -3
  32. package/behaviors/exports/molecules/std-platformer-game.orb +18 -2
  33. package/behaviors/exports/molecules/std-puzzle-game.orb +32 -6
  34. package/behaviors/exports/molecules/std-quiz.orb +1045 -0
  35. package/behaviors/exports/molecules/std-sequencer-game.orb +43 -3
  36. package/behaviors/exports/molecules/std-simulator-game.orb +43 -3
  37. package/behaviors/exports/molecules/std-turn-based-battle.orb +26 -0
  38. package/behaviors/exports/organisms/std-api-gateway.orb +2326 -1320
  39. package/behaviors/exports/organisms/std-arcade-game.orb +377 -265
  40. package/behaviors/exports/organisms/std-booking-system.orb +3144 -1855
  41. package/behaviors/exports/organisms/std-cicd-pipeline.orb +2107 -1122
  42. package/behaviors/exports/organisms/std-cms.orb +929 -822
  43. package/behaviors/exports/organisms/std-coding-academy.orb +1347 -458
  44. package/behaviors/exports/organisms/std-crm.orb +2302 -1282
  45. package/behaviors/exports/organisms/std-devops-dashboard.orb +3902 -2005
  46. package/behaviors/exports/organisms/std-ecommerce.orb +2432 -1630
  47. package/behaviors/exports/organisms/std-finance-tracker.orb +1674 -846
  48. package/behaviors/exports/organisms/std-healthcare.orb +3545 -1992
  49. package/behaviors/exports/organisms/std-helpdesk.orb +1853 -940
  50. package/behaviors/exports/organisms/std-hr-portal.orb +3249 -1939
  51. package/behaviors/exports/organisms/std-iot-dashboard.orb +2422 -1418
  52. package/behaviors/exports/organisms/std-lms.orb +2495 -1435
  53. package/behaviors/exports/organisms/std-logic-training.orb +220 -66
  54. package/behaviors/exports/organisms/std-platformer-app.orb +345 -214
  55. package/behaviors/exports/organisms/std-project-manager.orb +2217 -1190
  56. package/behaviors/exports/organisms/std-puzzle-app.orb +228 -103
  57. package/behaviors/exports/organisms/std-realtime-chat.orb +1887 -1051
  58. package/behaviors/exports/organisms/std-rpg-game.orb +1170 -948
  59. package/behaviors/exports/organisms/std-social-feed.orb +184 -172
  60. package/behaviors/exports/organisms/std-stem-lab.orb +1308 -482
  61. package/behaviors/exports/organisms/std-strategy-game.orb +1520 -696
  62. package/behaviors/exports/organisms/std-trading-dashboard.orb +1884 -904
  63. package/behaviors/exports/validation-report.json +0 -747
  64. package/dist/behaviors/exports/atoms/std-browse.orb +38 -45
  65. package/dist/behaviors/exports/atoms/std-calendar.orb +770 -0
  66. package/dist/behaviors/exports/atoms/std-display.orb +1175 -510
  67. package/dist/behaviors/exports/atoms/std-drawer.orb +235 -133
  68. package/dist/behaviors/exports/atoms/std-flip-card.orb +596 -0
  69. package/dist/behaviors/exports/atoms/std-gallery.orb +382 -0
  70. package/dist/behaviors/exports/atoms/std-loading.orb +131 -103
  71. package/dist/behaviors/exports/atoms/std-modal.orb +5 -24
  72. package/dist/behaviors/exports/atoms/std-notification.orb +71 -0
  73. package/dist/behaviors/exports/atoms/std-pagination.orb +32 -40
  74. package/dist/behaviors/exports/atoms/std-rating.orb +328 -0
  75. package/dist/behaviors/exports/atoms/std-score.orb +41 -0
  76. package/dist/behaviors/exports/atoms/std-search.orb +44 -30
  77. package/dist/behaviors/exports/atoms/std-selection.orb +26 -34
  78. package/dist/behaviors/exports/atoms/std-sort.orb +82 -60
  79. package/dist/behaviors/exports/atoms/std-text-effects.orb +658 -0
  80. package/dist/behaviors/exports/atoms/std-theme.orb +573 -0
  81. package/dist/behaviors/exports/atoms/std-upload.orb +535 -0
  82. package/dist/behaviors/exports/atoms/std-wizard.orb +664 -224
  83. package/dist/behaviors/exports/molecules/std-builder-game.orb +43 -3
  84. package/dist/behaviors/exports/molecules/std-cart.orb +319 -101
  85. package/dist/behaviors/exports/molecules/std-classifier-game.orb +43 -3
  86. package/dist/behaviors/exports/molecules/std-debugger-game.orb +43 -3
  87. package/dist/behaviors/exports/molecules/std-detail.orb +46 -49
  88. package/dist/behaviors/exports/molecules/std-event-handler-game.orb +43 -3
  89. package/dist/behaviors/exports/molecules/std-form-advanced.orb +654 -0
  90. package/dist/behaviors/exports/molecules/std-geospatial.orb +48 -48
  91. package/dist/behaviors/exports/molecules/std-inventory.orb +70 -50
  92. package/dist/behaviors/exports/molecules/std-list.orb +174 -197
  93. package/dist/behaviors/exports/molecules/std-messaging.orb +35 -50
  94. package/dist/behaviors/exports/molecules/std-negotiator-game.orb +43 -3
  95. package/dist/behaviors/exports/molecules/std-platformer-game.orb +18 -2
  96. package/dist/behaviors/exports/molecules/std-puzzle-game.orb +32 -6
  97. package/dist/behaviors/exports/molecules/std-quiz.orb +1045 -0
  98. package/dist/behaviors/exports/molecules/std-sequencer-game.orb +43 -3
  99. package/dist/behaviors/exports/molecules/std-simulator-game.orb +43 -3
  100. package/dist/behaviors/exports/molecules/std-turn-based-battle.orb +26 -0
  101. package/dist/behaviors/exports/organisms/std-api-gateway.orb +2326 -1320
  102. package/dist/behaviors/exports/organisms/std-arcade-game.orb +377 -265
  103. package/dist/behaviors/exports/organisms/std-booking-system.orb +3144 -1855
  104. package/dist/behaviors/exports/organisms/std-cicd-pipeline.orb +2107 -1122
  105. package/dist/behaviors/exports/organisms/std-cms.orb +929 -822
  106. package/dist/behaviors/exports/organisms/std-coding-academy.orb +1347 -458
  107. package/dist/behaviors/exports/organisms/std-crm.orb +2302 -1282
  108. package/dist/behaviors/exports/organisms/std-devops-dashboard.orb +3902 -2005
  109. package/dist/behaviors/exports/organisms/std-ecommerce.orb +2432 -1630
  110. package/dist/behaviors/exports/organisms/std-finance-tracker.orb +1674 -846
  111. package/dist/behaviors/exports/organisms/std-healthcare.orb +3545 -1992
  112. package/dist/behaviors/exports/organisms/std-helpdesk.orb +1853 -940
  113. package/dist/behaviors/exports/organisms/std-hr-portal.orb +3249 -1939
  114. package/dist/behaviors/exports/organisms/std-iot-dashboard.orb +2422 -1418
  115. package/dist/behaviors/exports/organisms/std-lms.orb +2495 -1435
  116. package/dist/behaviors/exports/organisms/std-logic-training.orb +220 -66
  117. package/dist/behaviors/exports/organisms/std-platformer-app.orb +345 -214
  118. package/dist/behaviors/exports/organisms/std-project-manager.orb +2217 -1190
  119. package/dist/behaviors/exports/organisms/std-puzzle-app.orb +228 -103
  120. package/dist/behaviors/exports/organisms/std-realtime-chat.orb +1887 -1051
  121. package/dist/behaviors/exports/organisms/std-rpg-game.orb +1170 -948
  122. package/dist/behaviors/exports/organisms/std-social-feed.orb +184 -172
  123. package/dist/behaviors/exports/organisms/std-stem-lab.orb +1308 -482
  124. package/dist/behaviors/exports/organisms/std-strategy-game.orb +1520 -696
  125. package/dist/behaviors/exports/organisms/std-trading-dashboard.orb +1884 -904
  126. package/dist/behaviors/exports/validation-report.json +0 -747
  127. package/dist/behaviors/functions/index.d.ts +270 -1
  128. package/dist/behaviors/functions/index.js +3163 -807
  129. package/dist/behaviors/functions/index.js.map +1 -1
  130. package/dist/behaviors/index.d.ts +1 -1
  131. package/dist/behaviors/index.js +3164 -808
  132. package/dist/behaviors/index.js.map +1 -1
  133. package/dist/exports/atoms/std-browse.orb +38 -45
  134. package/dist/exports/atoms/std-calendar.orb +770 -0
  135. package/dist/exports/atoms/std-display.orb +1175 -510
  136. package/dist/exports/atoms/std-drawer.orb +235 -133
  137. package/dist/exports/atoms/std-flip-card.orb +596 -0
  138. package/dist/exports/atoms/std-gallery.orb +382 -0
  139. package/dist/exports/atoms/std-loading.orb +131 -103
  140. package/dist/exports/atoms/std-modal.orb +5 -24
  141. package/dist/exports/atoms/std-notification.orb +71 -0
  142. package/dist/exports/atoms/std-pagination.orb +32 -40
  143. package/dist/exports/atoms/std-rating.orb +328 -0
  144. package/dist/exports/atoms/std-score.orb +41 -0
  145. package/dist/exports/atoms/std-search.orb +44 -30
  146. package/dist/exports/atoms/std-selection.orb +26 -34
  147. package/dist/exports/atoms/std-sort.orb +82 -60
  148. package/dist/exports/atoms/std-text-effects.orb +658 -0
  149. package/dist/exports/atoms/std-theme.orb +573 -0
  150. package/dist/exports/atoms/std-upload.orb +535 -0
  151. package/dist/exports/atoms/std-wizard.orb +664 -224
  152. package/dist/exports/molecules/std-builder-game.orb +43 -3
  153. package/dist/exports/molecules/std-cart.orb +319 -101
  154. package/dist/exports/molecules/std-classifier-game.orb +43 -3
  155. package/dist/exports/molecules/std-debugger-game.orb +43 -3
  156. package/dist/exports/molecules/std-detail.orb +46 -49
  157. package/dist/exports/molecules/std-event-handler-game.orb +43 -3
  158. package/dist/exports/molecules/std-form-advanced.orb +654 -0
  159. package/dist/exports/molecules/std-geospatial.orb +48 -48
  160. package/dist/exports/molecules/std-inventory.orb +70 -50
  161. package/dist/exports/molecules/std-list.orb +174 -197
  162. package/dist/exports/molecules/std-messaging.orb +35 -50
  163. package/dist/exports/molecules/std-negotiator-game.orb +43 -3
  164. package/dist/exports/molecules/std-platformer-game.orb +18 -2
  165. package/dist/exports/molecules/std-puzzle-game.orb +32 -6
  166. package/dist/exports/molecules/std-quiz.orb +1045 -0
  167. package/dist/exports/molecules/std-sequencer-game.orb +43 -3
  168. package/dist/exports/molecules/std-simulator-game.orb +43 -3
  169. package/dist/exports/molecules/std-turn-based-battle.orb +26 -0
  170. package/dist/exports/organisms/std-api-gateway.orb +2326 -1320
  171. package/dist/exports/organisms/std-arcade-game.orb +377 -265
  172. package/dist/exports/organisms/std-booking-system.orb +3144 -1855
  173. package/dist/exports/organisms/std-cicd-pipeline.orb +2107 -1122
  174. package/dist/exports/organisms/std-cms.orb +929 -822
  175. package/dist/exports/organisms/std-coding-academy.orb +1347 -458
  176. package/dist/exports/organisms/std-crm.orb +2302 -1282
  177. package/dist/exports/organisms/std-devops-dashboard.orb +3902 -2005
  178. package/dist/exports/organisms/std-ecommerce.orb +2432 -1630
  179. package/dist/exports/organisms/std-finance-tracker.orb +1674 -846
  180. package/dist/exports/organisms/std-healthcare.orb +3545 -1992
  181. package/dist/exports/organisms/std-helpdesk.orb +1853 -940
  182. package/dist/exports/organisms/std-hr-portal.orb +3249 -1939
  183. package/dist/exports/organisms/std-iot-dashboard.orb +2422 -1418
  184. package/dist/exports/organisms/std-lms.orb +2495 -1435
  185. package/dist/exports/organisms/std-logic-training.orb +220 -66
  186. package/dist/exports/organisms/std-platformer-app.orb +345 -214
  187. package/dist/exports/organisms/std-project-manager.orb +2217 -1190
  188. package/dist/exports/organisms/std-puzzle-app.orb +228 -103
  189. package/dist/exports/organisms/std-realtime-chat.orb +1887 -1051
  190. package/dist/exports/organisms/std-rpg-game.orb +1170 -948
  191. package/dist/exports/organisms/std-social-feed.orb +184 -172
  192. package/dist/exports/organisms/std-stem-lab.orb +1308 -482
  193. package/dist/exports/organisms/std-strategy-game.orb +1520 -696
  194. package/dist/exports/organisms/std-trading-dashboard.orb +1884 -904
  195. package/dist/exports/validation-report.json +0 -747
  196. package/dist/index.d.ts +1 -1
  197. package/dist/index.js +3166 -810
  198. package/dist/index.js.map +1 -1
  199. package/package.json +1 -1
@@ -46,6 +46,12 @@
46
46
  "name": "step1",
47
47
  "isInitial": true
48
48
  },
49
+ {
50
+ "name": "step2"
51
+ },
52
+ {
53
+ "name": "step3"
54
+ },
49
55
  {
50
56
  "name": "review"
51
57
  },
@@ -103,73 +109,282 @@
103
109
  "render-ui",
104
110
  "main",
105
111
  {
106
- "type": "stack",
107
- "direction": "vertical",
108
- "gap": "lg",
112
+ "type": "container",
113
+ "maxWidth": "lg",
114
+ "padding": "lg",
109
115
  "children": [
110
116
  {
111
117
  "type": "stack",
112
- "direction": "horizontal",
113
- "gap": "sm",
114
- "align": "center",
118
+ "direction": "vertical",
119
+ "gap": "lg",
115
120
  "children": [
116
121
  {
117
- "type": "icon",
118
- "name": "clipboard",
119
- "size": "lg"
122
+ "type": "stack",
123
+ "direction": "horizontal",
124
+ "gap": "sm",
125
+ "align": "center",
126
+ "children": [
127
+ {
128
+ "type": "icon",
129
+ "name": "clipboard",
130
+ "size": "lg"
131
+ },
132
+ {
133
+ "type": "typography",
134
+ "content": "Setup Wizard",
135
+ "variant": "h2"
136
+ }
137
+ ]
138
+ },
139
+ {
140
+ "type": "progress-dots",
141
+ "count": 3,
142
+ "currentIndex": 0
143
+ },
144
+ {
145
+ "type": "wizard-progress",
146
+ "steps": [
147
+ "Personal Info",
148
+ "Settings",
149
+ "Review"
150
+ ],
151
+ "currentStep": 0
152
+ },
153
+ {
154
+ "type": "divider"
120
155
  },
121
156
  {
122
157
  "type": "typography",
123
- "content": "Setup Wizard",
124
- "variant": "h2"
158
+ "content": "Personal Info",
159
+ "variant": "h3"
160
+ },
161
+ {
162
+ "type": "form-section",
163
+ "entity": "WizardEntry",
164
+ "mode": "create",
165
+ "submitEvent": "NEXT",
166
+ "cancelEvent": "INIT",
167
+ "fields": [
168
+ "name",
169
+ "description"
170
+ ]
171
+ },
172
+ {
173
+ "type": "stack",
174
+ "direction": "horizontal",
175
+ "gap": "sm",
176
+ "justify": "end",
177
+ "children": [
178
+ {
179
+ "type": "button",
180
+ "label": "Next",
181
+ "event": "NEXT",
182
+ "variant": "primary",
183
+ "icon": "arrow-right"
184
+ }
185
+ ]
125
186
  }
126
187
  ]
127
- },
128
- {
129
- "type": "progress-dots",
130
- "count": 1,
131
- "currentIndex": 0
132
- },
133
- {
134
- "type": "wizard-progress",
135
- "steps": [
136
- "Details"
137
- ],
138
- "currentStep": 0
139
- },
140
- {
141
- "type": "divider"
142
- },
143
- {
144
- "type": "typography",
145
- "content": "Details",
146
- "variant": "h3"
147
- },
188
+ }
189
+ ]
190
+ }
191
+ ]
192
+ ]
193
+ },
194
+ {
195
+ "from": "step1",
196
+ "to": "step2",
197
+ "event": "NEXT",
198
+ "effects": [
199
+ [
200
+ "fetch",
201
+ "WizardEntry"
202
+ ],
203
+ [
204
+ "render-ui",
205
+ "main",
206
+ {
207
+ "type": "container",
208
+ "maxWidth": "lg",
209
+ "padding": "lg",
210
+ "children": [
148
211
  {
149
- "type": "form-section",
150
- "entity": "WizardEntry",
151
- "mode": "create",
152
- "submitEvent": "NEXT",
153
- "cancelEvent": "INIT",
154
- "fields": [
155
- "name",
156
- "description",
157
- "status",
158
- "createdAt"
212
+ "type": "stack",
213
+ "direction": "vertical",
214
+ "gap": "lg",
215
+ "children": [
216
+ {
217
+ "type": "stack",
218
+ "direction": "horizontal",
219
+ "gap": "sm",
220
+ "align": "center",
221
+ "children": [
222
+ {
223
+ "type": "icon",
224
+ "name": "clipboard",
225
+ "size": "lg"
226
+ },
227
+ {
228
+ "type": "typography",
229
+ "content": "Setup Wizard",
230
+ "variant": "h2"
231
+ }
232
+ ]
233
+ },
234
+ {
235
+ "type": "progress-dots",
236
+ "count": 3,
237
+ "currentIndex": 1
238
+ },
239
+ {
240
+ "type": "wizard-progress",
241
+ "steps": [
242
+ "Personal Info",
243
+ "Settings",
244
+ "Review"
245
+ ],
246
+ "currentStep": 1
247
+ },
248
+ {
249
+ "type": "divider"
250
+ },
251
+ {
252
+ "type": "typography",
253
+ "content": "Settings",
254
+ "variant": "h3"
255
+ },
256
+ {
257
+ "type": "form-section",
258
+ "entity": "WizardEntry",
259
+ "mode": "create",
260
+ "submitEvent": "NEXT",
261
+ "cancelEvent": "PREV",
262
+ "fields": [
263
+ "status"
264
+ ]
265
+ },
266
+ {
267
+ "type": "stack",
268
+ "direction": "horizontal",
269
+ "gap": "sm",
270
+ "justify": "end",
271
+ "children": [
272
+ {
273
+ "type": "button",
274
+ "label": "Back",
275
+ "event": "PREV",
276
+ "variant": "ghost",
277
+ "icon": "arrow-left"
278
+ },
279
+ {
280
+ "type": "button",
281
+ "label": "Next",
282
+ "event": "NEXT",
283
+ "variant": "primary",
284
+ "icon": "arrow-right"
285
+ }
286
+ ]
287
+ }
159
288
  ]
160
- },
289
+ }
290
+ ]
291
+ }
292
+ ]
293
+ ]
294
+ },
295
+ {
296
+ "from": "step2",
297
+ "to": "step3",
298
+ "event": "NEXT",
299
+ "effects": [
300
+ [
301
+ "fetch",
302
+ "WizardEntry"
303
+ ],
304
+ [
305
+ "render-ui",
306
+ "main",
307
+ {
308
+ "type": "container",
309
+ "maxWidth": "lg",
310
+ "padding": "lg",
311
+ "children": [
161
312
  {
162
313
  "type": "stack",
163
- "direction": "horizontal",
164
- "gap": "sm",
165
- "justify": "end",
314
+ "direction": "vertical",
315
+ "gap": "lg",
166
316
  "children": [
167
317
  {
168
- "type": "button",
169
- "label": "Next",
170
- "event": "NEXT",
171
- "variant": "primary",
172
- "icon": "arrow-right"
318
+ "type": "stack",
319
+ "direction": "horizontal",
320
+ "gap": "sm",
321
+ "align": "center",
322
+ "children": [
323
+ {
324
+ "type": "icon",
325
+ "name": "clipboard",
326
+ "size": "lg"
327
+ },
328
+ {
329
+ "type": "typography",
330
+ "content": "Setup Wizard",
331
+ "variant": "h2"
332
+ }
333
+ ]
334
+ },
335
+ {
336
+ "type": "progress-dots",
337
+ "count": 3,
338
+ "currentIndex": 2
339
+ },
340
+ {
341
+ "type": "wizard-progress",
342
+ "steps": [
343
+ "Personal Info",
344
+ "Settings",
345
+ "Review"
346
+ ],
347
+ "currentStep": 2
348
+ },
349
+ {
350
+ "type": "divider"
351
+ },
352
+ {
353
+ "type": "typography",
354
+ "content": "Review",
355
+ "variant": "h3"
356
+ },
357
+ {
358
+ "type": "form-section",
359
+ "entity": "WizardEntry",
360
+ "mode": "create",
361
+ "submitEvent": "NEXT",
362
+ "cancelEvent": "PREV",
363
+ "fields": [
364
+ "createdAt"
365
+ ]
366
+ },
367
+ {
368
+ "type": "stack",
369
+ "direction": "horizontal",
370
+ "gap": "sm",
371
+ "justify": "end",
372
+ "children": [
373
+ {
374
+ "type": "button",
375
+ "label": "Back",
376
+ "event": "PREV",
377
+ "variant": "ghost",
378
+ "icon": "arrow-left"
379
+ },
380
+ {
381
+ "type": "button",
382
+ "label": "Next",
383
+ "event": "NEXT",
384
+ "variant": "primary",
385
+ "icon": "arrow-right"
386
+ }
387
+ ]
173
388
  }
174
389
  ]
175
390
  }
@@ -179,7 +394,7 @@
179
394
  ]
180
395
  },
181
396
  {
182
- "from": "step1",
397
+ "from": "step3",
183
398
  "to": "review",
184
399
  "event": "NEXT",
185
400
  "effects": [
@@ -220,9 +435,11 @@
220
435
  {
221
436
  "type": "wizard-progress",
222
437
  "steps": [
223
- "Details"
438
+ "Personal Info",
439
+ "Settings",
440
+ "Review"
224
441
  ],
225
- "currentStep": 1
442
+ "currentStep": 3
226
443
  },
227
444
  {
228
445
  "type": "divider"
@@ -316,8 +533,8 @@
316
533
  },
317
534
  {
318
535
  "type": "wizard-navigation",
319
- "currentStep": 1,
320
- "totalSteps": 2,
536
+ "currentStep": 3,
537
+ "totalSteps": 4,
321
538
  "showBack": true,
322
539
  "showComplete": true,
323
540
  "showNext": false
@@ -328,7 +545,7 @@
328
545
  ]
329
546
  },
330
547
  {
331
- "from": "review",
548
+ "from": "step2",
332
549
  "to": "step1",
333
550
  "event": "PREV",
334
551
  "effects": [
@@ -340,73 +557,282 @@
340
557
  "render-ui",
341
558
  "main",
342
559
  {
343
- "type": "stack",
344
- "direction": "vertical",
345
- "gap": "lg",
560
+ "type": "container",
561
+ "maxWidth": "lg",
562
+ "padding": "lg",
346
563
  "children": [
347
564
  {
348
565
  "type": "stack",
349
- "direction": "horizontal",
350
- "gap": "sm",
351
- "align": "center",
566
+ "direction": "vertical",
567
+ "gap": "lg",
352
568
  "children": [
353
569
  {
354
- "type": "icon",
355
- "name": "clipboard",
356
- "size": "lg"
570
+ "type": "stack",
571
+ "direction": "horizontal",
572
+ "gap": "sm",
573
+ "align": "center",
574
+ "children": [
575
+ {
576
+ "type": "icon",
577
+ "name": "clipboard",
578
+ "size": "lg"
579
+ },
580
+ {
581
+ "type": "typography",
582
+ "content": "Setup Wizard",
583
+ "variant": "h2"
584
+ }
585
+ ]
586
+ },
587
+ {
588
+ "type": "progress-dots",
589
+ "count": 3,
590
+ "currentIndex": 0
591
+ },
592
+ {
593
+ "type": "wizard-progress",
594
+ "steps": [
595
+ "Personal Info",
596
+ "Settings",
597
+ "Review"
598
+ ],
599
+ "currentStep": 0
600
+ },
601
+ {
602
+ "type": "divider"
357
603
  },
358
604
  {
359
605
  "type": "typography",
360
- "content": "Setup Wizard",
361
- "variant": "h2"
606
+ "content": "Personal Info",
607
+ "variant": "h3"
608
+ },
609
+ {
610
+ "type": "form-section",
611
+ "entity": "WizardEntry",
612
+ "mode": "create",
613
+ "submitEvent": "NEXT",
614
+ "cancelEvent": "INIT",
615
+ "fields": [
616
+ "name",
617
+ "description"
618
+ ]
619
+ },
620
+ {
621
+ "type": "stack",
622
+ "direction": "horizontal",
623
+ "gap": "sm",
624
+ "justify": "end",
625
+ "children": [
626
+ {
627
+ "type": "button",
628
+ "label": "Next",
629
+ "event": "NEXT",
630
+ "variant": "primary",
631
+ "icon": "arrow-right"
632
+ }
633
+ ]
362
634
  }
363
635
  ]
364
- },
365
- {
366
- "type": "progress-dots",
367
- "count": 1,
368
- "currentIndex": 0
369
- },
370
- {
371
- "type": "wizard-progress",
372
- "steps": [
373
- "Details"
374
- ],
375
- "currentStep": 0
376
- },
377
- {
378
- "type": "divider"
379
- },
380
- {
381
- "type": "typography",
382
- "content": "Details",
383
- "variant": "h3"
384
- },
636
+ }
637
+ ]
638
+ }
639
+ ]
640
+ ]
641
+ },
642
+ {
643
+ "from": "step3",
644
+ "to": "step2",
645
+ "event": "PREV",
646
+ "effects": [
647
+ [
648
+ "fetch",
649
+ "WizardEntry"
650
+ ],
651
+ [
652
+ "render-ui",
653
+ "main",
654
+ {
655
+ "type": "container",
656
+ "maxWidth": "lg",
657
+ "padding": "lg",
658
+ "children": [
385
659
  {
386
- "type": "form-section",
387
- "entity": "WizardEntry",
388
- "mode": "create",
389
- "submitEvent": "NEXT",
390
- "cancelEvent": "INIT",
391
- "fields": [
392
- "name",
393
- "description",
394
- "status",
395
- "createdAt"
660
+ "type": "stack",
661
+ "direction": "vertical",
662
+ "gap": "lg",
663
+ "children": [
664
+ {
665
+ "type": "stack",
666
+ "direction": "horizontal",
667
+ "gap": "sm",
668
+ "align": "center",
669
+ "children": [
670
+ {
671
+ "type": "icon",
672
+ "name": "clipboard",
673
+ "size": "lg"
674
+ },
675
+ {
676
+ "type": "typography",
677
+ "content": "Setup Wizard",
678
+ "variant": "h2"
679
+ }
680
+ ]
681
+ },
682
+ {
683
+ "type": "progress-dots",
684
+ "count": 3,
685
+ "currentIndex": 1
686
+ },
687
+ {
688
+ "type": "wizard-progress",
689
+ "steps": [
690
+ "Personal Info",
691
+ "Settings",
692
+ "Review"
693
+ ],
694
+ "currentStep": 1
695
+ },
696
+ {
697
+ "type": "divider"
698
+ },
699
+ {
700
+ "type": "typography",
701
+ "content": "Settings",
702
+ "variant": "h3"
703
+ },
704
+ {
705
+ "type": "form-section",
706
+ "entity": "WizardEntry",
707
+ "mode": "create",
708
+ "submitEvent": "NEXT",
709
+ "cancelEvent": "PREV",
710
+ "fields": [
711
+ "status"
712
+ ]
713
+ },
714
+ {
715
+ "type": "stack",
716
+ "direction": "horizontal",
717
+ "gap": "sm",
718
+ "justify": "end",
719
+ "children": [
720
+ {
721
+ "type": "button",
722
+ "label": "Back",
723
+ "event": "PREV",
724
+ "variant": "ghost",
725
+ "icon": "arrow-left"
726
+ },
727
+ {
728
+ "type": "button",
729
+ "label": "Next",
730
+ "event": "NEXT",
731
+ "variant": "primary",
732
+ "icon": "arrow-right"
733
+ }
734
+ ]
735
+ }
396
736
  ]
397
- },
737
+ }
738
+ ]
739
+ }
740
+ ]
741
+ ]
742
+ },
743
+ {
744
+ "from": "review",
745
+ "to": "step3",
746
+ "event": "PREV",
747
+ "effects": [
748
+ [
749
+ "fetch",
750
+ "WizardEntry"
751
+ ],
752
+ [
753
+ "render-ui",
754
+ "main",
755
+ {
756
+ "type": "container",
757
+ "maxWidth": "lg",
758
+ "padding": "lg",
759
+ "children": [
398
760
  {
399
761
  "type": "stack",
400
- "direction": "horizontal",
401
- "gap": "sm",
402
- "justify": "end",
762
+ "direction": "vertical",
763
+ "gap": "lg",
403
764
  "children": [
404
765
  {
405
- "type": "button",
406
- "label": "Next",
407
- "event": "NEXT",
408
- "variant": "primary",
409
- "icon": "arrow-right"
766
+ "type": "stack",
767
+ "direction": "horizontal",
768
+ "gap": "sm",
769
+ "align": "center",
770
+ "children": [
771
+ {
772
+ "type": "icon",
773
+ "name": "clipboard",
774
+ "size": "lg"
775
+ },
776
+ {
777
+ "type": "typography",
778
+ "content": "Setup Wizard",
779
+ "variant": "h2"
780
+ }
781
+ ]
782
+ },
783
+ {
784
+ "type": "progress-dots",
785
+ "count": 3,
786
+ "currentIndex": 2
787
+ },
788
+ {
789
+ "type": "wizard-progress",
790
+ "steps": [
791
+ "Personal Info",
792
+ "Settings",
793
+ "Review"
794
+ ],
795
+ "currentStep": 2
796
+ },
797
+ {
798
+ "type": "divider"
799
+ },
800
+ {
801
+ "type": "typography",
802
+ "content": "Review",
803
+ "variant": "h3"
804
+ },
805
+ {
806
+ "type": "form-section",
807
+ "entity": "WizardEntry",
808
+ "mode": "create",
809
+ "submitEvent": "NEXT",
810
+ "cancelEvent": "PREV",
811
+ "fields": [
812
+ "createdAt"
813
+ ]
814
+ },
815
+ {
816
+ "type": "stack",
817
+ "direction": "horizontal",
818
+ "gap": "sm",
819
+ "justify": "end",
820
+ "children": [
821
+ {
822
+ "type": "button",
823
+ "label": "Back",
824
+ "event": "PREV",
825
+ "variant": "ghost",
826
+ "icon": "arrow-left"
827
+ },
828
+ {
829
+ "type": "button",
830
+ "label": "Next",
831
+ "event": "NEXT",
832
+ "variant": "primary",
833
+ "icon": "arrow-right"
834
+ }
835
+ ]
410
836
  }
411
837
  ]
412
838
  }
@@ -480,73 +906,80 @@
480
906
  "render-ui",
481
907
  "main",
482
908
  {
483
- "type": "stack",
484
- "direction": "vertical",
485
- "gap": "lg",
909
+ "type": "container",
910
+ "maxWidth": "lg",
911
+ "padding": "lg",
486
912
  "children": [
487
913
  {
488
914
  "type": "stack",
489
- "direction": "horizontal",
490
- "gap": "sm",
491
- "align": "center",
915
+ "direction": "vertical",
916
+ "gap": "lg",
492
917
  "children": [
493
918
  {
494
- "type": "icon",
495
- "name": "clipboard",
496
- "size": "lg"
919
+ "type": "stack",
920
+ "direction": "horizontal",
921
+ "gap": "sm",
922
+ "align": "center",
923
+ "children": [
924
+ {
925
+ "type": "icon",
926
+ "name": "clipboard",
927
+ "size": "lg"
928
+ },
929
+ {
930
+ "type": "typography",
931
+ "content": "Setup Wizard",
932
+ "variant": "h2"
933
+ }
934
+ ]
935
+ },
936
+ {
937
+ "type": "progress-dots",
938
+ "count": 3,
939
+ "currentIndex": 0
940
+ },
941
+ {
942
+ "type": "wizard-progress",
943
+ "steps": [
944
+ "Personal Info",
945
+ "Settings",
946
+ "Review"
947
+ ],
948
+ "currentStep": 0
949
+ },
950
+ {
951
+ "type": "divider"
497
952
  },
498
953
  {
499
954
  "type": "typography",
500
- "content": "Setup Wizard",
501
- "variant": "h2"
502
- }
503
- ]
504
- },
505
- {
506
- "type": "progress-dots",
507
- "count": 1,
508
- "currentIndex": 0
509
- },
510
- {
511
- "type": "wizard-progress",
512
- "steps": [
513
- "Details"
514
- ],
515
- "currentStep": 0
516
- },
517
- {
518
- "type": "divider"
519
- },
520
- {
521
- "type": "typography",
522
- "content": "Details",
523
- "variant": "h3"
524
- },
525
- {
526
- "type": "form-section",
527
- "entity": "WizardEntry",
528
- "mode": "create",
529
- "submitEvent": "NEXT",
530
- "cancelEvent": "INIT",
531
- "fields": [
532
- "name",
533
- "description",
534
- "status",
535
- "createdAt"
536
- ]
537
- },
538
- {
539
- "type": "stack",
540
- "direction": "horizontal",
541
- "gap": "sm",
542
- "justify": "end",
543
- "children": [
955
+ "content": "Personal Info",
956
+ "variant": "h3"
957
+ },
544
958
  {
545
- "type": "button",
546
- "label": "Next",
547
- "event": "NEXT",
548
- "variant": "primary",
549
- "icon": "arrow-right"
959
+ "type": "form-section",
960
+ "entity": "WizardEntry",
961
+ "mode": "create",
962
+ "submitEvent": "NEXT",
963
+ "cancelEvent": "INIT",
964
+ "fields": [
965
+ "name",
966
+ "description"
967
+ ]
968
+ },
969
+ {
970
+ "type": "stack",
971
+ "direction": "horizontal",
972
+ "gap": "sm",
973
+ "justify": "end",
974
+ "children": [
975
+ {
976
+ "type": "button",
977
+ "label": "Next",
978
+ "event": "NEXT",
979
+ "variant": "primary",
980
+ "icon": "arrow-right"
981
+ }
982
+ ]
550
983
  }
551
984
  ]
552
985
  }
@@ -568,73 +1001,80 @@
568
1001
  "render-ui",
569
1002
  "main",
570
1003
  {
571
- "type": "stack",
572
- "direction": "vertical",
573
- "gap": "lg",
1004
+ "type": "container",
1005
+ "maxWidth": "lg",
1006
+ "padding": "lg",
574
1007
  "children": [
575
1008
  {
576
1009
  "type": "stack",
577
- "direction": "horizontal",
578
- "gap": "sm",
579
- "align": "center",
1010
+ "direction": "vertical",
1011
+ "gap": "lg",
580
1012
  "children": [
581
1013
  {
582
- "type": "icon",
583
- "name": "clipboard",
584
- "size": "lg"
1014
+ "type": "stack",
1015
+ "direction": "horizontal",
1016
+ "gap": "sm",
1017
+ "align": "center",
1018
+ "children": [
1019
+ {
1020
+ "type": "icon",
1021
+ "name": "clipboard",
1022
+ "size": "lg"
1023
+ },
1024
+ {
1025
+ "type": "typography",
1026
+ "content": "Setup Wizard",
1027
+ "variant": "h2"
1028
+ }
1029
+ ]
1030
+ },
1031
+ {
1032
+ "type": "progress-dots",
1033
+ "count": 3,
1034
+ "currentIndex": 0
1035
+ },
1036
+ {
1037
+ "type": "wizard-progress",
1038
+ "steps": [
1039
+ "Personal Info",
1040
+ "Settings",
1041
+ "Review"
1042
+ ],
1043
+ "currentStep": 0
1044
+ },
1045
+ {
1046
+ "type": "divider"
585
1047
  },
586
1048
  {
587
1049
  "type": "typography",
588
- "content": "Setup Wizard",
589
- "variant": "h2"
590
- }
591
- ]
592
- },
593
- {
594
- "type": "progress-dots",
595
- "count": 1,
596
- "currentIndex": 0
597
- },
598
- {
599
- "type": "wizard-progress",
600
- "steps": [
601
- "Details"
602
- ],
603
- "currentStep": 0
604
- },
605
- {
606
- "type": "divider"
607
- },
608
- {
609
- "type": "typography",
610
- "content": "Details",
611
- "variant": "h3"
612
- },
613
- {
614
- "type": "form-section",
615
- "entity": "WizardEntry",
616
- "mode": "create",
617
- "submitEvent": "NEXT",
618
- "cancelEvent": "INIT",
619
- "fields": [
620
- "name",
621
- "description",
622
- "status",
623
- "createdAt"
624
- ]
625
- },
626
- {
627
- "type": "stack",
628
- "direction": "horizontal",
629
- "gap": "sm",
630
- "justify": "end",
631
- "children": [
1050
+ "content": "Personal Info",
1051
+ "variant": "h3"
1052
+ },
1053
+ {
1054
+ "type": "form-section",
1055
+ "entity": "WizardEntry",
1056
+ "mode": "create",
1057
+ "submitEvent": "NEXT",
1058
+ "cancelEvent": "INIT",
1059
+ "fields": [
1060
+ "name",
1061
+ "description"
1062
+ ]
1063
+ },
632
1064
  {
633
- "type": "button",
634
- "label": "Next",
635
- "event": "NEXT",
636
- "variant": "primary",
637
- "icon": "arrow-right"
1065
+ "type": "stack",
1066
+ "direction": "horizontal",
1067
+ "gap": "sm",
1068
+ "justify": "end",
1069
+ "children": [
1070
+ {
1071
+ "type": "button",
1072
+ "label": "Next",
1073
+ "event": "NEXT",
1074
+ "variant": "primary",
1075
+ "icon": "arrow-right"
1076
+ }
1077
+ ]
638
1078
  }
639
1079
  ]
640
1080
  }