@alepha/ui 0.28.0 → 0.29.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 (378) hide show
  1. package/README.md +31 -2
  2. package/dist/components/account/account-connections.d.ts.map +1 -1
  3. package/dist/components/account/account-connections.js +4 -1
  4. package/dist/components/account/account-connections.js.map +1 -1
  5. package/dist/components/account/account-delete-dialog.d.ts.map +1 -1
  6. package/dist/components/account/account-delete-dialog.js +12 -15
  7. package/dist/components/account/account-delete-dialog.js.map +1 -1
  8. package/dist/components/account/account-keys.d.ts.map +1 -1
  9. package/dist/components/account/account-keys.js +22 -28
  10. package/dist/components/account/account-keys.js.map +1 -1
  11. package/dist/components/account/account-mfa-dialog.js +1 -4
  12. package/dist/components/account/account-mfa-dialog.js.map +1 -1
  13. package/dist/components/account/account-password-dialog.d.ts.map +1 -1
  14. package/dist/components/account/account-password-dialog.js +11 -14
  15. package/dist/components/account/account-password-dialog.js.map +1 -1
  16. package/dist/components/account/account-profile.js +3 -2
  17. package/dist/components/account/account-profile.js.map +1 -1
  18. package/dist/components/account/account-router-options.d.ts +38 -0
  19. package/dist/components/account/account-router-options.d.ts.map +1 -1
  20. package/dist/components/account/account-router-options.js.map +1 -1
  21. package/dist/components/account/account-router-page.d.ts +11 -1
  22. package/dist/components/account/account-router-page.d.ts.map +1 -1
  23. package/dist/components/account/account-router-page.js +11 -1
  24. package/dist/components/account/account-router-page.js.map +1 -1
  25. package/dist/components/account/account-router.d.ts +11 -0
  26. package/dist/components/account/account-router.d.ts.map +1 -1
  27. package/dist/components/account/account-router.js +16 -5
  28. package/dist/components/account/account-router.js.map +1 -1
  29. package/dist/components/admin/admin-audits.d.ts.map +1 -1
  30. package/dist/components/admin/admin-audits.js +91 -34
  31. package/dist/components/admin/admin-audits.js.map +1 -1
  32. package/dist/components/admin/admin-files.d.ts.map +1 -1
  33. package/dist/components/admin/admin-files.js +6 -17
  34. package/dist/components/admin/admin-files.js.map +1 -1
  35. package/dist/components/admin/admin-jobs-executions-panel.d.ts.map +1 -1
  36. package/dist/components/admin/admin-jobs-executions-panel.js +39 -8
  37. package/dist/components/admin/admin-jobs-executions-panel.js.map +1 -1
  38. package/dist/components/admin/admin-jobs-payload-dialog.d.ts +19 -0
  39. package/dist/components/admin/admin-jobs-payload-dialog.d.ts.map +1 -0
  40. package/dist/components/admin/admin-jobs-payload-dialog.js +33 -0
  41. package/dist/components/admin/admin-jobs-payload-dialog.js.map +1 -0
  42. package/dist/components/admin/admin-keys.d.ts.map +1 -1
  43. package/dist/components/admin/admin-keys.js +5 -4
  44. package/dist/components/admin/admin-keys.js.map +1 -1
  45. package/dist/components/admin/admin-notifications-channel-label.d.ts +14 -0
  46. package/dist/components/admin/admin-notifications-channel-label.d.ts.map +1 -0
  47. package/dist/components/admin/admin-notifications-channel-label.js +26 -0
  48. package/dist/components/admin/admin-notifications-channel-label.js.map +1 -0
  49. package/dist/components/admin/admin-notifications-preview-body.d.ts.map +1 -1
  50. package/dist/components/admin/admin-notifications-preview-body.js +23 -13
  51. package/dist/components/admin/admin-notifications-preview-body.js.map +1 -1
  52. package/dist/components/admin/admin-notifications.d.ts.map +1 -1
  53. package/dist/components/admin/admin-notifications.js +11 -12
  54. package/dist/components/admin/admin-notifications.js.map +1 -1
  55. package/dist/components/admin/admin-payments.d.ts.map +1 -1
  56. package/dist/components/admin/admin-payments.js +9 -7
  57. package/dist/components/admin/admin-payments.js.map +1 -1
  58. package/dist/components/admin/admin-router-options.d.ts +12 -0
  59. package/dist/components/admin/admin-router-options.d.ts.map +1 -1
  60. package/dist/components/admin/admin-router-options.js.map +1 -1
  61. package/dist/components/admin/admin-router.d.ts +5 -8
  62. package/dist/components/admin/admin-router.d.ts.map +1 -1
  63. package/dist/components/admin/admin-router.js +6 -29
  64. package/dist/components/admin/admin-router.js.map +1 -1
  65. package/dist/components/admin/admin-sessions.d.ts.map +1 -1
  66. package/dist/components/admin/admin-sessions.js +9 -7
  67. package/dist/components/admin/admin-sessions.js.map +1 -1
  68. package/dist/components/admin/admin-user-detail-audits-tab.d.ts.map +1 -1
  69. package/dist/components/admin/admin-user-detail-audits-tab.js +5 -4
  70. package/dist/components/admin/admin-user-detail-audits-tab.js.map +1 -1
  71. package/dist/components/admin/admin-user-detail-sessions-tab.d.ts.map +1 -1
  72. package/dist/components/admin/admin-user-detail-sessions-tab.js +7 -5
  73. package/dist/components/admin/admin-user-detail-sessions-tab.js.map +1 -1
  74. package/dist/components/admin/admin-user-detail.js +3 -2
  75. package/dist/components/admin/admin-user-detail.js.map +1 -1
  76. package/dist/components/admin/admin-users-roles-picker.d.ts.map +1 -1
  77. package/dist/components/admin/admin-users-roles-picker.js.map +1 -1
  78. package/dist/components/admin/admin-users.d.ts.map +1 -1
  79. package/dist/components/admin/admin-users.js +6 -4
  80. package/dist/components/admin/admin-users.js.map +1 -1
  81. package/dist/components/admin/analytics/AnalyticsChartBars.js +2 -1
  82. package/dist/components/admin/analytics/AnalyticsChartBars.js.map +1 -1
  83. package/dist/components/admin/parameter-history-item.d.ts.map +1 -1
  84. package/dist/components/admin/parameter-history-item.js +3 -2
  85. package/dist/components/admin/parameter-history-item.js.map +1 -1
  86. package/dist/components/alepha-table/alepha-table-bulk-menu.js +2 -1
  87. package/dist/components/alepha-table/alepha-table-bulk-menu.js.map +1 -1
  88. package/dist/components/alepha-table/alepha-table-filter-dialog.d.ts +60 -0
  89. package/dist/components/alepha-table/alepha-table-filter-dialog.d.ts.map +1 -0
  90. package/dist/components/alepha-table/alepha-table-filter-dialog.js +88 -0
  91. package/dist/components/alepha-table/alepha-table-filter-dialog.js.map +1 -0
  92. package/dist/components/alepha-table/alepha-table-filter-menu.d.ts +35 -0
  93. package/dist/components/alepha-table/alepha-table-filter-menu.d.ts.map +1 -0
  94. package/dist/components/alepha-table/alepha-table-filter-menu.js +54 -0
  95. package/dist/components/alepha-table/alepha-table-filter-menu.js.map +1 -0
  96. package/dist/components/alepha-table/alepha-table.d.ts +188 -3
  97. package/dist/components/alepha-table/alepha-table.d.ts.map +1 -1
  98. package/dist/components/alepha-table/alepha-table.js +551 -162
  99. package/dist/components/alepha-table/alepha-table.js.map +1 -1
  100. package/dist/components/alepha-table/query-filters.d.ts +73 -0
  101. package/dist/components/alepha-table/query-filters.d.ts.map +1 -0
  102. package/dist/components/alepha-table/query-filters.js +118 -0
  103. package/dist/components/alepha-table/query-filters.js.map +1 -0
  104. package/dist/components/app-actions/app-actions.d.ts +21 -0
  105. package/dist/components/app-actions/app-actions.d.ts.map +1 -1
  106. package/dist/components/app-actions/app-actions.js +11 -5
  107. package/dist/components/app-actions/app-actions.js.map +1 -1
  108. package/dist/components/app-shell/app-shell.d.ts +45 -0
  109. package/dist/components/app-shell/app-shell.d.ts.map +1 -1
  110. package/dist/components/app-shell/app-shell.js +119 -16
  111. package/dist/components/app-shell/app-shell.js.map +1 -1
  112. package/dist/components/auth/auth-register.js +31 -30
  113. package/dist/components/auth/auth-register.js.map +1 -1
  114. package/dist/components/auto-form/auto-form.d.ts.map +1 -1
  115. package/dist/components/auto-form/auto-form.js +68 -30
  116. package/dist/components/auto-form/auto-form.js.map +1 -1
  117. package/dist/components/button-dark/button-dark.d.ts.map +1 -1
  118. package/dist/components/button-dark/button-dark.js +39 -8
  119. package/dist/components/button-dark/button-dark.js.map +1 -1
  120. package/dist/components/button-inbox/button-inbox.d.ts +66 -0
  121. package/dist/components/button-inbox/button-inbox.d.ts.map +1 -0
  122. package/dist/components/button-inbox/button-inbox.js +167 -0
  123. package/dist/components/button-inbox/button-inbox.js.map +1 -0
  124. package/dist/components/button-inbox/inbox-unread-atom.d.ts +22 -0
  125. package/dist/components/button-inbox/inbox-unread-atom.d.ts.map +1 -0
  126. package/dist/components/button-inbox/inbox-unread-atom.js +29 -0
  127. package/dist/components/button-inbox/inbox-unread-atom.js.map +1 -0
  128. package/dist/components/button-theme/button-theme.d.ts +4 -3
  129. package/dist/components/button-theme/button-theme.d.ts.map +1 -1
  130. package/dist/components/button-theme/button-theme.js +8 -25
  131. package/dist/components/button-theme/button-theme.js.map +1 -1
  132. package/dist/components/button-user/button-user.d.ts +19 -0
  133. package/dist/components/button-user/button-user.d.ts.map +1 -1
  134. package/dist/components/button-user/button-user.js +1 -1
  135. package/dist/components/button-user/button-user.js.map +1 -1
  136. package/dist/components/control/control.d.ts +51 -0
  137. package/dist/components/control/control.d.ts.map +1 -1
  138. package/dist/components/control/control.js +49 -5
  139. package/dist/components/control/control.js.map +1 -1
  140. package/dist/components/control-array/control-array.js +2 -1
  141. package/dist/components/control-array/control-array.js.map +1 -1
  142. package/dist/components/control-date/control-date.d.ts +27 -0
  143. package/dist/components/control-date/control-date.d.ts.map +1 -1
  144. package/dist/components/control-date/control-date.js +15 -19
  145. package/dist/components/control-date/control-date.js.map +1 -1
  146. package/dist/components/control-date/date-only.d.ts +18 -0
  147. package/dist/components/control-date/date-only.d.ts.map +1 -0
  148. package/dist/components/control-date/date-only.js +29 -0
  149. package/dist/components/control-date/date-only.js.map +1 -0
  150. package/dist/components/control-date-range/control-date-range.d.ts +56 -0
  151. package/dist/components/control-date-range/control-date-range.d.ts.map +1 -0
  152. package/dist/components/control-date-range/control-date-range.js +148 -0
  153. package/dist/components/control-date-range/control-date-range.js.map +1 -0
  154. package/dist/components/control-object/control-object.js +2 -1
  155. package/dist/components/control-object/control-object.js.map +1 -1
  156. package/dist/components/control-select/control-select.d.ts.map +1 -1
  157. package/dist/components/control-select/control-select.js +177 -37
  158. package/dist/components/control-select/control-select.js.map +1 -1
  159. package/dist/components/control-upload/control-upload.d.ts.map +1 -1
  160. package/dist/components/control-upload/control-upload.js +1 -11
  161. package/dist/components/control-upload/control-upload.js.map +1 -1
  162. package/dist/components/detail/detail-aside.d.ts.map +1 -1
  163. package/dist/components/detail/detail-aside.js +4 -3
  164. package/dist/components/detail/detail-aside.js.map +1 -1
  165. package/dist/components/file-image/file-image.js +2 -1
  166. package/dist/components/file-image/file-image.js.map +1 -1
  167. package/dist/components/markdown-view/SpoilerSpan.d.ts +28 -0
  168. package/dist/components/markdown-view/SpoilerSpan.d.ts.map +1 -0
  169. package/dist/components/markdown-view/SpoilerSpan.js +53 -0
  170. package/dist/components/markdown-view/SpoilerSpan.js.map +1 -0
  171. package/dist/components/markdown-view/diagram/layoutSequence.js +13 -23
  172. package/dist/components/markdown-view/diagram/layoutSequence.js.map +1 -1
  173. package/dist/components/markdown-view/diagram/textMetrics.js +2 -2
  174. package/dist/components/markdown-view/diagram/textMetrics.js.map +1 -1
  175. package/dist/components/markdown-view/markdown-view.css +44 -0
  176. package/dist/components/markdown-view/markdown-view.d.ts +12 -0
  177. package/dist/components/markdown-view/markdown-view.d.ts.map +1 -1
  178. package/dist/components/markdown-view/markdown-view.js +22 -1
  179. package/dist/components/markdown-view/markdown-view.js.map +1 -1
  180. package/dist/components/markdown-view/remarkSpoiler.d.ts +17 -0
  181. package/dist/components/markdown-view/remarkSpoiler.d.ts.map +1 -0
  182. package/dist/components/markdown-view/remarkSpoiler.js +117 -0
  183. package/dist/components/markdown-view/remarkSpoiler.js.map +1 -0
  184. package/dist/components/permission-matrix/permission-matrix-group-rows.d.ts +34 -0
  185. package/dist/components/permission-matrix/permission-matrix-group-rows.d.ts.map +1 -0
  186. package/dist/components/permission-matrix/permission-matrix-group-rows.js +109 -0
  187. package/dist/components/permission-matrix/permission-matrix-group-rows.js.map +1 -0
  188. package/dist/components/permission-matrix/permission-matrix.d.ts +145 -0
  189. package/dist/components/permission-matrix/permission-matrix.d.ts.map +1 -0
  190. package/dist/components/permission-matrix/permission-matrix.js +113 -0
  191. package/dist/components/permission-matrix/permission-matrix.js.map +1 -0
  192. package/dist/components/plate-layout/plate-layout.d.ts +5 -0
  193. package/dist/components/plate-layout/plate-layout.d.ts.map +1 -1
  194. package/dist/components/plate-layout/plate-layout.js +2 -1
  195. package/dist/components/plate-layout/plate-layout.js.map +1 -1
  196. package/dist/components/plate-layout/plate-tab-bar.d.ts +10 -0
  197. package/dist/components/plate-layout/plate-tab-bar.d.ts.map +1 -1
  198. package/dist/components/plate-layout/plate-tab-bar.js +1 -1
  199. package/dist/components/plate-layout/plate-tab-bar.js.map +1 -1
  200. package/dist/components/settings/settings-nav.js +2 -1
  201. package/dist/components/settings/settings-nav.js.map +1 -1
  202. package/dist/components/time-ago/time-ago.d.ts +57 -0
  203. package/dist/components/time-ago/time-ago.d.ts.map +1 -0
  204. package/dist/components/time-ago/time-ago.js +60 -0
  205. package/dist/components/time-ago/time-ago.js.map +1 -0
  206. package/dist/components/tree-view/tree-model.d.ts +128 -0
  207. package/dist/components/tree-view/tree-model.d.ts.map +1 -0
  208. package/dist/components/tree-view/tree-model.js +226 -0
  209. package/dist/components/tree-view/tree-model.js.map +1 -0
  210. package/dist/components/tree-view/tree-view-rename-input.d.ts +31 -0
  211. package/dist/components/tree-view/tree-view-rename-input.d.ts.map +1 -0
  212. package/dist/components/tree-view/tree-view-rename-input.js +68 -0
  213. package/dist/components/tree-view/tree-view-rename-input.js.map +1 -0
  214. package/dist/components/tree-view/tree-view-resizer.d.ts +38 -0
  215. package/dist/components/tree-view/tree-view-resizer.d.ts.map +1 -0
  216. package/dist/components/tree-view/tree-view-resizer.js +73 -0
  217. package/dist/components/tree-view/tree-view-resizer.js.map +1 -0
  218. package/dist/components/tree-view/tree-view-row.d.ts +177 -0
  219. package/dist/components/tree-view/tree-view-row.d.ts.map +1 -0
  220. package/dist/components/tree-view/tree-view-row.js +241 -0
  221. package/dist/components/tree-view/tree-view-row.js.map +1 -0
  222. package/dist/components/tree-view/tree-view.d.ts +186 -0
  223. package/dist/components/tree-view/tree-view.d.ts.map +1 -0
  224. package/dist/components/tree-view/tree-view.js +112 -0
  225. package/dist/components/tree-view/tree-view.js.map +1 -0
  226. package/dist/components/tree-view/use-tree-state.d.ts +79 -0
  227. package/dist/components/tree-view/use-tree-state.d.ts.map +1 -0
  228. package/dist/components/tree-view/use-tree-state.js +93 -0
  229. package/dist/components/tree-view/use-tree-state.js.map +1 -0
  230. package/dist/components/ui/button.d.ts.map +1 -1
  231. package/dist/components/ui/button.js +1 -1
  232. package/dist/components/ui/button.js.map +1 -1
  233. package/dist/components/ui/dropdown-menu.js.map +1 -1
  234. package/dist/components/ui/select.d.ts +7 -0
  235. package/dist/components/ui/select.d.ts.map +1 -1
  236. package/dist/components/ui/select.js +7 -0
  237. package/dist/components/ui/select.js.map +1 -1
  238. package/dist/components/ui/sidebar.js +1 -1
  239. package/dist/components/ui/sidebar.js.map +1 -1
  240. package/dist/components/ui/table.js.map +1 -1
  241. package/dist/components/ui/tooltip.js.map +1 -1
  242. package/dist/lib/i18n-fr.d.ts.map +1 -1
  243. package/dist/lib/i18n-fr.js +31 -47
  244. package/dist/lib/i18n-fr.js.map +1 -1
  245. package/dist/lib/utils.d.ts +22 -2
  246. package/dist/lib/utils.d.ts.map +1 -1
  247. package/dist/lib/utils.js +29 -5
  248. package/dist/lib/utils.js.map +1 -1
  249. package/dist/styles.css +255 -0
  250. package/package.json +13 -14
  251. package/src/components/account/__tests__/account-router.spec.ts +95 -0
  252. package/src/components/account/account-connections.tsx +14 -1
  253. package/src/components/account/account-delete-dialog.tsx +3 -2
  254. package/src/components/account/account-keys.tsx +11 -4
  255. package/src/components/account/account-mfa-dialog.tsx +1 -1
  256. package/src/components/account/account-password-dialog.tsx +3 -2
  257. package/src/components/account/account-profile.tsx +1 -1
  258. package/src/components/account/account-router-options.tsx +45 -0
  259. package/src/components/account/account-router-page.tsx +11 -1
  260. package/src/components/account/account-router.tsx +23 -6
  261. package/src/components/admin/__tests__/admin-jobs-payload-dialog.browser.spec.tsx +68 -0
  262. package/src/components/admin/__tests__/admin-notifications-preview-body.browser.spec.tsx +20 -4
  263. package/src/components/admin/__tests__/admin-status-labels.browser.spec.tsx +0 -31
  264. package/src/components/admin/admin-audits.tsx +99 -5
  265. package/src/components/admin/admin-files.tsx +7 -16
  266. package/src/components/admin/admin-jobs-executions-panel.tsx +152 -114
  267. package/src/components/admin/admin-jobs-payload-dialog.tsx +57 -0
  268. package/src/components/admin/admin-keys.tsx +7 -4
  269. package/src/components/admin/admin-notifications-channel-label.ts +18 -0
  270. package/src/components/admin/admin-notifications-preview-body.tsx +7 -2
  271. package/src/components/admin/admin-notifications.tsx +19 -8
  272. package/src/components/admin/admin-payments.tsx +7 -4
  273. package/src/components/admin/admin-router-options.tsx +12 -0
  274. package/src/components/admin/admin-router.tsx +5 -27
  275. package/src/components/admin/admin-sessions.tsx +10 -6
  276. package/src/components/admin/admin-user-detail-audits-tab.tsx +7 -4
  277. package/src/components/admin/admin-user-detail-sessions-tab.tsx +7 -4
  278. package/src/components/admin/admin-users-roles-picker.tsx +4 -0
  279. package/src/components/admin/admin-users.tsx +6 -3
  280. package/src/components/admin/parameter-history-item.tsx +4 -2
  281. package/src/components/alepha-table/__tests__/alepha-table-default-hidden.browser.spec.tsx +108 -0
  282. package/src/components/alepha-table/__tests__/alepha-table-empty-state.browser.spec.tsx +233 -0
  283. package/src/components/alepha-table/__tests__/alepha-table-persist-facets.browser.spec.tsx +177 -0
  284. package/src/components/alepha-table/__tests__/alepha-table-persisted-filters.browser.spec.tsx +182 -0
  285. package/src/components/alepha-table/__tests__/alepha-table-query-seed.browser.spec.tsx +170 -0
  286. package/src/components/alepha-table/__tests__/alepha-table-row-action-checked.browser.spec.tsx +210 -0
  287. package/src/components/alepha-table/__tests__/alepha-table-row-action-group.browser.spec.tsx +202 -0
  288. package/src/components/alepha-table/__tests__/alepha-table-scope.browser.spec.tsx +161 -0
  289. package/src/components/alepha-table/__tests__/alepha-table-share-filters.browser.spec.tsx +309 -0
  290. package/src/components/alepha-table/__tests__/query-filters.spec.ts +212 -0
  291. package/src/components/alepha-table/alepha-table-filter-dialog.tsx +162 -0
  292. package/src/components/alepha-table/alepha-table-filter-menu.tsx +77 -0
  293. package/src/components/alepha-table/alepha-table.tsx +1113 -207
  294. package/src/components/alepha-table/query-filters.ts +159 -0
  295. package/src/components/app-actions/app-actions.tsx +32 -3
  296. package/src/components/app-shell/__tests__/sidebar-nav-accordion.browser.spec.tsx +163 -0
  297. package/src/components/app-shell/app-shell.tsx +255 -12
  298. package/src/components/auto-form/__tests__/auto-form-settings-card.browser.spec.tsx +1 -1
  299. package/src/components/auto-form/auto-form.tsx +98 -30
  300. package/src/components/button-dark/button-dark.tsx +47 -8
  301. package/src/components/button-inbox/__tests__/button-inbox.browser.spec.tsx +247 -0
  302. package/src/components/button-inbox/button-inbox.tsx +303 -0
  303. package/src/components/button-inbox/inbox-unread-atom.ts +27 -0
  304. package/src/components/button-theme/button-theme.tsx +16 -29
  305. package/src/components/button-user/__tests__/button-user-avatar.browser.spec.tsx +88 -0
  306. package/src/components/button-user/button-user.tsx +24 -1
  307. package/src/components/control/__tests__/control-date-range.browser.spec.tsx +177 -0
  308. package/src/components/control/control.tsx +119 -12
  309. package/src/components/control-date/control-date.tsx +117 -22
  310. package/src/components/control-date/date-only.ts +26 -0
  311. package/src/components/control-date-range/control-date-range.tsx +250 -0
  312. package/src/components/control-select/__tests__/control-select-clear-label.browser.spec.tsx +129 -15
  313. package/src/components/control-select/__tests__/control-select-deselect.browser.spec.tsx +27 -6
  314. package/src/components/control-select/__tests__/control-select-multi.browser.spec.tsx +204 -1
  315. package/src/components/control-select/__tests__/control-select-size-minimal.browser.spec.tsx +77 -1
  316. package/src/components/control-select/control-select.tsx +317 -83
  317. package/src/components/control-upload/control-upload.tsx +1 -10
  318. package/src/components/detail/detail-aside.tsx +30 -6
  319. package/src/components/markdown-view/SpoilerSpan.tsx +66 -0
  320. package/src/components/markdown-view/__tests__/markdown-view-spoiler.browser.spec.tsx +165 -0
  321. package/src/components/markdown-view/diagram/textMetrics.spec.ts +1 -1
  322. package/src/components/markdown-view/diagram/textMetrics.ts +2 -2
  323. package/src/components/markdown-view/markdown-view.css +44 -0
  324. package/src/components/markdown-view/markdown-view.tsx +37 -1
  325. package/src/components/markdown-view/remarkSpoiler.ts +150 -0
  326. package/src/components/permission-matrix/__tests__/permission-matrix.browser.spec.tsx +237 -0
  327. package/src/components/permission-matrix/permission-matrix-group-rows.tsx +240 -0
  328. package/src/components/permission-matrix/permission-matrix.tsx +286 -0
  329. package/src/components/plate-layout/__tests__/plate-layout.browser.spec.tsx +22 -0
  330. package/src/components/plate-layout/plate-layout.tsx +6 -0
  331. package/src/components/plate-layout/plate-tab-bar.tsx +27 -1
  332. package/src/components/time-ago/time-ago.browser.spec.tsx +110 -0
  333. package/src/components/time-ago/time-ago.tsx +80 -0
  334. package/src/components/tree-view/__tests__/tree-model.spec.ts +441 -0
  335. package/src/components/tree-view/__tests__/tree-view-drag.browser.spec.tsx +295 -0
  336. package/src/components/tree-view/__tests__/tree-view-rename.browser.spec.tsx +278 -0
  337. package/src/components/tree-view/__tests__/tree-view-resizer.browser.spec.tsx +112 -0
  338. package/src/components/tree-view/__tests__/tree-view.browser.spec.tsx +260 -0
  339. package/src/components/tree-view/__tests__/use-tree-state.browser.spec.tsx +238 -0
  340. package/src/components/tree-view/tree-model.ts +369 -0
  341. package/src/components/tree-view/tree-view-rename-input.tsx +95 -0
  342. package/src/components/tree-view/tree-view-resizer.tsx +83 -0
  343. package/src/components/tree-view/tree-view-row.tsx +414 -0
  344. package/src/components/tree-view/tree-view.tsx +300 -0
  345. package/src/components/tree-view/use-tree-state.ts +184 -0
  346. package/src/components/ui/button.tsx +79 -1
  347. package/src/components/ui/dropdown-menu.tsx +1 -1
  348. package/src/components/ui/select.tsx +7 -0
  349. package/src/components/ui/table.tsx +1 -1
  350. package/src/components/ui/tooltip.tsx +1 -1
  351. package/src/lib/i18n-fr.ts +34 -51
  352. package/src/lib/utils.ts +32 -4
  353. package/src/styles.css +255 -0
  354. package/dist/components/admin/admin-workflows-execution-sheet.d.ts +0 -11
  355. package/dist/components/admin/admin-workflows-execution-sheet.d.ts.map +0 -1
  356. package/dist/components/admin/admin-workflows-execution-sheet.js +0 -190
  357. package/dist/components/admin/admin-workflows-execution-sheet.js.map +0 -1
  358. package/dist/components/admin/admin-workflows-executions-panel.d.ts +0 -9
  359. package/dist/components/admin/admin-workflows-executions-panel.d.ts.map +0 -1
  360. package/dist/components/admin/admin-workflows-executions-panel.js +0 -121
  361. package/dist/components/admin/admin-workflows-executions-panel.js.map +0 -1
  362. package/dist/components/admin/admin-workflows-status-badge.d.ts +0 -12
  363. package/dist/components/admin/admin-workflows-status-badge.d.ts.map +0 -1
  364. package/dist/components/admin/admin-workflows-status-badge.js +0 -30
  365. package/dist/components/admin/admin-workflows-status-badge.js.map +0 -1
  366. package/dist/components/admin/admin-workflows-status-labels.d.ts +0 -19
  367. package/dist/components/admin/admin-workflows-status-labels.d.ts.map +0 -1
  368. package/dist/components/admin/admin-workflows-status-labels.js +0 -48
  369. package/dist/components/admin/admin-workflows-status-labels.js.map +0 -1
  370. package/dist/components/admin/admin-workflows.d.ts +0 -4
  371. package/dist/components/admin/admin-workflows.d.ts.map +0 -1
  372. package/dist/components/admin/admin-workflows.js +0 -145
  373. package/dist/components/admin/admin-workflows.js.map +0 -1
  374. package/src/components/admin/admin-workflows-execution-sheet.tsx +0 -285
  375. package/src/components/admin/admin-workflows-executions-panel.tsx +0 -169
  376. package/src/components/admin/admin-workflows-status-badge.tsx +0 -41
  377. package/src/components/admin/admin-workflows-status-labels.ts +0 -51
  378. package/src/components/admin/admin-workflows.tsx +0 -209
@@ -0,0 +1,35 @@
1
+ export interface AlephaTableFilterMenuProps {
2
+ /**
3
+ * How many filters currently narrow the list. Gates both items: neither
4
+ * sharing nor clearing means anything with nothing set.
5
+ *
6
+ * It is deliberately NOT drawn on the trigger, unlike
7
+ * {@link AlephaTableFilterDialog}'s. That dialog badges its trigger because
8
+ * the filter bar is not on screen behind it; out here the bar IS the
9
+ * indicator, holding the values themselves a few pixels to the left, so a
10
+ * count beside it says the same thing twice and reads as a notification.
11
+ */
12
+ activeCount: number;
13
+ onShare: () => void;
14
+ onReset: () => void;
15
+ }
16
+ /**
17
+ * The filter menu in the toolbar, on anything wider than a phone.
18
+ *
19
+ * It replaces the bare "Reset filters" icon button, for two reasons that
20
+ * arrived together:
21
+ *
22
+ * - **Share needed somewhere to live.** A filtered table is a view worth
23
+ * sending to someone, and the address bar cannot carry it: the filters are
24
+ * never written back to the URL (see `fromQuery`, and Lore incident #156).
25
+ * So the link has to be something the reader asks for, which means an item
26
+ * in a menu rather than a bar that writes as you type.
27
+ * - **Clear belongs beside it.** The two are one decision - this view, kept
28
+ * or dropped - and a menu is where a reader looks for both.
29
+ *
30
+ * The same `Funnel` icon as {@link AlephaTableFilterDialog}, on purpose: one
31
+ * affordance for filters, whatever the width. Not its badge, though - see
32
+ * `activeCount` for why the count stops at the phone.
33
+ */
34
+ export declare const AlephaTableFilterMenu: (props: AlephaTableFilterMenuProps) => import("react").JSX.Element;
35
+ //# sourceMappingURL=alepha-table-filter-menu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alepha-table-filter-menu.d.ts","sourceRoot":"","sources":["../../../src/components/alepha-table/alepha-table-filter-menu.tsx"],"names":[],"mappings":"AAUA,MAAM,WAAW,0BAA0B;IACzC;;;;;;;;;OASG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,qBAAqB,UAAW,0BAA0B,gCAgCtE,CAAC"}
@@ -0,0 +1,54 @@
1
+ import { Button } from "../ui/button.js";
2
+ import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from "../ui/dropdown-menu.js";
3
+ import { jsx, jsxs } from "react/jsx-runtime";
4
+ import { Funnel, FunnelX, Share2 } from "lucide-react";
5
+ import { useI18n } from "alepha/react/i18n";
6
+ //#region src/components/alepha-table/alepha-table-filter-menu.tsx
7
+ /**
8
+ * The filter menu in the toolbar, on anything wider than a phone.
9
+ *
10
+ * It replaces the bare "Reset filters" icon button, for two reasons that
11
+ * arrived together:
12
+ *
13
+ * - **Share needed somewhere to live.** A filtered table is a view worth
14
+ * sending to someone, and the address bar cannot carry it: the filters are
15
+ * never written back to the URL (see `fromQuery`, and Lore incident #156).
16
+ * So the link has to be something the reader asks for, which means an item
17
+ * in a menu rather than a bar that writes as you type.
18
+ * - **Clear belongs beside it.** The two are one decision - this view, kept
19
+ * or dropped - and a menu is where a reader looks for both.
20
+ *
21
+ * The same `Funnel` icon as {@link AlephaTableFilterDialog}, on purpose: one
22
+ * affordance for filters, whatever the width. Not its badge, though - see
23
+ * `activeCount` for why the count stops at the phone.
24
+ */
25
+ const AlephaTableFilterMenu = (props) => {
26
+ const { tr } = useI18n();
27
+ const label = tr("alephaTable.filters", { default: "Filters" });
28
+ const idle = props.activeCount === 0;
29
+ return /* @__PURE__ */ jsxs(DropdownMenu, { children: [/* @__PURE__ */ jsx(DropdownMenuTrigger, {
30
+ render: /* @__PURE__ */ jsx(Button, {
31
+ type: "button",
32
+ size: "sm",
33
+ variant: "ghost",
34
+ className: "h-9 w-9 p-0",
35
+ "aria-label": label
36
+ }),
37
+ children: /* @__PURE__ */ jsx(Funnel, { className: "size-4" })
38
+ }), /* @__PURE__ */ jsxs(DropdownMenuContent, {
39
+ align: "end",
40
+ children: [/* @__PURE__ */ jsxs(DropdownMenuItem, {
41
+ disabled: idle,
42
+ onClick: props.onShare,
43
+ children: [/* @__PURE__ */ jsx(Share2, { className: "size-4" }), tr("alephaTable.shareFilters", { default: "Share filters" })]
44
+ }), /* @__PURE__ */ jsxs(DropdownMenuItem, {
45
+ disabled: idle,
46
+ onClick: props.onReset,
47
+ children: [/* @__PURE__ */ jsx(FunnelX, { className: "size-4" }), tr("alephaTable.resetFilters", { default: "Reset filters" })]
48
+ })]
49
+ })] });
50
+ };
51
+ //#endregion
52
+ export { AlephaTableFilterMenu };
53
+
54
+ //# sourceMappingURL=alepha-table-filter-menu.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alepha-table-filter-menu.js","names":[],"sources":["../../../src/components/alepha-table/alepha-table-filter-menu.tsx"],"sourcesContent":["import { Button } from \"@alepha/ui/components/ui/button\";\nimport {\n DropdownMenu,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuTrigger,\n} from \"@alepha/ui/components/ui/dropdown-menu\";\nimport { useI18n } from \"alepha/react/i18n\";\nimport { Funnel, FunnelX, Share2 } from \"lucide-react\";\n\nexport interface AlephaTableFilterMenuProps {\n /**\n * How many filters currently narrow the list. Gates both items: neither\n * sharing nor clearing means anything with nothing set.\n *\n * It is deliberately NOT drawn on the trigger, unlike\n * {@link AlephaTableFilterDialog}'s. That dialog badges its trigger because\n * the filter bar is not on screen behind it; out here the bar IS the\n * indicator, holding the values themselves a few pixels to the left, so a\n * count beside it says the same thing twice and reads as a notification.\n */\n activeCount: number;\n onShare: () => void;\n onReset: () => void;\n}\n\n/**\n * The filter menu in the toolbar, on anything wider than a phone.\n *\n * It replaces the bare \"Reset filters\" icon button, for two reasons that\n * arrived together:\n *\n * - **Share needed somewhere to live.** A filtered table is a view worth\n * sending to someone, and the address bar cannot carry it: the filters are\n * never written back to the URL (see `fromQuery`, and Lore incident #156).\n * So the link has to be something the reader asks for, which means an item\n * in a menu rather than a bar that writes as you type.\n * - **Clear belongs beside it.** The two are one decision - this view, kept\n * or dropped - and a menu is where a reader looks for both.\n *\n * The same `Funnel` icon as {@link AlephaTableFilterDialog}, on purpose: one\n * affordance for filters, whatever the width. Not its badge, though - see\n * `activeCount` for why the count stops at the phone.\n */\nexport const AlephaTableFilterMenu = (props: AlephaTableFilterMenuProps) => {\n const { tr } = useI18n();\n const label = tr(\"alephaTable.filters\", { default: \"Filters\" });\n const idle = props.activeCount === 0;\n\n return (\n <DropdownMenu>\n <DropdownMenuTrigger\n render={\n <Button\n type=\"button\"\n size=\"sm\"\n variant=\"ghost\"\n className=\"h-9 w-9 p-0\"\n aria-label={label}\n />\n }\n >\n <Funnel className=\"size-4\" />\n </DropdownMenuTrigger>\n <DropdownMenuContent align=\"end\">\n <DropdownMenuItem disabled={idle} onClick={props.onShare}>\n <Share2 className=\"size-4\" />\n {tr(\"alephaTable.shareFilters\", { default: \"Share filters\" })}\n </DropdownMenuItem>\n <DropdownMenuItem disabled={idle} onClick={props.onReset}>\n <FunnelX className=\"size-4\" />\n {tr(\"alephaTable.resetFilters\", { default: \"Reset filters\" })}\n </DropdownMenuItem>\n </DropdownMenuContent>\n </DropdownMenu>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AA4CA,MAAa,yBAAyB,UAAsC;CAC1E,MAAM,EAAE,OAAO,QAAQ;CACvB,MAAM,QAAQ,GAAG,uBAAuB,EAAE,SAAS,UAAU,CAAC;CAC9D,MAAM,OAAO,MAAM,gBAAgB;CAEnC,OACE,qBAAC,cAAD,EAAA,UAAA,CACE,oBAAC,qBAAD;EACE,QACE,oBAAC,QAAD;GACE,MAAK;GACL,MAAK;GACL,SAAQ;GACR,WAAU;GACV,cAAY;EACb,CAAA;EAGH,UAAA,oBAAC,QAAD,EAAQ,WAAU,SAAU,CAAA;CACT,CAAA,GACrB,qBAAC,qBAAD;EAAqB,OAAM;EAA3B,UAAA,CACE,qBAAC,kBAAD;GAAkB,UAAU;GAAM,SAAS,MAAM;GAAjD,UAAA,CACE,oBAAC,QAAD,EAAQ,WAAU,SAAU,CAAA,GAC3B,GAAG,4BAA4B,EAAE,SAAS,gBAAgB,CAAC,CAC5C;EAClB,CAAA,GAAA,qBAAC,kBAAD;GAAkB,UAAU;GAAM,SAAS,MAAM;GAAjD,UAAA,CACE,oBAAC,SAAD,EAAS,WAAU,SAAU,CAAA,GAC5B,GAAG,4BAA4B,EAAE,SAAS,gBAAgB,CAAC,CAC5C;EACC,CAAA,CAAA;CACT,CAAA,CAAA,EAAA,CAAA;AAElB"}
@@ -47,7 +47,41 @@ export interface RowAction<T> {
47
47
  onClick: (item: T, ctx: RowActionContext) => void | Promise<void>;
48
48
  destructive?: boolean;
49
49
  disabled?: (item: T) => boolean;
50
+ /**
51
+ * Whether this entry is the row's current value, for a group that picks
52
+ * one of several - which release the row ships in, which area it sits in.
53
+ * Declaring it renders the entry as a checkbox item, so the check mark and
54
+ * the `aria-checked` both come from the primitive rather than from a
55
+ * marker glued into the label.
56
+ *
57
+ * ⚠️ Omitting it is not the same as returning false. An entry with no
58
+ * `checked` stays an ordinary `menuitem`; one that returns false is a
59
+ * `menuitemcheckbox` that happens to be unchecked, which is what a query
60
+ * by role has to account for.
61
+ *
62
+ * `destructive` is ignored on a checked entry: nothing that picks a value
63
+ * out of a list is also a delete.
64
+ */
65
+ checked?: (item: T) => boolean;
66
+ }
67
+ /**
68
+ * A row action that is a submenu: a label, an icon, and the actions it
69
+ * holds. One level only: a group's children are actions, never groups.
70
+ *
71
+ * The discriminant is the presence of `children`, so every caller that
72
+ * returns a plain `RowAction[]` keeps compiling unchanged.
73
+ *
74
+ * ⚠️ A group with no children renders nothing, and does not count towards
75
+ * the row menu existing at all: a row whose only entry is an empty group
76
+ * gets no three-dots trigger. That lets a caller build `children`
77
+ * conditionally without checking whether anything survived.
78
+ */
79
+ export interface RowActionGroup<T> {
80
+ label: string;
81
+ icon?: IconType;
82
+ children: RowAction<T>[];
50
83
  }
84
+ export type RowActionEntry<T> = RowAction<T> | RowActionGroup<T>;
51
85
  /**
52
86
  * Context passed to every bulk-action `onClick`. `clearSelection()`
53
87
  * empties the checkbox set; `refresh()` re-fires the current fetch.
@@ -159,6 +193,74 @@ export interface TableAction {
159
193
  */
160
194
  primary?: boolean;
161
195
  }
196
+ /**
197
+ * One of the table's two empty states: an icon, a title and a description,
198
+ * centred in the body.
199
+ *
200
+ * Which one is shown is decided by the table, not the caller: a page that
201
+ * came back empty with no filter set means "there is nothing here", and the
202
+ * same page with a filter set means "nothing matched". Those ask the reader
203
+ * for opposite things - create something, or widen the filter - so one
204
+ * sentence for both sends half of them the wrong way. Override the wording
205
+ * per mode, never the choice between them.
206
+ */
207
+ export interface AlephaTableEmptyState {
208
+ icon?: IconType;
209
+ title?: ReactNode;
210
+ description?: ReactNode;
211
+ /**
212
+ * A call to action under the description, typically one `<Button>`.
213
+ *
214
+ * A slot rather than a `{ label, onClick }` pair, because the button an
215
+ * empty state wants is rarely just a button: it opens a dialog, it is a
216
+ * `<Link>`, it is disabled while a permission is loading. The table owns the
217
+ * layout and centring and nothing else.
218
+ *
219
+ * Most useful on {@link AlephaTableBaseProps.emptyState}, where "there is
220
+ * nothing here" has an obvious answer - create the first one. The no-match
221
+ * side takes it too, for a "Clear filters" button.
222
+ */
223
+ action?: ReactNode;
224
+ }
225
+ /**
226
+ * Which of the preferences {@link AlephaTableBaseProps.persistenceKey} stores
227
+ * are actually stored.
228
+ *
229
+ * Every facet defaults to ON, so a table that sets a key and nothing else
230
+ * behaves exactly as it always has. Only name the ones you want OFF.
231
+ *
232
+ * The facets are genuinely different kinds of preference, which is why one
233
+ * switch over all three was the wrong shape. Column layout and sort are what
234
+ * a reader arranged and expects to find again; a filter is what they were
235
+ * looking for last time, and restoring it opens the page narrowed by a
236
+ * question they have already answered - the hazard
237
+ * {@link AlephaTableFilters.seedValues} names as "landing on last week's
238
+ * stored filter".
239
+ *
240
+ * ⚠️ The footer's page SIZE is not one of these and is always stored with the
241
+ * key. It is a fourth thing, nothing has asked to separate it, and leaving it
242
+ * alone is what keeps this addition invisible to every existing caller.
243
+ *
244
+ * ⚠️ Read where `persistenceKey` is, so treat it as static per call site.
245
+ * Turning a facet off does not delete what it previously wrote: the stored
246
+ * value is simply never read again, because writing on mount is the bug the
247
+ * column and filter effects exist to avoid.
248
+ */
249
+ export interface AlephaTablePersistedFacets {
250
+ /**
251
+ * The filter form's values. Off means the table opens unfiltered every
252
+ * time, whatever the reader last typed.
253
+ */
254
+ filters?: boolean;
255
+ /**
256
+ * Which columns are visible, and in what order.
257
+ */
258
+ columns?: boolean;
259
+ /**
260
+ * The sorted column and its direction.
261
+ */
262
+ sort?: boolean;
263
+ }
162
264
  /**
163
265
  * High-level filter slot. AlephaTable creates the `useForm` internally,
164
266
  * wraps `render`'s output in a `<form>` element, persists values under
@@ -192,6 +294,32 @@ export interface AlephaTableFilters {
192
294
  * the right moment for it: that is the reader choosing.
193
295
  */
194
296
  seedValues?: Record<string, any>;
297
+ /**
298
+ * Fill the filters from the URL query on arrival.
299
+ *
300
+ * `true` reads every param whose name matches a key of `schema`; an array
301
+ * narrows that to the keys it names. Params the schema does not declare are
302
+ * ignored, so the page keeps owning its own (`?tab=`, a locale, a tracking
303
+ * param). Multi-value filters are comma-joined: `?status=new,triaged`.
304
+ *
305
+ * Read once, at mount, and landed in the same slot as {@link seedValues} —
306
+ * above the reader's stored filters, below an explicit `seedValues` the
307
+ * caller passes for a case of its own.
308
+ *
309
+ * ⚠️ **One-directional, and it has to stay that way.** The URL seeds the
310
+ * filters; the filters NEVER write back. Lore's `?view=kanban` was removed
311
+ * for exactly this (#156): an effect that restored a missing param keyed on
312
+ * the router state, which is a global store, so the render on the way *out*
313
+ * of the page saw the next route's query and bounced the reader straight
314
+ * back. A page cannot tell "nobody has chosen yet" from "we are leaving"
315
+ * while the state lives in the URL. The toolbar's Share item is the write
316
+ * side, and it writes to the clipboard on a click, never to the address bar
317
+ * on a keystroke.
318
+ *
319
+ * Off by default. A page's query params are not its table's filters until
320
+ * the page says so.
321
+ */
322
+ fromQuery?: boolean | readonly string[];
195
323
  render: (form: FormModel<ZObject>) => ReactNode;
196
324
  }
197
325
  interface SortState {
@@ -300,8 +428,11 @@ export interface AlephaTableBaseProps<T> {
300
428
  /**
301
429
  * Per-row action menu builder. Return an array of `RowAction` per
302
430
  * item. Each `onClick` receives `(item, { refresh })`.
431
+ *
432
+ * An entry may also be a {@link RowActionGroup}: a label, an icon and
433
+ * the actions it holds, rendered as a submenu one level deep.
303
434
  */
304
- rowActions?: (item: T) => RowAction<T>[];
435
+ rowActions?: (item: T) => RowActionEntry<T>[];
305
436
  /**
306
437
  * Actions applied to selected rows (enables checkbox column). A
307
438
  * {@link BulkAction} is a button whose `onClick` receives
@@ -369,8 +500,22 @@ export interface AlephaTableBaseProps<T> {
369
500
  * persisted to `localStorage` under this key. Pick a key that's
370
501
  * unique per page and per scope (e.g. `"admin.users"`,
371
502
  * `\`lor.board.${campaignId}\``).
503
+ *
504
+ * Narrow what it stores with {@link persist}.
372
505
  */
373
506
  persistenceKey?: string;
507
+ /**
508
+ * Which facets {@link persistenceKey} stores. All three by default, so this
509
+ * is only ever worth passing to turn one OFF.
510
+ *
511
+ * The case it exists for: a list whose column layout is worth remembering
512
+ * and whose filters are not. Lore's Apps page had to give up persistence
513
+ * entirely to avoid opening narrowed by last week's search, because the
514
+ * three were one switch.
515
+ *
516
+ * Ignored without a `persistenceKey`, which stores nothing either way.
517
+ */
518
+ persist?: AlephaTablePersistedFacets;
374
519
  /**
375
520
  * Hide the built-in column visibility dropdown in the toolbar.
376
521
  */
@@ -404,12 +549,52 @@ export interface AlephaTableBaseProps<T> {
404
549
  */
405
550
  className?: string;
406
551
  /**
407
- * Message shown when the page is empty. Defaults to "No results".
552
+ * Title shown in both empty states, replacing their defaults.
553
+ *
554
+ * Kept as the one-line escape hatch it has always been, so it also
555
+ * suppresses the default description: a caller who wrote the whole message
556
+ * in here does not want "Nothing here yet." underneath it. For a title AND
557
+ * a description, or for wording that differs between the two states, use
558
+ * {@link emptyState} and {@link noMatchState}.
408
559
  */
409
560
  emptyMessage?: string;
561
+ /**
562
+ * The empty state shown when the page came back empty and NO filter is set.
563
+ * Defaults to an inbox icon, "No items" and "Nothing here yet.".
564
+ */
565
+ emptyState?: AlephaTableEmptyState;
566
+ /**
567
+ * The empty state shown when the page came back empty and at least one
568
+ * filter IS set. Defaults to a struck-through search icon, "No match" and
569
+ * "Try adjusting or clearing the filters.".
570
+ *
571
+ * Only reachable when `filters` is set: with no filter form there is
572
+ * nothing to be filtered by, so an empty page can only mean {@link
573
+ * emptyState}.
574
+ */
575
+ noMatchState?: AlephaTableEmptyState;
410
576
  /**
411
577
  * Rich empty-state node rendered when the page is empty — e.g. an icon +
412
- * message + optional call-to-action. Overrides `emptyMessage` when set.
578
+ * message + optional call-to-action. Replaces the whole thing, both states
579
+ * included, so it outranks every prop above.
580
+ *
581
+ * ⚠️ **Only for a table with no {@link filters}.** Replacing both states
582
+ * with one node makes the table structurally incapable of telling them
583
+ * apart, whatever the node says: a filter that matched nothing renders the
584
+ * "there is nothing here" message, with the filter that produced it still
585
+ * sitting in the toolbar above. Lore's Apps page shipped exactly that and
586
+ * offered to create the first app to a reader who had just searched for
587
+ * one (feedback #P2160); its Releases page had the same defect, unreported
588
+ * only because nobody had filtered it to zero.
589
+ *
590
+ * With `filters` set, reach for {@link emptyState} and {@link noMatchState}
591
+ * instead. They take the same three pieces - `icon`, `title`,
592
+ * `description` - plus an `action` slot for the button, and the table keeps
593
+ * the choice between the two, which is the part a caller cannot get right
594
+ * from the outside.
595
+ *
596
+ * Not type-enforced: the combination is a live one downstream, so the rule
597
+ * is stated here rather than made uncompilable.
413
598
  */
414
599
  empty?: ReactNode;
415
600
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"alepha-table.d.ts","sourceRoot":"","sources":["../../../src/components/alepha-table/alepha-table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA0C/B,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,OAAO,EAAK,MAAM,QAAQ,CAAC;AAEpD,OAAO,EAAE,KAAK,SAAS,EAAW,MAAM,mBAAmB,CAAC;AAa5D,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,QAAQ,EAMd,MAAM,OAAO,CAAC;AAMf,KAAK,QAAQ,GAAG,aAAa,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC;AAEvD,MAAM,WAAW,SAAS,CAAC,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,SAAS,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;;;OAM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AAC;IAC/B;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;;;;;;;OAUG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAChC;;;;;;;OAOG;IACH,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B;;;;;OAKG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;;;;;;;;OAUG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,WAAW,EAAE,CAAC;IACxB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;;;OAGG;IACH,WAAW,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,GAAG,IAAI,KAAK,IAAI,CAAC;IAChD;;;;OAIG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC,OAAO,CAAC,CAAC;IAC1B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAyFD;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU,UAAoB,CAAC;AAE5C,wBAAgB,WAAW,CAAC,CAAC,EAAE,KAAK,EAAE,gBAAgB,CAAC,CAAC,CAAC,qBAy/BxD"}
1
+ {"version":3,"file":"alepha-table.d.ts","sourceRoot":"","sources":["../../../src/components/alepha-table/alepha-table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAqD/B,OAAO,EAAE,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