@almadar/std 14.16.0 → 14.17.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 (121) hide show
  1. package/behaviors/registry/app/atoms/std-branching-logic.orb +84 -84
  2. package/behaviors/registry/app/atoms/std-checkin.orb +60 -60
  3. package/behaviors/registry/app/atoms/std-dunning.orb +44 -44
  4. package/behaviors/registry/app/atoms/std-event.orb +62 -62
  5. package/behaviors/registry/app/atoms/std-flag.orb +72 -72
  6. package/behaviors/registry/app/atoms/std-geosearch.orb +29 -29
  7. package/behaviors/registry/app/atoms/std-image-upload-multi.orb +54 -56
  8. package/behaviors/registry/app/atoms/std-invoice.orb +124 -124
  9. package/behaviors/registry/app/atoms/std-kitchen-display.orb +58 -58
  10. package/behaviors/registry/app/atoms/std-menu.orb +44 -44
  11. package/behaviors/registry/app/atoms/std-mod-queue.orb +38 -38
  12. package/behaviors/registry/app/atoms/std-modifier-group.orb +56 -56
  13. package/behaviors/registry/app/atoms/std-page-tree.orb +55 -55
  14. package/behaviors/registry/app/atoms/std-payout-ledger.orb +66 -66
  15. package/behaviors/registry/app/atoms/std-question-bank.orb +62 -62
  16. package/behaviors/registry/app/atoms/std-rating-review.orb +67 -67
  17. package/behaviors/registry/app/atoms/std-recurring-charge.orb +74 -74
  18. package/behaviors/registry/app/atoms/std-response-collector.orb +44 -44
  19. package/behaviors/registry/app/atoms/std-rich-editor.orb +68 -68
  20. package/behaviors/registry/app/atoms/std-route-optimize.orb +49 -49
  21. package/behaviors/registry/app/atoms/std-saved-search.orb +72 -72
  22. package/behaviors/registry/app/atoms/std-signature-capture.orb +86 -86
  23. package/behaviors/registry/app/atoms/std-table-map.orb +46 -46
  24. package/behaviors/registry/app/atoms/std-tag-taxonomy.orb +73 -92
  25. package/behaviors/registry/app/atoms/std-technician-dispatch.orb +42 -42
  26. package/behaviors/registry/app/atoms/std-thread.orb +59 -59
  27. package/behaviors/registry/app/atoms/std-ticket-tier.orb +53 -53
  28. package/behaviors/registry/app/atoms/std-trial.orb +67 -67
  29. package/behaviors/registry/app/atoms/std-version-history.orb +93 -93
  30. package/behaviors/registry/app/atoms/std-vote.orb +40 -40
  31. package/behaviors/registry/app/atoms/std-waitlist.orb +50 -50
  32. package/behaviors/registry/app/atoms/std-work-order.orb +48 -48
  33. package/behaviors/registry/app/organisms/std-api-gateway.orb +201 -201
  34. package/behaviors/registry/app/organisms/std-booking-system.orb +676 -676
  35. package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +285 -285
  36. package/behaviors/registry/app/organisms/std-cms.orb +265 -265
  37. package/behaviors/registry/app/organisms/std-coding-academy.orb +179 -179
  38. package/behaviors/registry/app/organisms/std-crm.orb +258 -258
  39. package/behaviors/registry/app/organisms/std-devops-dashboard.orb +403 -403
  40. package/behaviors/registry/app/organisms/std-ecommerce.orb +681 -681
  41. package/behaviors/registry/app/organisms/std-event-ticketing.orb +217 -217
  42. package/behaviors/registry/app/organisms/std-field-service.orb +190 -190
  43. package/behaviors/registry/app/organisms/std-finance-tracker.orb +205 -205
  44. package/behaviors/registry/app/organisms/std-forum.orb +141 -141
  45. package/behaviors/registry/app/organisms/std-healthcare.orb +540 -540
  46. package/behaviors/registry/app/organisms/std-helpdesk.orb +175 -175
  47. package/behaviors/registry/app/organisms/std-hr-portal.orb +444 -444
  48. package/behaviors/registry/app/organisms/std-iot-dashboard.orb +344 -344
  49. package/behaviors/registry/app/organisms/std-listings.orb +157 -157
  50. package/behaviors/registry/app/organisms/std-lms.orb +422 -422
  51. package/behaviors/registry/app/organisms/std-marketplace.orb +232 -234
  52. package/behaviors/registry/app/organisms/std-project-manager.orb +193 -193
  53. package/behaviors/registry/app/organisms/std-realtime-chat.orb +248 -248
  54. package/behaviors/registry/app/organisms/std-restaurant-pos.orb +134 -134
  55. package/behaviors/registry/app/organisms/std-social-feed.orb +156 -156
  56. package/behaviors/registry/app/organisms/std-subscription-billing.orb +183 -183
  57. package/behaviors/registry/app/organisms/std-survey.orb +122 -122
  58. package/behaviors/registry/app/organisms/std-trading-dashboard.orb +274 -274
  59. package/behaviors/registry/app/organisms/std-wiki.orb +144 -144
  60. package/dist/behaviors/behaviors-registry.json +1 -1
  61. package/dist/behaviors/registry/app/atoms/std-branching-logic.orb +84 -84
  62. package/dist/behaviors/registry/app/atoms/std-checkin.orb +60 -60
  63. package/dist/behaviors/registry/app/atoms/std-dunning.orb +44 -44
  64. package/dist/behaviors/registry/app/atoms/std-event.orb +62 -62
  65. package/dist/behaviors/registry/app/atoms/std-flag.orb +72 -72
  66. package/dist/behaviors/registry/app/atoms/std-geosearch.orb +29 -29
  67. package/dist/behaviors/registry/app/atoms/std-image-upload-multi.orb +54 -56
  68. package/dist/behaviors/registry/app/atoms/std-invoice.orb +124 -124
  69. package/dist/behaviors/registry/app/atoms/std-kitchen-display.orb +58 -58
  70. package/dist/behaviors/registry/app/atoms/std-menu.orb +44 -44
  71. package/dist/behaviors/registry/app/atoms/std-mod-queue.orb +38 -38
  72. package/dist/behaviors/registry/app/atoms/std-modifier-group.orb +56 -56
  73. package/dist/behaviors/registry/app/atoms/std-page-tree.orb +55 -55
  74. package/dist/behaviors/registry/app/atoms/std-payout-ledger.orb +66 -66
  75. package/dist/behaviors/registry/app/atoms/std-question-bank.orb +62 -62
  76. package/dist/behaviors/registry/app/atoms/std-rating-review.orb +67 -67
  77. package/dist/behaviors/registry/app/atoms/std-recurring-charge.orb +74 -74
  78. package/dist/behaviors/registry/app/atoms/std-response-collector.orb +44 -44
  79. package/dist/behaviors/registry/app/atoms/std-rich-editor.orb +68 -68
  80. package/dist/behaviors/registry/app/atoms/std-route-optimize.orb +49 -49
  81. package/dist/behaviors/registry/app/atoms/std-saved-search.orb +72 -72
  82. package/dist/behaviors/registry/app/atoms/std-signature-capture.orb +86 -86
  83. package/dist/behaviors/registry/app/atoms/std-table-map.orb +46 -46
  84. package/dist/behaviors/registry/app/atoms/std-tag-taxonomy.orb +73 -92
  85. package/dist/behaviors/registry/app/atoms/std-technician-dispatch.orb +42 -42
  86. package/dist/behaviors/registry/app/atoms/std-thread.orb +59 -59
  87. package/dist/behaviors/registry/app/atoms/std-ticket-tier.orb +53 -53
  88. package/dist/behaviors/registry/app/atoms/std-trial.orb +67 -67
  89. package/dist/behaviors/registry/app/atoms/std-version-history.orb +93 -93
  90. package/dist/behaviors/registry/app/atoms/std-vote.orb +40 -40
  91. package/dist/behaviors/registry/app/atoms/std-waitlist.orb +50 -50
  92. package/dist/behaviors/registry/app/atoms/std-work-order.orb +48 -48
  93. package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +201 -201
  94. package/dist/behaviors/registry/app/organisms/std-booking-system.orb +676 -676
  95. package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +285 -285
  96. package/dist/behaviors/registry/app/organisms/std-cms.orb +265 -265
  97. package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +179 -179
  98. package/dist/behaviors/registry/app/organisms/std-crm.orb +258 -258
  99. package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +403 -403
  100. package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +681 -681
  101. package/dist/behaviors/registry/app/organisms/std-event-ticketing.orb +217 -217
  102. package/dist/behaviors/registry/app/organisms/std-field-service.orb +190 -190
  103. package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +205 -205
  104. package/dist/behaviors/registry/app/organisms/std-forum.orb +141 -141
  105. package/dist/behaviors/registry/app/organisms/std-healthcare.orb +540 -540
  106. package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +175 -175
  107. package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +444 -444
  108. package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +344 -344
  109. package/dist/behaviors/registry/app/organisms/std-listings.orb +157 -157
  110. package/dist/behaviors/registry/app/organisms/std-lms.orb +422 -422
  111. package/dist/behaviors/registry/app/organisms/std-marketplace.orb +232 -234
  112. package/dist/behaviors/registry/app/organisms/std-project-manager.orb +193 -193
  113. package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +248 -248
  114. package/dist/behaviors/registry/app/organisms/std-restaurant-pos.orb +134 -134
  115. package/dist/behaviors/registry/app/organisms/std-social-feed.orb +156 -156
  116. package/dist/behaviors/registry/app/organisms/std-subscription-billing.orb +183 -183
  117. package/dist/behaviors/registry/app/organisms/std-survey.orb +122 -122
  118. package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +274 -274
  119. package/dist/behaviors/registry/app/organisms/std-wiki.orb +144 -144
  120. package/dist/behaviors-registry.json +1 -1
  121. package/package.json +1 -1
@@ -87,22 +87,22 @@
87
87
  "ref": "AppShell.traits.AppLayout",
88
88
  "name": "PostAppLayout",
89
89
  "config": {
90
+ "contentTrait": "@trait.FeedCatalog",
91
+ "notifications": [],
92
+ "appName": "SocialFeed",
90
93
  "navItems": [
91
94
  {
92
- "label": "Feed",
93
95
  "href": "/feed",
96
+ "label": "Feed",
94
97
  "icon": "rss"
95
98
  },
96
99
  {
97
- "label": "Comments",
100
+ "icon": "message-circle",
98
101
  "href": "/comments",
99
- "icon": "message-circle"
102
+ "label": "Comments"
100
103
  }
101
104
  ],
102
- "contentTrait": "@trait.FeedCatalog",
103
- "appName": "SocialFeed",
104
105
  "searchEvent": "POST_SEARCH",
105
- "notifications": [],
106
106
  "notificationClickEvent": "POST_NOTIFICATIONS_OPEN"
107
107
  },
108
108
  "events": {
@@ -190,58 +190,60 @@
190
190
  "render-ui",
191
191
  "main",
192
192
  {
193
+ "direction": "vertical",
194
+ "gap": "lg",
193
195
  "children": [
194
196
  {
195
- "type": "stack",
196
- "align": "center",
197
- "direction": "horizontal",
198
197
  "justify": "between",
199
- "gap": "md",
200
198
  "children": [
201
199
  {
200
+ "align": "center",
201
+ "type": "stack",
202
+ "direction": "horizontal",
203
+ "gap": "sm",
202
204
  "children": [
203
205
  {
204
- "name": "rss",
205
- "type": "icon"
206
+ "type": "icon",
207
+ "name": "rss"
206
208
  },
207
209
  {
208
- "content": "Feed",
210
+ "type": "typography",
209
211
  "variant": "h2",
210
- "type": "typography"
212
+ "content": "Feed"
211
213
  }
212
- ],
213
- "direction": "horizontal",
214
- "type": "stack",
215
- "gap": "sm",
216
- "align": "center"
214
+ ]
217
215
  },
218
216
  {
219
- "gap": "sm",
220
217
  "children": [
221
218
  {
222
219
  "action": "CREATE",
220
+ "label": "New Post",
223
221
  "type": "button",
224
222
  "variant": "primary",
225
- "label": "New Post",
226
223
  "icon": "plus"
227
224
  }
228
225
  ],
229
226
  "type": "stack",
227
+ "gap": "sm",
230
228
  "direction": "horizontal"
231
229
  }
232
- ]
230
+ ],
231
+ "align": "center",
232
+ "type": "stack",
233
+ "gap": "md",
234
+ "direction": "horizontal"
233
235
  },
234
236
  {
235
237
  "type": "divider"
236
238
  },
237
239
  {
240
+ "align": "center",
238
241
  "gap": "md",
239
- "type": "stack",
240
242
  "children": [
241
243
  "@trait.PostSearch"
242
244
  ],
243
245
  "direction": "horizontal",
244
- "align": "center"
246
+ "type": "stack"
245
247
  },
246
248
  "@trait.PostStats",
247
249
  {
@@ -249,9 +251,7 @@
249
251
  },
250
252
  "@trait.PostBrowseList"
251
253
  ],
252
- "type": "stack",
253
- "direction": "vertical",
254
- "gap": "lg"
254
+ "type": "stack"
255
255
  }
256
256
  ]
257
257
  ]
@@ -270,34 +270,34 @@
270
270
  "render-ui",
271
271
  "main",
272
272
  {
273
- "align": "center",
274
- "direction": "vertical",
275
273
  "gap": "md",
276
274
  "className": "py-8",
275
+ "direction": "vertical",
276
+ "align": "center",
277
+ "type": "stack",
277
278
  "children": [
278
279
  {
279
280
  "type": "icon",
280
281
  "name": "bell"
281
282
  },
282
283
  {
284
+ "type": "typography",
283
285
  "variant": "h3",
284
- "content": "No notifications",
285
- "type": "typography"
286
+ "content": "No notifications"
286
287
  },
287
288
  {
288
- "color": "muted",
289
289
  "type": "typography",
290
- "variant": "caption",
291
- "content": "You're all caught up."
290
+ "color": "muted",
291
+ "content": "You're all caught up.",
292
+ "variant": "caption"
292
293
  },
293
294
  {
295
+ "type": "button",
294
296
  "action": "INIT",
295
297
  "label": "Back to feed",
296
- "type": "button",
297
298
  "variant": "ghost"
298
299
  }
299
- ],
300
- "type": "stack"
300
+ ]
301
301
  }
302
302
  ]
303
303
  ]
@@ -310,8 +310,8 @@
310
310
  "ref": "Search.traits.SearchResultSearch",
311
311
  "name": "PostSearch",
312
312
  "config": {
313
- "event": "POST_SEARCH",
314
- "placeholder": "Search posts…"
313
+ "placeholder": "Search posts…",
314
+ "event": "POST_SEARCH"
315
315
  }
316
316
  },
317
317
  {
@@ -321,15 +321,18 @@
321
321
  "title": "Feed",
322
322
  "metrics": [
323
323
  {
324
- "aggregation": "count",
325
324
  "label": "Total Posts",
326
- "icon": "rss",
325
+ "aggregation": "count",
327
326
  "format": "number",
327
+ "icon": "rss",
328
328
  "variant": "primary"
329
329
  },
330
330
  {
331
- "format": "number",
332
331
  "aggregation": "count",
332
+ "label": "Today",
333
+ "variant": "info",
334
+ "format": "number",
335
+ "icon": "calendar",
333
336
  "filter": [
334
337
  "fn",
335
338
  "row",
@@ -338,26 +341,23 @@
338
341
  "@row.timestamp",
339
342
  "today"
340
343
  ]
341
- ],
342
- "label": "Today",
343
- "icon": "calendar",
344
- "variant": "info"
344
+ ]
345
345
  },
346
346
  {
347
+ "format": "text",
348
+ "field": "author",
347
349
  "aggregation": "mode",
350
+ "variant": "default",
348
351
  "label": "Top Author",
349
- "icon": "user",
350
- "field": "author",
351
- "format": "text",
352
- "variant": "default"
352
+ "icon": "user"
353
353
  },
354
354
  {
355
- "field": "tag",
356
355
  "aggregation": "mode",
356
+ "format": "text",
357
+ "label": "Top Tag",
357
358
  "icon": "hash",
358
359
  "variant": "warning",
359
- "label": "Top Tag",
360
- "format": "text"
360
+ "field": "tag"
361
361
  }
362
362
  ]
363
363
  },
@@ -377,11 +377,12 @@
377
377
  "name": "PostBrowseList",
378
378
  "linkedEntity": "Post",
379
379
  "config": {
380
+ "gap": "md",
380
381
  "fields": [
381
382
  {
383
+ "name": "author",
382
384
  "variant": "h4",
383
- "icon": "user",
384
- "name": "author"
385
+ "icon": "user"
385
386
  },
386
387
  {
387
388
  "variant": "body",
@@ -389,35 +390,34 @@
389
390
  },
390
391
  {
391
392
  "format": "date",
392
- "name": "timestamp",
393
- "variant": "caption"
393
+ "variant": "caption",
394
+ "name": "timestamp"
394
395
  },
395
396
  {
396
- "variant": "badge",
397
397
  "format": "number",
398
- "name": "likes"
398
+ "name": "likes",
399
+ "variant": "badge"
399
400
  }
400
401
  ],
401
402
  "imageField": "image",
402
- "cols": 1.0,
403
- "gap": "md",
404
403
  "itemActions": [
405
404
  {
405
+ "variant": "ghost",
406
406
  "label": "View",
407
- "event": "VIEW",
408
- "variant": "ghost"
407
+ "event": "VIEW"
409
408
  },
410
409
  {
411
- "event": "EDIT",
410
+ "variant": "ghost",
412
411
  "label": "Edit",
413
- "variant": "ghost"
412
+ "event": "EDIT"
414
413
  },
415
414
  {
416
415
  "event": "DELETE",
417
- "variant": "danger",
418
- "label": "Delete"
416
+ "label": "Delete",
417
+ "variant": "danger"
419
418
  }
420
419
  ],
420
+ "cols": 1.0,
421
421
  "variant": "card"
422
422
  },
423
423
  "listens": [
@@ -460,14 +460,14 @@
460
460
  "name": "PostCreate",
461
461
  "linkedEntity": "Post",
462
462
  "config": {
463
- "mode": "create",
464
- "title": "New Post",
465
463
  "fields": [
466
464
  "author",
467
465
  "content",
468
466
  "image",
469
467
  "tag"
470
468
  ],
469
+ "title": "New Post",
470
+ "mode": "create",
471
471
  "icon": "plus-circle"
472
472
  },
473
473
  "events": {
@@ -489,15 +489,15 @@
489
489
  "name": "PostEdit",
490
490
  "linkedEntity": "Post",
491
491
  "config": {
492
+ "title": "Edit Post",
493
+ "mode": "edit",
492
494
  "fields": [
493
495
  "author",
494
496
  "content",
495
497
  "image",
496
498
  "tag"
497
499
  ],
498
- "icon": "edit",
499
- "title": "Edit Post",
500
- "mode": "edit"
500
+ "icon": "edit"
501
501
  },
502
502
  "events": {
503
503
  "OPEN": "EDIT"
@@ -518,7 +518,6 @@
518
518
  "name": "PostView",
519
519
  "linkedEntity": "Post",
520
520
  "config": {
521
- "mode": "edit",
522
521
  "icon": "eye",
523
522
  "fields": [
524
523
  "author",
@@ -527,7 +526,8 @@
527
526
  "tag",
528
527
  "likes"
529
528
  ],
530
- "title": "View Post"
529
+ "title": "View Post",
530
+ "mode": "edit"
531
531
  },
532
532
  "events": {
533
533
  "OPEN": "VIEW"
@@ -548,10 +548,10 @@
548
548
  "name": "PostDeleteConfirm",
549
549
  "linkedEntity": "Post",
550
550
  "config": {
551
- "title": "Delete Post",
551
+ "alertMessage": "This action cannot be undone.",
552
552
  "icon": "alert-triangle",
553
- "confirmLabel": "Delete",
554
- "alertMessage": "This action cannot be undone."
553
+ "title": "Delete Post",
554
+ "confirmLabel": "Delete"
555
555
  },
556
556
  "events": {
557
557
  "REQUEST": "DELETE",
@@ -572,16 +572,16 @@
572
572
  "ref": "Storage.traits.ServiceStorageStorage",
573
573
  "name": "PostImageUpload",
574
574
  "config": {
575
- "uiTrait": "@trait.PostImageUploadForm",
576
575
  "acl": "public",
577
- "maxSize": 10485760.0,
578
- "bucket": "social-feed-images",
579
576
  "allowedMimeTypes": [
580
577
  "image/png",
581
578
  "image/jpeg",
582
579
  "image/gif",
583
580
  "image/webp"
584
- ]
581
+ ],
582
+ "maxSize": 10485760.0,
583
+ "uiTrait": "@trait.PostImageUploadForm",
584
+ "bucket": "social-feed-images"
585
585
  }
586
586
  },
587
587
  {
@@ -630,27 +630,27 @@
630
630
  "render-ui",
631
631
  "main",
632
632
  {
633
+ "type": "stack",
634
+ "direction": "vertical",
633
635
  "children": [
634
636
  {
635
- "type": "typography",
637
+ "content": "Attach an image",
636
638
  "variant": "caption",
637
- "content": "Attach an image"
639
+ "type": "typography"
638
640
  },
639
641
  {
640
- "inputType": "text",
642
+ "placeholder": "Choose image…",
641
643
  "type": "input",
642
- "placeholder": "Choose image…"
644
+ "inputType": "text"
643
645
  },
644
646
  {
645
- "icon": "upload",
646
- "type": "button",
647
- "action": "UPLOAD",
648
647
  "label": "Upload",
649
- "variant": "ghost"
648
+ "action": "UPLOAD",
649
+ "variant": "ghost",
650
+ "icon": "upload",
651
+ "type": "button"
650
652
  }
651
653
  ],
652
- "type": "stack",
653
- "direction": "vertical",
654
654
  "gap": "md"
655
655
  }
656
656
  ]
@@ -921,22 +921,22 @@
921
921
  {
922
922
  "children": [
923
923
  {
924
- "icon": "heart",
925
- "type": "button",
926
924
  "action": "LIKE",
925
+ "type": "button",
926
+ "label": "Like",
927
927
  "variant": "ghost",
928
- "label": "Like"
928
+ "icon": "heart"
929
929
  },
930
930
  {
931
- "variant": "caption",
932
931
  "content": "@entity.likes",
932
+ "variant": "caption",
933
933
  "type": "typography"
934
934
  }
935
935
  ],
936
+ "type": "stack",
936
937
  "direction": "horizontal",
937
938
  "align": "center",
938
- "gap": "sm",
939
- "type": "stack"
939
+ "gap": "sm"
940
940
  }
941
941
  ]
942
942
  ]
@@ -1079,20 +1079,20 @@
1079
1079
  "contentTrait": "@trait.CommentDisplay",
1080
1080
  "appName": "SocialFeed",
1081
1081
  "notifications": [],
1082
+ "searchEvent": "COMMENT_SEARCH",
1082
1083
  "notificationClickEvent": "COMMENT_NOTIFICATIONS_OPEN",
1083
1084
  "navItems": [
1084
1085
  {
1085
- "icon": "rss",
1086
+ "href": "/feed",
1086
1087
  "label": "Feed",
1087
- "href": "/feed"
1088
+ "icon": "rss"
1088
1089
  },
1089
1090
  {
1090
- "icon": "message-circle",
1091
+ "label": "Comments",
1091
1092
  "href": "/comments",
1092
- "label": "Comments"
1093
+ "icon": "message-circle"
1093
1094
  }
1094
- ],
1095
- "searchEvent": "COMMENT_SEARCH"
1095
+ ]
1096
1096
  },
1097
1097
  "events": {
1098
1098
  "SEARCH": "COMMENT_SEARCH",
@@ -1180,18 +1180,12 @@
1180
1180
  "main",
1181
1181
  {
1182
1182
  "direction": "vertical",
1183
- "className": "max-w-5xl mx-auto w-full",
1184
- "type": "stack",
1185
1183
  "gap": "lg",
1186
1184
  "children": [
1187
1185
  {
1188
- "justify": "between",
1189
1186
  "align": "center",
1190
- "gap": "md",
1191
1187
  "children": [
1192
1188
  {
1193
- "type": "stack",
1194
- "direction": "horizontal",
1195
1189
  "align": "center",
1196
1190
  "children": [
1197
1191
  {
@@ -1204,31 +1198,37 @@
1204
1198
  "content": "Comments"
1205
1199
  }
1206
1200
  ],
1201
+ "direction": "horizontal",
1202
+ "type": "stack",
1207
1203
  "gap": "sm"
1208
1204
  },
1209
1205
  {
1210
- "type": "stack",
1206
+ "gap": "sm",
1211
1207
  "children": [
1212
1208
  {
1213
1209
  "action": "CREATE",
1210
+ "variant": "primary",
1214
1211
  "type": "button",
1215
- "icon": "edit",
1216
1212
  "label": "New Comment",
1217
- "variant": "primary"
1213
+ "icon": "edit"
1218
1214
  }
1219
1215
  ],
1220
- "direction": "horizontal",
1221
- "gap": "sm"
1216
+ "type": "stack",
1217
+ "direction": "horizontal"
1222
1218
  }
1223
1219
  ],
1220
+ "gap": "md",
1224
1221
  "type": "stack",
1222
+ "justify": "between",
1225
1223
  "direction": "horizontal"
1226
1224
  },
1227
1225
  {
1228
1226
  "type": "divider"
1229
1227
  },
1230
1228
  "@trait.CommentBrowseList"
1231
- ]
1229
+ ],
1230
+ "type": "stack",
1231
+ "className": "max-w-5xl mx-auto w-full"
1232
1232
  }
1233
1233
  ]
1234
1234
  ]
@@ -1247,6 +1247,10 @@
1247
1247
  "render-ui",
1248
1248
  "main",
1249
1249
  {
1250
+ "type": "stack",
1251
+ "direction": "vertical",
1252
+ "gap": "md",
1253
+ "align": "center",
1250
1254
  "className": "py-8",
1251
1255
  "children": [
1252
1256
  {
@@ -1254,27 +1258,23 @@
1254
1258
  "type": "icon"
1255
1259
  },
1256
1260
  {
1257
- "type": "typography",
1258
1261
  "content": "No notifications",
1262
+ "type": "typography",
1259
1263
  "variant": "h3"
1260
1264
  },
1261
1265
  {
1266
+ "content": "You're all caught up.",
1262
1267
  "color": "muted",
1263
1268
  "type": "typography",
1264
- "variant": "caption",
1265
- "content": "You're all caught up."
1269
+ "variant": "caption"
1266
1270
  },
1267
1271
  {
1268
1272
  "variant": "ghost",
1269
- "label": "Back to comments",
1273
+ "action": "INIT",
1270
1274
  "type": "button",
1271
- "action": "INIT"
1275
+ "label": "Back to comments"
1272
1276
  }
1273
- ],
1274
- "gap": "md",
1275
- "direction": "vertical",
1276
- "type": "stack",
1277
- "align": "center"
1277
+ ]
1278
1278
  }
1279
1279
  ]
1280
1280
  ]
@@ -1288,42 +1288,42 @@
1288
1288
  "name": "CommentBrowseList",
1289
1289
  "linkedEntity": "Comment",
1290
1290
  "config": {
1291
- "itemActions": [
1291
+ "fields": [
1292
1292
  {
1293
- "event": "VIEW",
1294
- "label": "View",
1295
- "variant": "ghost"
1293
+ "icon": "user",
1294
+ "name": "author",
1295
+ "variant": "h4"
1296
1296
  },
1297
1297
  {
1298
- "event": "EDIT",
1299
- "label": "Edit",
1300
- "variant": "ghost"
1298
+ "name": "body",
1299
+ "variant": "body"
1301
1300
  },
1302
1301
  {
1303
- "event": "DELETE",
1304
- "label": "Delete",
1305
- "variant": "danger"
1302
+ "format": "date",
1303
+ "name": "createdAt",
1304
+ "variant": "caption"
1306
1305
  }
1307
1306
  ],
1307
+ "variant": "card",
1308
1308
  "cols": 1.0,
1309
- "gap": "sm",
1310
- "fields": [
1309
+ "itemActions": [
1311
1310
  {
1312
- "variant": "h4",
1313
- "name": "author",
1314
- "icon": "user"
1311
+ "variant": "ghost",
1312
+ "label": "View",
1313
+ "event": "VIEW"
1315
1314
  },
1316
1315
  {
1317
- "name": "body",
1318
- "variant": "body"
1316
+ "event": "EDIT",
1317
+ "variant": "ghost",
1318
+ "label": "Edit"
1319
1319
  },
1320
1320
  {
1321
- "variant": "caption",
1322
- "format": "date",
1323
- "name": "createdAt"
1321
+ "label": "Delete",
1322
+ "event": "DELETE",
1323
+ "variant": "danger"
1324
1324
  }
1325
1325
  ],
1326
- "variant": "card"
1326
+ "gap": "sm"
1327
1327
  },
1328
1328
  "listens": [
1329
1329
  {
@@ -1357,14 +1357,14 @@
1357
1357
  "name": "CommentCreate",
1358
1358
  "linkedEntity": "Comment",
1359
1359
  "config": {
1360
- "icon": "plus-circle",
1360
+ "mode": "create",
1361
1361
  "fields": [
1362
1362
  "postId",
1363
1363
  "author",
1364
1364
  "body"
1365
1365
  ],
1366
- "mode": "create",
1367
- "title": "New Comment"
1366
+ "title": "New Comment",
1367
+ "icon": "plus-circle"
1368
1368
  },
1369
1369
  "events": {
1370
1370
  "OPEN": "CREATE"
@@ -1385,13 +1385,13 @@
1385
1385
  "name": "CommentEdit",
1386
1386
  "linkedEntity": "Comment",
1387
1387
  "config": {
1388
- "mode": "edit",
1388
+ "icon": "edit",
1389
1389
  "fields": [
1390
1390
  "postId",
1391
1391
  "author",
1392
1392
  "body"
1393
1393
  ],
1394
- "icon": "edit",
1394
+ "mode": "edit",
1395
1395
  "title": "Edit Comment"
1396
1396
  },
1397
1397
  "events": {
@@ -1413,15 +1413,15 @@
1413
1413
  "name": "CommentView",
1414
1414
  "linkedEntity": "Comment",
1415
1415
  "config": {
1416
- "title": "View Comment",
1417
- "mode": "edit",
1418
1416
  "fields": [
1419
1417
  "postId",
1420
1418
  "author",
1421
1419
  "body",
1422
1420
  "createdAt"
1423
1421
  ],
1424
- "icon": "eye"
1422
+ "icon": "eye",
1423
+ "title": "View Comment",
1424
+ "mode": "edit"
1425
1425
  },
1426
1426
  "events": {
1427
1427
  "OPEN": "VIEW"
@@ -1443,9 +1443,9 @@
1443
1443
  "linkedEntity": "Comment",
1444
1444
  "config": {
1445
1445
  "alertMessage": "This action cannot be undone.",
1446
- "confirmLabel": "Delete",
1447
1446
  "title": "Delete Comment",
1448
- "icon": "alert-triangle"
1447
+ "icon": "alert-triangle",
1448
+ "confirmLabel": "Delete"
1449
1449
  },
1450
1450
  "events": {
1451
1451
  "CONFIRM": "CONFIRM_DELETE",