@almadar/std 16.9.1 → 16.9.2

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 (252) hide show
  1. package/behaviors/registry/core/atoms/std-app-layout.orb +81 -78
  2. package/behaviors/registry/core/atoms/std-approval-gate.orb +84 -83
  3. package/behaviors/registry/core/atoms/std-audit-capture.orb +16 -15
  4. package/behaviors/registry/core/atoms/std-billable-hour.orb +125 -125
  5. package/behaviors/registry/core/atoms/std-board.orb +289 -288
  6. package/behaviors/registry/core/atoms/std-branching-logic.orb +118 -118
  7. package/behaviors/registry/core/atoms/std-browse.orb +118 -115
  8. package/behaviors/registry/core/atoms/std-cache-aside.orb +120 -120
  9. package/behaviors/registry/core/atoms/std-calendar.orb +48 -47
  10. package/behaviors/registry/core/atoms/std-cascade-on-delete.orb +7 -7
  11. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +210 -210
  12. package/behaviors/registry/core/atoms/std-confirmation.orb +33 -32
  13. package/behaviors/registry/core/atoms/std-cross-reference.orb +19 -19
  14. package/behaviors/registry/core/atoms/std-dashboard-grid-embedded.orb +81 -81
  15. package/behaviors/registry/core/atoms/std-dashboard-grid-layout.orb +84 -84
  16. package/behaviors/registry/core/atoms/std-dashboard-summary.orb +84 -84
  17. package/behaviors/registry/core/atoms/std-data-erasure.orb +71 -71
  18. package/behaviors/registry/core/atoms/std-date-range.orb +24 -24
  19. package/behaviors/registry/core/atoms/std-drawer.orb +12 -9
  20. package/behaviors/registry/core/atoms/std-esign-request.orb +32 -32
  21. package/behaviors/registry/core/atoms/std-event-log.orb +170 -170
  22. package/behaviors/registry/core/atoms/std-export.orb +63 -63
  23. package/behaviors/registry/core/atoms/std-file-store.orb +157 -157
  24. package/behaviors/registry/core/atoms/std-filter.orb +36 -36
  25. package/behaviors/registry/core/atoms/std-flag.orb +92 -92
  26. package/behaviors/registry/core/atoms/std-form-advanced.orb +66 -66
  27. package/behaviors/registry/core/atoms/std-gallery.orb +30 -29
  28. package/behaviors/registry/core/atoms/std-geosearch.orb +27 -27
  29. package/behaviors/registry/core/atoms/std-graphs.orb +180 -180
  30. package/behaviors/registry/core/atoms/std-hero-banner.orb +22 -22
  31. package/behaviors/registry/core/atoms/std-image-upload-multi.orb +63 -63
  32. package/behaviors/registry/core/atoms/std-lifecycle.orb +28 -28
  33. package/behaviors/registry/core/atoms/std-mod-queue.orb +53 -53
  34. package/behaviors/registry/core/atoms/std-modal.orb +39 -36
  35. package/behaviors/registry/core/atoms/std-multi-party-flow.orb +598 -597
  36. package/behaviors/registry/core/atoms/std-notify-on-event.orb +37 -31
  37. package/behaviors/registry/core/atoms/std-page-tree.orb +132 -132
  38. package/behaviors/registry/core/atoms/std-pagination.orb +11 -11
  39. package/behaviors/registry/core/atoms/std-push.orb +43 -43
  40. package/behaviors/registry/core/atoms/std-rate-limiter.orb +216 -216
  41. package/behaviors/registry/core/atoms/std-rating-review.orb +647 -647
  42. package/behaviors/registry/core/atoms/std-recurrence.orb +169 -169
  43. package/behaviors/registry/core/atoms/std-related.orb +34 -31
  44. package/behaviors/registry/core/atoms/std-reminder-scheduler.orb +9 -9
  45. package/behaviors/registry/core/atoms/std-rich-editor.orb +113 -113
  46. package/behaviors/registry/core/atoms/std-row-access-control.orb +21 -20
  47. package/behaviors/registry/core/atoms/std-saved-search.orb +89 -89
  48. package/behaviors/registry/core/atoms/std-scatter.orb +85 -85
  49. package/behaviors/registry/core/atoms/std-search.orb +11 -11
  50. package/behaviors/registry/core/atoms/std-selection.orb +103 -100
  51. package/behaviors/registry/core/atoms/std-sidebar-meta.orb +77 -77
  52. package/behaviors/registry/core/atoms/std-signature-capture.orb +85 -85
  53. package/behaviors/registry/core/atoms/std-stack-layout.orb +17 -17
  54. package/behaviors/registry/core/atoms/std-stats.orb +326 -325
  55. package/behaviors/registry/core/atoms/std-step-flow.orb +150 -149
  56. package/behaviors/registry/core/atoms/std-tabs.orb +47 -46
  57. package/behaviors/registry/core/atoms/std-tag-taxonomy.orb +63 -63
  58. package/behaviors/registry/core/atoms/std-thread.orb +64 -63
  59. package/behaviors/registry/core/atoms/std-version-history.orb +155 -155
  60. package/behaviors/registry/core/atoms/std-vote.orb +39 -39
  61. package/behaviors/registry/core/atoms/std-wizard-form.orb +177 -177
  62. package/behaviors/registry/core/atoms/std-wizard.orb +183 -183
  63. package/behaviors/registry/core-variations/atoms/std-board-kanban-classic.orb +65 -65
  64. package/behaviors/registry/core-variations/atoms/std-board-swim-lanes.orb +57 -57
  65. package/behaviors/registry/core-variations/atoms/std-board-timeline-roadmap.orb +74 -74
  66. package/behaviors/registry/core-variations/atoms/std-browse-command-palette.orb +61 -61
  67. package/behaviors/registry/core-variations/atoms/std-browse-dense.orb +50 -50
  68. package/behaviors/registry/core-variations/atoms/std-browse-feed.orb +40 -40
  69. package/behaviors/registry/core-variations/atoms/std-browse-gallery.orb +43 -43
  70. package/behaviors/registry/core-variations/atoms/std-browse-triage.orb +60 -60
  71. package/behaviors/registry/core-variations/atoms/std-calendar-agenda-list.orb +44 -44
  72. package/behaviors/registry/core-variations/atoms/std-calendar-week-timeline.orb +32 -32
  73. package/behaviors/registry/core-variations/atoms/std-stats-hero-metric.orb +30 -30
  74. package/behaviors/registry/core-variations/atoms/std-stats-kpi-tiles.orb +91 -91
  75. package/behaviors/registry/core-variations/atoms/std-stats-sparkline-row.orb +83 -83
  76. package/behaviors/registry/core-variations/atoms/std-step-flow-cards-deck.orb +42 -42
  77. package/behaviors/registry/core-variations/atoms/std-step-flow-progress-vertical.orb +56 -56
  78. package/behaviors/registry/core-variations/atoms/std-step-flow-stepper-horizontal.orb +28 -28
  79. package/behaviors/registry/core-variations/atoms/std-tabs-segmented-pills.orb +21 -21
  80. package/behaviors/registry/core-variations/atoms/std-tabs-sidebar-rail.orb +22 -22
  81. package/behaviors/registry/core-variations/atoms/std-thread-chat-bubbles.orb +50 -50
  82. package/behaviors/registry/core-variations/atoms/std-thread-comments-linear.orb +114 -114
  83. package/behaviors/registry/core-variations/atoms/std-thread-email-threaded.orb +101 -101
  84. package/dist/behaviors/behaviors-registry.json +1 -1
  85. package/dist/behaviors/registry/core/atoms/std-app-layout.orb +81 -78
  86. package/dist/behaviors/registry/core/atoms/std-approval-gate.orb +84 -83
  87. package/dist/behaviors/registry/core/atoms/std-audit-capture.orb +16 -15
  88. package/dist/behaviors/registry/core/atoms/std-billable-hour.orb +125 -125
  89. package/dist/behaviors/registry/core/atoms/std-board.orb +289 -288
  90. package/dist/behaviors/registry/core/atoms/std-branching-logic.orb +118 -118
  91. package/dist/behaviors/registry/core/atoms/std-browse.orb +118 -115
  92. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +120 -120
  93. package/dist/behaviors/registry/core/atoms/std-calendar.orb +48 -47
  94. package/dist/behaviors/registry/core/atoms/std-cascade-on-delete.orb +7 -7
  95. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +210 -210
  96. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +33 -32
  97. package/dist/behaviors/registry/core/atoms/std-cross-reference.orb +19 -19
  98. package/dist/behaviors/registry/core/atoms/std-dashboard-grid-embedded.orb +81 -81
  99. package/dist/behaviors/registry/core/atoms/std-dashboard-grid-layout.orb +84 -84
  100. package/dist/behaviors/registry/core/atoms/std-dashboard-summary.orb +84 -84
  101. package/dist/behaviors/registry/core/atoms/std-data-erasure.orb +71 -71
  102. package/dist/behaviors/registry/core/atoms/std-date-range.orb +24 -24
  103. package/dist/behaviors/registry/core/atoms/std-drawer.orb +12 -9
  104. package/dist/behaviors/registry/core/atoms/std-esign-request.orb +32 -32
  105. package/dist/behaviors/registry/core/atoms/std-event-log.orb +170 -170
  106. package/dist/behaviors/registry/core/atoms/std-export.orb +63 -63
  107. package/dist/behaviors/registry/core/atoms/std-file-store.orb +157 -157
  108. package/dist/behaviors/registry/core/atoms/std-filter.orb +36 -36
  109. package/dist/behaviors/registry/core/atoms/std-flag.orb +92 -92
  110. package/dist/behaviors/registry/core/atoms/std-form-advanced.orb +66 -66
  111. package/dist/behaviors/registry/core/atoms/std-gallery.orb +30 -29
  112. package/dist/behaviors/registry/core/atoms/std-geosearch.orb +27 -27
  113. package/dist/behaviors/registry/core/atoms/std-graphs.orb +180 -180
  114. package/dist/behaviors/registry/core/atoms/std-hero-banner.orb +22 -22
  115. package/dist/behaviors/registry/core/atoms/std-image-upload-multi.orb +63 -63
  116. package/dist/behaviors/registry/core/atoms/std-lifecycle.orb +28 -28
  117. package/dist/behaviors/registry/core/atoms/std-mod-queue.orb +53 -53
  118. package/dist/behaviors/registry/core/atoms/std-modal.orb +39 -36
  119. package/dist/behaviors/registry/core/atoms/std-multi-party-flow.orb +598 -597
  120. package/dist/behaviors/registry/core/atoms/std-notify-on-event.orb +37 -31
  121. package/dist/behaviors/registry/core/atoms/std-page-tree.orb +132 -132
  122. package/dist/behaviors/registry/core/atoms/std-pagination.orb +11 -11
  123. package/dist/behaviors/registry/core/atoms/std-push.orb +43 -43
  124. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +216 -216
  125. package/dist/behaviors/registry/core/atoms/std-rating-review.orb +647 -647
  126. package/dist/behaviors/registry/core/atoms/std-recurrence.orb +169 -169
  127. package/dist/behaviors/registry/core/atoms/std-related.orb +34 -31
  128. package/dist/behaviors/registry/core/atoms/std-reminder-scheduler.orb +9 -9
  129. package/dist/behaviors/registry/core/atoms/std-rich-editor.orb +113 -113
  130. package/dist/behaviors/registry/core/atoms/std-row-access-control.orb +21 -20
  131. package/dist/behaviors/registry/core/atoms/std-saved-search.orb +89 -89
  132. package/dist/behaviors/registry/core/atoms/std-scatter.orb +85 -85
  133. package/dist/behaviors/registry/core/atoms/std-search.orb +11 -11
  134. package/dist/behaviors/registry/core/atoms/std-selection.orb +103 -100
  135. package/dist/behaviors/registry/core/atoms/std-sidebar-meta.orb +77 -77
  136. package/dist/behaviors/registry/core/atoms/std-signature-capture.orb +85 -85
  137. package/dist/behaviors/registry/core/atoms/std-stack-layout.orb +17 -17
  138. package/dist/behaviors/registry/core/atoms/std-stats.orb +326 -325
  139. package/dist/behaviors/registry/core/atoms/std-step-flow.orb +150 -149
  140. package/dist/behaviors/registry/core/atoms/std-tabs.orb +47 -46
  141. package/dist/behaviors/registry/core/atoms/std-tag-taxonomy.orb +63 -63
  142. package/dist/behaviors/registry/core/atoms/std-thread.orb +64 -63
  143. package/dist/behaviors/registry/core/atoms/std-version-history.orb +155 -155
  144. package/dist/behaviors/registry/core/atoms/std-vote.orb +39 -39
  145. package/dist/behaviors/registry/core/atoms/std-wizard-form.orb +177 -177
  146. package/dist/behaviors/registry/core/atoms/std-wizard.orb +183 -183
  147. package/dist/behaviors/registry/core-variations/atoms/std-board-kanban-classic.orb +65 -65
  148. package/dist/behaviors/registry/core-variations/atoms/std-board-swim-lanes.orb +57 -57
  149. package/dist/behaviors/registry/core-variations/atoms/std-board-timeline-roadmap.orb +74 -74
  150. package/dist/behaviors/registry/core-variations/atoms/std-browse-command-palette.orb +61 -61
  151. package/dist/behaviors/registry/core-variations/atoms/std-browse-dense.orb +50 -50
  152. package/dist/behaviors/registry/core-variations/atoms/std-browse-feed.orb +40 -40
  153. package/dist/behaviors/registry/core-variations/atoms/std-browse-gallery.orb +43 -43
  154. package/dist/behaviors/registry/core-variations/atoms/std-browse-triage.orb +60 -60
  155. package/dist/behaviors/registry/core-variations/atoms/std-calendar-agenda-list.orb +44 -44
  156. package/dist/behaviors/registry/core-variations/atoms/std-calendar-week-timeline.orb +32 -32
  157. package/dist/behaviors/registry/core-variations/atoms/std-stats-hero-metric.orb +30 -30
  158. package/dist/behaviors/registry/core-variations/atoms/std-stats-kpi-tiles.orb +91 -91
  159. package/dist/behaviors/registry/core-variations/atoms/std-stats-sparkline-row.orb +83 -83
  160. package/dist/behaviors/registry/core-variations/atoms/std-step-flow-cards-deck.orb +42 -42
  161. package/dist/behaviors/registry/core-variations/atoms/std-step-flow-progress-vertical.orb +56 -56
  162. package/dist/behaviors/registry/core-variations/atoms/std-step-flow-stepper-horizontal.orb +28 -28
  163. package/dist/behaviors/registry/core-variations/atoms/std-tabs-segmented-pills.orb +21 -21
  164. package/dist/behaviors/registry/core-variations/atoms/std-tabs-sidebar-rail.orb +22 -22
  165. package/dist/behaviors/registry/core-variations/atoms/std-thread-chat-bubbles.orb +50 -50
  166. package/dist/behaviors/registry/core-variations/atoms/std-thread-comments-linear.orb +114 -114
  167. package/dist/behaviors/registry/core-variations/atoms/std-thread-email-threaded.orb +101 -101
  168. package/dist/behaviors-registry.json +1 -1
  169. package/dist/registry/core/atoms/std-app-layout.orb +81 -78
  170. package/dist/registry/core/atoms/std-approval-gate.orb +84 -83
  171. package/dist/registry/core/atoms/std-audit-capture.orb +16 -15
  172. package/dist/registry/core/atoms/std-billable-hour.orb +125 -125
  173. package/dist/registry/core/atoms/std-board.orb +289 -288
  174. package/dist/registry/core/atoms/std-branching-logic.orb +118 -118
  175. package/dist/registry/core/atoms/std-browse.orb +118 -115
  176. package/dist/registry/core/atoms/std-cache-aside.orb +120 -120
  177. package/dist/registry/core/atoms/std-calendar.orb +48 -47
  178. package/dist/registry/core/atoms/std-cascade-on-delete.orb +7 -7
  179. package/dist/registry/core/atoms/std-circuit-breaker.orb +210 -210
  180. package/dist/registry/core/atoms/std-confirmation.orb +33 -32
  181. package/dist/registry/core/atoms/std-cross-reference.orb +19 -19
  182. package/dist/registry/core/atoms/std-dashboard-grid-embedded.orb +81 -81
  183. package/dist/registry/core/atoms/std-dashboard-grid-layout.orb +84 -84
  184. package/dist/registry/core/atoms/std-dashboard-summary.orb +84 -84
  185. package/dist/registry/core/atoms/std-data-erasure.orb +71 -71
  186. package/dist/registry/core/atoms/std-date-range.orb +24 -24
  187. package/dist/registry/core/atoms/std-drawer.orb +12 -9
  188. package/dist/registry/core/atoms/std-esign-request.orb +32 -32
  189. package/dist/registry/core/atoms/std-event-log.orb +170 -170
  190. package/dist/registry/core/atoms/std-export.orb +63 -63
  191. package/dist/registry/core/atoms/std-file-store.orb +157 -157
  192. package/dist/registry/core/atoms/std-filter.orb +36 -36
  193. package/dist/registry/core/atoms/std-flag.orb +92 -92
  194. package/dist/registry/core/atoms/std-form-advanced.orb +66 -66
  195. package/dist/registry/core/atoms/std-gallery.orb +30 -29
  196. package/dist/registry/core/atoms/std-geosearch.orb +27 -27
  197. package/dist/registry/core/atoms/std-graphs.orb +180 -180
  198. package/dist/registry/core/atoms/std-hero-banner.orb +22 -22
  199. package/dist/registry/core/atoms/std-image-upload-multi.orb +63 -63
  200. package/dist/registry/core/atoms/std-lifecycle.orb +28 -28
  201. package/dist/registry/core/atoms/std-mod-queue.orb +53 -53
  202. package/dist/registry/core/atoms/std-modal.orb +39 -36
  203. package/dist/registry/core/atoms/std-multi-party-flow.orb +598 -597
  204. package/dist/registry/core/atoms/std-notify-on-event.orb +37 -31
  205. package/dist/registry/core/atoms/std-page-tree.orb +132 -132
  206. package/dist/registry/core/atoms/std-pagination.orb +11 -11
  207. package/dist/registry/core/atoms/std-push.orb +43 -43
  208. package/dist/registry/core/atoms/std-rate-limiter.orb +216 -216
  209. package/dist/registry/core/atoms/std-rating-review.orb +647 -647
  210. package/dist/registry/core/atoms/std-recurrence.orb +169 -169
  211. package/dist/registry/core/atoms/std-related.orb +34 -31
  212. package/dist/registry/core/atoms/std-reminder-scheduler.orb +9 -9
  213. package/dist/registry/core/atoms/std-rich-editor.orb +113 -113
  214. package/dist/registry/core/atoms/std-row-access-control.orb +21 -20
  215. package/dist/registry/core/atoms/std-saved-search.orb +89 -89
  216. package/dist/registry/core/atoms/std-scatter.orb +85 -85
  217. package/dist/registry/core/atoms/std-search.orb +11 -11
  218. package/dist/registry/core/atoms/std-selection.orb +103 -100
  219. package/dist/registry/core/atoms/std-sidebar-meta.orb +77 -77
  220. package/dist/registry/core/atoms/std-signature-capture.orb +85 -85
  221. package/dist/registry/core/atoms/std-stack-layout.orb +17 -17
  222. package/dist/registry/core/atoms/std-stats.orb +326 -325
  223. package/dist/registry/core/atoms/std-step-flow.orb +150 -149
  224. package/dist/registry/core/atoms/std-tabs.orb +47 -46
  225. package/dist/registry/core/atoms/std-tag-taxonomy.orb +63 -63
  226. package/dist/registry/core/atoms/std-thread.orb +64 -63
  227. package/dist/registry/core/atoms/std-version-history.orb +155 -155
  228. package/dist/registry/core/atoms/std-vote.orb +39 -39
  229. package/dist/registry/core/atoms/std-wizard-form.orb +177 -177
  230. package/dist/registry/core/atoms/std-wizard.orb +183 -183
  231. package/dist/registry/core-variations/atoms/std-board-kanban-classic.orb +65 -65
  232. package/dist/registry/core-variations/atoms/std-board-swim-lanes.orb +57 -57
  233. package/dist/registry/core-variations/atoms/std-board-timeline-roadmap.orb +74 -74
  234. package/dist/registry/core-variations/atoms/std-browse-command-palette.orb +61 -61
  235. package/dist/registry/core-variations/atoms/std-browse-dense.orb +50 -50
  236. package/dist/registry/core-variations/atoms/std-browse-feed.orb +40 -40
  237. package/dist/registry/core-variations/atoms/std-browse-gallery.orb +43 -43
  238. package/dist/registry/core-variations/atoms/std-browse-triage.orb +60 -60
  239. package/dist/registry/core-variations/atoms/std-calendar-agenda-list.orb +44 -44
  240. package/dist/registry/core-variations/atoms/std-calendar-week-timeline.orb +32 -32
  241. package/dist/registry/core-variations/atoms/std-stats-hero-metric.orb +30 -30
  242. package/dist/registry/core-variations/atoms/std-stats-kpi-tiles.orb +91 -91
  243. package/dist/registry/core-variations/atoms/std-stats-sparkline-row.orb +83 -83
  244. package/dist/registry/core-variations/atoms/std-step-flow-cards-deck.orb +42 -42
  245. package/dist/registry/core-variations/atoms/std-step-flow-progress-vertical.orb +56 -56
  246. package/dist/registry/core-variations/atoms/std-step-flow-stepper-horizontal.orb +28 -28
  247. package/dist/registry/core-variations/atoms/std-tabs-segmented-pills.orb +21 -21
  248. package/dist/registry/core-variations/atoms/std-tabs-sidebar-rail.orb +22 -22
  249. package/dist/registry/core-variations/atoms/std-thread-chat-bubbles.orb +50 -50
  250. package/dist/registry/core-variations/atoms/std-thread-comments-linear.orb +114 -114
  251. package/dist/registry/core-variations/atoms/std-thread-email-threaded.orb +101 -101
  252. package/package.json +1 -1
@@ -76,107 +76,106 @@
76
76
  "linkedEntity": "CommentsLinearPost",
77
77
  "config": {
78
78
  "bodyContent": {
79
- "className": "max-w-3xl mx-auto px-card-md py-section",
80
- "gap": "lg",
81
79
  "type": "stack",
82
- "direction": "vertical",
80
+ "className": "max-w-3xl mx-auto px-card-md py-section",
83
81
  "children": [
84
82
  {
85
83
  "children": [
86
84
  {
87
- "size": "md",
85
+ "type": "icon",
88
86
  "name": "message-square",
89
- "type": "icon"
87
+ "size": "md"
90
88
  },
91
89
  {
92
- "variant": "h3",
93
90
  "type": "typography",
94
- "content": "Discussion"
91
+ "content": "Discussion",
92
+ "variant": "h3"
95
93
  }
96
94
  ],
95
+ "type": "stack",
97
96
  "gap": "sm",
98
97
  "align": "center",
99
- "type": "stack",
100
98
  "direction": "horizontal"
101
99
  },
102
100
  {
101
+ "padding": "md",
103
102
  "type": "card",
104
103
  "look": "flat-bordered",
105
104
  "children": {
106
- "type": "stack",
107
- "direction": "vertical",
108
- "gap": "sm",
109
105
  "children": [
110
106
  {
111
- "type": "typography",
107
+ "content": "Add a comment",
112
108
  "variant": "label",
113
- "content": "Add a comment"
109
+ "type": "typography"
114
110
  },
115
111
  {
112
+ "inputType": "textarea",
113
+ "rows": 3.0,
116
114
  "placeholder": "Share your thoughts…",
117
115
  "action": "EDIT_REPLY",
118
- "type": "input",
119
- "inputType": "textarea",
120
- "rows": 3.0
116
+ "type": "input"
121
117
  },
122
118
  {
119
+ "type": "stack",
120
+ "direction": "horizontal",
121
+ "justify": "end",
122
+ "gap": "sm",
123
123
  "children": [
124
124
  {
125
+ "action": "CANCEL_REPLY",
126
+ "type": "button",
125
127
  "variant": "ghost",
126
128
  "size": "sm",
127
- "action": "CANCEL_REPLY",
128
- "label": "Cancel",
129
- "type": "button"
129
+ "label": "Cancel"
130
130
  },
131
131
  {
132
- "action": "SUBMIT_REPLY",
133
- "label": "Comment",
134
- "type": "button",
135
132
  "size": "sm",
133
+ "label": "Comment",
136
134
  "icon": "send",
135
+ "action": "SUBMIT_REPLY",
136
+ "type": "button",
137
137
  "variant": "primary"
138
138
  }
139
- ],
140
- "gap": "sm",
141
- "type": "stack",
142
- "justify": "end",
143
- "direction": "horizontal"
139
+ ]
144
140
  }
145
- ]
146
- },
147
- "padding": "md"
141
+ ],
142
+ "direction": "vertical",
143
+ "type": "stack",
144
+ "gap": "sm"
145
+ }
148
146
  },
149
147
  {
150
148
  "gap": "md",
151
- "type": "data-list",
152
- "entity": "@payload.data",
149
+ "variant": "default",
153
150
  "renderItem": [
154
151
  "fn",
155
152
  "item",
156
153
  {
157
- "look": "flat-bordered",
154
+ "type": "card",
158
155
  "children": {
159
- "gap": "sm",
160
- "type": "stack",
161
156
  "children": [
162
157
  {
158
+ "gap": "sm",
159
+ "align": "center",
160
+ "direction": "horizontal",
161
+ "type": "stack",
163
162
  "children": [
164
163
  {
165
- "type": "avatar",
166
164
  "name": "@item.authorName",
167
- "size": "sm"
165
+ "size": "sm",
166
+ "type": "avatar"
168
167
  },
169
168
  {
170
- "type": "typography",
171
- "variant": "body",
172
169
  "content": "@item.authorName",
170
+ "variant": "body",
171
+ "type": "typography",
173
172
  "weight": "medium"
174
173
  },
175
174
  {
175
+ "variant": "caption",
176
176
  "content": "·",
177
- "color": "muted",
178
177
  "type": "typography",
179
- "variant": "caption"
178
+ "color": "muted"
180
179
  },
181
180
  {
182
181
  "color": "muted",
@@ -184,71 +183,63 @@
184
183
  "type": "typography",
185
184
  "content": "@item.createdAt"
186
185
  }
187
- ],
188
- "align": "center",
189
- "type": "stack",
190
- "direction": "horizontal",
191
- "gap": "sm"
186
+ ]
192
187
  },
193
188
  {
194
- "variant": "body",
195
189
  "content": "@item.content",
196
- "type": "typography"
190
+ "type": "typography",
191
+ "variant": "body"
197
192
  },
198
193
  {
194
+ "type": "stack",
195
+ "gap": "xs",
196
+ "direction": "horizontal",
197
+ "align": "center",
199
198
  "children": [
200
199
  {
201
- "type": "button",
202
- "label": "Reply",
203
- "variant": "ghost",
204
200
  "icon": "corner-down-right",
205
201
  "action": "REPLY",
206
202
  "actionPayload": {
207
203
  "parentId": "@item.id"
208
204
  },
209
- "size": "sm"
205
+ "variant": "ghost",
206
+ "label": "Reply",
207
+ "size": "sm",
208
+ "type": "button"
210
209
  }
211
- ],
212
- "gap": "xs",
213
- "type": "stack",
214
- "direction": "horizontal",
215
- "align": "center"
210
+ ]
216
211
  },
217
212
  {
218
- "gap": "sm",
219
- "type": "stack",
220
- "direction": "vertical",
221
213
  "children": [
222
214
  {
223
- "gap": "xs",
215
+ "align": "center",
216
+ "direction": "horizontal",
224
217
  "children": [
225
218
  {
226
- "type": "icon",
219
+ "name": "chevron-down",
227
220
  "size": "xs",
228
- "name": "chevron-down"
221
+ "type": "icon"
229
222
  },
230
223
  {
231
- "type": "typography",
232
- "variant": "caption",
224
+ "content": "@item.replyCount replies",
233
225
  "weight": "medium",
234
- "color": "muted",
235
- "content": "@item.replyCount replies"
226
+ "variant": "caption",
227
+ "type": "typography",
228
+ "color": "muted"
236
229
  }
237
230
  ],
238
- "direction": "horizontal",
239
- "type": "stack",
240
- "align": "center"
231
+ "gap": "xs",
232
+ "type": "stack"
241
233
  },
242
234
  {
243
- "gap": "sm",
244
235
  "entity": "@item.replies",
236
+ "type": "data-list",
237
+ "gap": "sm",
245
238
  "variant": "default",
246
- "fields": [],
247
239
  "renderItem": [
248
240
  "fn",
249
241
  "reply",
250
242
  {
251
- "look": "borderless-divider",
252
243
  "padding": "sm",
253
244
  "type": "card",
254
245
  "children": {
@@ -257,105 +248,114 @@
257
248
  "gap": "xs",
258
249
  "children": [
259
250
  {
260
- "gap": "sm",
261
251
  "type": "stack",
262
- "align": "center",
263
- "direction": "horizontal",
264
252
  "children": [
265
253
  {
266
- "name": "@reply.authorName",
267
254
  "size": "xs",
255
+ "name": "@reply.authorName",
268
256
  "type": "avatar"
269
257
  },
270
258
  {
271
- "content": "@reply.authorName",
272
- "variant": "caption",
273
259
  "type": "typography",
274
- "weight": "medium"
260
+ "content": "@reply.authorName",
261
+ "weight": "medium",
262
+ "variant": "caption"
275
263
  },
276
264
  {
277
265
  "color": "muted",
278
- "type": "typography",
279
266
  "variant": "caption",
280
- "content": "·"
267
+ "content": "·",
268
+ "type": "typography"
281
269
  },
282
270
  {
283
271
  "color": "muted",
272
+ "type": "typography",
284
273
  "content": "@reply.createdAt",
285
- "variant": "caption",
286
- "type": "typography"
274
+ "variant": "caption"
287
275
  }
288
- ]
276
+ ],
277
+ "gap": "sm",
278
+ "align": "center",
279
+ "direction": "horizontal"
289
280
  },
290
281
  {
291
- "type": "typography",
292
282
  "variant": "body",
293
- "content": "@reply.content"
283
+ "content": "@reply.content",
284
+ "type": "typography"
294
285
  },
295
286
  {
296
287
  "gap": "xs",
297
- "direction": "horizontal",
298
- "type": "stack",
299
- "align": "center",
300
288
  "children": [
301
289
  {
302
- "variant": "ghost",
303
- "type": "button",
290
+ "size": "sm",
304
291
  "label": "Reply",
305
- "action": "REPLY",
292
+ "icon": "corner-down-right",
293
+ "type": "button",
306
294
  "actionPayload": {
307
295
  "parentId": "@reply.id"
308
296
  },
309
- "size": "sm",
310
- "icon": "corner-down-right"
297
+ "action": "REPLY",
298
+ "variant": "ghost"
311
299
  }
312
- ]
300
+ ],
301
+ "align": "center",
302
+ "type": "stack",
303
+ "direction": "horizontal"
313
304
  }
314
305
  ]
315
- }
306
+ },
307
+ "look": "borderless-divider"
316
308
  }
317
309
  ],
318
- "type": "data-list"
310
+ "fields": []
319
311
  },
320
312
  {
321
- "type": "stack",
322
- "align": "center",
323
313
  "gap": "sm",
324
314
  "children": [
325
315
  {
326
- "type": "input",
327
- "inputType": "text",
328
316
  "action": "EDIT_REPLY",
329
- "placeholder": "Write a reply…"
317
+ "placeholder": "Write a reply…",
318
+ "type": "input",
319
+ "inputType": "text"
330
320
  },
331
321
  {
332
322
  "label": "Send",
323
+ "icon": "send",
333
324
  "action": "SUBMIT_REPLY",
334
- "variant": "primary",
335
- "size": "sm",
336
325
  "actionPayload": {
337
326
  "parentId": "@item.id"
338
327
  },
339
328
  "type": "button",
340
- "icon": "send"
329
+ "variant": "primary",
330
+ "size": "sm"
341
331
  }
342
332
  ],
343
- "direction": "horizontal"
333
+ "type": "stack",
334
+ "direction": "horizontal",
335
+ "align": "center"
344
336
  }
345
337
  ],
346
- "className": "pl-card-md border-l border-[var(--color-border)]"
338
+ "gap": "sm",
339
+ "type": "stack",
340
+ "className": "pl-card-md border-l border-[var(--color-border)]",
341
+ "direction": "vertical"
347
342
  }
348
343
  ],
349
- "direction": "vertical"
344
+ "type": "stack",
345
+ "direction": "vertical",
346
+ "gap": "sm"
350
347
  },
351
- "padding": "md",
352
- "type": "card"
348
+ "look": "flat-bordered",
349
+ "padding": "md"
353
350
  }
354
351
  ],
355
- "variant": "default",
356
- "fields": []
352
+ "fields": [],
353
+ "type": "data-list",
354
+ "entity": "@payload.data"
357
355
  }
358
- ]
356
+ ],
357
+ "gap": "lg",
358
+ "direction": "vertical"
359
359
  }
360
360
  }
361
361
  }