@almadar/std 14.26.0 → 14.27.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 (151) hide show
  1. package/behaviors/registry/app/atoms/std-applicant.orb +496 -42
  2. package/behaviors/registry/app/atoms/std-approval-request.orb +433 -593
  3. package/behaviors/registry/app/atoms/std-campaign-goal.orb +438 -228
  4. package/behaviors/registry/app/atoms/std-change-order.orb +565 -307
  5. package/behaviors/registry/app/atoms/std-chart-of-accounts.orb +434 -97
  6. package/behaviors/registry/app/atoms/std-checkin.orb +434 -270
  7. package/behaviors/registry/app/atoms/std-class-roster.orb +495 -61
  8. package/behaviors/registry/app/atoms/std-class-session.orb +485 -104
  9. package/behaviors/registry/app/atoms/std-court-deadline.orb +519 -88
  10. package/behaviors/registry/app/atoms/std-customer-account.orb +577 -97
  11. package/behaviors/registry/app/atoms/std-donation-receipt.orb +498 -55
  12. package/behaviors/registry/app/atoms/std-donor.orb +445 -135
  13. package/behaviors/registry/app/atoms/std-drip-sequence.orb +445 -62
  14. package/behaviors/registry/app/atoms/std-driver.orb +465 -480
  15. package/behaviors/registry/app/atoms/std-dunning.orb +450 -512
  16. package/behaviors/registry/app/atoms/std-email-broadcast.orb +517 -64
  17. package/behaviors/registry/app/atoms/std-event.orb +465 -667
  18. package/behaviors/registry/app/atoms/std-health-score.orb +368 -371
  19. package/behaviors/registry/app/atoms/std-help-article.orb +373 -506
  20. package/behaviors/registry/app/atoms/std-help-category.orb +344 -359
  21. package/behaviors/registry/app/atoms/std-interview-slot.orb +490 -48
  22. package/behaviors/registry/app/atoms/std-invoice.orb +494 -291
  23. package/behaviors/registry/app/atoms/std-kitchen-display.orb +588 -96
  24. package/behaviors/registry/app/atoms/std-lease.orb +506 -190
  25. package/behaviors/registry/app/atoms/std-ledger-entry.orb +483 -154
  26. package/behaviors/registry/app/atoms/std-maintenance-request.orb +642 -192
  27. package/behaviors/registry/app/atoms/std-matter.orb +486 -318
  28. package/behaviors/registry/app/atoms/std-membership.orb +512 -102
  29. package/behaviors/registry/app/atoms/std-menu.orb +775 -183
  30. package/behaviors/registry/app/atoms/std-modifier-group.orb +522 -104
  31. package/behaviors/registry/app/atoms/std-nps-survey.orb +319 -327
  32. package/behaviors/registry/app/atoms/std-offer-letter.orb +497 -47
  33. package/behaviors/registry/app/atoms/std-payout-ledger.orb +378 -362
  34. package/behaviors/registry/app/atoms/std-question-bank.orb +379 -346
  35. package/behaviors/registry/app/atoms/std-receipt.orb +553 -44
  36. package/behaviors/registry/app/atoms/std-recurring-charge.orb +419 -832
  37. package/behaviors/registry/app/atoms/std-renewal-risk.orb +370 -421
  38. package/behaviors/registry/app/atoms/std-rent-charge.orb +657 -55
  39. package/behaviors/registry/app/atoms/std-reorder-rule.orb +510 -59
  40. package/behaviors/registry/app/atoms/std-response-collector.orb +451 -144
  41. package/behaviors/registry/app/atoms/std-rfi.orb +502 -461
  42. package/behaviors/registry/app/atoms/std-route-optimize.orb +448 -158
  43. package/behaviors/registry/app/atoms/std-segment.orb +360 -98
  44. package/behaviors/registry/app/atoms/std-stock-level.orb +486 -103
  45. package/behaviors/registry/app/atoms/std-submittal.orb +538 -526
  46. package/behaviors/registry/app/atoms/std-table-map.orb +88 -51
  47. package/behaviors/registry/app/atoms/std-technician-dispatch.orb +653 -71
  48. package/behaviors/registry/app/atoms/std-telematics-event.orb +310 -215
  49. package/behaviors/registry/app/atoms/std-template-editor.orb +513 -90
  50. package/behaviors/registry/app/atoms/std-tenant.orb +525 -66
  51. package/behaviors/registry/app/atoms/std-ticket-tier.orb +472 -460
  52. package/behaviors/registry/app/atoms/std-time-entry.orb +354 -317
  53. package/behaviors/registry/app/atoms/std-timesheet.orb +551 -284
  54. package/behaviors/registry/app/atoms/std-trial.orb +410 -317
  55. package/behaviors/registry/app/atoms/std-vehicle.orb +398 -563
  56. package/behaviors/registry/app/atoms/std-waitlist.orb +372 -283
  57. package/behaviors/registry/app/atoms/std-warehouse.orb +273 -214
  58. package/behaviors/registry/app/atoms/std-work-order.orb +628 -240
  59. package/behaviors/registry/app/molecules/std-applicant-form.orb +89 -83
  60. package/behaviors/registry/app/molecules/std-application.orb +178 -263
  61. package/behaviors/registry/app/molecules/std-broadcast-builder.orb +67 -176
  62. package/behaviors/registry/app/molecules/std-cart.orb +78 -72
  63. package/behaviors/registry/app/molecules/std-form-builder.orb +437 -176
  64. package/behaviors/registry/app/molecules/std-ledger-entry-form.orb +608 -89
  65. package/behaviors/registry/app/molecules/std-stock-adjustment.orb +501 -102
  66. package/behaviors/registry/app/molecules/std-vendor-onboarding.orb +383 -469
  67. package/behaviors/registry/core/atoms/std-billable-hour.orb +495 -91
  68. package/behaviors/registry/core/atoms/std-branching-logic.orb +271 -600
  69. package/behaviors/registry/core/atoms/std-file-store.orb +534 -164
  70. package/behaviors/registry/core/atoms/std-gallery.orb +118 -101
  71. package/behaviors/registry/core/atoms/std-image-upload-multi.orb +87 -57
  72. package/behaviors/registry/core/atoms/std-page-tree.orb +342 -484
  73. package/behaviors/registry/core/atoms/std-rich-editor.orb +288 -416
  74. package/behaviors/registry/core/atoms/std-version-history.orb +454 -430
  75. package/behaviors/registry/core/molecules/std-wizard-form.orb +222 -147
  76. package/dist/behaviors/registry/app/atoms/std-applicant.orb +496 -42
  77. package/dist/behaviors/registry/app/atoms/std-approval-request.orb +433 -593
  78. package/dist/behaviors/registry/app/atoms/std-campaign-goal.orb +438 -228
  79. package/dist/behaviors/registry/app/atoms/std-change-order.orb +565 -307
  80. package/dist/behaviors/registry/app/atoms/std-chart-of-accounts.orb +434 -97
  81. package/dist/behaviors/registry/app/atoms/std-checkin.orb +434 -270
  82. package/dist/behaviors/registry/app/atoms/std-class-roster.orb +495 -61
  83. package/dist/behaviors/registry/app/atoms/std-class-session.orb +485 -104
  84. package/dist/behaviors/registry/app/atoms/std-court-deadline.orb +519 -88
  85. package/dist/behaviors/registry/app/atoms/std-customer-account.orb +577 -97
  86. package/dist/behaviors/registry/app/atoms/std-donation-receipt.orb +498 -55
  87. package/dist/behaviors/registry/app/atoms/std-donor.orb +445 -135
  88. package/dist/behaviors/registry/app/atoms/std-drip-sequence.orb +445 -62
  89. package/dist/behaviors/registry/app/atoms/std-driver.orb +465 -480
  90. package/dist/behaviors/registry/app/atoms/std-dunning.orb +450 -512
  91. package/dist/behaviors/registry/app/atoms/std-email-broadcast.orb +517 -64
  92. package/dist/behaviors/registry/app/atoms/std-event.orb +465 -667
  93. package/dist/behaviors/registry/app/atoms/std-health-score.orb +368 -371
  94. package/dist/behaviors/registry/app/atoms/std-help-article.orb +373 -506
  95. package/dist/behaviors/registry/app/atoms/std-help-category.orb +344 -359
  96. package/dist/behaviors/registry/app/atoms/std-interview-slot.orb +490 -48
  97. package/dist/behaviors/registry/app/atoms/std-invoice.orb +494 -291
  98. package/dist/behaviors/registry/app/atoms/std-kitchen-display.orb +588 -96
  99. package/dist/behaviors/registry/app/atoms/std-lease.orb +506 -190
  100. package/dist/behaviors/registry/app/atoms/std-ledger-entry.orb +483 -154
  101. package/dist/behaviors/registry/app/atoms/std-maintenance-request.orb +642 -192
  102. package/dist/behaviors/registry/app/atoms/std-matter.orb +486 -318
  103. package/dist/behaviors/registry/app/atoms/std-membership.orb +512 -102
  104. package/dist/behaviors/registry/app/atoms/std-menu.orb +775 -183
  105. package/dist/behaviors/registry/app/atoms/std-modifier-group.orb +522 -104
  106. package/dist/behaviors/registry/app/atoms/std-nps-survey.orb +319 -327
  107. package/dist/behaviors/registry/app/atoms/std-offer-letter.orb +497 -47
  108. package/dist/behaviors/registry/app/atoms/std-payout-ledger.orb +378 -362
  109. package/dist/behaviors/registry/app/atoms/std-question-bank.orb +379 -346
  110. package/dist/behaviors/registry/app/atoms/std-receipt.orb +553 -44
  111. package/dist/behaviors/registry/app/atoms/std-recurring-charge.orb +419 -832
  112. package/dist/behaviors/registry/app/atoms/std-renewal-risk.orb +370 -421
  113. package/dist/behaviors/registry/app/atoms/std-rent-charge.orb +657 -55
  114. package/dist/behaviors/registry/app/atoms/std-reorder-rule.orb +510 -59
  115. package/dist/behaviors/registry/app/atoms/std-response-collector.orb +451 -144
  116. package/dist/behaviors/registry/app/atoms/std-rfi.orb +502 -461
  117. package/dist/behaviors/registry/app/atoms/std-route-optimize.orb +448 -158
  118. package/dist/behaviors/registry/app/atoms/std-segment.orb +360 -98
  119. package/dist/behaviors/registry/app/atoms/std-stock-level.orb +486 -103
  120. package/dist/behaviors/registry/app/atoms/std-submittal.orb +538 -526
  121. package/dist/behaviors/registry/app/atoms/std-table-map.orb +88 -51
  122. package/dist/behaviors/registry/app/atoms/std-technician-dispatch.orb +653 -71
  123. package/dist/behaviors/registry/app/atoms/std-telematics-event.orb +310 -215
  124. package/dist/behaviors/registry/app/atoms/std-template-editor.orb +513 -90
  125. package/dist/behaviors/registry/app/atoms/std-tenant.orb +525 -66
  126. package/dist/behaviors/registry/app/atoms/std-ticket-tier.orb +472 -460
  127. package/dist/behaviors/registry/app/atoms/std-time-entry.orb +354 -317
  128. package/dist/behaviors/registry/app/atoms/std-timesheet.orb +551 -284
  129. package/dist/behaviors/registry/app/atoms/std-trial.orb +410 -317
  130. package/dist/behaviors/registry/app/atoms/std-vehicle.orb +398 -563
  131. package/dist/behaviors/registry/app/atoms/std-waitlist.orb +372 -283
  132. package/dist/behaviors/registry/app/atoms/std-warehouse.orb +273 -214
  133. package/dist/behaviors/registry/app/atoms/std-work-order.orb +628 -240
  134. package/dist/behaviors/registry/app/molecules/std-applicant-form.orb +89 -83
  135. package/dist/behaviors/registry/app/molecules/std-application.orb +178 -263
  136. package/dist/behaviors/registry/app/molecules/std-broadcast-builder.orb +67 -176
  137. package/dist/behaviors/registry/app/molecules/std-cart.orb +78 -72
  138. package/dist/behaviors/registry/app/molecules/std-form-builder.orb +437 -176
  139. package/dist/behaviors/registry/app/molecules/std-ledger-entry-form.orb +608 -89
  140. package/dist/behaviors/registry/app/molecules/std-stock-adjustment.orb +501 -102
  141. package/dist/behaviors/registry/app/molecules/std-vendor-onboarding.orb +383 -469
  142. package/dist/behaviors/registry/core/atoms/std-billable-hour.orb +495 -91
  143. package/dist/behaviors/registry/core/atoms/std-branching-logic.orb +271 -600
  144. package/dist/behaviors/registry/core/atoms/std-file-store.orb +534 -164
  145. package/dist/behaviors/registry/core/atoms/std-gallery.orb +118 -101
  146. package/dist/behaviors/registry/core/atoms/std-image-upload-multi.orb +87 -57
  147. package/dist/behaviors/registry/core/atoms/std-page-tree.orb +342 -484
  148. package/dist/behaviors/registry/core/atoms/std-rich-editor.orb +288 -416
  149. package/dist/behaviors/registry/core/atoms/std-version-history.orb +454 -430
  150. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +222 -147
  151. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "std-wizard-form",
3
3
  "version": "1.0.0",
4
- "description": "std-wizard-form — canonical molecule-level wizard example",
4
+ "description": "std-wizard-form — canonical molecule-level wizard example (3-step sign-up flow). Wizards own their state machine at molecule tier.",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "WizardFormOrbital",
@@ -200,8 +200,8 @@
200
200
  "WizardFormEntry",
201
201
  {
202
202
  "emit": {
203
- "failure": "WizardFormEntryLoadFailed",
204
- "success": "WizardFormEntryLoaded"
203
+ "success": "WizardFormEntryLoaded",
204
+ "failure": "WizardFormEntryLoadFailed"
205
205
  }
206
206
  }
207
207
  ],
@@ -209,53 +209,65 @@
209
209
  "render-ui",
210
210
  "main",
211
211
  {
212
- "direction": "vertical",
212
+ "className": "max-w-xl mx-auto w-full",
213
213
  "gap": "lg",
214
+ "type": "stack",
215
+ "direction": "vertical",
214
216
  "children": [
215
217
  {
216
- "type": "typography",
217
- "content": "Sign-up",
218
- "variant": "h2"
218
+ "gap": "sm",
219
+ "direction": "horizontal",
220
+ "align": "center",
221
+ "children": [
222
+ {
223
+ "type": "icon",
224
+ "name": "user-plus"
225
+ },
226
+ {
227
+ "type": "typography",
228
+ "variant": "h3",
229
+ "content": "Sign-up"
230
+ }
231
+ ],
232
+ "type": "stack"
219
233
  },
220
234
  {
235
+ "currentStep": 0.0,
221
236
  "type": "wizard-progress",
222
237
  "steps": [
223
238
  "Personal",
224
239
  "Preferences",
225
240
  "Review"
226
- ],
227
- "currentStep": 0.0
241
+ ]
228
242
  },
229
243
  {
230
244
  "type": "divider"
231
245
  },
232
246
  {
233
247
  "type": "typography",
234
- "variant": "h3",
248
+ "variant": "h4",
235
249
  "content": "Personal Info"
236
250
  },
237
251
  {
238
- "cancelEvent": "INIT",
239
252
  "mode": "create",
240
253
  "submitEvent": "NEXT",
241
254
  "type": "form-section",
255
+ "cancelEvent": "INIT",
242
256
  "fields": [
243
257
  "name",
244
258
  "email"
245
259
  ]
246
260
  },
247
261
  {
248
- "totalSteps": 3.0,
249
- "type": "wizard-navigation",
250
- "showComplete": false,
251
- "onNext": "NEXT",
252
262
  "showBack": false,
263
+ "showNext": true,
264
+ "showComplete": false,
265
+ "type": "wizard-navigation",
253
266
  "currentStep": 0.0,
254
- "showNext": true
267
+ "onNext": "NEXT",
268
+ "totalSteps": 3.0
255
269
  }
256
- ],
257
- "className": "max-w-xl mx-auto w-full",
258
- "type": "stack"
270
+ ]
259
271
  }
260
272
  ]
261
273
  ]
@@ -279,53 +291,65 @@
279
291
  "render-ui",
280
292
  "main",
281
293
  {
294
+ "type": "stack",
295
+ "className": "max-w-xl mx-auto w-full",
296
+ "direction": "vertical",
282
297
  "children": [
283
298
  {
284
- "variant": "h2",
285
- "content": "Sign-up",
286
- "type": "typography"
299
+ "children": [
300
+ {
301
+ "type": "icon",
302
+ "name": "user-plus"
303
+ },
304
+ {
305
+ "type": "typography",
306
+ "variant": "h3",
307
+ "content": "Sign-up"
308
+ }
309
+ ],
310
+ "direction": "horizontal",
311
+ "gap": "sm",
312
+ "align": "center",
313
+ "type": "stack"
287
314
  },
288
315
  {
316
+ "type": "wizard-progress",
317
+ "currentStep": 1.0,
289
318
  "steps": [
290
319
  "Personal",
291
320
  "Preferences",
292
321
  "Review"
293
- ],
294
- "type": "wizard-progress",
295
- "currentStep": 1.0
322
+ ]
296
323
  },
297
324
  {
298
325
  "type": "divider"
299
326
  },
300
327
  {
301
- "variant": "h3",
328
+ "variant": "h4",
302
329
  "content": "Preferences",
303
330
  "type": "typography"
304
331
  },
305
332
  {
306
- "submitEvent": "NEXT",
307
- "type": "form-section",
308
- "entity": "@entity",
309
- "cancelEvent": "PREV",
333
+ "mode": "edit",
310
334
  "fields": [
311
335
  "theme"
312
336
  ],
313
- "mode": "edit"
337
+ "entity": "@entity",
338
+ "cancelEvent": "PREV",
339
+ "type": "form-section",
340
+ "submitEvent": "NEXT"
314
341
  },
315
342
  {
316
- "totalSteps": 3.0,
317
343
  "showBack": true,
318
- "type": "wizard-navigation",
319
344
  "onNext": "NEXT",
320
- "onBack": "PREV",
321
345
  "currentStep": 1.0,
346
+ "onBack": "PREV",
347
+ "showComplete": false,
322
348
  "showNext": true,
323
- "showComplete": false
349
+ "type": "wizard-navigation",
350
+ "totalSteps": 3.0
324
351
  }
325
352
  ],
326
- "className": "max-w-xl mx-auto w-full",
327
- "type": "stack",
328
- "direction": "vertical",
329
353
  "gap": "lg"
330
354
  }
331
355
  ]
@@ -345,60 +369,77 @@
345
369
  "render-ui",
346
370
  "main",
347
371
  {
348
- "type": "stack",
349
- "direction": "vertical",
350
372
  "className": "max-w-xl mx-auto w-full",
373
+ "direction": "vertical",
374
+ "gap": "lg",
351
375
  "children": [
352
376
  {
353
- "content": "Sign-up",
354
- "variant": "h2",
355
- "type": "typography"
377
+ "type": "stack",
378
+ "align": "center",
379
+ "direction": "horizontal",
380
+ "children": [
381
+ {
382
+ "name": "user-plus",
383
+ "type": "icon"
384
+ },
385
+ {
386
+ "type": "typography",
387
+ "variant": "h3",
388
+ "content": "Sign-up"
389
+ }
390
+ ],
391
+ "gap": "sm"
356
392
  },
357
393
  {
358
- "type": "wizard-progress",
359
394
  "steps": [
360
395
  "Personal",
361
396
  "Preferences",
362
397
  "Review"
363
398
  ],
399
+ "type": "wizard-progress",
364
400
  "currentStep": 2.0
365
401
  },
366
402
  {
367
403
  "type": "divider"
368
404
  },
369
405
  {
370
- "content": "Review",
371
406
  "type": "typography",
372
- "variant": "h3"
407
+ "content": "Review",
408
+ "variant": "h4"
373
409
  },
374
410
  {
375
411
  "direction": "vertical",
376
- "gap": "sm",
412
+ "type": "stack",
377
413
  "children": [
378
414
  {
415
+ "direction": "horizontal",
416
+ "gap": "md",
379
417
  "children": [
380
418
  {
419
+ "type": "typography",
381
420
  "variant": "caption",
382
421
  "content": "Name",
383
- "type": "typography"
422
+ "color": "muted"
384
423
  },
385
424
  {
386
425
  "variant": "body",
387
- "content": "@entity.name",
388
- "type": "typography"
426
+ "type": "typography",
427
+ "content": "@entity.name"
389
428
  }
390
429
  ],
391
430
  "justify": "between",
392
- "type": "stack",
393
- "gap": "md",
394
- "direction": "horizontal"
431
+ "type": "stack"
395
432
  },
396
433
  {
434
+ "gap": "md",
435
+ "justify": "between",
397
436
  "direction": "horizontal",
437
+ "type": "stack",
398
438
  "children": [
399
439
  {
400
440
  "type": "typography",
401
441
  "content": "Email",
442
+ "color": "muted",
402
443
  "variant": "caption"
403
444
  },
404
445
  {
@@ -406,44 +447,42 @@
406
447
  "content": "@entity.email",
407
448
  "variant": "body"
408
449
  }
409
- ],
410
- "justify": "between",
411
- "type": "stack",
412
- "gap": "md"
450
+ ]
413
451
  },
414
452
  {
415
- "type": "stack",
416
453
  "direction": "horizontal",
417
454
  "justify": "between",
418
455
  "children": [
419
456
  {
420
457
  "variant": "caption",
421
- "type": "typography",
422
- "content": "Theme"
458
+ "color": "muted",
459
+ "content": "Theme",
460
+ "type": "typography"
423
461
  },
424
462
  {
425
- "variant": "body",
426
463
  "type": "typography",
464
+ "variant": "body",
427
465
  "content": "@entity.theme"
428
466
  }
429
467
  ],
468
+ "type": "stack",
430
469
  "gap": "md"
431
470
  }
432
471
  ],
433
- "type": "stack"
472
+ "gap": "sm"
434
473
  },
435
474
  {
475
+ "type": "wizard-navigation",
476
+ "showComplete": true,
477
+ "showNext": false,
436
478
  "totalSteps": 3.0,
437
479
  "showBack": true,
438
- "showComplete": true,
439
480
  "onComplete": "COMPLETE",
440
- "showNext": false,
441
481
  "onBack": "PREV",
442
- "type": "wizard-navigation",
443
482
  "currentStep": 2.0
444
483
  }
445
484
  ],
446
- "gap": "lg"
485
+ "type": "stack"
447
486
  }
448
487
  ]
449
488
  ]
@@ -458,51 +497,63 @@
458
497
  "main",
459
498
  {
460
499
  "className": "max-w-xl mx-auto w-full",
500
+ "direction": "vertical",
461
501
  "gap": "lg",
462
502
  "type": "stack",
463
- "direction": "vertical",
464
503
  "children": [
465
504
  {
466
- "variant": "h2",
467
- "type": "typography",
468
- "content": "Sign-up"
505
+ "align": "center",
506
+ "children": [
507
+ {
508
+ "type": "icon",
509
+ "name": "user-plus"
510
+ },
511
+ {
512
+ "variant": "h3",
513
+ "content": "Sign-up",
514
+ "type": "typography"
515
+ }
516
+ ],
517
+ "type": "stack",
518
+ "direction": "horizontal",
519
+ "gap": "sm"
469
520
  },
470
521
  {
471
522
  "type": "wizard-progress",
523
+ "currentStep": 0.0,
472
524
  "steps": [
473
525
  "Personal",
474
526
  "Preferences",
475
527
  "Review"
476
- ],
477
- "currentStep": 0.0
528
+ ]
478
529
  },
479
530
  {
480
531
  "type": "divider"
481
532
  },
482
533
  {
483
534
  "type": "typography",
484
- "variant": "h3",
535
+ "variant": "h4",
485
536
  "content": "Personal Info"
486
537
  },
487
538
  {
488
- "mode": "edit",
489
- "cancelEvent": "INIT",
490
539
  "fields": [
491
540
  "name",
492
541
  "email"
493
542
  ],
543
+ "cancelEvent": "INIT",
544
+ "mode": "edit",
545
+ "type": "form-section",
494
546
  "entity": "@entity",
495
- "submitEvent": "NEXT",
496
- "type": "form-section"
547
+ "submitEvent": "NEXT"
497
548
  },
498
549
  {
499
- "type": "wizard-navigation",
550
+ "onNext": "NEXT",
551
+ "currentStep": 0.0,
500
552
  "showComplete": false,
501
- "showNext": true,
502
553
  "totalSteps": 3.0,
503
- "currentStep": 0.0,
554
+ "type": "wizard-navigation",
504
555
  "showBack": false,
505
- "onNext": "NEXT"
556
+ "showNext": true
506
557
  }
507
558
  ]
508
559
  }
@@ -521,8 +572,8 @@
521
572
  "@payload.data",
522
573
  {
523
574
  "emit": {
524
- "failure": "WizardFormSaveFailed",
525
- "success": "WizardFormSaved"
575
+ "success": "WizardFormSaved",
576
+ "failure": "WizardFormSaveFailed"
526
577
  }
527
578
  }
528
579
  ],
@@ -530,22 +581,22 @@
530
581
  "render-ui",
531
582
  "main",
532
583
  {
533
- "align": "center",
534
- "direction": "vertical",
535
584
  "type": "stack",
536
- "className": "max-w-xl mx-auto w-full py-12",
585
+ "direction": "vertical",
537
586
  "children": [
538
587
  {
539
588
  "type": "spinner"
540
589
  },
541
590
  {
542
- "type": "typography",
543
- "variant": "caption",
544
591
  "color": "muted",
545
- "content": "Completing sign-up…"
592
+ "variant": "caption",
593
+ "content": "Completing sign-up…",
594
+ "type": "typography"
546
595
  }
547
596
  ],
548
- "gap": "lg"
597
+ "gap": "lg",
598
+ "className": "max-w-xl mx-auto w-full py-12",
599
+ "align": "center"
549
600
  }
550
601
  ]
551
602
  ]
@@ -559,11 +610,26 @@
559
610
  "render-ui",
560
611
  "main",
561
612
  {
613
+ "direction": "vertical",
614
+ "type": "stack",
615
+ "className": "max-w-xl mx-auto w-full",
562
616
  "children": [
563
617
  {
564
- "type": "typography",
565
- "variant": "h2",
566
- "content": "Sign-up"
618
+ "children": [
619
+ {
620
+ "name": "user-plus",
621
+ "type": "icon"
622
+ },
623
+ {
624
+ "type": "typography",
625
+ "content": "Sign-up",
626
+ "variant": "h3"
627
+ }
628
+ ],
629
+ "direction": "horizontal",
630
+ "gap": "sm",
631
+ "align": "center",
632
+ "type": "stack"
567
633
  },
568
634
  {
569
635
  "steps": [
@@ -571,42 +637,39 @@
571
637
  "Preferences",
572
638
  "Review"
573
639
  ],
574
- "type": "wizard-progress",
575
- "currentStep": 1.0
640
+ "currentStep": 1.0,
641
+ "type": "wizard-progress"
576
642
  },
577
643
  {
578
644
  "type": "divider"
579
645
  },
580
646
  {
647
+ "variant": "h4",
581
648
  "content": "Preferences",
582
- "variant": "h3",
583
649
  "type": "typography"
584
650
  },
585
651
  {
586
- "entity": "@entity",
587
652
  "fields": [
588
653
  "theme"
589
654
  ],
590
- "mode": "edit",
591
655
  "type": "form-section",
592
- "cancelEvent": "PREV",
593
- "submitEvent": "NEXT"
656
+ "mode": "edit",
657
+ "submitEvent": "NEXT",
658
+ "entity": "@entity",
659
+ "cancelEvent": "PREV"
594
660
  },
595
661
  {
596
- "type": "wizard-navigation",
662
+ "totalSteps": 3.0,
597
663
  "currentStep": 1.0,
664
+ "onBack": "PREV",
598
665
  "onNext": "NEXT",
599
- "showNext": true,
600
666
  "showComplete": false,
601
- "totalSteps": 3.0,
602
- "onBack": "PREV",
667
+ "type": "wizard-navigation",
668
+ "showNext": true,
603
669
  "showBack": true
604
670
  }
605
671
  ],
606
- "className": "max-w-xl mx-auto w-full",
607
- "type": "stack",
608
- "gap": "lg",
609
- "direction": "vertical"
672
+ "gap": "lg"
610
673
  }
611
674
  ]
612
675
  ]
@@ -621,8 +684,7 @@
621
684
  "main",
622
685
  {
623
686
  "direction": "vertical",
624
- "gap": "lg",
625
- "align": "center",
687
+ "type": "stack",
626
688
  "children": [
627
689
  {
628
690
  "name": "check-circle",
@@ -630,8 +692,8 @@
630
692
  },
631
693
  {
632
694
  "content": "Welcome!",
633
- "variant": "h2",
634
- "type": "typography"
695
+ "type": "typography",
696
+ "variant": "h3"
635
697
  },
636
698
  {
637
699
  "type": "typography",
@@ -640,15 +702,16 @@
640
702
  "color": "muted"
641
703
  },
642
704
  {
705
+ "icon": "rotate-ccw",
643
706
  "label": "Start Over",
707
+ "action": "RESTART",
644
708
  "type": "button",
645
- "variant": "ghost",
646
- "icon": "rotate-ccw",
647
- "action": "RESTART"
709
+ "variant": "ghost"
648
710
  }
649
711
  ],
650
- "type": "stack",
651
- "className": "max-w-xl mx-auto w-full py-12"
712
+ "gap": "lg",
713
+ "className": "max-w-xl mx-auto w-full py-12",
714
+ "align": "center"
652
715
  }
653
716
  ]
654
717
  ]
@@ -662,35 +725,35 @@
662
725
  "render-ui",
663
726
  "main",
664
727
  {
665
- "className": "max-w-xl mx-auto w-full py-12",
728
+ "gap": "lg",
729
+ "align": "center",
666
730
  "children": [
667
731
  {
732
+ "type": "icon",
668
733
  "name": "alert-triangle",
669
- "color": "destructive",
670
- "type": "icon"
734
+ "color": "destructive"
671
735
  },
672
736
  {
673
- "variant": "h2",
674
- "content": "Sign-up Failed",
675
- "type": "typography"
737
+ "variant": "h3",
738
+ "type": "typography",
739
+ "content": "Sign-up Failed"
676
740
  },
677
741
  {
678
- "message": "@payload.error",
679
742
  "type": "alert",
680
- "variant": "error"
743
+ "variant": "error",
744
+ "message": "@payload.error"
681
745
  },
682
746
  {
683
- "icon": "refresh-cw",
684
747
  "action": "COMPLETE",
685
- "label": "Retry",
748
+ "variant": "primary",
749
+ "icon": "refresh-cw",
686
750
  "type": "button",
687
- "variant": "primary"
751
+ "label": "Retry"
688
752
  }
689
753
  ],
690
- "direction": "vertical",
691
754
  "type": "stack",
692
- "align": "center",
693
- "gap": "lg"
755
+ "direction": "vertical",
756
+ "className": "max-w-xl mx-auto w-full py-12"
694
757
  }
695
758
  ]
696
759
  ]
@@ -704,53 +767,65 @@
704
767
  "render-ui",
705
768
  "main",
706
769
  {
770
+ "gap": "lg",
707
771
  "children": [
708
772
  {
709
- "variant": "h2",
710
- "type": "typography",
711
- "content": "Sign-up"
773
+ "align": "center",
774
+ "gap": "sm",
775
+ "type": "stack",
776
+ "children": [
777
+ {
778
+ "name": "user-plus",
779
+ "type": "icon"
780
+ },
781
+ {
782
+ "content": "Sign-up",
783
+ "type": "typography",
784
+ "variant": "h3"
785
+ }
786
+ ],
787
+ "direction": "horizontal"
712
788
  },
713
789
  {
714
- "currentStep": 0.0,
715
- "type": "wizard-progress",
716
790
  "steps": [
717
791
  "Personal",
718
792
  "Preferences",
719
793
  "Review"
720
- ]
794
+ ],
795
+ "type": "wizard-progress",
796
+ "currentStep": 0.0
721
797
  },
722
798
  {
723
799
  "type": "divider"
724
800
  },
725
801
  {
726
- "variant": "h3",
802
+ "variant": "h4",
727
803
  "content": "Personal Info",
728
804
  "type": "typography"
729
805
  },
730
806
  {
807
+ "type": "form-section",
731
808
  "submitEvent": "NEXT",
732
809
  "cancelEvent": "INIT",
733
810
  "fields": [
734
811
  "name",
735
812
  "email"
736
813
  ],
737
- "mode": "create",
738
- "type": "form-section"
814
+ "mode": "create"
739
815
  },
740
816
  {
741
- "showComplete": false,
742
- "showNext": true,
743
817
  "type": "wizard-navigation",
818
+ "showBack": false,
744
819
  "currentStep": 0.0,
745
- "onNext": "NEXT",
746
820
  "totalSteps": 3.0,
747
- "showBack": false
821
+ "showNext": true,
822
+ "showComplete": false,
823
+ "onNext": "NEXT"
748
824
  }
749
825
  ],
750
826
  "type": "stack",
751
- "gap": "lg",
752
- "direction": "vertical",
753
- "className": "max-w-xl mx-auto w-full"
827
+ "className": "max-w-xl mx-auto w-full",
828
+ "direction": "vertical"
754
829
  }
755
830
  ]
756
831
  ]