@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
@@ -94,9 +94,9 @@
94
94
  "render-ui",
95
95
  "main",
96
96
  {
97
- "filters": "@config.filters",
98
97
  "entity": "FilterTarget",
99
98
  "type": "filter-group",
99
+ "filters": "@config.filters",
100
100
  "look": "@config.filterBarLook"
101
101
  }
102
102
  ]
@@ -122,8 +122,8 @@
122
122
  "main",
123
123
  {
124
124
  "entity": "FilterTarget",
125
- "look": "@config.filterBarLook",
126
125
  "filters": "@config.filters",
126
+ "look": "@config.filterBarLook",
127
127
  "type": "filter-group"
128
128
  }
129
129
  ]
@@ -157,8 +157,8 @@
157
157
  "main",
158
158
  {
159
159
  "entity": "FilterTarget",
160
- "type": "filter-group",
161
160
  "look": "@config.filterBarLook",
161
+ "type": "filter-group",
162
162
  "filters": "@config.filters"
163
163
  }
164
164
  ]
@@ -167,6 +167,27 @@
167
167
  ]
168
168
  },
169
169
  "config": {
170
+ "event": {
171
+ "type": "string",
172
+ "default": "FILTER",
173
+ "label": "Filter event",
174
+ "description": "Event emitted when the user changes a filter selection",
175
+ "tier": "internal"
176
+ },
177
+ "filterBarLook": {
178
+ "type": "string",
179
+ "default": "toolbar",
180
+ "label": "Filter bar look",
181
+ "description": "Layer 2 visual treatment for the filter bar.",
182
+ "tier": "presentation",
183
+ "values": [
184
+ "toolbar",
185
+ "chips",
186
+ "pills",
187
+ "popover-trigger",
188
+ "inline-column-header"
189
+ ]
190
+ },
170
191
  "filters": {
171
192
  "type": "[FilterSpec]",
172
193
  "default": [
@@ -176,9 +197,9 @@
176
197
  "inactive",
177
198
  "pending"
178
199
  ],
179
- "label": "Status",
200
+ "filterType": "select",
180
201
  "field": "status",
181
- "filterType": "select"
202
+ "label": "Status"
182
203
  }
183
204
  ],
184
205
  "label": "Filter controls",
@@ -192,6 +213,16 @@
192
213
  "type": "string",
193
214
  "required": false
194
215
  },
216
+ "field": {
217
+ "name": "field",
218
+ "type": "string",
219
+ "required": true
220
+ },
221
+ "filterType": {
222
+ "name": "filterType",
223
+ "type": "string",
224
+ "required": false
225
+ },
195
226
  "options": {
196
227
  "name": "options",
197
228
  "type": "array",
@@ -199,40 +230,9 @@
199
230
  "items": {
200
231
  "type": "string"
201
232
  }
202
- },
203
- "filterType": {
204
- "name": "filterType",
205
- "type": "string",
206
- "required": false
207
- },
208
- "field": {
209
- "name": "field",
210
- "type": "string",
211
- "required": true
212
233
  }
213
234
  }
214
235
  }
215
- },
216
- "filterBarLook": {
217
- "type": "string",
218
- "default": "toolbar",
219
- "label": "Filter bar look",
220
- "description": "Layer 2 visual treatment for the filter bar.",
221
- "tier": "presentation",
222
- "values": [
223
- "toolbar",
224
- "chips",
225
- "pills",
226
- "popover-trigger",
227
- "inline-column-header"
228
- ]
229
- },
230
- "event": {
231
- "type": "string",
232
- "default": "FILTER",
233
- "label": "Filter event",
234
- "description": "Event emitted when the user changes a filter selection",
235
- "tier": "internal"
236
236
  }
237
237
  },
238
238
  "scope": "instance"
@@ -284,31 +284,33 @@
284
284
  "main",
285
285
  {
286
286
  "type": "stack",
287
+ "direction": "vertical",
288
+ "gap": "md",
287
289
  "children": [
288
290
  {
291
+ "variant": "h3",
289
292
  "type": "typography",
290
- "content": "@config.title",
291
- "variant": "h3"
293
+ "content": "@config.title"
292
294
  },
293
295
  {
294
- "type": "select",
296
+ "action": "SELECT_REASON",
295
297
  "placeholder": "Select a reason",
296
298
  "options": [
297
299
  {
298
- "value": "spam",
299
- "label": "Spam"
300
+ "label": "Spam",
301
+ "value": "spam"
300
302
  },
301
303
  {
302
- "label": "Abuse",
303
- "value": "abuse"
304
+ "value": "abuse",
305
+ "label": "Abuse"
304
306
  },
305
307
  {
306
308
  "label": "Off-topic",
307
309
  "value": "off-topic"
308
310
  },
309
311
  {
310
- "value": "misinformation",
311
- "label": "Misinformation"
312
+ "label": "Misinformation",
313
+ "value": "misinformation"
312
314
  },
313
315
  {
314
316
  "label": "NSFW",
@@ -319,23 +321,21 @@
319
321
  "value": "other"
320
322
  }
321
323
  ],
322
- "action": "SELECT_REASON"
324
+ "type": "select"
323
325
  },
324
326
  {
327
+ "placeholder": "Add details (optional)",
325
328
  "action": "EDIT_NOTES",
326
- "type": "textarea",
327
- "placeholder": "Add details (optional)"
329
+ "type": "textarea"
328
330
  },
329
331
  {
330
- "label": "Submit report",
331
- "type": "button",
332
- "icon": "flag",
333
332
  "variant": "primary",
334
- "action": "SUBMIT"
333
+ "icon": "flag",
334
+ "type": "button",
335
+ "action": "SUBMIT",
336
+ "label": "Submit report"
335
337
  }
336
- ],
337
- "gap": "md",
338
- "direction": "vertical"
338
+ ]
339
339
  }
340
340
  ]
341
341
  ]
@@ -373,8 +373,8 @@
373
373
  "render-ui",
374
374
  "main",
375
375
  {
376
- "type": "stack",
377
376
  "direction": "vertical",
377
+ "type": "stack",
378
378
  "gap": "md",
379
379
  "children": [
380
380
  {
@@ -383,47 +383,47 @@
383
383
  "content": "@config.title"
384
384
  },
385
385
  {
386
- "type": "select",
387
386
  "options": [
388
387
  {
389
- "label": "Spam",
390
- "value": "spam"
388
+ "value": "spam",
389
+ "label": "Spam"
391
390
  },
392
391
  {
393
- "label": "Abuse",
394
- "value": "abuse"
392
+ "value": "abuse",
393
+ "label": "Abuse"
395
394
  },
396
395
  {
397
396
  "value": "off-topic",
398
397
  "label": "Off-topic"
399
398
  },
400
399
  {
401
- "value": "misinformation",
402
- "label": "Misinformation"
400
+ "label": "Misinformation",
401
+ "value": "misinformation"
403
402
  },
404
403
  {
405
404
  "label": "NSFW",
406
405
  "value": "nsfw"
407
406
  },
408
407
  {
409
- "value": "other",
410
- "label": "Other"
408
+ "label": "Other",
409
+ "value": "other"
411
410
  }
412
411
  ],
413
412
  "action": "SELECT_REASON",
414
- "placeholder": "Select a reason"
413
+ "placeholder": "Select a reason",
414
+ "type": "select"
415
415
  },
416
416
  {
417
- "action": "EDIT_NOTES",
418
417
  "type": "textarea",
419
- "placeholder": "Add details (optional)"
418
+ "placeholder": "Add details (optional)",
419
+ "action": "EDIT_NOTES"
420
420
  },
421
421
  {
422
422
  "type": "button",
423
- "action": "SUBMIT",
424
- "label": "Submit report",
423
+ "icon": "flag",
425
424
  "variant": "primary",
426
- "icon": "flag"
425
+ "action": "SUBMIT",
426
+ "label": "Submit report"
427
427
  }
428
428
  ]
429
429
  }
@@ -439,8 +439,8 @@
439
439
  "render-ui",
440
440
  "main",
441
441
  {
442
- "message": "@payload.error",
443
442
  "variant": "error",
443
+ "message": "@payload.error",
444
444
  "type": "alert"
445
445
  }
446
446
  ]
@@ -458,8 +458,8 @@
458
458
  "@payload.data",
459
459
  {
460
460
  "emit": {
461
- "failure": "FlagSubmitFailed",
462
- "success": "FlagSubmitted"
461
+ "success": "FlagSubmitted",
462
+ "failure": "FlagSubmitFailed"
463
463
  }
464
464
  }
465
465
  ],
@@ -467,22 +467,22 @@
467
467
  "render-ui",
468
468
  "main",
469
469
  {
470
- "gap": "md",
471
470
  "className": "py-12",
471
+ "gap": "md",
472
+ "direction": "vertical",
473
+ "align": "center",
472
474
  "children": [
473
475
  {
474
476
  "type": "spinner"
475
477
  },
476
478
  {
477
479
  "content": "Submitting your report…",
478
- "type": "typography",
479
480
  "color": "muted",
481
+ "type": "typography",
480
482
  "variant": "caption"
481
483
  }
482
484
  ],
483
- "type": "stack",
484
- "direction": "vertical",
485
- "align": "center"
485
+ "type": "stack"
486
486
  }
487
487
  ]
488
488
  ]
@@ -496,6 +496,9 @@
496
496
  "render-ui",
497
497
  "main",
498
498
  {
499
+ "className": "py-12",
500
+ "type": "stack",
501
+ "direction": "vertical",
499
502
  "children": [
500
503
  {
501
504
  "type": "icon",
@@ -503,16 +506,13 @@
503
506
  "color": "success"
504
507
  },
505
508
  {
506
- "content": "Thanks. Our team will review this report.",
507
509
  "type": "typography",
508
- "variant": "h3"
510
+ "variant": "h3",
511
+ "content": "Thanks. Our team will review this report."
509
512
  }
510
513
  ],
511
- "type": "stack",
512
- "gap": "md",
513
514
  "align": "center",
514
- "direction": "vertical",
515
- "className": "py-12"
515
+ "gap": "md"
516
516
  }
517
517
  ]
518
518
  ]
@@ -526,9 +526,9 @@
526
526
  "render-ui",
527
527
  "main",
528
528
  {
529
- "message": "@payload.error",
530
529
  "variant": "error",
531
- "type": "alert"
530
+ "type": "alert",
531
+ "message": "@payload.error"
532
532
  }
533
533
  ]
534
534
  ]
@@ -553,15 +553,15 @@
553
553
  "main",
554
554
  {
555
555
  "type": "stack",
556
+ "direction": "vertical",
557
+ "gap": "md",
556
558
  "children": [
557
559
  {
558
- "variant": "h3",
560
+ "content": "@config.title",
559
561
  "type": "typography",
560
- "content": "@config.title"
562
+ "variant": "h3"
561
563
  },
562
564
  {
563
- "type": "select",
564
- "action": "SELECT_REASON",
565
565
  "options": [
566
566
  {
567
567
  "label": "Spam",
@@ -572,39 +572,39 @@
572
572
  "value": "abuse"
573
573
  },
574
574
  {
575
- "value": "off-topic",
576
- "label": "Off-topic"
575
+ "label": "Off-topic",
576
+ "value": "off-topic"
577
577
  },
578
578
  {
579
- "value": "misinformation",
580
- "label": "Misinformation"
579
+ "label": "Misinformation",
580
+ "value": "misinformation"
581
581
  },
582
582
  {
583
583
  "label": "NSFW",
584
584
  "value": "nsfw"
585
585
  },
586
586
  {
587
- "value": "other",
588
- "label": "Other"
587
+ "label": "Other",
588
+ "value": "other"
589
589
  }
590
590
  ],
591
+ "type": "select",
592
+ "action": "SELECT_REASON",
591
593
  "placeholder": "Select a reason"
592
594
  },
593
595
  {
594
- "type": "textarea",
595
596
  "action": "EDIT_NOTES",
596
- "placeholder": "Add details (optional)"
597
+ "placeholder": "Add details (optional)",
598
+ "type": "textarea"
597
599
  },
598
600
  {
599
- "variant": "primary",
601
+ "label": "Submit report",
600
602
  "action": "SUBMIT",
601
- "icon": "flag",
603
+ "variant": "primary",
602
604
  "type": "button",
603
- "label": "Submit report"
605
+ "icon": "flag"
604
606
  }
605
- ],
606
- "gap": "md",
607
- "direction": "vertical"
607
+ ]
608
608
  }
609
609
  ]
610
610
  ]
@@ -618,21 +618,22 @@
618
618
  "render-ui",
619
619
  "main",
620
620
  {
621
+ "gap": "md",
621
622
  "type": "stack",
622
623
  "direction": "vertical",
623
- "gap": "md",
624
624
  "children": [
625
625
  {
626
626
  "content": "@config.title",
627
- "type": "typography",
628
- "variant": "h3"
627
+ "variant": "h3",
628
+ "type": "typography"
629
629
  },
630
630
  {
631
631
  "type": "select",
632
+ "action": "SELECT_REASON",
632
633
  "options": [
633
634
  {
634
- "value": "spam",
635
- "label": "Spam"
635
+ "label": "Spam",
636
+ "value": "spam"
636
637
  },
637
638
  {
638
639
  "label": "Abuse",
@@ -643,32 +644,31 @@
643
644
  "value": "off-topic"
644
645
  },
645
646
  {
646
- "value": "misinformation",
647
- "label": "Misinformation"
647
+ "label": "Misinformation",
648
+ "value": "misinformation"
648
649
  },
649
650
  {
650
- "label": "NSFW",
651
- "value": "nsfw"
651
+ "value": "nsfw",
652
+ "label": "NSFW"
652
653
  },
653
654
  {
654
655
  "label": "Other",
655
656
  "value": "other"
656
657
  }
657
658
  ],
658
- "placeholder": "Select a reason",
659
- "action": "SELECT_REASON"
659
+ "placeholder": "Select a reason"
660
660
  },
661
661
  {
662
- "placeholder": "Add details (optional)",
662
+ "action": "EDIT_NOTES",
663
663
  "type": "textarea",
664
- "action": "EDIT_NOTES"
664
+ "placeholder": "Add details (optional)"
665
665
  },
666
666
  {
667
- "type": "button",
668
- "action": "SUBMIT",
669
667
  "label": "Submit report",
668
+ "type": "button",
669
+ "variant": "primary",
670
670
  "icon": "flag",
671
- "variant": "primary"
671
+ "action": "SUBMIT"
672
672
  }
673
673
  ]
674
674
  }
@@ -678,6 +678,13 @@
678
678
  ]
679
679
  },
680
680
  "config": {
681
+ "title": {
682
+ "type": "string",
683
+ "default": "Report content",
684
+ "label": "Form title",
685
+ "description": "Heading shown above the flag-submission form",
686
+ "tier": "presentation"
687
+ },
681
688
  "reasons": {
682
689
  "type": "[string]",
683
690
  "default": [
@@ -694,13 +701,6 @@
694
701
  "items": {
695
702
  "type": "string"
696
703
  }
697
- },
698
- "title": {
699
- "type": "string",
700
- "default": "Report content",
701
- "label": "Form title",
702
- "description": "Heading shown above the flag-submission form",
703
- "tier": "presentation"
704
704
  }
705
705
  },
706
706
  "scope": "instance"